|
BiohazrD posted:so in visual studio with the entity designer, is there any difference between Those are direct many-to-many mappings. Like, that is how you do it.
|
# ? Jul 27, 2016 21:11 |
|
|
# ? May 25, 2024 13:12 |
|
holy poo poo javascript is insanely awful why does this get used for anything
|
# ? Jul 27, 2016 21:27 |
|
Bloody posted:holy poo poo javascript is insanely awful why does this get used for anything
|
# ? Jul 27, 2016 21:29 |
|
Bloody posted:holy poo poo javascript is insanely awful why does this get used for anything because it was in netscape and then internet explorer
|
# ? Jul 27, 2016 21:29 |
|
im just trying to post some poo poo to my webapi and either the sending it part is getting hosed up or the webapi part is hosed up and i dont know and its all terrible
|
# ? Jul 27, 2016 21:29 |
|
i just want to send an array of strings to a server why is this so stupid
|
# ? Jul 27, 2016 21:30 |
|
post teh codes javascript is bad for a whole bunch of reasons but xhrs aren't really one of them. if it's really proving to be a pain in the dick then use a polyfill for the new Request API.
|
# ? Jul 27, 2016 21:37 |
|
i think the javascript part is fine now but the webapi part is insanely retarded. it absolutely refuses to do anything at all with the body of a post request. it hits the post controller and just nulls out the parameter no matter what and wont read anything from the request content even though it will tell me there is poo poo in there
|
# ? Jul 27, 2016 21:43 |
|
oh jk its posting mangled garbage to the server. thanks, javascript
|
# ? Jul 27, 2016 21:46 |
|
Finster Dexter posted:Those are direct many-to-many mappings. Like, that is how you do it. okay but if you can go into the designer and skip the intermediate table and create a many to many, does it just create that table and abstract it from the user in that case? this is more of a visual studio question, i get many to many, im just curious about why visual studio does what it does in this case
|
# ? Jul 27, 2016 21:46 |
|
webdev makes me want to be dead
|
# ? Jul 27, 2016 21:59 |
|
HTML code:
|
# ? Jul 27, 2016 22:08 |
|
lol
|
# ? Jul 27, 2016 22:12 |
|
Mr Dog posted:post teh codes whatwg-fetch is really good, yeah.
|
# ? Jul 27, 2016 22:13 |
|
HoboMan posted:
haha, jesus christ.
|
# ? Jul 27, 2016 22:13 |
|
HoboMan posted:
Lol
|
# ? Jul 27, 2016 22:37 |
|
i made a firefox plugin and a webapi service hell yeah
|
# ? Jul 27, 2016 22:42 |
|
now i need to figure out some acceptable degree of "close enough" string matching for cross-referencing part numbers because i just know there's probably a lot of stupid edge cases
|
# ? Jul 27, 2016 22:43 |
|
fuckfuckfuck I can't believe I am having an argument with someone that is saying you should always use == instead of === in js. May DOuglas Crockford boil up from the depths of hell and consume thy flesh, o javascript
|
# ? Jul 27, 2016 22:53 |
|
Finster Dexter posted:fuckfuckfuck I can't believe I am having an argument with someone that is saying you should always use == instead of === in js. May DOuglas Crockford boil up from the depths of hell and consume thy flesh, o javascript what exactly is their line of thinking there? i've heard (and can kind of understand) arguments that you should know how == and != work and when they're appropriate, since there's no strict equivalent for any of the other relational operators so you're going to have to get your head around wacky js coercion sooner or later. but even then, "when they're appropriate" is usually "almost never" and everyone still says to use === and !==.
|
# ? Jul 27, 2016 22:57 |
|
using double-equals is so uncommon in js these days that when flow recommended using it for null-checks they had to give a paragraph of bolded text explaining why, lol (thankfully, as bad as double-equals is, at least null != 0 and undefined != 0...)
|
# ? Jul 27, 2016 23:02 |
|
webapi projects build into a dll i guess? how do i host this on a local machine outside of launching it from the debugger. do i have to gently caress around a bunch with iis or something? i just wanna hit run
|
# ? Jul 27, 2016 23:04 |
|
BiohazrD posted:so in visual studio with the entity designer, is there any difference between don't use entity framework and double don't use the entity designer to design things.
|
# ? Jul 27, 2016 23:34 |
|
need a drop-in replacement for == in your scripts? no problem, just use this, lovingly copied from the ECMAScript standardJavaScript code:
|
# ? Jul 28, 2016 00:19 |
|
Bloody posted:webapi projects build into a dll i guess? how do i host this on a local machine outside of launching it from the debugger. do i have to gently caress around a bunch with iis or something? i just wanna hit run install IIS then set the project properties to run on IIS under a virtual directory. or self host with OWIN or some bullshit
|
# ? Jul 28, 2016 01:38 |
|
hmm, it looks like my rotation methods don't work as well as i thought. specifically, X Y and Z should be roll, pitch, and yaw. X is roll, Y is yaw, and Z doesn't do anything. i can get the right forward vector for movement but scene rotation doesn't really work right at all!
|
# ? Jul 28, 2016 03:22 |
|
Shaggar posted:don't use entity framework and double don't use the entity designer to design things. but i thought microsoft could do no wrong
|
# ? Jul 28, 2016 03:25 |
thinking about trying to write a simple rpg game to check out a new language. c++, c#, or java - thoughts?
|
|
# ? Jul 28, 2016 04:28 |
|
kalstrams posted:thinking about trying to write a simple rpg game to check out a new language. c++, c#, or java - thoughts? c++ but do it all with templates and implement a modding script language using boost::spirit
|
# ? Jul 28, 2016 04:34 |
|
your compiler has died of dysentery
|
# ? Jul 28, 2016 04:44 |
Mr Dog posted:your compiler has died of dysentery
|
|
# ? Jul 28, 2016 04:45 |
|
c#
|
# ? Jul 28, 2016 04:52 |
|
AWWNAW posted:install IIS then set the project properties to run on IIS under a virtual directory. or self host with OWIN or some bullshit I wanna just self host it's going to run on a random desktop and only ever serve like two people on our lan
|
# ? Jul 28, 2016 04:53 |
|
kalstrams posted:thinking about trying to write a simple rpg game to check out a new language. c++, c#, or java - thoughts?
|
# ? Jul 28, 2016 05:48 |
mystes posted:Rust. Then when the next version comes out, you came write another rpg in it to check out another new language! Changes between Rust versions are very minimal though? Usually it's just a few stabilizations of methods in the standard library.
|
|
# ? Jul 28, 2016 05:58 |
|
VikingofRock posted:Changes between Rust versions are very minimal though? Usually it's just a few stabilizations of methods in the standard library. Edit: Oh, I guess that after they released 1.0 they stopped doing stuff like that? mystes fucked around with this message at 06:10 on Jul 28, 2016 |
# ? Jul 28, 2016 06:05 |
|
kalstrams posted:thinking about trying to write a simple rpg game to check out a new language. c++, c#, or java - thoughts? c# unity owns
|
# ? Jul 28, 2016 06:10 |
mystes posted:I guess it's more stable now then? It seemed like before every time I looked at it they had deleted half the features from the language and changed everything since the previous time. Yeah they mostly stopped doing stuff like that once it hit beta, and there have been almost no breaking changes since 1.0 (IIRC the breaking changes have all been minor bug fixes). It's been pretty drat stable for around a year and a half now.
|
|
# ? Jul 28, 2016 06:38 |
|
Mr Dog posted:your compiler has died of dysentery
|
# ? Jul 28, 2016 06:43 |
|
|
# ? May 25, 2024 13:12 |
LordSaturn posted:c#
|
|
# ? Jul 28, 2016 06:56 |