« first day (880 days earlier)      last day (4082 days later) » 
00:00 - 17:0017:00 - 00:00

12:27 AM
anyone good here with sqlite?
 
@JABFreeware sort of
 
this is my directory structure:
<bin>\System.Data.SQLite.dll (required, managed-only core assembly)
<bin>\x86\SQLite.Interop.dll (required, x86 native interop assembly)
<bin>\x64\SQLite.Interop.dll (required, x64 native interop assembly)
 
it'll be a bit before I can help
 
copied from the page linked above
@Pheonixblade9 okay, Ill go ahead and explain for when you can
before, I used the bundle packages and everything, and MY code loaded the 32 bit version or 64 bit version of the dll data.sqlite. However, I found that it was not stable and went to the above recommended way. Just out oc curiosity I deleted the xc4 and x86 folders to see what happens
to my suprise it WORKS! :O
 
it works meaning the SQLite still functions without the Interop files in place.
 
12:31 AM
@CCInc correct
 
@JABFreeware I am correct.
 
yay
I'm so smart
 
I dont see how that is possible, unless because I used the bundle dll the GAC has them in place
but when I look no such files are there
@Pheonixblade9 do you have a solution or any ideas?
 
dunno
sorry, don't know that much
 
SIGH ;(
well thanks for looking
 
1:04 AM
where's kendoll when you need him
oh wait JAB chased him off.
Ironic.
 
blah
stupid XSLT
 
0
Q: SQLite's native library pre-loading feature seems to be getting dlls from places other than the folders its precomiled to use

JABFreewareI have a very odd problem. I have a project in C# that uses sqlite dlls. I used to use the bundle packages, but I found that they are not recommended anymore because of problems with sqlite and the GAC. So I went with their native library pre-loading feature, described here. Here is a snippet fro...

 
A: Stop using SQLite?
 
@TravisJ no thanks
 
MSSQL comes with 10GB free
 
1:15 AM
@TravisJ no thanks
 
@TravisJ Except this is for local.
No server.
 
@CCInc - You can run MSSQL with a local instance
 
@TravisJ myabe I should just use an xml file to store the data for the user
its like user settings
but I can't use "settings" because I need a structure to the settings
file
 
sounds like a pain, there is no local db available at all?
 
@TravisJ no
any idea whats causing teh trouble?
 
1:21 AM
Nope, seems like an issue with the config file perhaps? Maybe if the references aren't included there then it just looks for whatever it can find
 
@TravisJ no sqlite dll file has all the code for finding the interlop
or perhaps its not needed anymore
maybe they updated
 
1:50 AM
I GOT IT EVERYONE
STUPID ME HAD GOTTEN THE BASE DLL MIXED UP
THE GREAT @CCINC FIGURED IT OUT
 
@Pheonixblade9 Achievement Get! Steve
 
2:08 AM
@KendallFrey hey Kendall!
 
Achievement get! Unnecessary refactor! Your reward? You are now the caretaker of that feature!
 
2:25 AM
@Pheonixblade9 Why does this give a "Syntax error near WHERE"?
insert or ignore into moz_places (id, url, title, visit_count, frecency, last_visit_date) values (36,'url','url',1,1,1) WHERE NOT EXISTS (SELECT * FROM moz_visits c WHERE c.url = @url AND c.title = @title)
 
1 isn't a valid date?
 
it's an integer
 
@CCInc int != date/time as far as I know
 
THATS NOT THE ISSUE
 
@CCInc well its is "near WHERE"
 
2:28 AM
...
if you must know
it is EPOCH time
 
 
3 hours later…
5:44 AM
Hi There everyone
 
Hii.
 
6:01 AM
Morning
 
6:14 AM
Good mrng @BeginnerCoder
 
Guys, can I ask you a question
 
hey @Devendra
Yes you can ask
@codebrain stop smoking weed
 
if I need to send a certain amount of data (around 10mb) over socket. What is the ideal amount of data would you send per time? I have experienced sending it 10 kb per time, packets were sent very quickly but it took me a lot of time to send the whole 10mb data.
 
Not sure, someone else will help you
 
When I tested it with sending 1 mb per time, it took me much longer than before to send each packet
 
6:24 AM
hopefullyyy
 
What is the ideal amount of data chunk for these kind of scenarios? Are there any standard for this?
 
Morning :)
@BeginnerCoder busy with xml and my boss is an asshole
 
:D
lmaooooo
@codebrain give this to ur boss
last one then im working
have a good day ahead people
 
7:13 AM
someone help me
with for each
I have the value of a particular 'name' and i want to itereate through column name and get matching url
 
do a select on the table src
 
how !?
linq ?/
 
yes
it would be better than doing a for loop in the grid
 
c#2.0 :(
 
lol
do the for loop then and just break out when u find it
 
7:28 AM
normal select available..
omg
no need of linq~
 
8:07 AM
loll
 
8:29 AM
'Elo
 
 
1 hour later…
9:53 AM
hey
 
hey
 
hi @codebrain, @BeginnerCoder
 
Hey @Joan
 
I want to know about JSON Parsing in C#
please help me api.geonames.org/…
to parse this web service
actully i have create application for windows Phone
@codebrain
 
looking!
not good json since i am working in html and shockwave players ..sicklife
@Joan your json looks cool !
 
10:02 AM
OK
 
whats the issue ?
 
bonjour mon amis
 
"Welcome'mr.Action'"
bonjour..
 
hey brain!
 
daily gimme a couple of french words..
yep Action..
@BeginnerCoder whatsup ?
 
10:06 AM
am not able to Understand how i will do coz in Android(JAVA) i did Simply But i dont know how i will do it C#.net
@codebrain
 
hey
@codebrain just testing out some javascript
:D
 
hey boys!
javascript ? okay!
 
you want to parse it ?
@Beginner is it yours , the site ?
 
and Print fcodeName and Population @codebrain
 
10:08 AM
yes, just a test site
 
yes
 
user image
2
@Joan gimme a min
 
whta is this @codebrain
 
Thats nt for u Joan , its for Beginnercoder
it isnt difficult
 
how u ll Open local code
?
 
10:14 AM
9
Q: Json Deserialize C#

user989818Im trying to deserialize a facebook friends graph api call into a list of objects, the json looks like: {"data":[{"id":"518523721","name":"ftyft"}, {"id":"527032438","name":"ftyftyf"}, {"id":"527572047","name":"ftgft"}, {"id":"531141884","name":"ftftft"}, {"id...

23
Q: Deserializing JSON data to C# using JSON.NET

user305145I'm relatively new to working with C# and JSON data and am seeking guidance. I'm using C# 3.0, with .NET3.5SP1, and JSON.NET 3.5r6. I have a defined C# class that I need to populate from a JSON structure. However, not every JSON structure for an entry that is retrieved from the web service con...

 
rofl
not opened to u I guess
:D
as long as my friend can see I don't care :D
 
is this for @BeginnerCoder
 
I am your friend too dumbass
 
Thanx @codebrain
 
10:15 AM
lmao
ok wait let me see :s
 
@Joan come on mate , you're a friend lol
 
the Screen shot u sent local
 
yeah theres an issue cause I am busy installing something on the server so it might be messing up
 
that is for @BeginnerCoder
 
restarting the server now... give it a couple mins
hope .net 4.5 didn't screw up my server. I would go crazy
 
10:19 AM
Yes..for that green guy !
His site sucks ! nothing is there..lol
 
heheh
 
:D:D:D:D:D
 
@Beginner wheres your truck site ?
 
u right about that... I was just testing out a menu. some 3d menu using jscript
 
Hey guys one favor !!!!
 
10:20 AM
its down waiting for domain to be active
what favor
 
you're checkin a 3d menu ? thats fine then !
 
yes, trying it out
 
Plz go to my profile , open my questions and upvote them..only 5 questions
 
how do I find your questions
 
go to my profile
it ll show my questions
 
10:24 AM
yes
no
send the links here
 
its not there...
 
select each and upvote once..cz i am blocked from asking questions for god sake
 
i upvoted your question now
 
10:26 AM
I cud only see those stuff
done
 
oh hahaaha
 
lol..you did >
?
 
yeah I upvoted all
try it again
 
yeah got it..
these assholes blocked me from asking questions
since i got downvote on one question
 
10:30 AM
wtf... that's bs
I got a meeting now
chat after
 
i dont see any 3d in there
yep..c you
@joan if you're generous , go to my profile and upvote my questions..i m blocked
 
i did it @codebrain
Error 1 The type or namespace name 'Web' does not exist in the namespace 'System' (are you missing an assembly reference?) C:\Users\Anil\Downloads\TipCalcJointSample\TipCalcJointSample\C#\Tip‌​CalcSample\Mobilepage\Mobilepage\MainPage.xaml.cs 34 58 MobilepageThis Error is coming @codebrain
 
10:47 AM
hey I am using - timeStamp = System.Convert.ToDateTime(text);
which is creating - '11/03/2013 11:35:24'
however I am using DB2 and the format needs to be - '2013-03-11 11:35:24'
How can I set DateTime to this format in C#?
 
@Jambo if you're talking String representation format, just use String.Format("{0:yyyy-MM-dd hh:mm:ss}", yourDateTimeObject)
 
good man thanks
 
11:09 AM
@Joan Check your target framework , set it same for all projects.. it ll go fine i guess
 
11:38 AM
duuude
im back
hover ur mouse over the "menu" text
 
@Jambo To clarify, DateTime values are NOT stored as string or with any specific format.
 
@codebrain wake up
 
You have to convert to and from a strings for display and anything that requires a textual input (like an SQL query)
 
 
1 hour later…
12:54 PM
Hello ..........!
 
Look! It's Tux!
 
OMG @Kendall!
 
 
I thought onebox took care of it?
 
1:08 PM
Ma blocka
 
I see what I did wrong. I was supposed to post the whole xkcd link, not the image... like this xkcd.com/1185
 
Still can't see it.
saw it already
wut
 
Image not found is an image?
 
0
Q: Grid Bind with complex sql query

FreelancerI have following table structure> PARTYCODE | Sauda_Date | BUY_SELL | Trade_Qty | Market_Rate | 36L050 28Feb2013 1 4000 500 36L050 28Feb2013 2 2000 550 This is my tradeFile table in database. Here in BUY_SELL column, 1 is BUY, ...

please help me
 
1:16 PM
sigh What have you tried? What did you expect? What happened?
 
DBA doesn't deal with front-end code.
 
His "question" (if you can call it that) is about how to do something in a query.
I think DBA would be more appropriate for that.
 
Then he has to remove the irrelevant bits.
 
Absolutely. As you said, they are irrelevant.
 
1:20 PM
Irrelevant bits are irrelevant. Who knew?
 
You did :D
 
Sprint retrospective is tomorrow. I... didn't get much done.
 
1:36 PM
@KendallFrey Ouch...
 
hello everyone can someone help me with this query:
SELECT Count(*) as hits, b.Location , a.Title, a.Date, a.Description, a.Address, a.Category, a.ImgURL
FROM WebSites_Overview a, Log_href b
Where a.Address = b.Location AND Category ='Accounting'
Group by b.Location, a.title, a.Date, a.Description, a.Address, a.Category, a.ImgURL
Order by hits desc

The query works fine but it's only getting data with value from the database, how can i rerieve data that has hits = 0??
what is missing
 
A left join, I think.
You're simulating an inner join with a where.
You want a left join.
 
okay can you help by an example? how would I use a left join here
or i know how, but with the above combination
 
reaches back into depths of brain where fog and dust bunnies reside
 
lol
 
1:49 PM
SELECT blabla
FROM a LEFT JOIN b ON a.Address = b.Location
 
i have dont it
done*
thanks for the help
 
2:27 PM
ugh i hate this account
 
would it be rude to say me too?
 
...
who am i kush?
waiting
 
I wouldn't want to shoot the developer who wrote this code, because that's much too quick.
Maybe waterboarding...
 
What information would you be trying to get out of me?
@coolguyxp you are cool guy xp?
 
if you know what he meeeeans
No.
Ima puppet.
 
2:39 PM
I have a puppet too.
 
Oh?
 
huh
Who am I kush
even ken doll knows
 
I do? I do now.
lol
 
Dada dada da na na da na na DUNT da nunda ... na na na na DA na na na na do do do do do do do dunt dunt dunt dunt dunt dun
jeporady theme playing
 
2:46 PM
Happy pi day, everyone!
 
You too Kendall.
Dooo Dooo Dooooo Do Do Do DO DOOOO. Do Do Dooo Do DO. Do Do Do Do Do. Dooo Dooo Dooooo Do Do Do DO DOOOO. Do...Do Do Do Do Do...Do.....DO.
nanananananananananananananananan BATMAN
GOTTA CATCH EM ALL
 
!!>batman=0/0;console.log(batman+batman+batman+batman+batman);
 
bot.IsAlive == false
THIS IS LAME
hope you figure it out by the time i get back
if you know what i meeeean
 
Wow, you're even more faggy as a puppet.
 
yeah.
if im a puppet i can do anything
cause appearantly NOBODY KNOWS WHO I AM
 
2:53 PM
'k then. Give me a million bucks and I'll share half.
 
lol
 
dun da dun da dun da dun...
jeopardy/jaws theme music
CON LOS TERRORISTAS!
 
hey kendall speaks canadian
 
woooop woop woop woooop woop woop
 
:P
 
2:57 PM
and do the Harlem shake!
 
No.
 
bom woop woop bom woop woop
 
/me gone
tell kush he better figure it out
 
@kush you better figure out who @CCInc's puppet is!
 
@KendallFrey um... to quote you
21 hours ago, by Kendall Frey
I'm really confused.
 
2:59 PM
if you know what he meeeeeans
 
oh my gosh CC!
 
lol
 
sorry, got a little carried away
 
who doesnt
 
 
3:00 PM
 
15 secs ago, by Kendall Frey
user image
 
17 secs ago, by coolguyxp
15 secs ago, by Kendall Frey
user image
 
Quick! How do I change the file extension on a system that hides them?
 
cmd?
rn command i think
 
no faster way?
 
3:07 PM
not besides enabling them
that i can think of
 
done
I can't wait for this commit message...
 
Quick question - Which is more efficient / easier.. Microsoft Access or SQL (as a database for a C# program) I'm guessing SQL but would like your opinions please
 
Don't use Access as a back end.
 
Ben
SQL, yes.
 
Thanks guys :)
 
3:15 PM
Use Access if you want to create a database application that is 1. simple 2. self-contained.
Use SQL for anything 'real'
 
Ben
I can't imagine MS would make several SQL distributions if they thought Access was good enough. :)
Does the "seen" field in the SO user profile indicate the last time the person was active on SO, or something else?
 
I think it's the last time they opened a SO page.
 
kind of
its the last time the browser pinged the server with a good reponse
 
Ben
"Seen" is kind of a weird way to phrase that, so I wasn't sure. Had a guy add a comment answering my last question, so I told him to post it as an answer so I could mark it. Waiting on him to do so. -_-
Haven't really posted on other people's questions, though, so I'm not sure if, once you do, you get notifications of updates on the question thread.
 
You get notified if someone replies to your comment.
 
3:21 PM
@ben I believe if someone "@"'s you, in a comment you get a notification, but, if someone comments on YOUR question then you will get a notification
 
Ben
Okay, good--I did do @before his name in my response.
 
There is also a notification if the person who posted comments after your single comment, I think.
 
Ben
Cool--he just posted it as an answer, so problem solved. :) Trying to keep my answer rate high. I don't like leaving things unfinished unless they really are.
It's such a pain when people don't update their questions properly--or say they fixed something, but not how.
 
Accept rate is meaningless.
 
so much so they quit displaying it
 
Ben
3:30 PM
I wasn't talking for the sake of the statistic. Just for closing questions.
 
Oh.
My accept rate in the last 5 questions is like 20% or so.
I ask questions that are so hard no one can answer them.
 
posted on March 14, 2013 by Eric Lippert

Way back in 1992 I was studying linear algebra at Waterloo. I just could not seem to wrap my head around dual spaces. Then one night I went to sleep after studying algebra for several hours, and I dreamed about … Continue reading →

 
YESSS, my magazine is here
 
Ben
I've only got one question open that never got a resolution. But since I mark all mine as answered, it's easy to find ones that haven't been. It'd be nice if there were a way to sort by answered status, but at least this way it's quick to glance over the list to find one that isn't answered.
 
edc
3:48 PM
Anyone familiar with the OpenXML API?
I am trying to create a slide from a layout and form a new presentation file, but PowerPoint keeps complaining about some missing OleObject in the resulting presentation.
 
Basic question; I believe that when I have a byte[] and assigned it to another var, it is a reference and not a copy. Is my assumption correct here?
 
Yes.
 
Good. Thanks for the confirm.
 
(I can tell you've never used C++)
 
I have used it a lot, actually, but not all managed languages do the same.
 
3:55 PM
Ref type == pointer
If you were wondering if array was a class, you could have looked it up.
 
4:26 PM
Was there a technical requirement why one would need a windows 8 machine to write apps for WP8?
 
@kush I think they call that a business plan
 
edc
I thought all you need is vs2012
I hate it when I get dragged to a project last minute and goes "there's a bug here, debug it"
 
How would copying my information to Australia help boost performance for me?
 
less server load?
 
No, last time I read about it the complaint was that Straya doesn't have fat enough pipes
 
4:42 PM
1
A: I have HP dv7 laptop. intel core i5 2.53 and 6GB of RAM

CC IncWindows, the 32 bit version, is only able to use a maximum amount of RAM. You will need to switch to a 64-bit OS to fully utilize all of the available RAM. According to this page, the 32-bit version of windows can only USE up to 3GB of RAM. The reason that you are not being able to use all 3 GB'...

This guy says I'm wrong.
I know PAE can be used, but not for Windows, right?
 
PAE of course can be used on windows. Most people don't have it set up though.
 
user1125394
why double d = 2.222; Console.WriteLine(d); gives me 2,222 with a comma not a dot
 
@crl Check your locale
 
Your locale is fucked up.
 
user1125394
I was guessing it
 
4:47 PM
man I'm getting FLAMED on SuperUser
 
I love this iStockPhoto dog
 
Somebody showed me this code
where they calculate progress with this EQ:
(int) (total * 100 / fileLength)
that's wrong, isn't it?
It should be (total / filelength) * 100 right?
 
depends on how you want to do the calculation. * 100 by any measure will likely screw up your results due to integer math. You probably want to use * 100.0, then cast it to an int for truncation.
 
Ben
(int) (total * 100 / fileLength) is completely wrong, though, yes.
 
@CCInc Same thing, but yours may be more subject to rounding errors
 
00:00 - 17:0017:00 - 00:00

« first day (880 days earlier)      last day (4082 days later) »