« first day (697 days earlier)      last day (4251 days later) » 

8:00 PM
oops
typo
 
Typo.. right..
 
Believe it!
Dattebayo!
 
^ Fansub-group? :/
 
What the hell is Dattebayo?
 
8:04 PM
 
I see a thumbnail of Naruto and refuse to click :3
 
Do so. It is worth it :P
It depends if you are desperate enough to know what dattebayo means
 
Oh god, oh god, the despair. Actually reminds me of: youtube.com/watch?v=TT2GRpwwS8M
 
Lol
FINALLY
Another upvote.
1
A: Pass string[] object from client to service wcf

Lews TherinI believe this solution should work. Right click on the service reference Choose the configure service reference option Under the Data Type section change the Collection type from Array to the type you want in the drop down menu.

UPVOTES Y U SO HARD TO GET?
 
@LewsTherin 4g LTE support too.
@LewsTherin 2 upvotes :)
 
8:17 PM
Pro tip: At least change the topic to something more like: new { Text = @"C#: General help and discussions" }.ToString();
 
@KyleTrauberman Would that be worth it getting the Iphone?
 
IMO, yes
 
if you are upgrading
from 3g
 
@KyleTrauberman Thanks man, close to 700!
 
8:18 PM
ifones are kinda crappy
 
Why is 4g better than 3g
 
I love 4g on my android phone
its faster
 
@LewsTherin bigger number.
 
way faster
 
I use this ancient blackberry and I'm thinking of getting a replacement.
So I want to make a really good choice lol
 
8:19 PM
O RLY? Mine is more ancient I bet.
 
room topic changed to C#: this.Topic = new { Text = @"C#: General help and discussions" }.Text; [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
@sehe better?
 
Good grief, talk about WTF code.
 
No, not better.
 
Any smartphones better than Iphone?
 
8:20 PM
it compiles, and that's all that matters
 
Is there a 'Remove and Sort' for the entire project in VS? :-)
 
@LewsTherin some would argue that the galaxy S3 is better
 
hopeForHumanity--;
 
@RoelvanUden no, but you can map it to a key combo
 
And I can use that to learn how to develop Android apps.
Would that be a good reason though?
 
8:20 PM
@KyleTrauberman Ah, well that's okay. I'm practically a ninja executing that command with the mouse so I'll stick to that.
 
if you want to develop for android
 
@KyleTrauberman Somewhat. Why no .ToString()? It's a lot prettier and showcases anonymous types a lot better:
 
@RoelvanUden I mapped it to ctrl+`
 
[mono] /tmp @ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> new { Text = @"C#: General help and discussions" }.ToString();
"{ Text = C#: General help and discussions }"
 
Bleh
 
8:21 PM
I will take that into consideration. Thanks.
 
You know, the old topic was equally clumsy, but added Java-insult to injury :)
Heck, why wasn't it even `var topic = new Topic` instead of `Topic topic = new Topic`?
 
@sehe hmm, I didn't know .ToString() did that for anonymous types. that's cool
 
@KyleTrauberman Izza ma point :)
 
room topic changed to C#: this.Topic = new { Text = @"C#: General help and discussions" }.ToString(); [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
 
var is bleh
 
8:24 PM
I don't like var.
 
only for anonymous types
 
yeah ^^
 
I like it to write quick benchmarks :3
 
It's not like we're trying to write all our code to be Java-incompatible.
 
@KyleTrauberman ToString, Equals, GetHashCode get automagically defined to act member-wise for anonymous types, enabling e.g. things like enumerable.GroupBy(e => new { e.Bla, e.Blo }) to work correctly
 
8:25 PM
that's cool
 
@KendallFrey Agreed in general. But Topic topic = new Topic instead of new { Topic = "..." } is just clumsy for a topic line :)
@KyleTrauberman And R# to do the same for named types... Not as magic, but anonymous types have their drawbacks
@KendallFrey ? C#/java compatibilty doesn't exist. Secondly, it is orthogonal at best. Use IKVM to bridge java and C#, no need to limit to a language subset anyway.
 
8:39 PM
Poor chicken
Mike the Headless Chicken (April 1945 – March 1947), also known as Miracle Mike, was a Wyandotte chicken that lived for 18 months after his head had been mostly cut off. Thought by many to be a hoax, the bird's owner took him to the University of Utah in Salt Lake City to establish the facts of the story. Beheading On September 10, 1945, farmer Lloyd Olsen of Fruita, Colorado, United States, had his mother-in-law around for supper and was sent out to the yard by his wife to bring back a chicken. Olsen chose a five-and-a-half-month-old cockerel named Mike. The axe missed the jugula...
 
ha, still find it really hard to believe that's genuine
 
I wouldn't rule it out.
 
what did I walk into
 
A bar.
 
next time duck
 
8:51 PM
what would the bartender say
 
no, a bar
 
Truck's not here yet.
 
thats what you walked into
 
The terms foobar , fubar, or foo, bar, baz and qux (alternatively quux) are sometimes used as placeholder names (also referred to as metasyntactic variables) in computer programming or computer-related documentation. They have been used to name entities such as variables, functions, and commands whose purpose is unimportant and serve only to demonstrate a concept. The words themselves have no meaning in this usage. Foobar is sometimes used alone; foo, bar, and baz are sometimes used in that order, when multiple entities are needed. The usage in computer programming examples and pseudo...
 
Or FUBAR
Like this:
    if (File.Exists(this.strLogfile)) {
        if (enuVerbosity >= this.enuLogLevel) {
            try {
                File.AppendAllText(this.strLogfile, strMessage + "\r\n");
                return true;
            } catch {
                //don't want page to fail just because we couldn't write to the log file
                return false;
            }
        } else {
            return false;
        }
    } else {
        return false;
    }
 
9:01 PM
Throw exceptionalParty
 
var up = new Exception(); throw up;
 
Ah come on.
Used already
 
Haha yea, I stole that from somewhere, I can't remember where from ;(
I think it was a closed SO question
 
:)
@robjb it was from this rooms description a few months back
 
9:19 PM
Ah, okay
Actually, I bet this room took it from
1469
A: What is the best comment in source code you have ever encountered?

Jens RolandI am particularly guilty of this, embedding non-constructive comments, code poetry and little jokes into most of my projects (although I usually have enough sense to remove anything directly offensive before releasing the code). Here's one I'm particulary fond of, placed far, far down a poorly-de...

 
haha good post, thanks for sharing it
 
:)
My favorite is #define TRUE FALSE //Happy debugging suckers
 
lmao
 
9:35 PM
epic
 
@robjb Lolol from that page, "// hack for ie browser (assuming that ie is a browser)"
 
return RedirectToAction("Details", "IssueTracker", new { id = 0 });
how can I set id as a variable?\
lol face palm
 
9:55 PM
@KyleTrauberman Haha
@robjb Perhaps I'm missing the reason why you posted this, but this looks equivalent/better (note the ordering of the conditions):
if ((enuVerbosity >= this.enuLogLevel) && File.Exists(this.strLogfile)) {
    try {
        File.AppendAllText(this.strLogfile, strMessage + "\r\n");
        return true;
    } catch { /*don't fail just logging failed*/ }
}
return false;
 
nvm i got it btw
 
am back :D
did anyone worked on google search api
extensively
@KianMayne did you :)
 
10:12 PM
What is the difference between ignorance and apathy?"
"I don't know and I don't care"
Wut?
Oh right no, I've never used it
 
my bad Lol
 
Isn't apathy like indifference.
Or a nonchalant attitude
Ignorance, unaware (plausible bliss)
 
@LewsTherin your always trolling why not help me with this task I am trying to do over a month now :P
 
Well looks like I've made a name for myself.
Lews Therin the Troll.
LTTT how cool is that?
L Triple T
Ok that sucks
@TimeToThine A month?
So what's the problem?
I maybe Lews Therin, but my powers are limited.
 
burp
 
10:26 PM
Dirty
 
Lol
well I want search results of google for a query in a text file
search results are in millions
:)
 
Wut
search results of google for a query in a text file?
Kinda lost me there.
 
@sehe Yea you were missing the reason ... I posted it as an example of bad code. You wrote it how I would have. ;)
Note the "FUBAR" right before I posted it
 
I hope you wouldn't actually open a logfile on every write. But that seemed like a given :)
Also, the strMessage + "\r\n" might not be the best idea for (preventing) heap fragmentation.
 
huh
 
10:33 PM
what you guys are talking about :S
@LewsTherin why not
:P
 
oh Lol ta
 
@robjb Wait, you guys post backlinks if the messages are still in the current view...
@robjb Or dat
 
@sehe The depressing part is that I found that in production code.
I literally headdesked when I saw it
 
@TimeToThine Because I don't understand what you mean.
 
10:36 PM
basically, I want URLs
millions of them
that returns after google search
 
Why?
 
now thats even harder question then mine :P
 
@robjb It always is. Enterprise Programming
 
yu answer my question I will anwer yours ;)
 
Well I can't help you if I don't know why you will ever want to do that.
If you don't know why, then I certainly can't help you.
I am Lews Therin not the bloody Creator!
Light help me.
 
10:38 PM
// sometimes I believe compiler ignores all my comments
 
3
A: Any form of Google Search API available for C#?

Chris ShainYou can use the custom search API from C#: http://code.google.com/apis/customsearch/v1/overview.html

> Important: The Google Custom Search API requires the use of an API key, which you can get from the Google APIs console. The API provides 100 search queries per day for free. If you need more, you may sign up for billing in the console
 
@robjb If you like I can write a script to strip all comment tags :P
 
I want to get millions of urls can't use API
 
Ha ha good luck.
 
@TimeToThine You mean: you are cheap ass and want to abuse Google against their TOS?
 
10:40 PM
@sehe I want to search web and get URLs and I dont see anything wrong with it !
 
@TimeToThine Then, be happy, have a lot of fun implementing it. Pro tip: don't make it too obvious you're a search robot, or prepare to write a captcha solver in the process
 
google doesn't own web, do they ?
 
Also! Exclamation! Marks!
They make you! Important!
 
Ich sehe
 
Nope.
On the relative scale of it, though, they own it more than you do. At least as far as their own search engine is concerned
@LewsTherin :)
 
10:43 PM
@sehe no one owns it, its public property
 
@TimeToThine What is? The web? By all means, implement your own web crawler! It is free
 
@sehe I meant web urls and I never thought about creating web crawler, what does it do
actually I know what it does
 
@TimeToThine Perhaps you'd want to start reading up first.
 
@sehe always do, but I wont be able to get to web's who wont gonna give me access to in there robot file
 
10:47 PM
@TimeToThine Muhahaha. The same goes to google, no? Also, with the ethics you implied before, I don't think you'd be bothered much about a text file
 
if you are using Windows 7 or 8 or even Vista, can you tell me what kind of effect/transition/animation occur when you click on the month in system clock (september, 2012)??
 
@vulcanraven Depends on your UI Effects and configuration
 
ermmm slide transition???
 
if you do it back and forth.... it seems like its a mixture of more than one effect.. zoom and explode .. hehe
@E.LDunn, slide up/down in jQuery is very simple
The closest thing i get in mootools is aryweb.nl/projects/mootools-datepicker/Test
but its a fade in/out transition not as rhetorical as windows style :)
 
but either way i dont like the navigation of the windows datetime picker :P
 
10:59 PM
:) the same effect is present in Windows Phone's event calender.. it even expands the day and show the details like outlook does..
im interested in the type of transition.. if its a known transition or a custom (mixture of various effects)
 
So an entity is a schema
What is an entity object?
What is a business object?
 
Do anyone knows any legit hacking forum
 
Tut tut
 
I guess they might know better way of doing for what I wanna do, as web crawler isn't the exact thing am looking for to be honest :)
 
11:08 PM
@TimeToThine what exactly is it that you want to do?
 
@PhillipSchmidt I want URL's returned by search engine for a specific search query
like hundred of thousands of them
 
So, like, you want to simulate a google search and just return the urls of the result?
or several google searches, or whatever
 
yeah, just want URL's
 
@E.LDunn, here is what i found: jqueryui.com/demos/effect... check out the Puff and Transfer effect. Looks like its the mixture of these two transitions in Windows calender :)
 
@PhillipSchmidt but I want them saved in a text file or something
 
11:11 PM
@TimeToThine I'd look into html scraping, then. Only downside is you have to use javascript, which is synchronous, meaning you can't multithread anything
 
@TimeToThine, Google imposes limit of some thousand queries per IP per day..
so you need to take that into account as well
its 10k
 
Basically what you'll do is actually go to google.com (just once), inspect the html, and find something in the html that all of the URLS have in common. Then write a program to do the searches and grab the contents of that html
 
and make sure you put delay between queries.. otherwise your IP will be block for sometime.. you can create a .net app for that matter and declare a browser object..
 
^
Just leave it running for a couple of weeks or whatever and you're g2g
 
@TimeToThine yeah, Google is hardcore when it comes to preventing you from scraping their services. Their data is too valuable, they protect it agressively.
@TimeToThine your best bet might be to see about getting a Google API key and use that, rather than rolling your own solution
 
11:17 PM
@PhillipSchmidt I seen a youtube video doing that
 
@TimeToThine take a look here for specific limits for your google account: code.google.com/apis/console
 
@TimeToThine if it were me writing it, I'd have it search like 5 or 10 different search engines and either write it to a db with a unique constraint or write your own algorithm to test for duplicate URLs
 
@Pheonixblade9 google API returns just 100 urls
 
yes thats right.. Google sucks!
 
@TimeToThine or actually, I'd have it just go ahead and write them all, duplicate or not, and then have a windows service constantly be monitoring for duplicates
@TimeToThine if you pay me I'll write the thing for you :)
 
11:20 PM
@PhillipSchmidt thanks for offer but being a developer I would never pay for anything but learn and develop it myself :)
point is, where search engines get data from
 
How unrealistic.
 
@TimeToThine yeah, I was [mainly] kidding anyway. Good luck with it though, and lemme know if you need help.
 
@PhillipSchmidt thanks, appreciate it
 
Check out the core i7 processor in custom atari console windowsteamblog.com/windows/b/extremewindows/archive/2012/09/12/…
:)
 
11:25 PM
how could they do that to that poor little atari
 
search engines get their data from incredibly complex web crawling algorithms that do a combination of a few things, notably 1) for each page, counting the number of links from other pages that link to it and 2) for every link to your site, the page rank of the other site is taken into account
basically your page gets a "share" of the rank of any page that links to it
 
MSFT had a contract with atari and they ported some old games in HTML5/js arcade.atari.com
today they announce this atari pc
looking cool runing win8 !
 
thats true, but when they developed or created Google or any other search engine they must had gathered data somehow or they might have started crawling web
 
It started with just a web crawler. However many other pages had links to your page, that's how high your page was ranked. After they got some good data, they implemented relative rankings
@vulcanraven that's awesome
 
11:30 PM
What's that device in between the monitor and keyboard?
 
damit i blew up my luner lander
 
yeah man,, its running IE10 metro on windows 8.. while my friends are waiting for tablet..i would be going in this direction :D
 
damn it.. I can't find any questions to answer and I was feeling lucky... :(
 
@Grixxly I'd be happy to come up with some installshield questions for ya :P
 
11:32 PM
lol grix
 
I know less about installshield then I do black holes... :-/
 
@Grixxly Same, I'm getting stumped.
 
from..... the web? Just... follow the links.
Have you read Alice In Wonderland?
 
0
Q: I need help in c++

user1644779We will write a simple program that simply uses the three standard library functions. The following is a high level description of the main program. In this program, we declare and define the following variables and carry out the following actions: (a) two size t type variable called size and le...

Is this guy for real?
 
It's not a rabbit hole I want to go down now...
Nice rep @Lews ... ya bastard! :P
 
11:37 PM
He he thanks. Answering spree.. most of them are still not voted though :( Or just a vote.
700-1000 is starting to look like a really nice number.
 
I have no idea... none... but I just want to get to 1k... I hardly ever look at questions I just come here for the coffee and donuts (read chat) but for some reason I'm fixated on getting to 1k
 
I don't care either. Until you put it into my head.
So I blame you! :P
 
@sehe I can't help but notice you've taken every chance you can take today to come across as a prick
 
:] I should get rep for that :P
 
0
Q: Duplicate values returned from SQL JOIN Statement

user1667160I'm getting duplicate account numbers when I user an inner join with transaction table. How do limit it so I do not see duplicate account numbers. SELECT A01_AccountMaster.AccountNumber, A01_AccountMaster.FamilyMemberType, A01_AccountMaster.AccountType, A01_AccountMaster.FamilyId, ...

I'm guessing Distinct
Or Unique
 
11:40 PM
yeah
distinct
 
@PhillipSchmidt is that a fact? I have actively tried to help that guy to get his perspective on this task straight earlier. This wasn't out of the blue, in case you think it was.
@PhillipSchmidt Anyways, I'm happy to leave you be
 
@vulcanraven Apparently a terrible advice
 
lousy question. based on the columns it might not be dupes
 
What do you mean?
 
Actually I've enjoyed @sehe actually felt like I've learned from him
 
11:43 PM
@PhillipSchmidt Oh hey. Reading back you don't exactly sugarcoat much yourself, so maybe you were just paying me a compliment :)
 
@LewsTherin, how so? I guess distinct would work just fine
 
He's joining on account number alone so maybe there was more than one legitimate transaction.
 
Oh I see
 
@sehe So you're saying "You mean: you are cheap ass and want to abuse Google against their TOS?" and "Also! Exclamation! Marks! They make you! Important!" are intended to be helpful?
 
@Grixxly Thanks. I think it may be me bringing in my habits from Lounge<C++>. Sorry for any undue assumptions I made in the process :)
@PhillipSchmidt In a way. But I get your point too.
1 hour ago, by TimeToThine
I want to get millions of urls can't use API
 
11:45 PM
meh... I figure every programmer worth their salt is crass... but I'm a DBA so I'm genetically inclined to be crass
 
lol
 
@sehe I mean i'm not tryin to be rude either, but I just don't like to see people dishing out insults for no reason.. When I dont sugarcoat things, it's almost always because of someone trying to take advantage of SO
And as long as he stays within the boundaries of Google's limits, he wouldn't be doing anything wrong. I've done plenty of legitimate web scraping
 
do you also have a beard grix
 
@PhillipSchmidt Hey me too :)
 
Goatee :) with gray (read very blonde hairs)
 
11:47 PM
lol
 
@PhillipSchmidt Few things tick me off like ^ that. "Help me. I want this. I don't accept reality. Google should do as I want. Also: I can't use this. Or that. And if you tell me it doesn't work that way, I'll just! shout! that! you! are! wrong!"
So I didn't feel the 'insult' was undue. I will try to reconsider next time, as I'm not very wellknown in this room
 
Personally I don't see the 'insult'
 
i see lot of insult... but actually there is no insult.. if you know what i mean ;)
 
It was meant as a direct translation of what he 'said' into what 'he meant'. And yes, being humorous direct for clarity :)
 
No one here has knowingly violated TOS? Just didn't read the license for plausible deniability
4
 
11:50 PM
@Grixxly The biggest thing I had a problem with was "So you're a cheap ass who..." and then the shouting thing. I just feel like there are better ways to educate, ya know? But to each his own, I guess.
 
lol @Grixxly
 
@PhillipSchmidt Point taken.
 
Well, I'm off to bigger and better things. Later guys
 
Except that's the truth. Sometimes you have to either bend (read break the shit out of) the rules or pay...
Laterz
 
Cheers
 
11:52 PM
gn
 
Night
 
i wonder if Bing has same TOS like Google yet? when it comes to # of queries restriction..
 
I have an interview Friday and I have no interest in sharpening my thoughts... even though I actually want the job... What's wrong with me?
 
@sehe not to have a go at you but I am working on this project out of curiosity not like someone gonna pay me for it, I just want to learn the whole concept of it, however "was" looking for right term to base my search on which is "web scrapping" and "web data mining" mentioned by @PhillipSchmidt which in result I able to find some useful books e.g.

http://books.google.co.uk/books?id=mcM-OAAACAAJ&dq=CRAWling+web+url&source=bl&ots=EmmgqAlQyD&sig=lOzOTfV_cQlUPBzw8UfB4LBqUu4&hl=en&sa=X&ei=2hpRUJOGMufI0AW_noDADw&ved=0CLQCEOgBMC0
 
@Grixxly for that SQL query, what about a GroupBy account number?
 
11:57 PM
I suppose you could, but again without a sample result set we don't know that they are actually duplicates. For some reason the accounts aren't supposed to have transactions within a 2 year span?
 

« first day (697 days earlier)      last day (4251 days later) »