« first day (2246 days earlier)      last day (2700 days later) » 

12:12 AM
posted on December 08, 2016 by Scott Hanselman

My kids and I are big fans of retrogaming. We have a whole collection of real consoles including N64, Dreamcast, PS2, Genesis, and more. However, playing these older consoles on new systems often involves a bunch of weird AV solutions to get HDMI out to your TV. Additionally, most retro controllers don't have a wire that's long enough for today's 55" and larger flatscreens. We wanted a nice

 
 
4 hours later…
4:13 AM
I have an odd issue
in chrome I can't put a line break in the SO text editor
@dotnetman did you ever get your JSON thing sorted
 
 
2 hours later…
6:12 AM
hey
 
hello
 
Hello guys i need some help regarding web application architecture . I have my flight booking engine with UI now i want to use same as it with application where have 6 type of layer or we can say 6 types of users with diff permissions so how i do that please share yours ideas
 
6:42 AM
@hsimah nopes
:(
 
what was wrong with the code I gave you? it worked perfectly.
for me anyway
let me fire it up on my home pc
 
@hsimah the code is error free but not giving the desired output..it is showing all the key values in one column and then the reqular JSON outpu
*output
My need is first the Key in one column and corresponding values on the other
Btw can you please vote up my question...I am a new user and in a danger of getting blocked :( I am trying my best to live up to the stackoverflow standards
 
6:58 AM
how do i get the child window names of a main process? like in windows explorer you sometimes have multiple windows, however, each has a different name/pid
 
Hello Adan
can you give a link to your question..or some code sample
 
oh I thought you only wanted the keys
 
my bad, what i mean to say was, setting windows position of a process, you normally get the intrp of main window handle, but i want to do it as process
 
@dotnetman did you want like a table of key/value
 
 SetWindowPos(hi[0].Handle, 0, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOSIZE | SWP_SHOWWINDOW);
 
7:05 AM
@hsimah: Exactly :)
 
okay, that's quite easy to you
do
 
hi[0] = process, however, i get error because i 'cannot convert from process to intrp'
so i put .Handle but not sure if that will work
 
@hsimah: your help will be really appreciated
@AdanRamirez: according to me the .handle conversion should work
pls give a try and let me know
 
thanks
 
@dotnetman
can you give me the json
nvm someone else posted it
 
7:22 AM
@dotnetman ok so it did work, but this didnt:
Process[] processes4 = Process.GetProcessesByName("explorer");
so processes4 should contain 6 because there are 6 explorer windows, when i console it's length, i get 1!?
 
hey
 
@dotnetman
check my answer now
 
o ha you
 
i have a service that accpets xml data and responses xml as well. While i am using postman to test the service the server responses the data, however test the service in the code it responses an echo message. xml post data is the same and the code is the same as here stackoverflow.com/a/4256187/2289430
Stream.Write(bytes) wites the data into the body of the request, right?
 
8:09 AM
\o
 
Morning o/
 
Morn all
 
~o~
 
8:25 AM
God, the idiots are invading SO now ~_~ stackoverfiow.com/questions/51055871/…
4
 
WHY
:C
!!giphy i trusted you
 
senpai no politics here
 
wait hang on
@RoelvanUden how did you do that
ahh
i see now
 
!!aliens
 
8:30 AM
thats sneaky
 
@RoelvanUden very sneaky
 
I'm not to blame for this. Like, not at all.
 
preying on people who have bad eyesight i see
I'll remember this
 
8:31 AM
unbelievable
 
8:44 AM
btw i have read it @RoelvanUden
when you have some follow up let me know :)
 
good morning
 
Sorry Travis I had to leave after feeling serious ill last night
Good morning
 
9:00 AM
@TravisJ ^
If you don't @ mention him, he's probably never gonna see that message because timezones.
 
Uh alright I thought he might get my comment on here! :(
I am having problems with one of the action methods and he tried to help but I wasn't feeling too good. So I had to leave suddenly with no indications!
 
I just did the @ mention, now he'll see it in his inbox. If you don't... well, there might be thousands of messages and nobody sane is going to go through all of it every day.
 
"and nobody sane is going to go through all of it every day."
That explains so much
I have to stop doing that
 
who said that
i said it
who the fuck are you
who am i? who are you?!
kieran.exe has stopped responding
 
user6438653
9:10 AM
lol
 
Guys, Can I ask for some help? Or would it be so cheeky to do so ?
 
user6438653
@Kieran It's kieran.elf
 
@Dodi82 don't ask to ask, just ask
 
lol
 
@WATERYMEL0N im an elf? wat
 
user6438653
9:11 AM
@Kieran That's what my mother says.
 
@WATERYMEL0N ...Your mother thinks im an elf
uh
 
user6438653
 
So i don't get to have pointy ears? :c
 
user6438653
@Kieran Nooo
 
user6438653
Nooo
 
9:13 AM
My Edit action method does not do anything and it skips the (ModelState.IsValid) when debugging:
[Authorize(Roles = "Admin")]
[HttpGet]
// GET: CheckingAccounts/Edit
public ActionResult Edit(int? Id)
{

var AdminCheck = db.checkAccounts.Find(Id);
if (AdminCheck == null)
{
return HttpNotFound();
}
return View(AdminCheck);
}

// POST: CheckingAccounts/Edit
[Authorize(Roles = "Admin")]
[HttpPost]

public ActionResult Edit([Bind (Include = "Id,AccountNumber, FirstName, LastName, Balance, Telephone, CheckingAccount")] CheckingAccount checkingAccount)
{

if (ModelState.IsValid)
{
db.Entry(checkingAccount).State = System.Data.Entity.EntityState.Modified;
 
user6438653
One word, formatting.
 
That is how you make me feel
 
Microsoft Word ?
 
what
 
user6438653
9:14 AM
😮
 
@Dodi82 has that ModelState ever worked?
 
no
 
Could it possibly be to do with the fact that your not passing a model in?
or am i misinterpreting what modelstate actually does
i need coffee
 
but I can get the View, and once posted the values are there and doesn't do anything
I wish have coffee but I am banned
 
user6438653
😲
 
9:16 AM
this is why my brain doesn't work!
 
I can get coffee
but i can't be fucked
this is my life now
 
oh ohk O.O"
 
user6438653
😂😂😂😂😂😂😂
 
😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
 
user6438653
😲😲😲😲😲😲????
 
user6438653
9:18 AM
😵
 
😬 😬 😬 😬 😬 😬 😬
 
user6438653
🎃
 
user6438653
Poor @Roel. You don't have the emojis, the emojis.
 
shall I remove the ModelState when I debug and see where the exception is !?
 
user6438653
9:19 AM
👌👈==💪&🐳
 
NO EMOJI
 
@Dodi82 worth a try
 
ok dokey
 
user6438653
🙏🙅🙆🙌🙋🙍🙇😓
 
user6438653
😱 << Reminds me of that painting...
 
9:22 AM
@RoelvanUden Isn't that image an emoji though?
 
user6438653
Technically, no.
 
user6438653
But it does contain one.
 
An exception of type 'System.Data.Entity.Validation.DbEntityValidationException' occurred in EntityFramework.dll but was not handled in user code
this is what I got once i removed the IsModelState
 
user6438653
I dislike C#, but it's my first language.
 
user6438653
9:24 AM
Then English.
 
@Dodi82 all your args being passed correctly?
 
user6438653
Tee pee for bum hole, does anyone get that?
 
@Dodi82 "Hm, this entity doesn't pass validation. Let's remove the validation check. Hey, why does the save action throw an exception now?"
Really.
 
user6438653
save action?
 
Implicit Validate on SaveChanges in EF
 
9:26 AM
db.Entry(checkingAccount).State = System.Data.Entity.EntityState.Modified;
db.SaveChanges();
 
Configuration.ValidateOnSaveEnabled
 
that i think is what he is referencing
 
Defaults true
 
WELP
 
Yes, I am so confused! If I leave Ismodel state, the edit form keeps the data and doesn't send
 
user6438653
9:26 AM
I dunno...
 
@Dodi82 Because the data is INVALID
 
user6438653
I know CreateWindowEx....
 
Look at the MVC ModelState errors.
(You're supposed to show them back to the user)
 
user6438653
@🔯 You are ish.
 
I will put a breaking point on the model state!
 
9:29 AM
...Had you not done that already?
Wait no, thats my bad for assuming
 
user6438653
@RoelvanUden Do you know sao?
 
oooo
i do, i do!
 
@WATERYMEL0N Yesh.
 
ngl, i only watched s1
 
user6438653
Imaging creating that cardinal system and nerve gear.
 
9:30 AM
can't deal with subtitles
 
I can't deal with English voice overs in anime. So lifeless.
 
user6438653
@Kieran Good, season 2 is f*cking annoying.
 
@WATERYMEL0N Would be nice. And dangerous.
Eh, SAO S2 is good.
 
hm roel can i work with react locally without running a local server
 
user6438653
Yeah, maybe we'll leave out the brain frying part.
 
9:31 AM
On the model state where shall I look, I mean in what disctionary?
 
@Proxy Sure
@WATERYMEL0N No, the idea of capturing signals from your brain to your body is extremely invasive and dangerous.
 
user6438653
@RoelvanUden The whole Sinon thing is pretty annoying...
 
Oops, our software patch blocked breath signals. People died.
Oh well.
@WATERYMEL0N Eh? I thought Sinon was a pretty good character.
 
user6438653
@RoelvanUden Brain scans.
 
@WATERYMEL0N Then you'll move your body and won't be able to feed senses with different information (sensory, hearing, etc). It's extremely invasive and dangerous to begin with.
 
9:33 AM
IsReadOnly False
IsValid false
 
user6438653
True....
 
this is what I found in the model state!
 
@Dodi82 are all your arguements getting filled?
 
user6438653
Damm... How do you block senses.. It's dangerous, and testing will have a couple of casualties, but we may be able to get a few investors, and just pay off the families of the test subjects.
 
@WATERYMEL0N or just take people who have no families
i mean what
 
user6438653
9:36 AM
True, the CIA is dumb.
 
@WATERYMEL0N I'm more interested in why you think Sinon is annoying :-P
 
user6438653
They pay off everyone.
 
This is what I find in all of the vlaues
Errors = Count = 0
 
@WATERYMEL0N The CIA isn't dumb, they just fuck up alot
 
user6438653
@RoelvanUden Mkay, well she starts off cool, killing the guy with the machine gun. Then after that she's all like I'm the best, then she can't do nothing, then she's back to being I can do everything, and then not doing anything again. She's really toooo, emotional, I think she's bipolar.
 
9:39 AM
Sounds like my ex, other than the killing the guy with the machine gun bit
 
CheckingAccount gives a value of Null!!!
 
@Dodi82 Right, so check the part of your project that calls Edit and see why your only getting some values passed to your method
 
will do
 
user6438653
@Kieran lol
 
@WATERYMEL0N I tend to disagree with that. Her back story is well explained. She's got PTSD and a panic disorder, which explains her varying reactions to different situations. When she's actually fearful for her life, the PTSD kicks in and can chain reaction a panic attack, which pretty much tells you why she freezes up as she does. Otherwise, it's just a video game, and you can be as bad ass as you want in a video game.
 
9:43 AM
Unless your name isn't kirito and your stuck in SAO @RoelvanUden
In which case you are fuuuuuucked
 
Yes, she's emotional, for exactly that reason. It's pretty consistent though.
 
user6438653
Yeah, true. But compared to kirito...
 
user6438653
And asuna..
 
Kirito has broken down completely as well..
 
user6438653
She's a little p*ssy.
 
9:45 AM
All these attributes return values
Id, AccountNumber, FirstName, LastName, Balance, Telephone
apart of one
 
Which one
Well, your checkingaccount right?
 
@WATERYMEL0N SPOILERS SAO: There's a difference, though. Kirito and Asuna were stuck in a virtual world where death would mean you'd actually die. Yes, that's pretty fucked up. But it wasn't quite as real as shooting someone in the head as a little kid and being bullied for it forever. When Kirito/Asuna get out, they got their own problems. They've built an entire school for the fucked up mental states of all the survivors, that wasn't for show.
 
AppUserId
and itsn't declared in the action method
or in the form of the view
 
@WATERYMEL0N SPOILERS SAO: I wouldn't say either was worse, SAO was pretty fucked up, but Sinon essentially lived her whole life with the fact that she killed a man AS A LITTLE KID, and was consonantly reminded and bullied for it. I totally get Sinon... much more than I get Kirito/Asuna.
That said, the anime cut away a whole lot of Kirito and Asuna breaking down.
The novel is way more in depth about that.
But the anime crowd usually doesn't like seeing the "hero" in weakness.
Hence so many people dropped Re:Zero when it got hard lol
 
AppUserId in the CheckingAccount ViewModel though!
hummmmmmm
 
9:49 AM
@RoelvanUden but in tokyo ghoul ken kaneki has a breakdown quite a bit
until he stops giving a fuck
 
Can't comment about that. I never completed Tokyo Ghoul. Still, not exactly my point. Becoming an emotionless psychopath isn't exactly the best way to deal with your issues. But again, can't really comment about that one.
 
o/
 
user6438653
Mmm, true, yeah, does, make sense.
 
user6438653
Oh and plot hole, the people who bullied Sinon, how did they find out?
 
9:54 AM
shall I make the AppUserId as hidden in my view
just like the Id
 
user6438653
Tokyo Ghoul Is cool.
 
@WATERYMEL0N How other than 'people talk'? Someone knows someone somewhere or finds some article somewhere and latch onto it. Especially in their future world, you basically can't ever get rid of a certain status.
 
user6438653
Future diary, tried to copy Tokyo Ghoul, with the breaking down, emotional part. But jeez they did it terribly. Yuki is a little b*tch and Yuna is cool.
 
user6438653
@RoelvanUden True, fair enough.
 
I think you have a problem with grasping characters with a warped emotional state. I'm pretty warped myself so it's easy \o
 
9:57 AM
@Dodi82 Thats one way of doing it, provided that the AppUserId actually gets populated in the view
 
user6438653
@RoelvanUden Lol o/.
 
@RoelvanUden Oh man, I'm not really all that into anime tbh but Tokyo Ghoul was/is amazing
 
user6438653
Are you left-handed?
 
me? @WATERYMEL0N
 
user6438653
@Kieran Yep o/
 
9:58 AM
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.AppUserId)
 
Nah, right handed tbh
 
user6438653
@Kieran Nah @RoelvanUden.
 
@Kieran It didn't really click for me. The main protagonist reminded me too much of Shinji. I just couldn't deal with it.
 
WAT @WATERYMEL0N
Why would you hurt me like this
 
@WATERYMEL0N Right hand is dominant.
 
9:59 AM
me heart is break
 
user6438653
@Kieran Me, too. Cool, we don't have the devil's hand.
 
@RoelvanUden How far in did you get?
 
@Kieran Halfway season 2.
I was forcing myself to watch tho.
 
user6438653
@RoelvanUden M'kay, You do the \o, o/ symbol left handed.
 
It makes sense, I have to use my left hand a lot too :P
 
user6438653
10:00 AM
lol. Ambi.
 
@RoelvanUden Ah, What part of it turned you off?
 
user6438653
hahahahahaha
 
user6438653
"turned you off"
 
@Kieran The main protagonist resembled Shinji too much.
 
Was that it?
 
10:01 AM
That's it. I've become allergic to any protagonist that resembles Shinji.
 
fair enough
 
I absolute fucking hate them with a passion.
 
I have no idea who shinji is so
 
Sheet.
Neon Genesis Evangelion's Shinji Ikari
 
!!giphy over my head
 
user6438653
Shinji another anime character, oh ^^
 
cmooooon
 
user6438653
loading...
 
not what i wanted, but close enough
 
user6438653
yay!
 
user6438653
10:03 AM
!!giphy over my head
 
i can not believe it
 
@Proxy what can't you believe
 
Shinji was a little whiny bitch that was living in an apocalyptic world and forced to fight in 10-stories tall robots against huge ridiculous monsters. He took every chance to whine complain and generally moan about how unfair his situation was. He even dragged amazing characters into his whining until their death.
 
ah
that explains that
 
He finally breaks down completely and that's how the series ends.
 
10:04 AM
but the level of frustration i get from setting up to work with react is the same as when i play lol
 
I want to say ken kaneki gets better
 
user6438653
The gipht command ain't working.
 
which he does
but he still complains a little
the ending of season 3 made me do a big sad though
 
I don't mind if the character is well written and the story/character develops
I'm honestly a huge sucker for a good story.
 
Well apparently season 4 is a rather big change
@RoelvanUden Would you consider RWBY an anime?
I mean the animation style is Completely different
 
10:08 AM
I don't even know what it is.
 
Rooster teeth make it
 
> RWBY (/ˈruːbi/, "ruby") is an American 3D web series created by Monty Oum for Rooster Teeth.[1][2]
 
yap
 
So, nope, I would not consider this anime in the sense of what the Japanese animation fans call anime.
 
good good
TBH i was completely against watching it at first
but it grew on me
give episode 1 a watch if you get chance
 
10:11 AM
I have no issue watching American animation shows.
 
Just go into it with the mindset that it is Very *VERY* different to what you would be expecting
awwwww my asterisks didn't make bold :c
 
Does it have a great story?
 
I can't answer that question for you im afraid
I like it
 
I remember when UK had a big Manga phase then they discovered it was actually called Anime...funny
Guyver was a great story
 
user6438653
bye guys, cya :)
 
10:20 AM
@WATERYMEL0N o7
 
user6438653
o7?
 
@WATERYMEL0N this is a guy waving right? o/
 
70mb
 
user6438653
What does that mean?
 
This is a guy saluting o7
 
10:21 AM
of dependency
 
user6438653
@Kieran I dunno.
 
for what purpose
 
@WATERYMEL0N twas a salute
 
user6438653
o-seven.
 
user6438653
true. Well bye, cya. cya @Kieran @RoelvanUden @Proxy.
 
10:22 AM
Laters
 
\o have a good weekend
 
user6438653
bye, bye, bye - Shaun of the dead, best movie ever.
 
user6438653
You too o/.
 
bye
 
o/
 
user6438653
10:23 AM
I'll probably be back tomorrow.
 
user6438653
\o o/
 
10:53 AM
i did not have that much problems with shinji
that is what you get when you spoil a child
 
Indeed
 
well or not
now i read that he was witnessing his mothers death and was left to live with his teacher
 
well shit
 
well i also forgot a lot details about evangelion
 
bruh
 
11:03 AM
they had pew pew giant robots
and a penguin
penguins can be cool
 
Rei was hot. That's all I (want to) remember.
 
yeah in hindsight i remember her the most
 
Hi, does anyone know how identifiers can be highlighted on the scrollbar when they are selected in VS 2015?
 
Light theme hiss
 
the picture from the .NET website, though its not available in VS
 
11:13 AM
That looks like nothing to me.
 
@RoelvanUden :O!
 
It means a lot to me!
 
@RoelvanUden These violent delights have violent ends
 
@Kieran I enabled the theme but didn't work, is there any other configs ?
 
@MohamedAhmed nononono, i wasn't telling you to use the light theme lmao
gimme a couple minutes
im having a looksee
 
11:16 AM
never use the light theme, it will blind you
 
@Kieran Thaaaaanks
 
@JARRRRG Why do you think i hissed
 
cus you're a vampire!
 
...How did you know my secret
Now i have to take you out to dinner
 
@Kieran :)
 
11:20 AM
@MohamedAhmed I think the functionality you are looking for may be found in an addon
11
Q: How do i get Visual Studio 2015 to highlight brackets, braces and references instantly, with no delay?

BjarkeCKWhen placing the curser on a closing bracket in c# for instance, there is a small annoying delay before the opening bracket gets highlighted, and you have to sit and wait before you can use shortcuts such as (ctrl + shift + up/down). It feels like it is intended behaviour for reasons beyond me, s...

 
@Kieran thanks man, I'll try finding it
 
Not a problem, Sorry i couldn't narrow it down more for you
 
No, I appreciate it, it'll help my search :)
 
11:56 AM
@MohamedAhmed I saw a mini view awhile back...not sure if that was it
Scott Hanselman did article about feature of VS that arent used alot
MAP MODE FOR THE SCROLL BAR
I am not sure if thats what you need but I liked the feature
 
12:20 PM
 
can some one help me on this
 

« first day (2246 days earlier)      last day (2700 days later) »