« first day (809 days earlier)      last day (4155 days later) » 

12:00 AM
He's right, for once. Thing is, I for one prefer tasks for which the most appropriate tool is C++...
 
user142019
@FredOverflow "Facebook is good because a billion people use it."
 
So fast food is also good?
 
user142019
Yup.
 
lol
 
user142019
And heroin.
 
12:01 AM
I do like a bit of fast food and heroin every now and then, while I surf Facebook.
 
you forgot "and writing PHP code"...
 
I don't know PHP :(
 
user142019
What do friends and trees have in common? They will fall over if you hit them repeatedly with an axe.
 
user142019
@AndreiTita :) *
 
I like that cat.
 
user142019
12:04 AM
PHP is the single most terrible language after Java. Don't learn it.
 
If I thought Twitter was actually useful for anything, I'd subscribe to that cat.
Well I do know a bit of Java, so might as well?
 
user142019
No. Don't. And forget everything you know about Java.
 
user142019
Java and PHP are illegal.
 
lolll
 
user142019
Java and PHP are only good for filtering out the noobz.
 
12:06 AM
Said the Obj-C dev...
 
lmfao@LuchianGrigore
 
:))
 
user142019
@LuchianGrigore Who knows more languages than only Objective-C.
 
I am seriously too language-agnostic to care.
I'd use anything.
 
user142019
@AndreiTita does that include Haskell?
 
12:07 AM
@AndreiTita you use what ever you need to use to accomplish any particular task you wish to accomplish.
 
Sure, if there was a reason for me to code in Haskell.
 
user142019
@AndreiTita You're great.
2
 
If I star that, does it count as self-promotion?
 
user142019
Yes.
 
user142019
Not that I give a fuck, really.
 
12:10 AM
lol
 
user142019
Damn.
 
user142019
I should have edited it to "your mother is a whore" or something after it got starred.
 
Hey, it will probably give people a better impression of you.
 
for operators
 
@Zoidberg'-- hahahaha
 
user142019
12:11 AM
I'm good.
 
then ADL for op<<(x, y) should find x.op<<(y), right?
or is that specified as if not x.op<<(y), then ADL op<<(x, y)?
 
Damn, I SHOULD know the answer to that.
 
user142019
I think the latter.
 
user142019
Ask on SO and it'll get tons of upvotes.
 
@DeadMG I thought x op y was the same as calling op(x,y)?
 
12:17 AM
not if x.op(y).
i.e., they might be member or non-member.
 
Ah I gotcha
 
h... hey guys!
 
hmmm
 
Does anyone know if there's a C++ equivilent to Java's
http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/image/Kernel.html
http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/image/BufferedImage.html
?
 
@Crowz boost::gil
closest thing i can think of
 
12:22 AM
so
I think that I can cause Clang to perform this logic for me.
but not wholly certain.
 
user142019
> Java and Scala developer. In a previous life I was a Haskell developer.
 
user142019
This world is terrible.
 
oh well, time to hit the sack :)
was nice chatting with ya'll
bb
 
later tuntuni
 
@johnathon later ;)
 
12:35 AM
I need a memory arena.
 
What is an arena?
 
user142019
 
@StackedCrooked I never knew the world was so ridiculous.
 
@StackedCrooked It's where I can allocate objects but not have to care about cleaning them up
 
It's Maury, so it's fake
 
user142019
12:42 AM
@ThePhD merkins
 
especially since Clang's memory managing techniques are about as clear as the Sun.
 
Hahah, true, Murrica.
 
And freedom costs a buck o' five.
 
aaaack
no wonder I've found it difficult to get my head around this shit
I haven't been specific enough to each TU.
 
user142019
12:45 AM
Man.
 
user142019
I have to take a shit.
 
user142019
But it's almost 2 AM.
 
user142019
brb
 
Kids these days, so proud of their digestive system.
 
user142019
?
 
12:47 AM
I'm proud of mine when it works.
 
By using correct placement syntax, one would assume.
Strangely enough, that doesn't actually look wrong...
 
1:02 AM
i just had to "resume" windows again, it had turned itself off (sleep). it should not because it's on mains power and that functionality is turned off in the power options. when it does it not only stops doing what it should do, but it screws up Explorer's memory of the width of the taskbar.
this happens every day
windows = unreliable
 
Would you like a workaround?
 
yes thanks!
not using *nix though
 
Linux is worse in that regard.
 
I keep winamp running on an infinite loop at 0 volume. That seems to prevent my Win machine from going to sleep.
 
I'm using a different OS whose name I won't divulge.
 
1:04 AM
Not sure how portable it is.
 
what's winamp infinite loop?
i have winamp running...
 
I just have it looping on a single song.
oh
 
I have a script that touches a file every three minutes on my external hd to keep them from falling sleep.
 
he he :-)
ok
 
...
Wed Jan  2 01:58:23 CET 2013 activation
Wed Jan  2 02:01:23 CET 2013 activation
Wed Jan  2 02:04:23 CET 2013 activation
It's only 1753 lines right now since I reinstalled last week.
 
user142019
1:06 AM
Guyz.
 
Nothing is more irritating than the entire program freezing because an external HD is awakening.
 
user142019
lolz
 
Well, there are more irritating things.
But I mean as a matter of speaking.
 
user142019
Girugamesh are great.
 
The band?
 
user142019
1:08 AM
Yes.
 
I'm beginning to think FPSRussia is the best thing on Youtube ever, and I don't even watch it all that much.
 
user142019
@StackedCrooked Girugamesh is named after Gilgamesh, a monster, IIRC.
 
user142019
s/monster/king/
 
user142019
> Girugamesh (ギルガメッシュ Girugamesshu?) is a Japanese visual kei rock band, formed in 2003. The name is derived from the name of the ancient king Gilgamesh, of Babylonian and Sumerian mythos and is sometimes stylized with a metal umlaut as girugämesh.
 
1:10 AM
@StackedCrooked I would think you'd think first of the anime. Although I was told it's pretty bad.
 
Girugamesshu is the pronounciation of the katakana notation of Gilgamesh. (Katakana is phonetic.)
 
the entire japanese language is phonetic
 
user142019
Well
 
user142019
When I hear Japanese people speaking I never hear the "u"s. xD
 
Kanji is not phonetic. You need to understand the context.
@Zoidberg'-- suki is pronounced as ski
 
1:12 AM
Kanji is phonetic. You just have to know the difference between the kun-yomi and the on-yomi.
 
The 'u's only crop up a lot in stuff imported from other languages.
 
user142019
The only Kanji I know is/are hito and hitobito. XD
 
@Rapptz The fact that a kanji has two readings makes it not phonetic by definition.
 
Unless having different pronunciations makes it un-phonetic
Well it follows a pattern so I don't know.
Could possibly be argued.
 
@Zoidberg'-- TIL
 
1:13 AM
hmm
 
user142019
 
user142019
Also a tremendous song.
 
for some reason, there's a Clang header that includes an LLVM header but does not properly prefix it's arguments
 
user142019
s/it's/its/, you Englishman.
 
actually, if you use the Hiragana script, Japanese is totally phonetic - the problem is, when you use Kanji, the readings are not obvious
 
1:15 AM
@Zoidberg'-- It's hard to get that one right without paying special attention.
 
user142019
Not really.
 
more generally
I simply don't care.
 
user142019
Good.
 
it's perfectly parsable both ways
 
@kfmfe04 According to Wikipedia Japanese people can very quickly read a text "diagonally" by glancing at the kanji.
 
user142019
1:16 AM
I can type more quickly when I dim the backlight of my keyboard so I don't see what the keys say.
 
That's a cool aspect. However, I'll never reach that level.
 
user142019
Blank keyboards are superior.
 
@StackedCrooked well, the thing is, pictograph based languages like Chinese (and Kanji) lends itself to speed-reading
because you can scan the page visually for patterns
in that sense, Chinese can be read even faster than Japanese
that was the big loss when Koreans switched to pure Hangul (they lost the Chinese characters)
 
user142019
You know.
 
Chinese looks so blocky compared to Japanese.
 
user142019
1:18 AM
Helvetios is one of the best albums I have ever listened to.
 
it's totally blocky - and very compact
even the pronunciation is more compact (one syllable per character) - unlike Japanese pronunciation of Kanji
 
user142019
The very best is Iowa by Slipknot. I like all the songs on that album. Awesome.
 
Japanese readings are a mess (very hard to learn)
 
user142019
Oeh Amon Amarth. Not playing your usual playlist is fun.
 
user142019
I hear a lot of songs now that I haven't heard in a long time.
 
1:23 AM
gooooooooooooood moorrrrning vietnam
 
user142019
I'm wondering. What's wrong with Sicilians?
 
user142019
IME they are nice people.
 
user142019
Except the Mafiosi. xD
 
@StackedCrooked btw, I'm up to S02E23 - going to have to get some Zzz's soon
and you're right - it's getting even better
 
Don't consume it too fast! :P
 
1:25 AM
hahaha - you're right - I'll slow it down so I can remember more of the story
 
I wish I could restart anime with a blank slate.
 
The fastest thing I've ever watched was Steins;Gate. It was just impossible to slow down.
 
user142019
Lounge<C++> Anime Marathon
 
@AndreiTita Also a classic IMO.
 
I'd restart anime and videogames if possible. And life.
 
1:26 AM
You jump off the cliff and hope that reincarnation is true. And hope you don't get reborn in North Korea.
 
what does it mean to restart anime? to watch them again "for the first time"?
 
Yeah, watch again without the memories.
 
It was a response to @StackedCrooked, basically yes.
 
@Zoidberg'-- folk-metal heh. :-) but it ain't heavy
 
I'm gonna ask my doctor for a pill that will erase my memories.
 
user142019
1:28 AM
@Cheersandhth.-Alf but it sure is a great song.
 
like Eternal Sunshine of the Spotless Mind
the images of people losing their faces in that movie still spooks me
 
user142019
I have Mewtwo in Pokémon Yellow. XD
 
user142019
IOW: I win every battle. xD
 
user142019
I should really work on Ygg.
 
user142019
1:37 AM
Screw Hexapoda.
 
like, "mewtwo" is a level you gained?
is there then a "mewthree"?
 
user142019
Mewtwo is a genetically engineered Pokémon.
 
It's a pokemon...
 
user142019
is a fictional creature in Nintendo and Game Freak's Pokémon media franchise. Created by Ken Sugimori, it first appeared in the video games Pokémon Red and Blue and their sequels, and later appeared in various merchandise, spinoff titles, as well as animation adaptations of the franchise. Masachika Ichimura voiced Mewtwo in Japanese, and the creature's younger self is voiced by Fujiko Takimoto in the Sound Picture Box: Mewtwo's Origin CD drama and Showtaro Morikubo in the anime adaptation. In English, Phillip Bartlett voices Mewtwo in Mewtwo Strikes Back, with Dan Green providing the voi...
 
user142019
It's like Mew, but second version. So Mewtwo. XD
 
user142019
1:44 AM
Mew++.
 
user142019
No problem. XD
 
user142019
For my game, I could make each inventory a gen_server.
 
user142019
You know
 
user142019
I love Erlang.
 
user142019
1:46 AM
Everything makes so much sense.
 
a what server?
 
hi everyone i know im probably in the wrong section, but is there any ruby on rails developers here?
 
user142019
Generic server behaviour.
 
user142019
@user1014888 I have experience with RoR.
 
1:53 AM
@zoidberg is it possible you could help me sort out routes in my application i have all the routes listed in the config/routes but still getting an error. is there a way i can share my code with you?
 
user142019
muh
 
2:24 AM
Damn. I have a Strange Bug.
I hate those.
 
user142019
You mean a Heisenbug?
 
I wish this one would crash and burn too.
Ah no, that would be a Hindenbug.
 
user142019
I'll write some parts of my game in C.
 
user142019
If Erlang is too slow.
 
2:28 AM
Why C rather than C++?
Also, no language is going to be too slow for a text game.
 
user142019
Because I like C more than C++.
 
user142019
@AndreiTita AI
 
Ah sure, that could be a bottleneck.
 
user142019
xd
 
Mine is not quite a Heisenbug... I can make it appear reliably. It's just that it's fucking strange.
Ok so I kinda have it down to two options 1) somehow I managed to corrupt video memory in a totally predictable and recoverable way 2) it's a bug in SFML. I'm going to take a wild guess and go with option #2. Fortunately I have the sourcecode.
 
2:39 AM
Regarding Euler problem 12. A number that has more than 500 divisors will be greater than (or equal to) 1 * 2 * 3 * ... * 501. There's no flaw in my reasoning here?
Because 1 * 2 * 3 * ... 501 is a number with 1137 digits. Which is kinda big.
 
You're either undershooting or overshooting. One of those is ok. Sec.
Nope. It's the opposite. A number which is greater than 500! definitely has more than 500 divisors, but not the other way around.
 
user142019
Hmm I have a question about C (and maybe C++):
 
there's this great site called stackoverflow.com...
 
user142019
int *a;
{
    int b = 42;
    a = &b;
}
printf("%d", *a); // UB?
 
user142019
2:44 AM
Also in C?
 
Dunno, but I would expect it to be.
 
user142019
Hmm okay.
 
The scoping rules are a bit different in C I think but I don't know the details.
 
user142019
In Hell++ it would redirect you to lemonparty. xD
 
@AndreiTita Aren't there primes larger than 500!?
 
user142019
2:45 AM
@AndreiTita ah well I'll ask on SO. This is one of those 10 upvotes questions.
 
@Zoidberg'-- The code might seem OK, but you don't know what optimizations the compiler might do. Hence UB, in my reasoning.
 
@irrelephant Yep totally correct. Which totally makes me wrong.
 
user142019
@StackedCrooked is b called a function-local object? What's the best terminology?
 
@Zoidberg'-- local variable?
 
user142019
Thanks.
 
user142019
2:54 AM
<repwhore-mode>
 
user142019
0
Q: Within the same function, is it UB to access a local int not in scope?

Zoidberg'--After the second closing brace, b is accessible only through indirection through a. int main() { int *a; { int b = 42; a = &b; } printf("%d", *a); // UB? return 0; } Since b is not anymore in scope, is this UB? I know it's UB to dereference a pointer to ...

 
user142019
</repwhore-mode>
 
doesn't look like UB to me
 
what is UB?
 
It is in C++. Dunno about C.
@JohanLarsson Undefined behaviour.
 
2:56 AM
ok ty
 
I don't expect it to crash because you are dereferencing a pointer to stack memory. But still UB.
And I think the output may vary depending with compiler optimizations.
 
@StackedCrooked That is the point of UB. It doesn't have to crash.
 
I know that.
 
I can see how it's undefined in C++.
 
But I'm reasoning about the implementation.
 
2:59 AM
For example, the value of b is never read, so the compiler can simply skip its initialization.
Don't expect 42 as output then.
 

« first day (809 days earlier)      last day (4155 days later) »