« first day (1655 days earlier)      last day (3300 days later) » 

3:50 AM
TUESDAY BITCHES
 
 
4 hours later…
7:43 AM
Good morning everybody !
 
Hey
Roel you seem to be on all the time. do you ever sleep ?
 
@codebrain Sleep is for the weak.
 
ahh, heard it somewhere ;)
what time is it in your place ?
 
09.55
 
8:28 AM
10:28
 
By now yes ;P
Room seems dead today.
 
@RoelvanUden I think it was your opinion of TDD that did it :P
 
I.. I guess so. I'm.. sorry. Let's talk about how great TDD is. :-P
 
I kid. I have no strong grounds for disagreement, but I'm going to abuse you about it anyway
 
I get that, I would do the same if I was in the position to abuse you @TomW :D
 
8:43 AM
I too have an opinion on TDD.
 
Do share.
 
I like it and I think it is good.
^ that is my opinion on TDD
 
Sup guys
 
Keep your poor opinions to yourself.
:-P
 
Can anybody explain how capture works in Actions?
 
8:44 AM
@RoelvanUden OK
 
@Squiggle You really like it huh?
 
Yes, I do like it.
 
@Asheh Some context would be nice.
 
Trying to figure out what variables are captured and what isn't
Not somthing im used to using
 
There was this one time I was going full TDD and I ran out of tests to write and then suddenly discovered that the code worked perfectly. I was happy.
 
8:46 AM
actually
think ive got it!!
Declare outside the scope, capture inside
 
...OK. Cool.
 
hi, could you answer?
0
Q: How can I set an ActionBar button enabled=true, from a ListView_ItemClick?

Rui Emanuel QuaresmaI have this code: public override bool OnCreateOptionsMenu(IMenu menu) { MenuInflater.Inflate(Resource.Drawable.actionbar_produtos, menu); menu.FindItem (Resource.Id.edita).SetEnabled (false); menu.FindItem (Resource.Id.apaga).SetEnabled (false); ...

 
I am guessing that the action creates a copy inside the scope
 
@RuiEmanuelQuaresma I'm not sure we can answer that. We can't really teach you how to program...
 
C# + Android? Xamarin?
 
8:52 AM
yeah
 
Oh, it even has the tag. Wow, I'm being stupid.
 
coffee?
 
Yes, please.
 
I think my co-worker isn't getting enough sleep. He keeps asking the same questions.
 
Did you offer him some coffee?
 
9:17 AM
I am the coworker
 
Really :-D
 
I am thinking if coffee is caffeine or coffeescript
 
coffee console.log 'Whatever you prefer ;-)'
It's been a while since I wrote cofeescript
 
9:38 AM
(fwiw, @codebrain isn't my cow-orker)
(he has a brain)
 
Your co-worker has a brain huh?
(Love misinterpreting a sentence completely)
 
he would claim so
 
9:53 AM
I just want to know how to do that, not you to teach everything
please help me with this
 
@RuiEmanuelQuaresma what have you tried to do already? What isn't working?
 
I cant access the menu items from ListView_ItemClick
how can I do this?
 
I have no idea. I've never used Xamarin. Perhaps put a reference to IMenu in your containing class?
 
tried it already but it hasnt worked
 
10:10 AM
Xamarin Forms is still so expensive, us regular folk can't play with it.
Only if there is a business need, and even then, HTML5 wins any day :/
 
HTML5 apps are the best approach, like, 95% of the time
 
I actually was interested in using XF but the price pushed me to TypeScript Angular PhoneGap... which was free. And works everywhere instantly as well.
 
I got scared away from using "Hey! this [technology] can compile to native code!" frameworks after trying Titanium
 
Guys
> What I would like to ask is for you to review the data and come up with some ideas for creating a database schema that could be used to house this data. We will then discuss these ideas during the interview.
They gave me some spreadsheets and a description of the entities and their relationships last night
And said that
Any idea wtf they actually want me to do?
 
@Squiggle lol
 
10:25 AM
@Sippy Design a database.
 
@RoelvanUden Whole thing?
Tall order O_O
 
From the given context, apparently. No requirements or anything implies 'Design all tables and normalization to store this kind of data and somehow magically know how we wish to access and use this data and optimize access for it' or something along those lines
 
So just do a design that makes sense from a relational database pov
aight
 
Well, I guess.
When in doubt, ask?
 
Yarp. Design a database, and go equipped with some good questions :)
 
10:30 AM
@Sippy consider DDD and the notion of aggregates and aggregate roots
 
^ DDD
 
i r noob, so can't help you more than that
 
Lol
Is it worth me still asking the question?
> With regard to "some ideas for creating a database schema that could be used to house this data", could I ask you to elaborate slightly? I have been pawing over the data and short of actually designing the database, I'm not sure what it is you're asking for.
Was gonna go with that.
 
I think it's clear that's exactly what they're asking for
 
Do people actually make databases without using DDD?
Like I don't understand all the keywords and terms for it but essentially I design them based around real world entities and how they relate to each other ..
 
10:36 AM
If you're asking "Do people do things that don't make sense and make a mess in IT?"? Because I think you know the answer to that.
 
@TomW mm
Hopefully I'll be alright
If they expect keywords and fancy terms for all o't database shite I'm gonna fail.
 
11:02 AM
I want to buy a bunch of programming books and making a habit of reading them.
 
I prefer to set myself a project and learn by doing.
books are great for reference
 
yeah, we ll do only what we know. reading explores a lot of new concepts.
and to implement all we learn is the next step. just reading wont help !
I am so nooooooooooob
 
Read and write code. Think code. Breath code. Don't get too hung up on "I don't know everything", because honestly, none of us do. We're just guessing :D
 
yeah ikr, I am reading, writing. I have a very bad luck with guessing. :P\
 
It helps to have a goal. Build something you enjoy.
 
11:16 AM
yeah, I tried git to contribute. no c# stuff are that easy lol
what sites can we contribute in c# ?
 
There must be something, but honestly, I don't know. I'd suggest one of my projects you can fix stuff on but they are all in JS nowadays :D
 
haha nodejs if i am right
trending c# repositories are here
 
Jup. Unfortunately.
 
nice stuff..
 
11:21 AM
@codebrain Honestly; find something you find fun or interesting.
Whatever is trending is irrelevant
 
awww yeah
 
lol hwut
 
You lot like computers. There's an older model with knob.
sfw
 
If I said I liked women, would you also show me an older model with a knob?
2
 
@KendallFrey I love how you said "if"
 
Now that's coming out in style.
 
11:48 AM
your logic is quite flawed
Nowhere did I say I didn't like women
 
@KendallFrey Denial is the first stage
 
no, boosters are the first stage
 
@BenjaminDiele Isn't that for drinking? :P
 
@RoelvanUden it's multi-functional!
 
I'm quite fed up with refactoring. Ugh.
 
12:01 PM
^ stage 1
 
@RoelvanUden does it build yet?
 
@Squiggle once it builds, it's not your problem anymore! To the QA!
 
@Squiggle It doesn't. It's really very annoying.
 
Hello
 
@RoelvanUden Code harder! You can do it! Other encouragement!
 
12:14 PM
@Squiggle Gah.
 
@Me.DisplayName Hello World
 
VB coder spotted.
 
some requirements are stupid.
 
hello everyone
 
hello
 
12:17 PM
"Urgh. Who coded this shit?"
TFS > View History
...oh. Me.
 
I am a newbie with c# and i have developed an desktop application in c# using sql server 2008 as back end
i want this application to work for multi user from different PCs connected via LAN
i have read some tutorials
my PC is server PC ( as sql server 2008 is installed here)
i have connected sql server using my PC's IP address
 
Magical
 
as then used this IP in connection string as well to runand connect my app with this sql server
this is working fine only on my PC but when i try from another PC my application throws error
 
there you are. what error
 
Do i need to do some code in application too ?
 
12:24 PM
2 mins ago, by Squiggle
Magical
 
i have my connection string in conn.cnf file
server=192.168.88.246;Initial Catalog=Database1med;Trusted_Connection=Yes;
where am i going wrong ?
 
are you trying a multitenant version of medicalshop ?
 
yes
 
so you installed this exe in all clients and trying to access a single database in server ?
 
yes
 
12:27 PM
Have you opened the ports on the firewall?
etc etc
 
actually i have installed exe on client machine with database.bak file which restored when we run application for 1st time , but i want to connect that application from the DB here in my PC
 
@varsha are you Javed Iqbal?
 
medical shop has stopped working error is thrown when you dont handle exception in main. write a try catch block in main and see the error message.
 
@Squiggle yes i have done everything , enabled TCP\IP ,firewall is turned off
 
@KendallFrey lmao
 
12:29 PM
@KendallFrey no i am varsha only
 
@varsha Somehow the coincidences make me not believe you
 
:22971495

try
{
    // put all the existing code here
}
catch (Exception ex)
{
    MessageBox.Show(ex.ToString(), "Unexpected exception");
}
 
@codebrain ok i'll do that
 
Solution to everything.
 
@KendallFrey what coincidence , i am a girl , javed seems a boy .
 
12:31 PM
you're a girl? oh really!
 
Hi sirs. Where can I complain that stackoverflow closed my question? stackoverflow.com/questions/29718024/…
 
Morning everyone!
 
Pokemon exception handlers to the rescue
 
@Nasenbaer Don't complain about us closing an off-topic question
 
@KendallFrey off topic? I am Windows Phone = DotNet developer
 
12:34 PM
So we have a development meeting yesterday, and my boss starts getting irritated and is trying to tell the developers that our job isn't hard and we should be able to make simple things like responsive design in no time. Literal words, "Development isn't hard" Coming from a non-developer. I wasn't too happy lol.
 
@Nasenbaer The question doesn't seem to be about programming
 
I am Groot
 
@KendallFrey where to ask my question?
 
@JLott Ignorance is bliss. But that's a very clear sign a terrible boss.
 
Why is Skype advertising VS in the tooltip for the input box...
WHAT THE FUCK IT'S TALKING TO ME
 
12:36 PM
@KendallFrey I've put the link and if you will read it you can tell me why the have closed. for that you need to be a programmer.
 
@Nasenbaer your question is closed by mods saying 'Unclear'. Instead of complaining, modify your question with appropriate title and question content with required code. That will help.
 
Right. I was like, do you think I just talk to my computer and say, "Hey, application, do this thing"
 
oh fuck it's not skype it's an invisible VS
 
What are you talking about...
 
@KendallFrey What have you been smoking?
 
12:37 PM
@JLott Essentially, we do that.
 
@codebrain but it is not unclear. Mods told me to use "TAGS" instead of put all in the title and now the people did not read the tags and MY question is uclear?
 
oh fuck it's not VS it opened a browser window in the background
fuck you VS
 
@KendallFrey I LOVE VS.
 
@RoelvanUden Haha. Stop trying to wreck my pity party.
 
@Nasenbaer Well, what exactly are you asking?
Are you trying to write code to solve some problem?
 
12:39 PM
So VS 2015 has some pretty neat things with it. Like the references by line thing. Let's you know how many times the function is referenced in code.
 
@JLott Lol sorry! But it doesn't mean we can just say "Hey Computer, I have file X, transform it into magical unicorns and give me Y". We take little baby steps to get to where we want it to go, taking care of every possible situation meanwhile. It takes significant effort, your boss needs education :P
Code Lens was in 2013 wasn't it?
 
@KendallFrey I want that someone who understands code, will explain what is wrong
 
@Nasenbaer But... it isn't like you could fix it if you do not have the code.
 
@JLott no is is needed. but anyway I put the sample in there (one line code)
 
@Nasenbaer But there's no code, how is it possible for someone to explain what's wrong?
 
12:41 PM
@codebrain i will re check the error and try to find out. can i get back to u on this tomorrow ?
 
@RoelvanUden I think it is going to be a bit different than that even
 
thats the code <phone:WebBrowser x:Name="BrowserSoundcloud1" Source="https://m.soundcloud.com/mrdjcan" IsScriptEnabled="True" IsGeolocationEnabled="True"/>
 
@varsha sure i ll be here otherwise someone else would be able to help
 
@Nasenbaer That's clearly not the source of the problem
 
just one call of website. but you can see the problem if you JUST use that line
 
12:42 PM
@codebrain ok thanks .bye for now
 
bye
 
When you have a question about some code, you need to post all the code you have a question about, and none of the code you don't have a question about.
 
^ this
Unless it is asked for.
 
@Nasenbaer And what is the problem? It's not clear what you're expecting to happen.
 
@KendallFrey Why do you think more is needed? you can also use less. Location is not needed at all. why people are thinking I have to post more??
@KendallFrey If you (or me) will use this line, the app crashed.
 
12:44 PM
@Nasenbaer And what are you expecting to happen?
 
What is the big deal about posting more... We don't know what is supposed to happen instead of the Stack Overflow
 
The whole question is very unclear about what you're trying to do
 
@KendallFrey It is that simple that you are thinking to far. Just to call this website (soundcloud.com) will crash with error in a windows phone app (nothing around).
 
@Nasenbaer It's a rough equivalent of "It doesn't work. Help."
Which tells us absolutely nothing.
 
@RoelvanUden NO. I have screenshots and code.
 
12:45 PM
@Nasenbaer so the website is broken. if it's not your website, what are you going to do about it?
 
@Nasenbaer Please reply to answers in your question and also make changes to question and add code. Stack overflow at line 20 ? where is code ? no one can answer without seeing code.
 
@Nasenbaer "It doesn't work and I have proof. Help."
 
@KendallFrey No. Soundcloud.com is not broken. There is just something not compatible with browser (soundcloud) and Windows phone (javascript)
 
you control neither soundcloud, nor windows phone
I don't know what you think you need to do
 
@codebrain WHY YOU CANNOT SEE THIS LINE OF CODE?
 
12:47 PM
@Nasenbaer That line of code provides us no information about the problem
 
Don't shout at @codebrain
 
codebrain is awesome!
 
@KendallFrey I cannot provide when there is nothing. Please understand. Just call this website. nothing more.
 
"When searching on help page on soundcloud.com, it tells to get help on stackoverflow.com."
lol whut
 
@Nasenbaer It's not a line of code. It's a XAML declaration. It basically says "Put a browser here". Again, which is nothing.
 
12:48 PM
@RoelvanUden absolute correct. What to add more than the line which throws the error?
 
@Nasenbaer So if calling the website is the problem, don't call the website
 
@KendallFrey haha
 
@Nasenbaer you didn't add the line which throw the error
 
@KendallFrey there is no line. exact THAT is the problem. webbrowser has internal procedure which just says "error"
this error is written on messagebox
 
You have no idea how the web works, do you?
 
12:49 PM
wait, did you come to stackoverflow.com to get help on fixing a stack overflow error?
 
I am not controlling the messagebox
 
because it's stack overflow? :D
 
@Nasenbaer that line of code is not the problem, k
 
Perhaps that is the problem? That you all are thinking, I am calling the error messagebox in screenshot?
 
@Nasenbaer That line of code is not very useful Mr.bear
sorry. baer
 
12:50 PM
How can this guy have 2.5k rep o_o
 
^ and this is why we have only one Swiss developer out of the 20 devs who work here
 
@codebrain Like I said; the browser has no codebehind. The whole app has no codebehind. The webbrowser control throws the messagebox.
 
^_^
 
@Nasenbaer You cannot fix the browser. WE cannot fix the browser.
Call Microsoft.. yell at them
 
@Nasenbaer thus the problem is within the web page loaded by the web browser control. Don't load that web page.
 
12:52 PM
@JLott You are sure it can not be modified by properties?
 
^ solution
 
unless there's something else that we don't know about, and you're not telling us
 
@Nasenbaer So the situation is this: A website, which you do not control, has an error. You do not want it have have an error. How do you propose to move forward?
 
The web site is still wrong. If you grab WP IE and navigate to soundcloud, it goes bonkers. All you may be able to control is error supression, but that doesn't fix anything.
 
@Nasenbaer Sounds like you need to find a different website to call.
 
12:52 PM
@KendallFrey The error is not in the emulator. And only on some devices. The question is what does the error mean or come from.
@JLott I think you did not read the question really
 
There is a question?
 
@Nasenbaer We can't tell you what the error means without being able to see the error
 
Can anyone tell me a better method that queue ? I have the below code...

private Queue clientsAddQueue;
private Queue clientsToRemove;

And wnat something better to use?
 
"Is there any way to disable script error message on Webbrowser control in Windows Phone? Or can confirm this error and tell why it occurs? There is no Javascript debugger in Windows Phone and also it is not my own Javascript script which I can change anything."
 
@AshSimpson I don't understand what you're asking
 
12:53 PM
@AshSimpson A generic type queue is always better, but the Q is ambiguous.
 
A better method..
is a thread or task better?
I just don't know what is best
 
Neither. It's the same. With a different API/control mechanism
(And different intentions and purposes)
 
@AshSimpson better... why? how?
 
More tidy..
more stable
 
12:55 PM
We have no idea what you're trying to do, how you're trying to do it, and what you feel is wrong with your current code
 
This day is not a good day for clear questions, hah.
 
:D
 
@AshSimpson Rather than asking for something "better", ask objective questions, like how to improve a specific bit of code, or how to fix a problem
 
Or, what is a better idea for a specific use case ;-)
 
indeed
 
12:56 PM
I feel like we are being more harsh because of what just happened lol
 
If something was always better, why would the other thing even exist?
 
how do i shot web??
 
@JLott nonsense, now go sit in the corner for 2 hours
@Squiggle with web canon
 
brb
 
@KendallFrey ok :'(
Anybody from around the New Orleans area?
Traveling there for work today, and I want good cajun.
 
12:58 PM
narlins
 
Had to look that up lol
 
don't you know how to pronounce New Orleans?
 
I think I say it like New orlins
 

« first day (1655 days earlier)      last day (3300 days later) »