« first day (707 days earlier)      last day (4235 days later) » 

9:00 AM
BREAKING NEWS!!! Someone's being an idiot.
 
user784668
@StackedCrooked Also known as zero-width non-breaking space, U+FEFF.
 
@Fanael I just noticed you. And also, I'll be your new dad.
 
I just noticed the “ø” in my name.
 
jk
 
cuteness ^
 
9:00 AM
I just noticed a dog.
 
awwwwwwwwwwwwww
 
chat search is lagging again...
 
DeadMG isn't cute, you fool.
 
DeadMG rage quit
 
user784668
@daknøk It's not Dead.
 
9:01 AM
lol
 
DadMG
 
haha
 
user784668
-2
Q: C++ naming conventions:(why variable can use $)

Jackongsuch as: int $a = 1; int $$a = 2; env:VS2010 thanks!

 
user784668
whaaaat
 
9:04 AM
clang allows that but gives a warning.
 
user784668
The standard disallows that.
 
Warnings are errors.
 
If you think that's bad... how about?
125
Q: Legal identifiers in Java

DudeI am reading for SCJP and I have a question regarding this line: Identifiers must start with a letter, a currency character ($), or a connecting character such as the underscore ( _ ). Identifiers cannot start with a number! It states that a valid identifier name can start with a connec...

 
@Fanael quote or it didn't happen.
 
user784668
9:05 AM
identifier:
  identifier-nondigit
  identifier identifier-nondigit
  identifier digit
identifier-nondigit:
  nondigit
  universal-character-name
  other implementation-defined characters
nondigit: one of
  a b c d e f g h i j k l m
  n o p q r s t u v w x y z
  A B C D E F G H I J K L M
  N O P Q R S T U V W X Y Z _
 
user784668
@daknøk A.2 ^
 
@TonyTheLion TE GROUND?
 
@StackedCrooked I found, I didn't make it
 
user784668
Oh wait.
 
@TonyTheLion You didn't fount it? :)
 
user784668
9:07 AM
> other implementation-defined characters
 
user784668
So it's implementation-defined. Still unportable.
 
What is the difference between burned and burnt?
 
user784668
@StackedCrooked s/ed/t/
 
@Fanael exactly.
 
@StackedCrooked I'm not a linguist. So I'll answer from what "feels" right having been a native speaking since age 4.
Burned would be past tense of burn.
Burnt would what has happened to an object.
 
user784668
9:08 AM
@StackedCrooked Burnt is more British.
 
The only exceptions I can think of are all slang.
 
@Mysticial My feeling was something similar.
 
Slang is Dutch for snake.
 
His foot was burned. His burnt foot was aching.
 
-1
Q: I only know .NET - Other languages to open my mind

Dave RookI was listening to a DotNetRocks pod cast a few months ago and during the interview their guest made a comment that it's always best to learn different languages as it makes you think a better program. I only know .NET (C# and VB). However, there are so many languages out there I don't want to j...

 
user784668
9:10 AM
There were "burned books" in Skyrim.
 
is ACE widely used?
 
@StackedCrooked meh
@bamboon I haven't seen it used. I think it's bloated
too complex
 
What is ACE?
 
It's a Framework
 
@daknøk It's an old library similar to Poco or boost. AFAIK. Never used it.
 
9:12 AM
Ah k. That makes it more googlable. :P
 
Xeo
Alright, time to bring this laptop back to its owner. Btw, is it bad if it smells of soldering tin when turned on?
 
It's not Boost not jQuery so it's terrible.
 
It could be worrying.
 
user784668
@daknøk C++ sucks because there's no port of jQuery for it.
3
 
Xeo
Whatever, I did my best to fix whatever happened to that thing without opening it. They still have guarantee, so if it's still broken, it is hardware related and they should send it in.
 
9:14 AM
anybody got some tips about good network programming books?
 
Xeo
@bamboon I asked that once in here, all I got back was laughter :(
 
@Xeo ^^ oh, ok
 
@Xeo found something good yourself in the meantime?
 
Xeo
Nope
Except some stuff for Asio
 
9:16 AM
I know a good book. It think it's just called "TCP/IP". It explains all you need to know.
 
@Xeo mind sharing that?
 
@Fanael I can write one.
 
user784668
@daknøk Do it!
 
But jQuery is mostly about AJAX and DOM manipulation, so it would be useless as fuck.
 
user784668
9:18 AM
@daknøk I mean, really, do it.
 
Okay.
 
user784668
@daknøk No, it would make C++ the best language.
 
And it would give the $ identifier finally a purpose. :P
 
user784668
@daknøk $ is not portable.
 
So?
 
9:20 AM
@Xeo cool, thanks I am gonna check it out
 
template<class T>
void jQuery(T const&);

#if clang || gcc || msvc
template<class T>
void $(T const& foo) { jQuery(foo); }
#endif
 
I thought that '$' already had a pupose - it's the entire unix UI specification.
 
UNIX UI specification?
What the hell is that?
 
Xeo
1 message moved to bin
 
@StackedCrooked there are quite a lot called like that^^
 
9:22 AM
Woah... what did I miss?
 
@bamboon Lol yeah. I don't remember which one.
 
Xeo
@daknøk Needs '++' or 'pp' in the name somewhere
 
10 mins ago, by Fanael
@daknøk C++ sucks because there's no port of jQuery for it.
 
@bamboon It's difficult to find a good one though. I have 'Teach yourself TCP/IP' (Parker)- too simplistic, and 'Interconnections', (Radia Perlman), far too heavy for most of my use.
 
9:33 AM
Learning network programming is a bit vague though.
 
9:43 AM
@daknøk You could port it yourself. I can imagine the queues round the block now: "Stuff the iPhone - I want Fanael's jQuery NOW, and I'll pay anything to get it first!"
 
20 mins ago, by daknøk
@Fanael https://github.com/daknok/jqueryxx
 
@daknøk I need to get a smaller monitor, or maybe I should have gone to SpecSavers..
 
jQuery is the most awesome software ever.
 
jQuery solely exists to ease the pain of working with JavaScript.
 
JavaScript should be called CallbackScript.
 
9:48 AM
@daknøk In that case, maybe C++ should be ported to jQuery?
 
A C++ interpreter written in JavaScript using jQuery.
 
user784668
@MartinJames Too hard.
 
Compile clang with Emscripten. :)
IcedCoffeeScript fixes the callback hell, but unfortunately it is a subset of CoffeeScript, not JavaScript.
And CoffeeScript is terrible.
It’s like a mix of Ruby, JavaScript and Python, only one of which is awesome.
 
I just cannot keep up with all these client-side foodstuffs - I'm choking on them.
 
My wallpaper is great.
 
10:02 AM
@daknøk
 
@NikiC I am serious.
 
@daknøk It a pictogram for donkey cock?
 
@StackedCrooked what?
 
Wait, you're not deadmg. Never mind.
 
@daknøk u r sirius?
 
10:11 AM
@daknøk "I'm currently going through a phase in my life where I'm very enthusiastic about jQuery." FTFY
 
@StackedCrooked Oh, I'm so sorry... he/she should not worry too much - new treatments are appearing all the time and I'm confident a cure wil be found soon.
 
@MartinJames He will outgrow it.
Like acne :P
 
@StackedCrooked Maybe - better if it never happened. Maybe some sort of vaccine could be developed, perhaps added to the normal regimen of childhood prophylaxis - a new MMRJ jab.
 
Maybe quarantine is best.
 
10:29 AM
@StackedCrooked Where? It would have to be somewhere with no net connection to prevent the disease from spreading. Mybe some kind of automated cruise ship, endlessly cruising international waters, never making port, serviced only by tenders.
 
@MartinJames Right. Given the mental aspect of the situation communication with the outside world should be prohibited. I fear that keeping his body in a permanent state of narcosis is the only way to enforce this.
The cruise ship might work as long as it sinks.
 
@StackedCrooked If they were given computers and a stictly-enforced local LAN, they would continue to write jScript and so soon fall into a coma anyway.
 
One danger remains: all that JavaScript code interacting with each other could lead to recursions and nested invocations that eventually lead to the creation of a new lifeform. This lifeform would likely attempt to take over control of the ship.
 
Xeo
Why the fuck does firefox peak at 100% CPU usage every few seconds. T_T
 
@Xeo Who knows. Maybe they are using a spinlock somewhere.
Or maybe it's a plugin.
 
10:41 AM
@Xeo It's the garbage collector. Try restarting FF.
 
Xeo
I hate restarting FF, means I need to reload all tabs :/
With 48 tabs currently open
 
Do you remember what they point to?
 
it tries to collect all the garbage you opened
 
Xeo
@StackedCrooked I reopen tabs and windows from the last session when FF is opened
 
Ah, I see.
There is a respected user-interface researcher pioneer who died a few years ago. One of his main ideas was that computer interfaces should behave similar to real-life work spaces. E.g. if you leave your desk and later return then everything will be in the same place as when you left it. He wanted that computers also behaved like this. So a reboot should restore system to the exact state as it was before. (I wonder if I can find him on Google without knowing his name..)
Jef Raskin (March 9, 1943 – February 26, 2005) was an American human–computer interface expert best known for starting the Macintosh project for Apple in the late 1970s. Early years and education Raskin was born in New York City. He received degrees in mathematics (B.S. 1964) and philosophy (B.A. 1965) at the State University of New York at Stony Brook. In 1967 he earned a master's degree in computer science at Pennsylvania State University. His first computer program, a music program, was part of his master's thesis. Raskin later enrolled in a graduate music program at the University o...
Lol. Found him.
 
10:49 AM
@Xeo I just checked, firefox.exe *32, CPU 00, mem 932,108, 44 threads. Watched it for a bit - always CPU 00 except when screen scrolls - goes up to 02.
 
Xeo
@StackedCrooked It's called "Sleep". :)
@MartinJames Crap. Any youtube videos open?
 
@Xeo Not knowingly, no. No annoying music or advertising audio on my speakers. Can't see anything 'live' on my tabs.
 
Xeo
Addons?
 
@Xeo Don't know how to get a list without a big screenshot :(
 
Xeo
10:54 AM
so a ton?
I only got Adblock Plus, Image Search Options, Download Status Bar.
Okay, I disabled all my plugins now, let's see
 
Does Firefox have a Task Manager?
 
Xeo
Nope, didn't help
@StackedCrooked Don't think so?
 
@Xeo 21 listed. Office, Adobe, DivX, Java, Real, some other Windows stuff.
 
Chrome has a task manager that seems to be modeled after the Windows task manager.
 
Xeo
@MartinJames Those are plugins, I was talking about add-ons like Adblock Plus
 
10:58 AM
@StackedCrooked Maybe you can look at it with perfmon?
 
@MartinJames I'm not really familiar with that.
 
@Xeo How do I list those, then?
 
Xeo
ctrl-shift-A
 
1
Q: "Task Manager" addon for Firefox?

eidylonAre there any addons for Firefox that can replicate the performance monitoring of Task Manager in Windows - seeing memory and CPU used - but for all the tabs in the current Firefox session? I want to be able to see which tabs are taking up the most memory or hitting the CPU the hardest.

 
Xeo
It should be on the same page in another "tab"
> This add-on has been removed by its author.
The AFOM one :(
Well, maybe it wasn't necessary anymore
 
11:02 AM
There is about:memory
Could give pointers regarding pages eating up all your memory (and triggering slow gcs)
 
Xeo
@_@
 
@Xeo OK, some listed but all disabled as 'Incompatible with firefox 15.0.1.'
 
Just switch to Chrome already :P
 
Firefox is terrible.
 
i thought it was quiet on here... refresh page and i've missed the last 3 hours...
 
11:06 AM
Firefox introduced tabs.
 
@daknøk Works OK for me. The continual updates are slightly annoying, but not near the same level as Adobe.
 
@StackedCrooked No, InternetWorks introduced tabs.
@MartinJames You are clearly not a web developer.
 
@daknøk You just checked with Google didn't you?
 
No.
With Wikipedia.
 
Hehe.
 
11:09 AM
 
@daknøk No - so now I think understand you - it's a PITA to work with when developing web apps.
 
Yummy, pita.
:In the Balkans and Greece, pita also refers to various pastries called börek. Pita or pitta ( ) is a round pocket bread widely consumed in many Middle Eastern, Mediterranean, and Balkan cuisines. It is prevalent in Cyprus, Greece, the Balkans, the Arabian Peninsula, Armenia, Turkey, and parts of the Indian Subcontinent. The "pocket" in pita bread is created by steam, which puffs up the dough. As the bread cools and flattens, a pocket is left in the middle. Origin Pita is a slightly leavened wheat bread, flat, either round or oval, and variable in size. Its history extends far into a...
 
any fellow Kyrostat folk around?
 
It’s time to get out of bed.
See you GUYS.
 
@daknøk Pita bread, börek... OK, I'm off to the kitchen now, back later..
 
11:12 AM
@thecoshman Kyrostat? Never heard of it.
 
Plan is over limit as payment has not been made. I shall remove people to get it back down, unless some one insist on paying for it again. Considering how no one has touched it recently, I don't see the point in paying for it
@StackedCrooked then you can ignore me :P
 
@StackedCrooked I think it's a cool box for sperm.
 
@thecoshman Ok, from now you don't exist for me anymore.
@MartinJames Ah, like a cum box.
 
@StackedCrooked you make it sound so harsh :(
it was/is a little project that was started a few months ago, it fell silent though. but I am looking at picking it up again
 
I'm just messing with ya.
 
11:15 AM
@StackedCrooked Yeah - just drop them into liquid nitrogen.
 
@MartinJames I don't have that. Best I can do is push them off my balcony.
If I can get them on my balcony first.
 
Xeo
Okay, I did restart FF in the end
Down to 160mb for two loaded tabs from 900mb
And now let's update all tabs
Up to 500mb
 
11:31 AM
Memory leaks in FF?
:))
 
Xeo
33 tabs, no lags yet :/
I noticed that FF held about 140mb for my SO bookmark (questions tagged or ), while I had no SO tab open other than the chat
And it should have been pushed out of the "reopen closed tab" stack
Whatever
 
@Mysticial You can use pretty much anything as an identifier in Scala if you enclose it in back ticks:
val `omg trollolol!!!` = 42
 
Xeo
 
@Mysticial People thought your name was "Mystcial"? ;)
@daknøk I always thought "PITA" stood for "pain in the lower back"?
 
I thought his name was Mystical until the SO autocomplete brought it to my attention. I was typing, and when I got to "Mystica", the suggestion disappeared...
True story
 
11:42 AM
it's just too long to read til its end.
 
Xeo
0
Q: GMOCK Error: Is MOCK_METHOD11 not allowed

user1690768When I am mocking a function that has 11 parameters it gives error as error: 'function_name' is not a type I am using MOCK_METHOD11(function_name,int(param1,param2,....,param11); Is it that functions with 11 parameters cant be mocked?

> So, GMOCK doesn't support unnecessary large parameter numbers. Is this a problem with GMOCK?
 
Haha, what an idiot. It should be "unnecessarily large", of course!
 
Xeo
:<
Hm, how do I get only the latest commit message with hg (without knowing the revision number)?
 
-r:tip ?
 
Xeo
oh
Thanks :D
Totally forgot the newest rev is tagged 'tip'
 
12:01 PM
woulda called it "top" myself
 
Xeo
O hey, the puppy is back
5
 
Normalcy again.
And suddenly the cat is there as well. How suspicious.
 
@DeadMG Moaning
 
@DeadMG leading-edge
Trying to think of a context where topless repository would make sense...
 
12:12 PM
toppling repositories
 
That was not a word!
 
:)
 
Toppling due to subversion.
Currently installing Windows XP in VMWare.
I think activation might fail since I had it installed as a boot partition in the past.
 
Xeo
Use "Windows Loader"
If it does
 
Never heard of that.
But I can guess what it does :)
 
12:15 PM
@StackedCrooked Where do you get an iso from. I'm to install XP on an old laptop, which has the OEM key on it, but I don't have the install disk
 
Xeo
Nvm, doesn't work for XP :P
 
Perhaps I can still do phone activation.
 
Xeo
But I think activating twice won't require that
 
@sehe The iso is a purchased disc from a online store in the Netherlands.
Actually a disk image of that disc :)
 
@StackedCrooked damn. I never had that :(
Don't you just hate it when it is freaking hard to get access to legitimately acquired OS-es? Especially when they're ~10 years old?
 
Xeo
12:19 PM
Try TPB
 
My current attempt hasn't failed yet.
 
I'm doing something like that now, but I'm not so sure I can find a legitimate XP Home edition ... preffably in Dutch (it's not for me )
 
Xeo
@sehe You can always install the language packs afterwards, I think
 
That's what I reckoned as well
 
Yay activation succeeded!
 
Xeo
12:23 PM
See the special notes
 
I cannot open it; judge forced ISP to block the website. ಠ_ಠ
 
Yup I get xs4all.nl/geblokkeerd - 'blocked'
No worries, I have other means
 
At least they didn’t block /b/.
Which is far worse than TPB. ಠ_ಠ
 
Xeo
Oh yeah, you can always try /r/
 
i hear that some parts of reddit are pretty bad too...
 
12:30 PM
@LordAro They some of the jokes really suck.
 
Xeo
@sehe I like how, as a German, I can understand a good part of what it says.
 
@Xeo :)
 
@StackedCrooked indeed, but, as with youtube comments, you just ignore them
 
moot for president!
 
R.Money for president!
 
Xeo
12:32 PM
ew
 
daknøk for president!
 
Maraca Kabob for president!
 
Jeff Atwood for president! *ugh*
 
<choke/>
 
If Jeff Atwood were president of the United States, you would be migrated to the Netherlands for talking Dutch to other Dutch people.
 
12:35 PM
@daknøk hear, here!
which one do you use, anyway?
 
Which one of which?
Hear and here have different meanings, and I use them accordingly.
 
when people go "here, here!" in agreement with something
i didn't know, therefore i put both :L
 
Hear, hear is an expression used as a short, repeated form of hear him, hear him. It represents a listener's agreement with the point being made by a speaker. In recent usage it has often been re-analysed as here, here, although this is non-standard. It was originally an imperative for directing attention to speakers, and has since been used, according to the Oxford English Dictionary, as "the regular form of cheering in the House of Commons", with many purposes, depending on the intonation of its user. Its use in Parliament is linked to the fact that applause is normally (though not alwa...
 
...and there's your (my) answer
thanks :)
 
1:22 PM
@Xeo Success!
 
@StackedCrooked Success? The puppy is your party nominee now? Will it get much traction? I guess that, being so cute, it won't have a problem with funding. Would never work here in the UK - we have enough political poodles already... oh sorry, I guess you meant your XP install.
 
I was puzzled.
 
@StackedCrooked My best success story with an XP 'install' was from an Acronis backup of a Dell Optiplex with XP 32. Loaded it into VMware running on Vista 64. There was a lot of crashing and banging, had to restart VMware and the whole box several times, but it did settle down and is now happy in its new home:)
 
Restoring a backup into VMware. I'm surprised that it worked.
 
@StackedCrooked So was I!
 
Xeo
1:45 PM
@StackedCrooked Gratz! :)
 
Xeo
1:57 PM
@StackedCrooked I can now spam you with ALL the novels you should play, right?
 
Yes you can :)
You can even put them in my dropbox.
 
Xeo
I think the usual VN is too big for that :/
 
I think this girl that is with him is really a monster.
It's a fun story :)
 
Xeo
Why do you think that? Just because she looks normal? :)
I just noticed there is a Tony the Pony on SO. Is it @TonyTheLion's lost brother or cousin?
 
Yeah, and because she mentioned that she is also alone in this world.
 
Xeo
2:01 PM
Never played Saya no Uta
I think I need to do that
 
But you do know that it is a short game. Well informed.
 
Xeo
> Length Short (2 - 10 hours)
I contemplated playing it many times, never had the chance / time / motivation to actually do so, though.
 
I picked it because it recommended by many.
 
Xeo
It has a great score indeed.
 
2:03 PM
Does v97 mean anything? Or is it just an id?
 
Xeo
@StackedCrooked Just the id
Like "added as #97"
 
Naming..
 
Xeo
?
 
Never mind.
It would be a sucky variable name, but it's not really a variable name.
 
Xeo
Ah
 
2:24 PM
@Xeo hahah I wish
 
Xeo
@StackedCrooked Alright, let's start with the recommendations... since you liked Tsukihime, I can only recommend Kagetsu Tohya, the "sequel" so to speak.
 
Xeo
Although I'd really recommend playing Kohaku's route before
 
I'll do that then.
 
if I write a function like this: void findAnagrams(char words[5][20]), is the array passed as a copy (by value) or by pointer?
 
2:30 PM
OP deserves permaban IMO. — daknøk 43 secs ago
 
if you write a function like this, then ask for better learning material
 
I agree, but the question remains
 
Xeo
@JohnnyPauling that's the same as void findAnagrams(char (*words)[20]) (if I got the transformation right)
 
My keyboard is really nasty after eating all these crisps.
 
only the last dimension of an array can decay into a pointer.
but it always does, when dealing with a value
so it will be a char (*words)[5].
 
2:35 PM
uhm, error C2664: 'findAnagrams' : cannot convert parameter 1 from 'char [5][20]' to 'char (*)[5]'
but with char (*words)[20] it works
 
@daknøk You need to put it on a diet, especially if it's getting violent. I used to feed mine pizza and it's been in a few scrapes - it lost its 'Scroll lock' key when fighting with a mouse.
 
Stop using arrays.
2
 
@MartinJames My diet consists of crisps.
 
Xeo
Ha!
 
2:36 PM
not sure why you'd ever use T[] anyway
normal people use std::array.
 
To troll people.
Like Trollvalds.
 
@JohnnyPauling you can get an answer to that question regarding logarithms :P
 
Xeo
2:53 PM
Sooo.. tell me it was not just me.
 
nope
 
big crash, sorry..@enderland you got that correct! I prefer to show how much dumb I am rather than keeping my doubts for myself and provoking worse damages :)
 
@daknøk Well, don't say I didn't warn you - overfeeding office equipment can get really serious - those mice have balls of steel!
 
You are more cryptic than @sehe.
 
3:09 PM
 
Who broke chat.
 
@CatPlusPlus what do you mean "broke"? lol
 
Chat was slow and down.
 
It was down for few centuries or so.
 
oh lol
 
3:16 PM
I thought it was like, less than a minute
but maybe that's just me
 
To everyone: have a good day, thank you for helping me out before :)
 
3:36 PM
Does anyone see anything wrong with this line of code: history_index = --history_index & HISTORY_MASK;
where history_index and HISTORY_MASK are both uint
gcc says: warning: operation on 'history_index' may be undefined [-Wsequence-point]
 
Xeo
@Eloff UB
 
yep, I gather that, but why is it UB?
 
Xeo
you modify history_index twice without sequencing
once with assignment, once with --
fix: use (history_index - 1) & HISTORY_MASK
 
surely everything to the right of the assignment happens first?
 
Xeo
Assignment does not introduce sequencing.
 
3:39 PM
sequencing is a new concept to me, I'm going to have to read up on it
 
Xeo
59
Q: Could anyone explain these undefined behaviors (i = i++ + ++i , i = i++, etc...)

PiXint main(int argc, char ** argv) { int i = 0; i = i++ + ++i; printf("%d\n", i); // 3 i = 1; i = (i++); printf("%d\n", i); // 2 Should be 1, no ? volatile int u = 0; u = u++ + ++u; printf("%d\n", u); // 1 u = 1; u = (u++); printf("%d\n", u); // 2 Should also...

 
And just when I thought c++ couldn't get any hairier, it surprises me
 
sequence points are nothing
 
I think the hairiest thing I've encountered in computer programming in general, not a specific c++ thing, is lock-free concurrent algorithms. That gets really bad really fast.
The code quickly becomes so hard to reason about that it's impossible in many cases to say if it works or not.
Actually running it doesn't tell you either.
The only way to really be sure it works is execute every possible thread interleaving between the shared accesses. And that's not computationally practical for anything but the most trivial algorithms.
btw, clearly the guy who set the room topic has never watched mythbusters
 

« first day (707 days earlier)      last day (4235 days later) »