« first day (552 days earlier)      last day (4395 days later) » 

12:04 AM
what the fuck, dude
an SSCCE is like, ten lines of code
that you could trivially write yourself
oh yay, it's another Visual Studio bug
as if I don't find enough of those
 
Who are you talking to?
There's an LLVM-to-JavaScript compiler.
 
> All-male casts became the norm after 1629, when women were banned from appearing in kabuki due to the prevalent prostitution of actresses and violent quarrels among patrons for the actresses' favors.[1](pp90-91) This ban failed to stop the problems, however, since the young male (wakashū) actors were also fervently pursued by patrons.
w.t.f mate :)
 
 
1 hour later…
1:23 AM
@StackedCrooked Bjarne knew this.
@DeadMG What would be the actual end? the last element is not the end, that is the element before the end.
 
2:21 AM
Anybody have any idea if MSVC++ Dev10 generates automatic move constructors?
 
@BillyONeal No versions of Visual Studio generate move constructors automatically.
And VS2010 and VS2011 have a nasty bug where, even if you explicitly define move-constructors, it still generates a default copy-constructor. Which of course, in simplest terms, fucks everything up.
 
stackoverflow.com/questions/8283589/… <-- Ah; that's what you said here, but the answer was deleted; so I was not sure
Thanks :)
 
Chupchup
 
Chup = Yup
 
2:34 AM
Ah
(Why was that deleted anyway?)
 
@BillyONeal Johannes answer was better I think.
 
heloo.. people
I have a problem in reading a .init file..
can somebody help me
 
2:54 AM
@lakshmikant: If it's a tiny tiny problem, feel free to post here (line a single line of code). Otherwise, please post on the main site with a short, self contained, correct (compilable), example.
 
int iScanFreq =GetPrivateProfileInt(L"ScanConfiguration",L"Scanfrequency", 2500, L"filename.ini");..
This line is giving the problem..
I am not getting the correct value from the file..
my file content looks like this..
 
What were you expecting and what did you get instead?
 
[Ipaddress]
Ipaddress=169.254.115.22
[ScanConfiguration]
Scanfrequency=2500
ScanResolution=2500
StartAngle=700000
StopAngle=1100000
I am trying to get the value in the file to be reflected in the program..
But only the default value is loaded in the variable
 
This sounds like a problem you should ask on the main site. Just be sure to create a small but compilable example when you ask.
 
I have already asked..
Thanks for your help
:)
 
3:14 AM
hey… anyone here know much about DNS?
 
Somewhat.
 
I can't connect to connect.facebook.net, which means my site may be down
hmm… can you guys DNS lookup that hostname?
 
What does connect.facebook.net have to do with your site?
 
It's used to deliver connect.facebook.net/en_US/all.js , which supplies their JavaScript API
We use facebook for login, and many sites use them for comments, etc.
 
There are no A records served for that domain.
 
3:16 AM
I'm supposed to do a demo today and this really sucks!
Yeah, it's a subdomain. But I don't understand the DNS system well enough to know if the problem could be local or global.
 
Every domain is a subdomain.
Their DNS seems to be down.
; <<>> DiG 9.7.2-P3 <<>> connect.facebook.net @dns.facebook.com
;; global options: +cmd
;; connection timed out; no servers could be reached
 
It's been maybe half an hour now, but there's no online chatter that sites don't work. (And they don't work for me.)
Yeah… so it does no good if I try an alternative DNS server
 
Oh wait, it's not a DNS server.
 
So I guess the real lesson here is that FB is down for third-party sites that rely on them for authentication services, but nobody is really upset because the main site is OK
 
Server is fine, it just doesn't serve any A entries on that domain.
 
3:19 AM
Well I got some kind of result:
; <<>> DiG 9.6-ESV-R4-P3 <<>> connect.facebook.net a +multiline +nocomments +nocmd +noquestion +nostats +search
;; global options: +cmd
connect.facebook.net.	322 IN SOA glb1.facebook.com. dns.facebook.com. (
				2012011201 ; serial
				10800      ; refresh (3 hours)
				3600       ; retry (1 hour)
				604800     ; expire (1 week)
				86400      ; minimum (1 day)
				)
 
That's SOA entry.
 
Can you interpret that? It seems to be specifying something but there's no associated address.
 
It points to the authoritative server.
 
OK… so why wasn't the authoritative server contacted automatically?
 
DNS doesn't work this way.
You almost always contact a DNS cache, which does recursive queries for you.
There are no entries for facebook.net, either.
 
3:22 AM
facebook.net is served by dns.facebook.com. I can access other sites such as developer.facebook.net, but that does me no good
 
dns.facebook.com is not a server.
facebook.net. 11089 IN NS ns4.facebook.com.
facebook.net. 11089 IN NS ns5.facebook.com.
facebook.net. 11089 IN NS ns3.facebook.com.
 
Why would they even put the CDN on a separate domain name?
Huh, if I put that in, I get a result!
 
C:\dev\code\projects>dig facebook.net A @ns4.facebook.com

; <<>> DiG 9.7.2-P3 <<>> facebook.net A @ns4.facebook.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57176
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;facebook.net.                  IN      A

;; AUTHORITY SECTION:
facebook.net.           3600    IN      SOA     ns0.facebook.com. dns.facebook.com. 2012032000 7200 1800 604800 3600
No entries.
 
Yeah, apparently still just a tease
 
And it's authoritative. Maybe they've pulled this domain out.
 
3:25 AM
I got excited by the "server:" entry but then realized it was the DNS server.
 
Or someone just made a mistake with zone files.
 
I hope they fix it soon. I looked but this wasn't deprecated or anything.
The really worrisome thing is that it doesn't seem to be making a splash online. Nobody is saying "facebook is down", but it's a global problem affecting many sites.
 
Does anyone here know if a user running double-clicking an EXE file on their computer signifies their consent to run that EXE?
 
Less FB widgets on the web is better web in my book. :P
 
For example, if they click on an application called "RDPServer", in a product called Remote Desktop Server, are they giving their legal consent to have the application run on their computer?
 
3:27 AM
@IDWMaster Such a question worries me.
 
By the way; by posting anything here, you agree that anything you say may be used in court.
 
I do understand that you are programmers, like me, not lawyers.
 
Good luck with that.
"Oh, your honour, a person on the Internet said so."
 
I'm trying to prepare a defense case, and any help I can get from anyone at this time would be appreciated.
A customer is threatening legal action against my company.
 
3:30 AM
Then go get a lawyer, duh.
2
 
@IDWMaster: Did you have a license when they installed? Those things where they don't read and click "I Agree"?
 
We're not using FB widgets, just using them as an authentication service… oh well, I just explained it to the executive and he doesn't blame me, at least :P
 
Here's the agreement
They did not understand what the term "Remote desktop" or "remote control" meant
I recently updated it
 
Weren't EULAs poorly enforceable?
 
@CatPlusPlus Yeah. They are
In the state where the complaint was made, it was pointless at the time to even have a EULA
Because they are not seen as enforceable contracts.
Regardless of the EULA (which the user never read anyways), the case will come down to the definition of "consent"
 
3:33 AM
How much is at stake here? Are you sure they'll file a suit?
 
@Potatoswatter Our company could go out of business, and they are planning on filing a suit.
 
Then don't waste your time and energy here, get a @#(* lawyer
The lawyer will have plenty for you to do, if it's really that important.
 
Remoting software should make it pretty clear that remoting is happening.
 
@IDWMaster: If things don't work out, I've got gasoline and matches. Just saying.
 
Xeo
4:05 AM
Is this link working for anyone?
 
Totally blank
 
 
1 hour later…
5:16 AM
i miss some real food
like
 
@Potatoswatter to indicate to the browser that there's no relation, and that it can safely contact both domains simultaneously. Browsers typically have a limit on how many concurrent requests it'll do against a single domain
 
 
1 hour later…
6:27 AM
posted on April 20, 2012 by Herb Sutter

Earlier this week, Brent Schlender published selected Steve Jobs quote highlights from his interview tape archives. Here’s one about us: The difference between the best worker on computer hardware and the average may be 2 to 1, if you’re lucky. With automobiles, maybe 2 to 1. But in software, it’s at least 25 to 1. [...]

 
6:42 AM
Short blog post.
 
Xeo
7:26 AM
I seriously need a new net identity. "Xeo" is just so common and always taken it's getting on my nerves.
 
@Xeo "fkjskflj;4k3j69u9fdg8d0984g9380498" is probably unique.
You're welcome.
 
I'm sort of sick of being "teukkam" everywhere even though that happens to be unique
 
@classdaknok_t oh that's a ceeper! Thanks man
 
Xeo
An actual PHP hammer with the claw on both sides http://j.mp/JqwA5T
That's just... wow.
 
and that is what is wrong with PHP
in ideone, is there a way to save code that others have done, with out cloning it?
 
8:02 AM
@thecoshman creeper?
 
god damn my Engrish, 'keeper'
ergh... lets say I want to be able to get string representation of my class, is it advise to just use a 'toString' function?
 
@thecoshman For textual serialization?
My idea of the best practice is to write a stream-insertion operator for your class.
Then you can put it in any instance of ostream, including std::stringstream, which means you can use lexical_cast<std::string>(x) on it to get a string.
 
sort of serialization, well I guess it is really. So, overload the '<<' operators then?
 
Right. It's the general "turn this into characters" function.
Where those characters go, nobody knows.
 
lol
though, can you capture that conversion? I mean, can you use it to store the results into a std::string so you could encode to prevent SQL injections for example
I image foo.operator<<() would work for that?
 
8:13 AM
I don't follow. :(
 
Xeo
@classdaknok_t That's what I read at first too
 
are we all MC addicts here :P
what on earth are these for? <<= >>=
 
Xeo
Meh, I'm currently playing on a server whose owner doesn't give a fuck about it anymore.
@thecoshman bitshift-assignment?
 
ooooh
 
Xeo
int a = 5, b = 2; a <<= b;
 
8:19 AM
@thecoshman You can just write, like template< class T > string stringFrom( T const& o ) { ostringstream stream; stream<< o; return stream.str(); }
 
sbi
@jalf After more than a decade, I am so sick of this game.
 
Xeo
I really think I'm gonna ditch that server soon, though it'd be a shame because of the time I spent on it. Oh well. Anyone here knows a nice server?
 
the reddit servers are really good, though I've taken to playing SMP SSP again
 
Xeo
SMP all the way for me. I don't quite like creative, especially in multiplayer. I only use it for testing stuff
And SSP is kinda... boring, I might say.
And dangerous, if you have noone to watch your back
 
@sbi agreed. but ms is not a software development company. they're a software "business" company, just dumbing down, repackaging and selling
 
8:22 AM
I like SMP because it's fun playing with other people, but I like SSP because it actually works
yeah, I only ever fire up creative to test ideas. I'm currently working on a way to use up all my eggs :D
 
sbi
@CheersandhthAlf Yeah, but it's their job to spend time on this issue, while I have given my own time to tell them what they do is wrong — just to be ignore in the end. I am so sick of that. (I have taken the time to add my own comment to it, though.)
 
Machine that will when turned on, fires 16*9 eggs into a shoot. When turned off, a crusher reduces to one hit kill and then opens the doors... though need to think of a good way to deal with opening a 1*1*1 box packed with chickens
might need to addapt it so that they are dropped down post crushing to an area accessible via a half slab...
oh no, I'll use a fence, I can punch over it, but the chicks can't get out from it, perfect!
Sbi seems to like to read through the entire transcript and post comments on things :P
 
sbi
@thecoshman Actually I had just looked at the starboard. I don't have time enough to catch up with you guys. Also, I had seen @jalf ranting about that on Twitter, which made me click on the link.
 
Xeo
@thecoshman It's so true, it hurts.
 
@Xeo It's so Java, it hurts :P
@sbi there's a starboard?
 
Xeo
8:31 AM
@thecoshman See the topic? That's from a minecraft bug report :P
 
@Xeo yeah I was around when that was posted here :P
I don't that it is just Java's fault, as fast and creative as Notch is, he's not that great a programmer
 
Xeo
@thecoshman He's actually a C++ coder. Or atleast that's what I read on his blog.
Also, Notch's not on MC anymore
Anyways, SMP glitches really fuck the game up at points
Like mobs, especially slimes, glitching through ceilings/walls
 
// Version 2 - Window can be closed.
// Version 1 - "Getting Started"

#include <gtk/gtk.h>

namespace mainWindow {
    void onDestroy(
        GtkWidget*      widget,
        gpointer        data
        )
    {
        gtk_main_quit();
    }
}  // namespace mainWindow

int main( int argc, char* argv[] )
{
    gtk_init( &argc, &argv );

    {
        GtkWidget* const window = gtk_window_new( GTK_WINDOW_TOPLEVEL );

        g_signal_connect(
            window, "destroy", G_CALLBACK( mainWindow::onDestroy ), nullptr
^ I think they should have included such minimal code example! (And also, command to install GTK, but I found that on the web)
 
To take the fun out of anything, just make it compulsory, yes. :-)
2
 
8:47 AM
@Xeo I am sure he's said he used Java because he prefers it over C++, and yeah, mob's are the most broken thing ever in SMP, I don't know how you make anything that broken
 
@sbi damn, forgot my sarcasm tags
 
Xeo
@thecoshman By not really synching client and server up, it seems.
What I'd really like would be a Terraria-like way to setup a server, though. Choose a map, tick "Server" and off you go.
 
@Xeo It's almost like the clients are trying to send AI updates to the server. Either way, the server is clearly not validating mob moves that well
 
Xeo
@thecoshman Well, it kinda is, but something is just off
Also, since 1.2 the Nether had been laggy as fuck
and with 1.2.5, even relogging doesn't seem to help anymore
 
8:53 AM
I've never done that much in the nether, and never made it to the end. But this is my first SSP since all these great updates cam along. In SMP I find it too hard to get my self set up, so I tend to just play around with not that much
 
Xeo
@thecoshman I think I'd play more SSP if I was doing a let's play, but I just can't do that narrator-talking. I can perfectly fine narrate and rant in TeamSpeak while playing, but talking to nobody? Urgh.
 
forums.theregister.co.uk/post/vote/down/1382369 <-- no, i'm not going to waste time registering for the possibility of maybe being allowed to comment. hello.
 
@Xeo I'd be inclined to do a lets play as well, but I would hate to do it badly, and I don't think I could give it the time to do it well
 
@jalf repost :P
 
9:01 AM
well, I hadn't seen it before :)
 
@jalf The analogy at the beginning of the post is the best one I’ve ever seen to describe PHP. The rest of the post is rather tedious …
Also, the analogy inspired this:
 
@KonradRudolph Yes I agree. He takes his PHP hating very deep down...
 
I know nothing: is there a replacement for PHP that just hasn't yet caught on?
 
@KonradRudolph Such luck that a PHP designer and metal worker combine in one person
 
Xeo
1 hour ago, by Xeo
An actual PHP hammer with the claw on both sides http://j.mp/JqwA5T
:)
 
9:04 AM
@Xeo Ah, that was before I entered the chat :)
 
I'm only aware of a carpenter/software engineer
 
if we wait long enough, people will cotton on to this internet thing
 
@GManNickG depends on what you mean by replacement
 
@jalf "I know nothing" :)
 
asp.net, ruby on rails, and a dozen others. Heck, you could use ML Server Pages if you wanted to
 
9:06 AM
JSP, servlets, portlets, whatever Java EE technologies
 
I mean, there are plenty of languages and frameworks for producing dynamic websites. Many of them are free, several are open source. None are source compatible with PHP
depends on the requirements you place on the replacements
 
sbi
There was life in the chat before the descension of @Konrad.
Actually, what are you doing here at this time of night, @GMan??
 
@sbi Ha. :) I have perhaps consumed a pot of coffee at 2am and am going strong!
 
sbi
Hey @man, are you at work? :)
SCNR
 
@sbi You know it baby!
It's snowing here :(
 
sbi
9:13 AM
@ManofOneWay Damn, that's bad!
We had some very tiny snowflakes on Eastern (which was colder then X-mas, here in Germany), but right now it's rather pleasurably.
I was working in the garden wearing a t-shirt yesterday.
 
Oh that's really nice
 
Nice and sunny here. We've had snow on 1st of may a few times though.
 
It was actually quite warm here yesterday
@jalf Are you following the Breivik trial?
 
sbi
@ManofOneWay I am following it, although rather loosely.
 
Xeo
Interesting, "_xeo" wasn't taken as a minecraft account. That's nice.
 
9:18 AM
morning
 
@sbi I'm watching some live stream from the trial. But they are censoring too much.
 
sbi
@ManofOneWay Ah, that I don't. But I read the articles describing what's going on each day so far.
 
@ManofOneWay yeah, reading live feed
 
Xeo
@sbi Weren't they showing off his WoW Account during that or something?
 
… and I need your feedback again, folks
Could you have a look at my answer and the comments here?
 
Xeo
9:22 AM
@KonradRudolph Burn it
 
1
A: Edit Distance Between Two Strings

Konrad Rudolph(This is for the updated code.) Since you’re already using C++11, why not use a variadic template argument list for min rather than an initializer_list? That way, you could invoke it as min(a, b, c) and it might be slightly more efficient (just guessing). I don’t like loops. If you want to get ...

 
Xeo
Er... Bring it
 
I have the suspicion that I’m right and the opponent is being a prick but I have been known to be wrong about this
 
@KonradRudolph Are you aiming for a master's as well?
 
@ManofOneWay “masters”?
 
9:23 AM
@KonradRudolph: By the way, you can write [&acc]() { return ++acc; } as [&acc]{ return ++acc; }.
@KonradRudolph: And yeah, he's a prick.
 
@GManNickG Ah, I wasn’t sure (I wrote it like that first and then changed it)
 
@KonradRudolph Master's degree
 
By the way, I wouldn’t write code like that, but I would if the C++ standard library had a successor generator function …
@ManofOneWay One is enough, I don’t need another one ;)
 
sbi
@Xeo That would be a part of the reporting that would have glossed over. (So a young man who procrastinated on WoW? Maybe he ate bread, too? And he might — gasp! — even have a penis! I am astonished.)
 
@KonradRudolph: And maybe it'll be considered bad practice someday, but I only ever use &, =, and this in the capture list and let the compiler do the rest for me: [&]{ return ++acc; }; leads to quite-concise lambdas.
 
Xeo
9:26 AM
@GManNickG Elaborate capture lists are nice when everything is not the same. But except for that, I just use the default thingies (not even this, I think)
 
@IDWMaster Your company, not you so don't care.
 
@GManNickG I’m a big believer in limiting scope as much as possible but I agree that there would be no harm here
 
Xeo
Well, since only the stuff that is actually used really gets captured, I find it kinda futile to type everything out
 
@KonradRudolph I see =) Where are you working now?
 
Morning btw.
 
9:27 AM
@ManofOneWay (I’s all on my profile page, you know) … I’m doing a PhD in bioinformatics at the European Bioinformatics Institute in Cambridge
 
@KonradRudolph Ah sorry, I missed that. Went straight to the resume
@KonradRudolph Btw, how can you do a PhD if you haven't got a master's?
 
@KonradRudolph your weblog Green Goo doesn't work. :/
 
Xeo
@ManofOneWay He already has one
4 mins ago, by Konrad Rudolph
@ManofOneWay One is enough, I don’t need another one ;)
 
sbi
@Xeo :(
 
@ManofOneWay You actually can, but as I said, I do have a master.
 
9:30 AM
@ManofOneWay Is it not the case that masters is just another step, but you can try for a PhD at any time?
 
@classdaknok_t Yes, some scum stole the domain name when it was dropped by the registrar by accident
 
That sucks.
 
but since I didn’t find time for maintaining the blog anyway I haven’t yet invested time in recreating a blog
I should actually scrub my whole web page, it’s woefully outdated
 
Ah missed that, I viewed his website where he displayed only his BCs Thesis so I assumed he didn't have a Master's. Sorry about that
 
unfortunately, the access data is on another computer and I don’t have SSH access, only SFTP, which seriously sucks
 
9:32 AM
So then, what did you do as a master's thesis!?
 
actually, the master thesis is there
 
sbi
@KonradRudolph I have heard that before, it happened to a friend.
 
(look, ma! Custom link shortener!)
 
sbi
Those domain name grabbers should be wiped off the earth's face.
 
Xeo
@sbi goes and grabs sbi.com
 
sbi
9:34 AM
 
Xeo
@sbi I actually looked that up, and decided to go with .com
 
@Xeo sbi.com is already taken.
 
Xeo
Dang it!
 
@classdaknokt No shit :)
 
Meh daknok.com is some korean site about chickens…
We haven't got a chicken here, right?
 
sbi
9:37 AM
What's to be found under my real last name's domain is much worse, though.
 
@sbi *tries it*
@sbi .org seems to be available … ;)
 
sbi
They sell addresses for "target marketing". Fuck those spammers!
@KonradRudolph What would I do with it?
 
@sbi No idea … park it?
 
jalf.com and .net are taken by some weird classy-looking french porn site, as far as I've been able to tell :(
 
sbi
9:39 AM
@KonradRudolph But then I would be a domain grabber!
 
sbi.org is taken
 
@KonradRudolph neither. :P
 
@jalf haha
 
sbi
@Man, @class: Konrad knows my real name.
 
ah =)
 
9:40 AM
Ah :P
 
Xeo
@sbi Ouch.
 
sbi
@jalf I'd much rather have porn than spammers to be found under my name.
 
Does this chat have a G+ onebox?
… nope
 
Xeo
And they make it sound like it's all cool n stuff...
 
@sbi I'm guessing for Müller
 
sbi
9:41 AM
@ManofOneWay Almost right.
 
or Schmidt or Schneider
 
@sbi, you better run :D
 
sbi
You guys are free to find out about my real name. I don't begrudge you knowing it. But, please, respect that I do not want this incognito account to be connectable with it.
 
I changed my avatar. :P
 
Xeo
Could people please just stop randomly changing their avatar?
 
sbi
9:44 AM
@classdaknok_t Ha, you're a chick!? We didn't know!
 
could
@sbi I'm an ape disguised as one, you know that.
 
Xeo
And @sbi is an ape disguised as a grumpy ape
 
sbi
@Xeo Events only ever seem to happen randomly when you don't know the causes leading to them.
 
8 mins ago, by class daknok_t
Meh daknok.com is some korean site about chickens…
 
Xeo
@classdaknok_t I never got that one
Oh wait, I did
 
Xeo
So far up
 
Mark Knopfler is the shit
 
@ManofOneWay OUT!
(eh, I may have misunderstood this, according to Urban Dictionary. In that case … carry on!)
 
@Sbi how's your lad? He's not too freaked out is he now that the shock has had a chance to wear off
 
sbi
@ManofOneWay I am tempted to flag that.
@thecoshman He's pretty good, actually, but he asked me to pick him up yesterday after his orchestra rehearsal at 7:30pm.
 
9:54 AM
You don't like Mark Knopfler? Seriously? What do you guys listen to? German folk music?
 
@ManofOneWay We simply understood the meaning of “the shit”
you can hardly blame us! This idiom is shit. No “the”. ;-)
Incidentally, I am listening to a song that was also covered by Mark at this very moment
 
@sbi would he have normally walked hom?
 
Xeo
As always, I'm listening to funky japanese game music remixes
 
@Xeo Metal for me
 
Xeo
Oh yeah, and this:
 
9:57 AM
@thecoshman which artist?
 
sbi
@thecoshman Yeah. He's been doing this orchestra thing for about three years now, and walks (or rides his bike) home at 7:30pm even in winter, when it's dark. It's just a 10min walk or a 3min bike ride, and it's all through a very safe neighborhood.
I had three more crime investigators visiting me yesterday. All very helpful, too. They are seriously looking into this, and had already secured security footage from the shopping mall those guys must have gone by only minutes later. They want to show it to my son today, in case he can point out someone.
 
@KonradRudolph I was listening to Love Over Gold with Dire Straits, you got to love the instrumental part in the end!
 
@Xeo Rise Against is one of the few bands with a song that literally makes me cry … which is quite embarassing when listening to it on the train
 
sbi
That would make seven cops in my apartment within 24hrs. I don't think I ever had a copy in any of my apartments before.
 
Xeo
@sbi Wait, what happened? I missed something.
 
9:58 AM
@classdaknok_t Masstaden right now
 
Xeo
Too bad grooveshark cancelled its service in Germany
 
@sbi it's awesome that they are taking it so seriously
 
@thecoshman nice! I'm listening to Slayer atm.
 

« first day (552 days earlier)      last day (4395 days later) »