« first day (1778 days earlier)      last day (3171 days later) » 

5:10 AM
lol.cats
 
 
9 hours later…
1:54 PM
Hello guys, does anyone know why when i publish my website my stored procedures wont publish with it. I get this error: The FunctionImport 'GetUser' could not be found in the container 'The_FactoryDBContext'.
I tried refreshing my stored procedures, recreating my model, and also republishing my models folder but none of this helps.. it all works fine when i run locally
What ive noticed is that MVC does not publish the stored procedures called in my models folder when i publish
 
 
5 hours later…
6:58 PM
@RoelvanUden are you here? just sent you the corrected adress
 
 
2 hours later…
8:29 PM
Hi Guys, anyone know if i can somehow implant Enumerator or something to somehow use Foreach and get this 4 Data ?
    public class FeaturedCategories
    {
        [JsonProperty(PropertyName = "0")]
        public FeaturedCat _0 { get; set; }
        [JsonProperty(PropertyName = "1")]
        public FeaturedCat _1 { get; set; }
        [JsonProperty(PropertyName = "2")]
        public FeaturedCat _2 { get; set; }
        [JsonProperty(PropertyName = "3")]
        public FeaturedCat _3 { get; set; }
        public Specials specials { get; set; }
        public Coming_Soon coming_soon { get; set; }
        public Top_Sellers top_sellers { get; set; }
Then i Want to be Able to use this :
    public string SpotlightMaker(FeaturedCategories FC)
    {
        string result = "";

        foreach (FeaturedCat FCat in FC)
        {

        }
        return result;
    }
Which currently give me the Error of my class does not contain a public definition for 'GetEnumerator'
 
That screams terrible design
but you can implement GetEnumerator something like this:
yield return _0;
yield return _1;
yield return _2;
yield return _3;
 
what is terrible design ? xD my way of writing these classes or the Data i am getting and turning into Obj here ? lol
ummm where should i write this ?
to be honest the data gonna be mostly like this so i can easily use go around this problem by writing it actually 4 time .. but I did go around this kind of thing eveytime i hit Enumerator ... so i want to learn it this time
dunno how to use Enumerator yet , saw the MSDN but didn't get much
 
@Pedram Put it in GetEnumerator
 
@KendallFrey Great, Fixed it , Tnx :)
 
8:45 PM
Does C++ really have such great issues with trolls?
 
9:06 PM
@TomW Is it Sino?
 
@Sippy it seems so, yes.
The fact that you can produce the name immediately validates exactly how big a problem he is
 
Yeah.
 
y no ban
 
We have had numerous issues with that guy in the HTML room as well.
He's extremely close to the ban.
 
he has sockpuppets
that's autoban, if the system that detects sockpuppets is sophisticated enough to spot him (it is not)
 
9:08 PM
lol
 
lol autoban
post as fast as you want as long as you don't inconvenience anyone
 
He's on the SO modmin team's hitlist.
 
Why have a list?
just kill them
This isn't a democracy, just ban anyone who shows any hint of nonconformance. Users are generic and expendable; who cares
 
SO don't like the bad rap they see themselves getting apparently.
We were basically told that kickbanning annoying users is against the TCs which state you have to be nice and reasonable both here and on main.
 
It was a utopia before all the stupid people showed up
 
9:12 PM
lol
Isn't that one of the great banes of society?
 
Yes.
Why can't we just get rid of them?
They don't really do anything
 
They drain people's sanity
 
Then sanity is a scarce resource
Scarcity = profit
Why yes, I am a Ferengi
 
I need a question answered .
Coming from a professional programmers point of view. If I wanted to make a living out of making desktop applications or web development. Which one would be more better for someone who does't have formal education in either or
Being that web development is in higher demand than desktop that is being "deprecated" . And also desktop is working alone making applications from what I understand. And web dev is all about projects and working on teams . Correct ...?
 
9:32 PM
You should be prepared to learn and do anything
Your professional development should be directed toward having the skills and knowledge to be able to learn anything you don't already know, quickly, and be able to do whatever's necessary
 
Is that really true
 
It's worked alright for me so far
Desktop applications are definitely a niche area these days, but I don't think the knowledge required there is so specialised that you couldn't throw a good consultant at it and get it done
 
Pretty much, yeah. If you don't have experience in either, I'd be in favor of learning about web development, first. In the end it doesn't matter, though. Achieving the skill of learning, reading and and comprehending is the true goal, and combined with some basis of development expertise, you can pick up new things quickly. If you have a good base but lack the learning bit, you'll still be useless. If you don't have a good basis, but have the learning down, acquire that basis. :P
 
My first three years were on windows forms
three and a half*
 
Learning , reading, and comprehending is the key . Right on. I will study more .
 
9:41 PM
Don't study too much. Write code. The best way to learn is to actually write code. Reading books is good for theoretical knowledge, and that knowledge is useful, but not knowing how to apply it makes you still useless. Write code. Fail. Repeat. Write code. Fail. Repeat. Write code. Success? Move on. Write code. And so forth. That's essentially what we professionals do, anyway.
(I don't mean to sound harsh, do I sound harsh?)
 
I have made windows forms . Three of them . But I don't think I'm ready yet. I just got started about a month ago actually making ... well ... stuff ... Not detailed stuff but windows forms , java applications . And basic web pages. But I am no where near ready . But thank you for the excellent advice. And will do !
No not at all.
 
That's a good start
There isn't really any way to prepare for battle except battle
 
It took about 3 years of reading and learning. But I am like you said in a "good start" . Which kinda gives me hope but not to much. Which is good !
yes
 
More often than not, the situation will be: - It doesn't work - You don't understand why it doesn't work - You're the smartest person in the room
Go and work it out
There isn't anybody who can help because you're the expert. Nobody outside your workplace can help because the problem is specific to the thing you're working on
 
@RoelvanUden No.
 
9:48 PM
Repetition is ok. If you're learning something for the first time, you can flounder around a lot. If you're allowed the time, I encourage you to, once you understand what you're trying to do, delete everything and rewrite it knowing how to do it
 
ok I will
 
@june1992 I think you're doing fine. Write code, read and learn, be confident in the things you know about and honest about the things you don't
If you do this for a job, the person paying you wants to know: Can you make the thing? If you can't make the thing, what do I have to do to help you make the thing
 
That's interesting . I will keep that in mind
 
is june1992 your time of birth, by any chance?
 
@june1992 And then the most important thing in programming; have fun! If it's fun you'll enjoy doing it, thinking about it, and improving yourself in regards to that. Especially starting out, for gods sake, don't write code just to code. Write something you think is fun, or funny, or even useful for yourself. You'll have frustrating parts, and days where you'd like to murder everyone, but if it's not overall fun, you will get demotivated :P
(AKA don't take that shitty Java job maintaining that shitty 15 year old legacy system for $100 a month more than a cool job where you have fun doing your job)
 
9:56 PM
@RoelvanUden are you stupid? money >all ;P
 
If it's significantly more you can consider it, but driving yourself to the edge of insanity, ready to commit mass murder and suicide, just for that $100 per month more? HELL NOOOOOO.
I should get some sleep. I'm rambling.
 
naaah
it's saturday
 
I need to read more and understand things better
But I should really go
 
@june1992 come back soon
this chat likes people with the right attitude which you clearly have
 
10:23 PM
Hello guys, does anyone know why when i publish my website my stored procedures wont publish with it. I get this error: The FunctionImport 'GetUser' could not be found in the container 'The_FactoryDBContext'.
I tried refreshing my stored procedures, recreating my model, and also republishing my models folder but none of this helps.. it all works fine when i run locally
What ive noticed is that MVC does not publish the stored procedures called in my models folder when i publish
 

« first day (1778 days earlier)      last day (3171 days later) »