well anyway, point is there may be issues that other languages just don't have. I think ruby is a better language for websites anyway, at least until the vnext stuff is stable.
nah it's a pretty loose language. I usually say it's like what php should have been. it's easy to work with and often really convenient, but it actually makes more sense as you learn more instead of just going batshit like php does.
if the plan goes well with mvc and webapi back ends merging then i will likely not be going anywhere for a long time
i have so little code at the moment in my exising web stack on mvc and webapi if that gets better it'll be seriously cool
more so if i can use roslyn too
From what i nuderstand compiling a web app with roslyn pulls in just the stuff you need so you bin deploy (copy the files) on to any web server and it should just work
@MartinSojka I still don't get it. Виреники is pronounced as "Vi-re-ni-ki" with all short sounding Is. But they always write the English version as verenyky. Which looks like Ver-en-ee-kee.
english spelling is weird, but that's probably unrelated here. there are usually semi-standard methods for translating between character sets, and those methods are usually just dumb.
the same issue exists with chinese characters. like "xin zhao" is pronounced "sheen jow"
but everyone is supposed to use the same method or it just gets more confusing. you'll end up with 10 different english spellings for the same name and people will think they're different people.
VS is even more awesome than I thought it was.... I just discovered a "new" feature
if you autocomplete a switch template, then switch on an enum and press tab again, it autofills a whole bunch of case statements, one for each value of the enum
I don't like a bunch of its interface stuff, cause MS don't know shit about interfacing, but on the whole it doesn't annoy me that much. After installing DPack, anyway. Why isn't "show file in solution explorer" a default option?
@IcyDefiance TBH I'm kind of liking the simplicity of gedit. No auto complete, but the lack of auto complete I think makes you work harder to think about your code.
Hello, I am new to this chat and I wanted to know if this is the right place to ask an architectural question regarding game development, rather than a specific problem with a specific question
that's cool thanks, so I want to develop a chess game to serve over the web, I am most comfortable with javascript and I thought I could do this using angularjs, or jquery or any javascript framework really. I am comfortable with php but I could easily pickup nodejs, ruby or anything alike. First of all I am not sure on the MVC side, which technology I should look into developing this with including the database portion, so that is my first question.
the game does not involve AI by the way, it is more of a tutorial type of game, I have specific patterns I want to use to help a user learn through very intuitive game behavior
I don't know if it matters either but I do plan on doing this by myself on my free time, cause I love chess :)
ah and just to be a little open ended I was recently looking at ASP C# AngularJS framework combination, not that I am familiar with it, but it does seem like a very robust way of building a program, just in case that clicks in someone's mind as a better approach... I am looking for any advice really before I start digging into some code
@AGE server-side doesn't really matter. my only advice is to stay away from mysql, because it does some really dangerous things with data that might cause you problems if you're not aware of them.
php is dangerous too, but if you're comfortable with it then it doesn't really matter. it's generally best to work with whatever you're used to, unless you're doing the project specifically to learn something new.
I have major issues with mysql. like when you set a column to disallow nulls, then insert null, it doesn't throw an error. it just inserts 0 or empty string instead.
it's things like "Illegal DATETIME, DATE, or TIMESTAMP values are converted to the "zero" value of the appropriate type ('0000-00-00 00:00:00' or '0000-00-00')"
someone needs to make a big blog post of this stuff like the ones that exist for php
@Almo hey! turns out my other friend was not offered a job "because they didn't want to offer him something too low". I think they were looking for either someone junior or senior, and not intermediate...
@IcyDefiance I will look more closely into the databases, however when it comes to developing the app on the front end/API side of things, is AngularJS/NodeJS or anything that falls along the category of Javascript Frameworks a good idea? That is also a dilemma I am facing. Think about playing chess and a tutor helping you through each step. At any point in time the program will try to correct where you went wrong or help you progress to a more challenging chess game as you make progress.
@IcyDefiance This type of architecture requires data flowing seamlessly between front-back ends. I understand this may be broad that is why I am trying to narrow it to Javascript technologies and whether or not this architectural approach is recommended or not.
node is a server-side thing. it's pretty awesome in its own way, but unless you're trying to run the game outside of a web browser, you don't want to use it client-side.
I've never looked into angular so I can't speak there
@IcyDefiance that's good to know then the right approach is to stay client side for which I can narrow down a few JS frameworks, @Almo how about you with regards to plain JS or AngularJS or anything else that you may have used?
I have not done much Javascript. I just know from my brief experience with it and reading Javascript The Good Parts that there's nothing wrong with building stuff in it.
@IcyDefiance good to know, this game will not happen between two users, it will be an NPC to user but regardless ajax will be useful when tracking with the DB
@Jon the data I will be looking to use will have comments for each new chess problem, such as explanations on the problem, directions on how to get it right and any little thing in between.
@Jon Considering I could make this work for a small case of chess problems, I could easily blow it up with over 3000 just by recording in a few chess book problems say over a summer break. So in terms of storing this data I am a bit lost. I have already been advised not to use mysql but then again I don't even know myself
designing databases is something I'm horrible at giving advice on. it's always been pretty intuitive for me. I'd say just try it, see what you come up with, then ask questions when you get stuck.
or you could read a book about it, but pfft who actually reads anymore...or maybe that attitude is just me
@Jon @IcyDefiance @Almo thanks a lot for the help!!! I need to get my hands dirty with databases first then as the front end/API seems to be pretty straight forward. This project should keep me entertained for about half a year so wish me luck :)
This is quite a simple problem that has quite a long explanation so please bear with me if this gets long. (i'm really going to try and keep it to a minimum)
Ok so here's my "extracted sample" that produces the same problem ...
public class TestContext : DbContext
{
public DbSet<TypeA> Type...
for a physics based basketball game, has anyone here ever thought about how to prevent a score from happening when the ball moves up through the hoop instead of down? or scoring twice when the ball bounces down through the rim, back up, and then goes down again?
right now I'm thinking about a system where i have two sensors, upper and lower, and then mark balls when they collide with the upper one, and only score them if they collide with the lower one and have that mark
even then, though, if the ball bounced out after only hitting the upper sensor, and then say another ball collides with it before it hits the ground, and it goes up through the hoop then..
ah then I don't know exactly which methods you should be using, but you can probably get the ball's velocity to know whether it's travelling up or down. that or some info on the collision to see if it hits the top or bottom of your sensor.
that is true that i could look at the velocity. i guess if i made the sensor taller then i could just have one sensor and check the top and bottom. if it is anything near the size of the rim though, then it is totally possible for the ball to be pretty far below the rim and still activate the sensor and then bounce out