« first day (2386 days earlier)      last day (2577 days later) » 

3:00 PM
i think he wrote it for fun
 
He typed his password in the wrong window.
 
seems to be a bit too obvious
 
Have you met 007?
 
i know.. right. BUT what if he really did just fuck up that much
 
i have but i'm think he is playing with us as well
 
3:01 PM
I've got an ASP.NET MVC issue I'm trying to find an answer to. I wonder if I could entice any experts here to take a look at it on StackOverflow. It's stackoverflow.com/questions/43353378/…
 
user7480455
so I just read this thing about asp.net impersonation... it's hard to tell if that is something that is wanted
 
user7480455
if you don't want you can turn it off on the sever but do you also have to turn it off in the web confing
 
user7480455
then I read that in iis 7.5 that it does not read the we. tag in the webconfig
 
user7480455
why does microsoft make such rubbish?
 
user7480455
its very hard to follow for me
 
user7480455
3:09 PM
anyone have any insights on this ?
 
3:25 PM
You can do impersonation if you paste your password into SO chat and then have someone else log in as you.
 
funny thing, when you type your password into stackoverflow chat, it detects that it's your password and stars it out.... see? ********
 
Let me try - ISecretlyLoveLevelingDex
Doesn't look like stars to me
 
hunter2
 
lol
 
fuck
no stars
 
3:35 PM
Password12
 
lmao
 
user7480455
Hi guys quick question
 
user7480455
check this out... So the site is being served
 
i'll serve you
 
what insults did you use to serve it?
 
3:36 PM
u gunna get served
 
user7480455
but I think I found that the issue is that It is not possible to see the users windows login to the database
 
this fucking guy
 
user7480455
is this true
 
i don't know
 
anythings possible when your man uses old spice
 
user7480455
3:38 PM
when I see the iis to windows athentication and the application to that I sends the user's login the the user can't access the site
 
user7480455
but if I turne all that off the application sends the server login
 
user7480455
great advert campaign!
 
user7480455
yeah iis sucks
 
i dont think iis is the thing that sucks here
 
user7480455
it does
 
3:39 PM
lol
 
user7480455
even when you read about it on the web people bash it
 
ppl also bash democracy, and food, and living, and life
 
theres a lot of sucking going on here and surprisingly its not kendall's mom
 
what do people not bash online?
there are people online that claim the world is flat
 
user7480455
but I also understand and except that I may not be using it correctly lol
 
3:40 PM
@SteveG flowers
i don't see any flower bashing
 
ah
you might've gotten me
 
user7480455
there world is flat
 
user7480455
the Earth is not
 
user7480455
two very different things
 
user7480455
So I guess the only way to fix this is to make the user's login for this intranet site?
 
3:42 PM
you should ask your mentor
 
user7480455
I will take any suggestions you smart guys have
 
user7480455
mentor?
 
at work
 
user7480455
I don;t follow
 
user7480455
I don;t have a mentor lol
 
user7480455
3:43 PM
the people here are just a clueless as I am as none of use here are programmers
 
you program, you're a programmer, just not a very experienced one
 
user7480455
We do have nice book written by a guy named ken schaefer titled iis8
 
user7480455
well am an not going to debate with you what I am lol as you know more about me then I do I guess LOL
 
could you look at how other solutions in your company solved that problem?
i'm sure you're not the first person to run into this, and you should find out how it's been done before so you can do it a similar way, and not do something completely outside of the box
 
user7480455
I guess they can call an outside firm to fix it
 
user7480455
3:46 PM
that is an option I was just trying to help them out...
 
no, i'm suggesting you help them out
 
user7480455
They are looking to hire a real programmer full time so
 
user7480455
At some point I will be out thankfully
 
i'm suggesting you could look around the other code bases in your organization and see if it's been solved and how
 
user7480455
well all joking aside... I have done that
 
user7480455
3:47 PM
this is how I got this far lol
 
user7480455
but the other apps use logins and stuff like that
 
user7480455
this app does not ... the goal was for it to be a kiosk type tool
 
user7480455
I'm pretty sure it's a database permissions issue
 
i dont know what you're even talking about in relation to your problem
 
user7480455
but I know nothing about iis except what I am reading in this book and on the web and its all so technical
 
user7480455
3:49 PM
yeah its okay... it's just call talking with you... you are a ray of sunlight old top!
 
lol
so, what are you trying to do and whats not working?
 
user7480455
speaking of iis did you guys see those pictures from Cassini and Saturn?
 
"see the users windows login to the database" makes no sense
 
user7480455
some one posted what I am trying to do on Stack overflow fourms... let me find that as it lays out what I am trying
 
you aren't trying to use the users login to access the database are you? you're trying to store it as a history of something
 
user7480455
3:52 PM
37
Q: How to get Windows user name when identity impersonate="true" in asp.net?

MrDustpanI'm creating an intranet asp.net mvc application that everyone in the company should have access to. I need to run the website impersonated for database access etc., but I want to know who each user is. When I look at Page.User.Identity.Name it's blank. Is it possible to get the user's windows...

 
user7480455
no I don't think so
 
user7480455
I am using it to ready a value from the database
 
user7480455
I use this var CurrentUser = System.Environment.UserName;
 
user7480455
to get the user ID of the computer that is on the site.. I pass that info to a function to get their email
 
user7480455
but the users are getting a sql error
 
3:54 PM
'im using it to ready a value from the database' makes no sense
 
user7480455
sorry typo
 
user7480455
read
 
user7480455
to read not to ready
 
user7480455
sorry
 
'to get the user ID of the computer that is on the site' makes no sense
 
user7480455
3:54 PM
ok
 
'but the users are getting a sql error' makes no sense
 
user7480455
yeah dont worry about it
 
user7480455
thanks all the same
 
user7480455
to change topics... how has your week been?
 
lol
so, what i think you're saying, is you want to use the user id of who's visiting the website to fetch data from the database
 
user7480455
3:56 PM
yeppers... but I will figure it out..
 
user7480455
no worries
 
and you're having trouble getting that user id, or you're fetch is failing?
 
user7480455
gonna read this big ass iis 8 book lol
 
user7480455
something like that.. but I got it...
 
user7480455
its working now thanks!
 
3:57 PM
lol
ok
 
user7480455
thanks.
 
once you answer this: and you're having trouble getting that user id, or your fetch is failing?
then you'll be able to narrow down where the issue is coming from
 
user7480455
yep yep... I'm on the case :)
 
:)
 
user7480455
so how has the week been>
 
3:59 PM
finally did my coding assessment
fingers crossed
 
user7480455
Good luck are you in university Peter?
 
lol no
 
user7480455
oh lol
 
was part of interview process
 
user7480455
oh good luck
 
4:00 PM
they asked me a c question as one of the multiple choice
for (i = 1; i < 4)
printf( %d/n, x)
 
user7480455
yeah I remember when I use to go on programming back in the 80s... not as brutal as today
 
no idea about C, and they asked the value of x
i said 1
 
user7480455
they want you to know alot of stuff
 
isn't that an infinite loop
 
i didnt type out the complete code
 
4:01 PM
oh
 
but to give the idea what it was asking
i didnt understand the printf(%d/n , x) part
the options were i think 0 to 4
i think it was 1
 
user7480455
geez they would have fired me before they hired me... lol thats an odd question
 
that just says print a decimal, followed by a new line
if i had to guess
 
user7480455
I would have told them to go to hell is the answer !!
 
lol
 
4:03 PM
oh fuck
i should be 3 then
i dunno
whatever
cant get em all
 
user7480455
yeah I don;t work in IT but you are correct
 
out of 15 questions, i think i got most of them
i think around 12-13
 
user7480455
I find that some of these hiring mangers want the world...
 
user7480455
and they ask dumb questions and what you to jump thru hoops... All programmers can learn...
 
its waaaay to academic
LOL
i think i cheated in one of the questions
 
user7480455
4:05 PM
techincal interviews and interview questions make sense for startups... but not for long stand companies
 
user7480455
yeah it is
 
write a summation method that accepts int[] numbers
 
user7480455
a startup needs a dev that can hit the ground running
 
my solution?
return numbers.Sum();
 
lol
 
4:06 PM
they have set namespaces you can use
LINQ was one of them
why not use it?
 
nice!
i would
 
im not sure if that was wrong to do that
technically that would be the most optimized solution for that
i was gonna go back and write in comments the long out method to solving it but ran out of time and didnt finish one other question
 
when i interviewed for my current job, i had to write a calculator, and they wrote a calculator and we talked about them in the interview
 
user7480455
so happy I got out of IT in 84.. there would be no way I could get a job in the field now
 
calculator is a great exercise to program
 
4:07 PM
i just passed equations into DataTable.Compute(..), and that worked great, they spent like a day doing all that manually lol
 
especially when you start trying to add in chaining operations
 
user7480455
wow steve... that is nuts
 
num1 + num2 * num3 - num4 etcx
 
@peterpep pass that into DataTable.Compute and it'll spit out the answer
 
user7480455
what do you if I may ask
 
4:08 PM
console app or with gui?
 
doesn't matter, you're just using the function, not anything else
 
ah gotchya
im still getting used to interviewing for programming positions
i get so flustered at the beginning, i feel like i forget everything i know
i remember i BOMBED an interview that asked me this
 
user7480455
do let them intimidate you peter
 
write a function to solve this: string "water", a rotational string would be "terwa"
the solution to it is so simple
 
user7480455
yeah but not real world
 
4:11 PM
waterwater.Contains("terwa")
lol
 
user7480455
why in the lords name would you ever do that in a non scientific programming job
 
wtf is a rotational string
i dont even understand the question
 
steveg is the string, a rotational string is tevegs or evegst
basically take beginning letter and move to the end
 
and how does
waterwater.Contains("terwa") solve that?
 
user7480455
glad I bake cakes for a living
 
4:12 PM
waTERWAter
you return true
so terwa is a rotation of water
 
oh
"waterwater".contains(..)
 
yea so you do (str1+str1).contains(testStr)
 
yep i follow
 
i fucking hate those algorithm questions
its literally a whos read the most
 
for (i = 1; i < 4)
printf( %d/n, x)
@peterpep what the hell?
pls explain
 
4:32 PM
30 mins ago, by peterpep
i didnt type out the complete code
 
i didnt think it was needed to add in the i++
 
or x = i :p
 
no
there was a variable declared before that was x
 
P + i = Pi!
 
i dont remember the question enough
i just didnt know what the printf(%d/n, x) does in general
i dont know C
 
4:42 PM
i think %d is a decimal place holder, followed by \n - new line? followed by the place holder value
like string.format("{0:d}\n", x);
 
printf(%d/n, x) is a syntax error, printf("%d\n", x); prints the int in base 10, followed by a newline
 
idk if :d is decimal
ah okay there you go :p
 
I am having wine today
 
5:00 PM
What kind of cheese with that wine?
 
user7480455
Cheese and wine?
 
user7480455
That sounds like an awful combo
 
not cheese, I am working .... geez ...
 
user7480455
what type of wine do you drink at work?
 
user7480455
do you work with a wine company?
 
user7480455
5:03 PM
or do you work with cheese?
 
user7480455
It's a simple question... if you were a hotdog... would you eat yourself?
 
.. @007 you have no clue how wrong you are
 
user7480455
Hi jaunvan
 
lol Sure spell my name wrong :-p
 
user7480455
5:09 PM
back in 77' I went to a vineyard in the Napa valley and had Cheese in WIne it was delicious
 
depends whether you like hot animals or not
 
user7480455
I don;t drink though so I skipped the wine
 
user7480455
lol sorry on the spelling I only have 3 fingers
 
user7480455
Ha at Milleniumbug
 
user7480455
I really like the vineyard tours amazing how much goes into growing grapes or what ever you call them
 
user7480455
5:12 PM
raisins
 
user7480455
How can their exist a 1000 page book on iis????
 
user7480455
and not say anything helpful...
 
:O
=O
I don't love how the joker looks in injustice 2
ledger + jared
 
user7480455
is that the new batman movie?
 
oh my gad
do you even game bra?
 
user7480455
5:22 PM
and is benjamin affleck still batman
 
what are "game bras"
 
user7480455
yeah I game
 
bras for gaming.
 
user7480455
brah is a term of endearment
 
are these the bras with buttons/joysticks drawn on
 
5:23 PM
exactly
the are actually functional controllers
 
user7480455
oh I thought meant like bro and stuff like that lol
 
user7480455
I play pc game not playstation
 
you put the bra on a subject and you play your game
 
user7480455
now I'm confused you must be a young buck
 
user7480455
with all of the cool up to date lingos
 
user7480455
5:25 PM
but back to back to batman so they are making a new batman vs the joker movie or are you talking about a game
 
a game
and I am not so young
35
 
Hey all! I have a question about connecting to a remote database on a server hosted by another company. I'm a complete and total noob when it comes to that sort of thing. I've been building a desktop WPF app in C# for the last two-ish years, and I'd like to be able to add some basic remote database connectivity to it so I can have a registration feature.

I'm not really sure where to start. I've done plenty of database stuff using SQLite, but I don't understand how I can create an SQLite database on my website and connect to it from my app on a remote client machine. I've done some research
 
user7480455
ahh ok a game...
 
user7480455
I don;t like third person games
 
5:29 PM
@meloviz , what is exactly the issue?
 
My knowledge, lol. Basically, I don't know where to even start. I can create a database on a local machine through my app and do whatever with it, but I don't understand how to connect to a database on a server (or any remote machine for that matter).
 
you need to a have an driver
 
user7480455
how do you plan to interface with your database
 
user7480455
wpf I see it now
 
I just want to create a simple registration-type feature where they can enter their username and a password and it saves to the database.
 
user7480455
5:33 PM
and this is going to a remote database on a server
 
yes
 
user7480455
do you have ip address of that sql server
 
I have the IP address of the website. Is that what you mean?
 
lol
 
try looking up the sqllite driver
 
5:34 PM
oh you're using sqlite
 
and start by making a console application to connect to your db server. from scratch
look up a tutorial and start with that
 
user7480455
check this out Mel
 
user7480455
6
Q: Using SQLite-net in a WPF app

roryokI'm having a bit of a senior moment trying to get SQLite working on a new WPF project. I've recently written a bunch of Windows Store and Phone projects and always used the same neat SQLite-net implementation there, but now I can't seem to do that with my WPF app. I've added SQLite-net through ...

 
user7480455
the guy got it working check out the green check reply
 
my first suggestion is: don't use sqlite as a db server, it's fine for small local storage, but if you need a server, your probably should snag a db server too
sql server express is free, and you can hold up to like 10 gigs of data
 
5:36 PM
he needs to connect to a third party who already uses it
 
oh i must've missed that
what a dumb third party
 
user7480455
what is windows store?
 
lol
 
@007 what is apple store?
 
user7480455
5:38 PM
apple ?
 
@SteveG Why is SQLite not good for something like mass registration?
 
user7480455
you mean as in phone/
 
it's not a real database management system
 
user7480455
I don;t own a sheep phone
 
it's just a sql syntax wrapper around file storage
 
user7480455
5:38 PM
but I looked it up
 
user7480455
did not know windows had an application market
 
it's not optimized for something like mass registration
 
Interesting
 
user7480455
steve do you know what a UseWorkerProcessUser as it relates to IIS
 
Well, I do need to use something that's free, so I'll probably go with your suggestion of sql server express.
 
user7480455
5:40 PM
I looking it up but it all leading me back to the same guy where I found it at
 
"However, SQLite only supports a single writer at a time (meaning the execution of an individual transaction). SQLite locks the entire database when it needs a lock (either read or write) and only one writer can hold a write lock at a time."
 
Yeah, that'd be bad, lol.
 
user7480455
yeah same here thanks
 
@007 i've done some work in the area that you're struggling, if you figure out how to word your question, let me know
 
user7480455
5:45 PM
Ill just enable it... I better get a fire extinguisher
 
lol
entire building burns down
 
user7480455
LOL Steve I will do !
 
user7480455
oh man turning that on WAS NOT a good thing
 
i hate ice in my drinks, it's their way of saying 'hey, im gonna water your drink down, but not for another hour, and i'm only going to give you 1/2 of the pop that you ordered'
 
user7480455
so you like drinking warm water... you should go to france
 
5:48 PM
yes
i do
 
user7480455
do you have teeth problems
 
not really
 
I feel the exact same way, Steve, lol.
Also, thanks everyone for the help!
I've got a starting point now :)
 
lol np
 
user7480455
that is interesting... I love cold water
 
user7480455
5:50 PM
And I use Ice when I can find it
 
it gets warm like a second after it hits your lips anyway
 
user7480455
man you have hot lips
 
user7480455
HA!
 
lol
 
user7480455
let me test that now...
 
user7480455
5:51 PM
I have a nice tall cold water with ice...
 
user7480455
hmm I never noticed
 
user7480455
but it stays cold until hit the back of the throat
 
user7480455
but not all the way down...
 
so, a second after it hits your lips?
lol
 
user7480455
for me the throat
 
5:53 PM
well, a second after it hits your lips it's halfway down your throat
so imma go with yes
 
user7480455
lol
 
user7480455
funny how warm stuff feels warm all they
 
yeah all they
 
user7480455
when is was about 50 I recall eating some morning porridge and my wife at the time hit me in the back of the head... I swallowed that stuff blazing hot
 
wow really
that SAME EXACT thing happened to me!
 
user7480455
5:57 PM
yep
 
i was 51 though
 
user7480455
funny how you make fun of my age
 
what?
i wasn't making fun of anything
 
user7480455
you think im one of those young bucks but I'm not
 
user7480455
im old as dirt and dying each day
 
5:58 PM
well, you do claim to be 3 fingered, blind and 91, 93, 87 years old, all in the time span of 4 months
 
user7480455
that I live
 
user7480455
get it right,,, 86 with 3 fingers total
 
user7480455
all true sadly
 
show me a pic
 
user7480455
of?
 
5:59 PM
your face and hand, along with a hand written sign that says '007 is me'
 

« first day (2386 days earlier)      last day (2577 days later) »