« first day (1051 days earlier)      last day (3906 days later) » 

4:01 PM
Hi
 
Ell
Hi :)
Actually bartek if you read that ignore me, I just read the khronos ip thing :P
 
Does anyone have recommendations for making pretty powerpoints with syntax highlighting?
 
Ell
Use an editor that you can copy with formatting from
I guess :P
 
:P Yeah..
 
4:14 PM
way ahead of ya
What if I told you this should be a comment and not an answer. — Borgleader 6 secs ago
 
@DavidKron Scala is very controversial. Some love it, and some say it is way too complicated for the average Joe. Compared to Java, it has a very advanced type system.
 
Ell
4:30 PM
I intended to learn scala
 
And then what happened?
 
Ell
I used java instead. Shame on me.
 
@DavidKron Do you already know Java, but not Scala? Or do you know neither?
 
user1804599
Fuck Scala.
 
@FredOverflow Neither, i know their concepts, how they work, why i dont want to learn them etc.
 
4:33 PM
@DavidKron let me guess: GC is why you hate them? ;)
 
Well i wouldn't say GC is optimal, but its not the reason.
Sometimes you really need GC. Even tough i do everything i can to not need it.
 
user1804599
Garbage collection is the only way to sanely do memory management.
 
@not-rightfold Garbage collection is the only way to do garbage management*
 
Ell
@not-rightfold What about smart pointers?
 
4:35 PM
Problem is your having garbage
 
user1804599
@Ell No. Fuck them.
 
Ell
@not-rightfold Why? :3
 
Fuck GC, use RAII
be in control :P
 
user1804599
Fuck RAII, use GC
 
user406009
4:36 PM
Isn't reference counting a type of GC?
 
@Lalaland Yes.
Of course anti-GC people vehemently deny that.
 
I don't think there is an objective answer to that question.
 
The problem is (for douche-bags that is) c++ supporting regular pointers.
 
Ell
I'm not anti GC
I just think smart pointers convey meaning as well as destroy things at the right time
 
4:38 PM
But the main idea with modern c++ memory handling is that you don't generate garbage, and therefore don´t need GC.
 
I almost wrote pubicly instead of publicly.
 
I'm not anti-GC, just that RAII allows you to control your memory more tightly
 
> if (_ref == 0) delete this;
 
The main reason i see using GC, is when you develop server software. But then i think you should at-least use both.
 
That line is going to come back to haunt them some day.
 
4:42 PM
Is scala GC aswell?
 
Ell
Yeah, I think
 
Nice
Omg i think ive looked at the same code all day...
 
@chris Smart pointers don't delete themselves, they delete the object they are smart counting.
@TonyTheLion Non-GC-languages tend to have heap fragmentation issues in long-running programs like server software.
 
I don't think I will ever write mission critical C++ software, it's just too dangerous.
 
4:44 PM
@Ell And can cause your heap to get fragmented after a while.
 
@FredOverflow Hmmmm
 
Ell
@EtiennedeMartel Good point
I never think about memory layout :P
 
and there's no way to avoid that without going to GC?
 
@FredOverflow There are GC for c++ tough
Its just that its optional
 
@TonyTheLion You need a compacting GC.
 
Ell
4:46 PM
compacting_ptr<>
 
@TonyTheLion Maybe it's not an issue anymore with 64 bit systems, I don't know.
 
Anyway, shared pointers are a nice patch for when you can't implement an actual GC because the language doesn't allow it, like in C++.
 
What do you mean, the language doesn't allow it? There is a garbage collector for C++, isn't there?
 
Ell
Bohem or something
 
4:48 PM
It's a conservatice GC.
The problem is that the GC doesn't have full knowledge of what's going on in the heap.
 
WIll we have standard GC in C++14?
 
Good question.
 
@FredOverflow It was in something deriving from std::pair.
 
If you want a "real" GC, the implementation needs to know about it.
A GC isn't one of those "library only" things.
 
Ell
I didn't know there was much demand for a c++ GC
 
4:53 PM
There isn't, I think.
 
user1804599
I just had a most horrible dinner.
 
user1804599
Screw egg foo young and rice vermicelli.
 
Ell
> What does "Bad Box(es)" mean? Are they bad?
boy tex really sucks at tables
(imho)
tex just sucks all together
 
user1804599
I want a Gentoo shirt.
 
5:10 PM
You should buy a cloth and make it yourself
 
ho fuck so sick
@FredOverflow no.
@EtiennedeMartel It can be, if you accept some limitations
 
5:32 PM
@not-rightfold young, lol
 
user1804599
@sehe ?
 
user1804599
Egg foo young (, also spelled egg fooyung, egg foo yong, egg fu yung, or egg furong) is an omelette dish found in Chinese Indonesian, British and Chinese American Cuisine. The Daily Telegraph - Comment - Personal View - [http://www.telegraph.co.uk/comment/personal-view/3622178/Spare-ribs-egg-foo-yung-chop-suey-and-plenty-of-fried-rice-how-to-murder-a-Chinese.html Spare ribs, egg foo-yung, chop-suey and plenty of fried rice: how to murder a Chinese], 8 January 2006 The name comes from the Cantonese language. Egg foo young is derived from Fu Yung Egg Slices, a mainland Chinese recipe from S...
 
Well well. Those darned Brits. If they didn't invent an English looking way to misspell the thing
 
user1804599
egg bar young
 
what's difference between MIME and RFC 822? if this is a stupid question, do say so
 
user1804599
5:38 PM
What a stupid question.
 
cheers, appreciate it
 
Lol
 
welp, too late
 
@DeadMG oh no, didnt intend as a spam
 
Xeo
@TonyTheLion Haha, nice
 
Ell
5:53 PM
wtf, glib needs a particular version of automake
oh wait, it doesn't work with that particular version
 
2
A: Does Java optimize division by powers of two to bitshifting?

Martijn CourteauxNo, the Java compiler doesn't do that, because it can't be sure on what the sign of (end - start) will be. Why does this matter? Bit shifts on negative integers yield a different result than an ordinary division. Here you can see a demo: this simple test: System.out.println((-10) >> 1); // prin...

^^ So apparently, Java can't optimize: x / 2 where x is an int.
VS2012 will optimize it to (x - (x >> 31)) >> 1.
 
@Xeo :)
 
@Mysticial Don't tell me you're surprised :P
 
@Borgleader It's an optimization that's so basic that even Java is supposed to be able to do it. :P
 
So I was looking for a birthday card for a friend of mine, ಠ_ಠ.
 
Xeo
6:01 PM
lol
 
Ell
@TonyTheLion haha
 
VS2012 doesn't quite does the 31-bit right shift. It actually sign-extends it to a 64-bit integer and uses the upper 32-bits in place of (x >> 31).
 
They need to make more meme-ish cards.
 
Ell
No they don't!
Memes are bad.
 
@Ell Your sense of humor is bad and you should feel bad.
 
6:07 PM
@Mysticial Wouldn't x >> 1 also be equivalent?
 
@DeadMG Not for negative integers.
 
You are all bad and you should feel terrible.
 
Ell
a meme is the same joke told over and over again
 
@TonyTheLion I do feel terrible. Holy shit, my stomach.
 
@DeadMG oh :( :( :(
 
user1804599
6:10 PM
@TonyTheLion I feel great.
 
user1804599
(And I am great.)
 
You need to add 1 to a negative integer for a shift to be equal to a divide by 2. So subtracting by it's sign extended to the entire integer does the trick.
 
user1804599
its
 
And it even holds in the edge cases like 2^31 - 1 and -2^31
 
Ell
6:16 PM
@DeadMG anything different causing it? :/
 
no reason to think so
it's just that for the last couple of days it's been particularly bad.
 
0
Q: OpenAL Website down?

lixpoxxI just wanted to begin writing a 3D-Engine! I wanted to use OpenAL for the Sound but it looks like the Website is down. I want to download it from the developer and not from Softonic&Co.! Can anyone help me?

=.=;
 
and I'm almost certainly in for another very long night tonight.
at least there is Breaking Bad and Dexter on tonight
 
@DeadMG no Dexter tonight
 
aw fuckshittles.
there was no Burn Notice this week either.
 
6:28 PM
There is Low Winter Sun, with Mark Strong (us remake of bbc series)
 
Seriously? I cannot find my bottle opener, and it’s ruining my evening!
 
Xeo
lol
 
Ell
smash the bottle instead!
 
Xeo
Just put it up on an edge and give it a whack
 
Assume a bottle opener
 
6:37 PM
of course I’ve got plenty of ways of opening the bottle, but that solves only half the problem!
where the hell is that opener?
 
Are you on a date, about to pour wine and then log on to SO for help? Dealbreaker for most;-)
 
if that’s a deal-breaker, that would be a deal-breaker (for me) ;-)
but no, not a date, just a nice evening alone
my girlfriend doesn’t like when I go on dates :-/
 
user1804599
hiii
 
Ell
@KonradRudolph Not even with her? ;)
 
Xeo
@not-rightfold Spotted a spider?
 
Ell
6:41 PM
@not-rightfold hi. type classes, bro
 
user1804599
@Xeo ?
 
user1804599
@Ell ?
 
Ell
Idk, I'm learning scala atm :D
 
Xeo
@not-rightfold The sound "hiiii".
 
user1804599
I don't make any special sounds when I spot spiders.
 
user1804599
6:43 PM
I just kill them.
 
@FredOverflow I'm writing unit tests for my deque class, what has this course done to me !?!
 
hm
Question is, why write a deque class?!
 
user1804599
Because Coursera says so.
 
Ell
don't you go to a university? o.O
 
user1804599
No?
 
6:53 PM
@Rapptz Because online course assignment
 
@not-rightfold oooh
 
user1804599
All those meaningless lives brought to a horrifying conclusion.
 
okay guys. How do I into threading?
 
@Rapptz Hm?
 
6:59 PM
@not-rightfold Ah, you should have seen the one we carried outside this morning. Required to persons to carry it :)
 
@Crowz Not quite sure what you are asking.
 
@EtiennedeMartel First few lines and I already see a singleton.
 
@not-rightfold What's that? Did you somehow change schools?
 
user1804599
@sehe Read the context, you fool.
 
user1804599
13 mins ago, by Borgleader
@FredOverflow I'm writing unit tests for my deque class, what has this course done to me !?!
 
7:01 PM
@not-rightfold Sorry for just coming in. I guess.
 
user1804599
Als je er maar veel spijt van hebt.
 
@not-rightfold Well, it could still be a summer course, a voluntary thing (I've implemented 15 c++ code challenges last week), or many other things
@not-rightfold score: matig, authenticiteits-bonus: 88%
Ah. The real context is: Borg is on a course
 
@Pawnguy7 threads like for games
 
user1804599
I don't do school anymore. Niets voor mij.
 
You have a funny title for your console windows — sehe 5 secs ago
 
7:04 PM
@Crowz C++11 brought <thread>?
 
@not-rightfold Really? And your parents? Haven't killed you yet?
 
user1804599
@sehe No.
 
@Pawnguy7 yes
 
user1804599
But my dad keeps trolling me with "voorlopig".
 
Looking for jobs? I'm somewhat half-assed interviewing for one that I don't really need. I bet you'd like it.
 
user1804599
7:05 PM
I have a job now.
 
user1804599
@sehe What job is it?
 
@not-rightfold Hah. I'm still "voorlopig" on a break, if it works that way
@not-rightfold I'll find you a link. Seriously, I think you'd like it. Of course, they looking for a senior C++ dev, but ... you know. In some ways you'd have more experience there: they're porting an application backend to iOS/Android using C++
 
user1804599
Send a DM on Twitter if you don't like posting it here.
 
user1804599
Also beh mobile development.
 
(allthough my gut says if the lead dev convinces them to use Objective or Java, they'd have ears)
 
7:07 PM
@Mysticial But wouldn't it be legal for C++ to optimize x/2 into x>>1 even for signed integers, because right-shifting a negative number is unspecified or something?
 
@not-rightfold :)
 
@FredOverflow The compiler can do it if it wants to.
Since the compiler is already below the language.
 
user1804599
@sehe Objective-C is nice.
 
Objective-C is nicely subjective.
2
:)
 
user1804599
It only lacks type inference, and auto in Objective-C++ deduces everything to id if you use it. :|
 
7:09 PM
I am really sucking at this screens thing :\
 
If I write to a variable in one thread and only read from the variable in another thread, can I introduce data race?
 
user1804599
Don't do that.
 
user1804599
Use messaging.
 
@not-rightfold that's kinda hard right now, even in C++11
 
user1804599
But if you insist on it: it needs to be either atomic or you need a lock.
 
7:10 PM
Use C#-style callbacks in C++. ahahaha
 
user1804599
Use a concurrent queue.
 
@Mitja To answer your question: yes.
 
use a socket
 
use a sockpuppet
 
user1804599
Use Erlang.
 
7:14 PM
don't use threads
 
user1804599
Use processes. Use Erlang.
 
@not-rightfold I've heard Erlang is very popular in Stirling.
 
user1804599
Isolation is key.
 
...to depression?
 
Use Javacript.
 
@FredOverflow do I fork?
 
user1804599
@FredOverflow To good concurrent code.
 
@Pawnguy7 the concepts therein
 
user1804599
@FredOverflow Huh?
 
@not-rightfold Stirling kinda sounds like Erlang. Dunno.
 
7:17 PM
fork + sockets, good idea?
 
user1804599
Stirling engine.
 
user1804599
@Mitja Just use a concurrent queue.
 
user1804599
Let me write an example.
 
user1804599
If you want two-way communication, use two queues.
 
user1804599
7:22 PM
> Don't communicate by sharing memory; share memory by communicating. — golang.org/doc/codewalk/sharemem
 
user1804599
@sehe cool thx.
 
@not-rightfold thanks, didn't know about threadingbuildingblocks.org
 
user1804599
Forget about locks baby.
 
Oh.. did Coliru wipe its history? @StackedCrooked
 
user1804599
The URLs changed.
 
7:32 PM
@Mysticial have a star
 
@not-rightfold Old URLs say it doesn't exist.
 
@Rapptz It should still work.
 
user1804599
The URLs changed.
 
Here's one from my history for example
 
@StackedCrooked Are you balancing load now?
 
7:34 PM
@sehe no not yet
 
user1804599
 
user1804599
This remix is awesome.
 
@StackedCrooked good. I hope that you'd keep the Archive in your own server for continuity
 
@Rapptz Was that a recent post?
 
@StackedCrooked I really don't know. I saw the URL change so I looked at my history for one of the old URLs.
 
7:37 PM
My old bookmarks still work.. But it seems some got lost..
 
@Rapptz Yeah, just backed it.
 
Quite a lot of money for the first day heh
 
user1804599
Hurray it's almost Monday. :D
 
Sunday is the worst day of the week.
 
7:44 PM
>pirating games because they hurr have DLC durr
I bet you faggots don't eat at pizza places because you'd have to pay for extra toppings?
lol
 
Interestingly, there's this myth that games with DLC have less content in the main game.
So Redditors think that they get ripped off because they have to buy the game in multiple pieces.
 
@sehe Your twitter profile says you like Haskell.
 
@not-rightfold I got monday off.
 
I'm not on reddit
 
user1804599
@EtiennedeMartel Sounds like a nightmare.
 
7:46 PM
@FredOverflow Huh. How. Where. Anyways, I don't fail to not-hate it
 
user1804599
Another day of boredom.
 
@not-rightfold If your life is boring, don't blame the weekend for it.
 
user1804599
I don't do that.
 
user1804599
Cite me.
 
(*("Bite me"))++
 
7:49 PM
lol
 
Such a shame they omitted Win3.11 (for Workgroups!) and windows nt 4.0 service pack 6
 
Xeo
@Rapptz Coolio.
 
Where's Windows Me?
 
@FredOverflow think the pony posted it earlier but he posted it as a stealth link, still lol
 
@chris It was a joke
 
7:53 PM
@chris Windows Meh? :)
 
@chris perhaps the shed falling apart behind 2000?
 
@FredOverflow Windows: Murder Edition.
 
user1804599
7 hours ago, by not-rightfold
 
@not-rightfold I saw it on your twitter account and wanted to comment on it (here).
 
user1804599
You do Twitter?
 
7:54 PM
No, that's why I didn't comment on Twitter :)
Oh wait, is "repost" a noun or an imperative? Do you want me to repost? Here goes:
 
user1804599
Playlist RD02wPyTlLL9Apk is nice.
 
user1804599
lol
 
Ell
Hi guise, anyone here competent with inkscape?
 
a little bit of experience. It's slow
 
user1804599
7:56 PM
inb4 not funny
 
it wasn't. sadly. because it would have been great had it been funny
 
user1804599
@FredOverflow Gentoo
 
@not-rightfold failed waste of money? nah doesn't come close
 
user1804599
Money where? I want money gimme money.
 
@not-rightfold Gentoo would be a house that you have to build yourself.
 
user1804599
7:59 PM
And it would be awesome.
 
Arch would be a house where the walls come down if you flip the wrong light switch.
 
user1804599
 

« first day (1051 days earlier)      last day (3906 days later) »