« first day (1144 days earlier)      last day (4030 days later) » 

20:00
ooh I am the retard not antlr
US has public domain
@CatPlusPlus That's Germany.
it's other countries that might not
@CatPlusPlus You can't, but there is PD anyway (for old stuff that author died long enough ago that copyright is now expired).
I know there is PD
20:01
okay, back to work.
Kerbal Space Battles.
I'm a fucking genius.
@JerryCoffin Oh, really?
Oh well. CC0 <3.
It's US, it's where all this copyright shit is coming from
@CatPlusPlus Most countries don't have a reliable way of dedicating stuff to the public domain.
(Though that's different from "you can't")
20:07
Yes
That's why I prefer tried liberal licenses
I just have just 30 min left to hand in my project and it doesn't work and I REALLY DON'T KNOW WHY. can anyone here help quickly?
What do you German dudes use to order computer hardware online in Germany?
@MelikaBarzegaranHosseini I accept payment in Riot points and Canadian dollars.
Guess we have that much in common. I don't know why either.
@MelikaBarzegaranHosseini has it worked at any point recently?
if not, what makes you think it can be brought to work in just 30 minutes? :)
20:10
I don't have paypall.but I will do sth in return. promise.
yeah it worked.
Oh, look, C.
Ahahaha yeah we're going to dig through that shitty wall of code
Probably needs more magic numbers
Oh, right, you're that guy who's stuck with Turbo C.
I really need help. it's midnight here. I'm really tired. I really tried to spot the problem writing cout before and after any loop
20:11
Yeah, no way I'm wading in that shit.
DOS SHELL
@MelikaBarzegaranHosseini Debugger, effort.
I DO TESTED ANYWAY I COULD
20:13
Look. The purpose of such an assignment is to check if you have learned the required skills.
@MelikaBarzegaranHosseini you've got 30 minutes left. Justifying your work to people who don't care to help you is probably a bad time investment. ;)
@MelikaBarzegaranHosseini You should realise that 'URGENT HELP' requests go down like a Led Zeppelin in here.
good luck with it :)
If you need us to do your work, it means you don't have such skills, and as such deserve to fail the assignment.
@MelikaBarzegaranHosseini Is that the full code? No cookie.
20:14
also, I turned in lots of programs that didn't work as a student. It happens. It's not the end of the world :)
hell, most people probably turn in programs that don't work as a professional
No, you did not make as much effort as you could to narrow it down because you didn't narrow it down at all.
If you all just want to critisize me and have no intention to help just clearly tell.
@DeadMG Meh...
I'm p sure we made that abundantly clear
20:14
@MelikaBarzegaranHosseini We are clearly telling.
the problem is in the loop of fgets
Nobody is going to read this wall of code
@MelikaBarzegaranHosseini Why did you post all the other code then?
and I also downvoted you so that other users don't have to see your wall of code.
If you can't even be bothered to produce SCCEE then welp who cares
20:15
I just thought it would help
I NEVER KNOW HOW MANY LETTERS
@CatPlusPlus sscce
You only have 30 minutes, yet you made sure anyone that wanted to help would waste tons of time understanding all the code.
Good job.
@MelikaBarzegaranHosseini Single-letter i,i,k vars, complex array indexing. The only way it could be worse for us is if you added in a load of pointers.
I mean, just RUNNING A GODDAMN DEBUGGER will tell you where the problem is
20:17
thanks anyway listening. and thanks ruining me such. you are all really experts in disappointing people. good luck.
But no too much effort
Yeah go away
@MelikaBarzegaranHosseini Well, you know, we try.
@MelikaBarzegaranHosseini I'm confused - It's midnight and you only have 30 minutes until...
We're not experts in doing people's homework for them.
user3010322
Lol
20:17
ok, enough beating up on the newbie. It's not easy to understand someone else's entire program, especially when it isn't written to be easily understandable. Even if someone here really wanted to help, they might not have time to do so
@MelikaBarzegaranHosseini Now you're pissing me off, and I'm normally one of the calmer ones.
but yes, we are quite good at disappointing people. :)
user3010322
TurboC Problems.
Only disappointed people are those with unrealistic expectations
@jalf (He's not a first-timer here)
20:18
@R.MartinhoFernandes but a newbie nevertheless :p
user3010322
@jalf The other time he came here, he was having trouble getting going with TurboC. :3c
once the 30-minute deadline has passed though, it might be a good idea to spend some time learning how to debug code, and how to use a debugger :)
it'll save you a lot of time in the future
Fuck me. Wall of 'i,j,k,' refusal to debug and 'URGENT', all at once.
Asking the damn teacher that gets paid for doing this shit might be a good idea too!
You said there's a null pointer thing. Step #1: find which pointer is null.
20:19
actually I'm not HE. I'm SHE
I'm an acronym too
@MelikaBarzegaranHosseini I meant it in a generic way. English is kinda awkward with this.
I'm still wonddering what happens at 00:30 to be a deadline
user3010322
@GlennTeitelbaum @MelikaBarzegaranHosseini's world explodes.
@MelikaBarzegaranHosseini Cool. It's great to see women going into programming (and I mean that sincerely, in case you're in doubt). Anyway, you don't have much time. Do your best to fix it, then you can come back to chat afterwards if you want :p
but as you observed, we are better at disappointing than answering questions :)
20:21
@GlennTeitelbaum it's midnight and I have to upload it on the site of the university. hope I made it clear
Adjust your expectations
Whatever. We're not sexist, just getting a bit sick of such last-minute requests from males, females and whatever else posts such questions.
user3010322
@MelikaBarzegaranHosseini When the assignment is over, come back here and we'll install Visual Studio 2013 and hold your hand on how to debug a program with a decent IDE. :3c
@MelikaBarzegaranHosseini You really are not helping yourself by emphasizing what sounds, to me, like demands.
Make a room for helpdesk sessions tia
user3010322
20:22
(What I'm telling you is you're going to fail thsi assignment. :D)
@ThePhD maybe not handholding, but yeah, it's a lot more fun to help people when they just want to help, than when they're desperately demanding help because they're slipping behind on a deadline
@ThePhD when I say I used all ways, it means I used debuggers. turbo has its own debugger.
user3010322
s/Turbo/TurdC is not an adequate IDE.
@MelikaBarzegaranHosseini Stop talking, you're running out of time. It doesn't matter whether you convince people here that you did your best. You can do that afterwards :p
go and try to fix your code. It's the best thing you can do right now. :)
and it's not the end of the world if you can't. :)
20:24
I am dissapointed of the project. that's finished. I will upload the wrong code anyway. better than nothing
@MelikaBarzegaranHosseini Send in your non-working code, what you think is wrong with it, and what YOU did to try and debug it. You should get marks for that.
but I really thought differently about SO.
if you thought we would magically solve all your problems for you, then you were definitely wrong.
That people will just jump at your code and fix it for you, because you're on a deadline?
4 mins ago, by Cat Plus Plus
Adjust your expectations
@MelikaBarzegaranHosseini THIS IS A LOUNGE. NOT MAIN SO SITE.
20:25
@MelikaBarzegaranHosseini this isn't SO. It's a chat room :)
yeah, also, this is the Lounge, and not SO.
I just thought people are just much more kind. just that. I didn't expect. I just felt like that.
Regardless, it's not a good expectation for SO either
Or anywhere really
I actually posted my question in SO
But even on SO, people will gladly help with programming questions, but they don't care about your deadlines or urgency
20:26
@MelikaBarzegaranHosseini The problem isn't us. It's you.
Hey if you paid me I'd write the entire thing from scratch!
@MelikaBarzegaranHosseini Asking good questions is a skill. The trick is to polish your question enough that it is easy and interesting to understand and answer. :)
why you all talk like that with me? such sharp and...
(which, among other things, involve reducing the problem to a small code snippet, rather than just posting the entire program)
Generally the Lounge is a place for C++ programmers to talk about NOT coding, not a place for non coders to talk to programmers
20:27
oh lol trolls
@MelikaBarzegaranHosseini Because people go on this chat to be assholes. :p
@MelikaBarzegaranHosseini Because you came in here, interrupting our nice conversation, and demanded that we help you, which is not a very nice thing to do at all.
What were we talking about? Was it still WW2?
and on top of that, you couldn't even put in the effort to form a decent request demand for help.
Kerbal Space Battles
Gimbal is fun!
20:27
I ask my questions on SO too
witness the one yesterday
I am really sorry to interrupt. go on with your nice conversation.
user1804599
I ask my questions to my imaginary girlfriends.
I ask my questions to my imaginary friend
Heh
user1804599
lol
@CatPlusPlus Oh I need one of those
20:28
@MelikaBarzegaranHosseini Look at it this way. If you were a garage technician, how would you feel if some guy/gal friend called you up at home and demanded that you fixed their car in 30 minutes? Also " OK, what is wrong with your car", "I don't know".
"It doesn't work"
@MelikaBarzegaranHosseini I do sincerly wish you the best - but realize the best only comes from the hard work you do yourself
@TonyTheLion You can't have one (but you can imagine you have one).
user1804599
Users are so insanely bad.
I really did the hard work. it's 2 weeks I am sleeping just 1 hour each night. and we've got lots of projects in a row.
20:29
@MelikaBarzegaranHosseini I would just like to point out that you actually got several non-hostile answers. :)
Software would be much better without users
@MelikaBarzegaranHosseini which is why we're wishing you good luck
Oh man, I actually tried compiling that.
Turbo C is sooooooooooooooooooooooo bad.
I have shit to do, too, and I don't beg people to debug my problems right before deadline
The errors, they never end.
user1804599
20:30
C++ vOv
@R.MartinhoFernandes Ahaaha
That you even got it to work
And suggesting you spend some time once the project is over, trying to learn how to better debug your programs in the future, because that is difficult and does take a lot of practice
user1804599
Oh wait, C.
Can't compile that with a compiler this side of 2000.
@R.MartinhoFernandes I could easily help with that :(
20:31
Why is Turbo C still a thing Q_Q
but it got to be right. I tested it before. the problem is with fgets loop
@R.MartinhoFernandes For the same reason C with Classes is still a thing
@R.MartinhoFernandes because it has the magic word Turbo in it
People are bad
user3010322
@R.MartinhoFernandes ~~~~~Backwards Compat~~~~~
user1804599
20:32
Reminds me of Turbo Turbo (Dutch).
@MelikaBarzegaranHosseini I believe you that it compiles with Turbo C. But that doesn't mean much :S Turbo C is very old and compilers these days don't work the same way.
but I am testing again what you said.
If you need 16-bit compiler for some inexplicable reason, there's Open Watcom
user3010322
<_>
@MelikaBarzegaranHosseini honestly, if you've been that busy, then upload your code, get some sleep, and tomorrow, look into what you can do to help yourself avoid this in the future
20:33
@ThePhD No, not that.
implement 16-bit backend for LLVM
the program was runned before correctly but in a wrong structre.
Oh - I take back some of what I said earlier. I looked at the code, (not sure why), and there is a pointer: 'char *punc;' :((
I don't feel sleepy. I just feel crying.
Version control is another thing to learn
user3010322
20:33
Hey, Hey @MelikaBarzegaranHosseini:
user3010322
that pointer works correctly I tested it
Well, which one is null?
what? say more clear
It's a fucking uni assignment, your life won't end, get drunk and stop caring
20:34
'char *string = (char *) &i;' that doesn't look right. Address of 'i'.
@MelikaBarzegaranHosseini Your question says something about a null pointer assignment. Which pointer is the one that is null?
'i' is loop var and you're taking the address of it.
Fun fact: Open Watcom uses Perforce
@CatPlusPlus yeah, definitely. Learn to use version control, and learn (more) about debugging
@MartinJames it works correctly. I tested it independetly
20:36
Did you know that in Turbo C the for loop variables leak into the surrounding scope?
@MelikaBarzegaranHosseini Are you sure it works?
What does it do?
Well it's C89 or something even older, you can't define loop vars in loop scope
@CatPlusPlus Fun fact: many people uses Perforce.
@R.MartinhoFernandes rofl.
@EtiennedeMartel Fun fact: sucks to be them
20:36
even Wide doesn't do that shit.
@DeadMG It gets better: you can define them again in a subsequent loop.
it keeps all ascii codes instead a-z A-z 0-9
Wait what
@MelikaBarzegaranHosseini It does not.
I printed it in the screen
20:37
Wait whaat
You need to call a function for that.
Don't remember which.
(And it's a nasty one but we're past that)
itoa?
user3010322
@EtiennedeMartel Perforce and TFS are the bain of my version control existence. <_>
'i' is not a string - it's a loop var. You can't strncat it.
20:38
@ThePhD Bane
@MelikaBarzegaranHosseini Test again.
no itoa is just for 1-9 to ascii not working for a-z
user3010322
Bain's Bane.
@R.MartinhoFernandes Of course--that was required/expected at the time.
@MartinJames what does it mean?
@JerryCoffin It's not even C89 forcing you to define variables before statements, it's actually some shitty extension or who-knows-what, because in the code it's for (int i = ...)
Um, I answered with a best guess: stackoverflow.com/a/20361196/2963099
@MelikaBarzegaranHosseini But why would 42 need a-z?
It prints garbage.
@CatPlusPlus Yes, as I said, that was how C++ was defined at the time.
But it's Turbo C?
Not C++
20:40
Oh wait.
I get it now.
It works by accident.
lol
I don't know - you wrote it!
char *string = (char *) &i; // get address of loop var i and load into a char*
strncat(punc, string, 1); // treat an int var as if it is a null-terminated string.
Surely, that is not what you intended??
@MartinJames On a big endian system, i is even properly null-terminated for a large number of values. (facepalm)
20:41
@CatPlusPlus I suspect it's really Turbo C++. Pretty sure actual Turbo C never allowed it (though after they added C++, I suppose they might have allowed it in C mode as well).
@R.MartinhoFernandes OH GOD PLEASE NO!
It was a big deal that it's Turbo C but vOv
yeah it's tubro c++ compiler
@MartinJames Just look at the loop. It's "correct". (i.e. nasty, but not the source of problems)
20:42
Ugh
@MelikaBarzegaranHosseini is there a reason you used 255 to initialize words - stackoverflow.com/a/20361196/2963099
I..I.. can't take such things, and I'm an embedded developer.
yeah but I changed it to 'Z' I wanna see if it works
char *punc;
// ...
    strncat(punc, string, 1);
There you go.
punc was never initialised.
(valgrind would have told me this immediately if I managed to compile the thing)
Change it to a fixed array, like char punc[256] = {0}; or something. (the zero is important)
20:45
arg - I thought it was the strings terminated by 255 - guess I have to delete my answer :(
I wanna cry. I really wanted to get the complete mark. :(((
WHAT!! A line-by-line single-stepping debug session would have revealed that immediate.
Initializing variables is terrible for performance. I go with what the OS gives me!
@MelikaBarzegaranHosseini two important tips for your next assignment: (1) use a modern compiler, because (a) it is more well behaved and has better tools for debugging and such, and (b) it means others are able to compile your code too, and so they can more easily help you out, and (2) learn to use a version control system, so you can track different versions of your code, and are able to look at exactly what changed between when it worked and when it didn't
WE ARE FORCED TO USE TURBO C++
user3010322
20:46
Lol
how many times should I repeat?
There might be other issues, and that one might have accidentally worked by chance, but well.
user3010322
As many times are you're a loud jerk about it. :D
@MelikaBarzegaranHosseini until everyone has seen it, I guess? I hadn't :p
@MelikaBarzegaranHosseini Change the course, then.
20:47
@MelikaBarzegaranHosseini He wasn't there last time you whined about it.
I cannot change the course. it's main course
Change unis
@MelikaBarzegaranHosseini Then change school.
What's for dessert?
20:47
yeah really? I am sorry I shouted.
Oh man, I'm so far away from you girls :(
@MelikaBarzegaranHosseini I still cannot understand why you could not detect that error with your debugger.
it's really a good university. one of the bests.
@MelikaBarzegaranHosseini have you actually asked the professor if there's any way you can get to use a more modern compiler?
@R.MartinhoFernandes MIPS assembly
20:47
@MelikaBarzegaranHosseini LOL
@MelikaBarzegaranHosseini Don't be. We're all pretty shouty from time to time :p
There's no such thing as good university
@Jefffrey What even is that.
If nothing else - step through the debugger and post WHERE it dies
@Jefffrey Oooh, a graphic. What's it showing?
20:48
Martin I am sure that wouldn't make the code correct.
@MelikaBarzegaranHosseini Good universties don't force tools. They don't force ancient tools. And they don't exist.
3
If Stack Overflow was a city, and tags were neighborhoods... Who are your neighbors? http://ekisto.sq.ro/
MIT maybe
@DeadMG Unseen University.
20:48
@Jefffrey What?
@R.MartinhoFernandes Cake.
@Jefffrey Nice thing.
@Jefffrey Does the height show rep or something?
20:49
Yup, I think.
Neato
lots of our students here gets apply for MIT. it's really a good uni. believe me
No it's not
The Lounge is in two islands :(
I don't even register on that map
20:50
Can't find Cat?
and the prof is the coach of ACM asia competitions. he's a nice one.
@MelikaBarzegaranHosseini It would not make the code correct, true. A debugger is there to show where it is incorrect.
@MelikaBarzegaranHosseini He forces you to use an old compiler because "it'll teach you how things really work underneath". Trust me, he's not that good.
@MelikaBarzegaranHosseini No, honest, if it requires Turbo C++, it's bad.
@MelikaBarzegaranHosseini Whatever that means, Turbo C++ makes him bad.
user3010322
20:51
Oh god
user3010322
I don't remember my old user ID
user3010322
I can't find myself on the island. =[
I think I've found the C# land. With that wild Skeet big head.
but it lets us get close to hardware and it is good. it's just one couese. after that we use g++
...
20:51
@MelikaBarzegaranHosseini 16-bit mode isn't close to your CPU at all.
@MelikaBarzegaranHosseini there are better ways to get close to hardware
I only had 36k rep when the graph was made.
2
user3010322
@MelikaBarzegaranHosseini TurboC++ doesn't get you close to the hardware. It gets you close to the Badness of an Acncient, Dead time.
That thing where you treat the int loop var as a string - you sure you want to hand that in?
20:52
well, your CPU is 64-bit.
Being close to hardware is not a good thing
not 16-bit.
@R.MartinhoFernandes LOL
64bit x86 does not have segmentation and stuff
it's all virtual memory and that kind of thing.
@MelikaBarzegaranHosseini Learning assembly language, for example. Or studying CPU architecture
20:52
@CatPlusPlus It is if you're developing drivers, or embedded.
Also 16-bit code doesn't work in 64-bit mode
Ell
Ell
It's all new fangled now
@DeadMG Irrelevant though.
@MartinJames Meh
@DeadMG Well, it does, but just for ring checking and TLS :P
20:52
we will learn assembly as well.
@Jefffrey cool
Or instead of going closer to hardware you could learn how to program!
2
Low level programming bad programming
@R.MartinhoFernandes Well, I never actually programmed any 16bit code, but last I checked, a lot of 16bit programming was dicking around with segments.
@CatPlusPlus Somone has to do it:)
People learn assembly stuffs at my university (which, judging from what you guys say here it's one of the best in the world) with Y86 (fictional thingy).
Being like what machines use these days isn't that important.
20:53
@DeadMG s/16bit/real mode/
@R.MartinhoFernandes You earned ~50K rep in few months?
hey the next projects are tetris, mario and a stimulation of a plane, an editor and a engineering calculator all in TURBO C!
@R.MartinhoFernandes We learned asm with a subset of MIPS. That was fun
Oh, and later on, some Alpha
@MartinJames Savages
in any case, I don't see how 16bit is any closer than 64bit to "the hardware", whatever that even means.
happy times
@MelikaBarzegaranHosseini Amazing. You'll spend more time wrestling with bullshit than doing actual work.
After all that, I'm off for beer.
@jalf I took that class in the last year before they introduced Y86, so I had half IA32 and half MIPS.
they are not so much for a tem-1 student?
20:54
@MelikaBarzegaranHosseini Seriously, either do yourself a favor and change the school, or do us a favor and go away.
@MartinJames Lucky you.
@Griwes am I really a interupter?
I had to implement sparse vectors and then sparse matrices in MIPS assembly
@MelikaBarzegaranHosseini You are a whiner.
This is useless shit!
20:54
@MelikaBarzegaranHosseini I suppose they'd penalize your grades for killing whoever came up with that turbo-C nonsense?
It's the third time I see that image
@Griwes Please don't use "us" as a synonym for "me".
@EtiennedeMartel :(
ONLY WE GODS OF LOUNGE MAY SPEAK FOR LOUNGE
you know
I checked the clock, and I'm pretty sure you've been whining in here for more than your supposed 30min deadline.
20:55
I am the god here.
We like talking about obscure stuff like how much turbo-C sucks, and which ASM dialects we learned. It's just urgent "please help" questions we don't have much patience for ;)
I am godder
Remember the Miracle of Gist?
@EtiennedeMartel I was sure you, like me, were following common sense...
user1804599
lol
4
20:56
Can I be Jesus? ;_;
actually 30 mins is past from deadline. :(
@Griwes I tried it once. It's overrated
user3010322
@R.MartinhoFernandes s/god/durable plastic bag for metal/g
Xeo
Xeo
@R.MartinhoFernandes You're a False God, it was no miracle, you were just lucky.
20:56
@jalf heh
Robot's so metal he's plastic
6
I wonder what's that number near the username in that graphic
'I see you define char * punc, but it is uninitialized headed into the next loop, where it is used... shouldn't it be initialized to point to some memory?' - one hour ago.
That doesn't make sense but sounds funny
@MelikaBarzegaranHosseini Wouldn't so bad if you had access to more recent tech.
20:57
@Xeo Say that standing on a hilltop in a thunderstorm wearing wet copper armour.
user3010322
@CatPlusPlus Plastique Fantastique!
-2
Q: Is IPv6 that uses 128-bit addressing suitable for a 32-bit Internet addressing?

SocratεsWell, Using 32-bit Internet addresses was originally thought to provide ample room for expansion, but that conjecture is not proving to be accurate. IPv6 uses 128-bit addressing. Will that prove to be adequate? Justify the answer. (For example, you might compare the number of possible addresse...

@MelikaBarzegaranHosseini what's tem-1?
lol
but really: am I an interuppter?
20:57
@ThePhD That's almost French.
Xeo
Xeo
@R.MartinhoFernandes What if I just did?
I meant semester #1
the first half of the year I am going to uni
@MelikaBarzegaranHosseini well, you interrupted a discussion about WW2 and patriotism or whatever it was. But personally, I don't mind. We're getting along fairly well now :p
Xeo
Xeo
Also, argh. Must. Resist. Watching. Starbound. LPs.
Plastic is best robot casing.
user1804599
20:58
Yum; tangerine.
user3010322
@EtiennedeMartel Je t'aime. <3
@MelikaBarzegaranHosseini oh right. You'll get lots more practice then. It gets easier :)
@ThePhD That is French.
Okay a good, free hint from actual Lounge God: if people found you to be annoying at some point, then lay low, and don't mention the incident, and people will forget about it
so you can go on about ww2.
user3010322
20:58
@EtiennedeMartel Oui.
i won't interrupt your discussion more. :(
@CatPlusPlus yep, we have the attention span of a concussed duckling in here
Just drop it. Forget it happened. Don't mention it.
user1804599
Scorpions are beautiful.
Start talking about something else
Like Belgium
20:59
And cookies
user3010322
@EtiennedeMartel J'ai étudié... mais...
NO BELGIUM DAMMIT
Xeo
Xeo
@jalf mmm, cookies
user3010322
Shrug.
How about belgian waffles?
20:59
@CatPlusPlus Cats are better
Xeo
Xeo
@jalf Now I need to get me some waffles tomorrow

« first day (1144 days earlier)      last day (4030 days later) »