|
Mido posted:doc block I'm not talking about runtime performance or casting because the compiler would have made a choice whether it's right or wrong, the issue is that you shouldn't have a Lang or environment where numbers you write in your code get operated/coerced in unclear circumstances during compilation. I don't give a poo poo if you feel really sure what that number will end up as during compilation, you should be making a conscious typing decision Yes, I understand what you mean. I don't think there's anything at all unclear about float foo = 3.0; or uint32_t bar = 640;. My complaint re: C# was that methodThatExpectsAFloat(35.0); blows up because static typing and not wanting to implicitly cast from double to float (because the language designers decided that all floating-point literals should be interpreted as doubles), but at the same time methodThatExpectsAFloat(35); is totally OK and the C# compiler will happily cast it to a float with nary a warning. edit: Like, I could understand the C# compiler seeing methodThatExpectsAFloat(35.0); and, the language designers having decided that floating-point literals will always be doubles, throwing a warning about an implicit cast potentially causing loss of precision, but throwing an error and quitting is just annoying. It's not like I'm trying to assign a float to an int without an explicit cast or something. Doc Block fucked around with this message at 05:16 on Nov 22, 2014 |
# ? Nov 22, 2014 05:11 |
|
|
# ? Apr 23, 2024 21:22 |
|
Doc Block posted:Yes, I understand what you mean. I don't think there's anything at all unclear about float foo = 3.0; or uint32_t bar = 640;. because it's a promotion
|
# ? Nov 22, 2014 05:14 |
|
And yes, I understand that it's a promotion, but if you're gonna be a stickler about static typing then be a consistent stickler. Especially since a single-precision float can't cover an an int's whole range IIRC.
|
# ? Nov 22, 2014 05:17 |
|
Doc Block posted:And yes, I understand that it's a promotion, but if you're gonna be a stickler about static typing then be a consistent stickler. Especially since a single-precision float can't cover an an int's whole range IIRC. i can be a stickler and still understand the philosophy of the compiler not making a fuss about a promotion that is actually completely harmless but you should still be specifying your types irregardless but implicit promotion is accepted and understood in well defined langs like C# and Java just loving back down
|
# ? Nov 22, 2014 05:22 |
|
lmao irl at people who care about software this much
|
# ? Nov 22, 2014 05:26 |
|
Mido posted:irregardless double lmao
|
# ? Nov 22, 2014 05:26 |
|
Glorgnole posted:lmao irl at people who care about software this much drat right
|
# ? Nov 22, 2014 05:27 |
|
Glorgnole posted:double lmao ah poo poo
|
# ? Nov 22, 2014 05:27 |
|
Mido posted:just loving back down never I must defend my tired complainposting to the death and also my caring about type safety but not going overboard on numeric literals when it's obvious and well defined what types they will be.
|
# ? Nov 22, 2014 05:36 |
|
Mido is Shaggar
|
# ? Nov 22, 2014 05:39 |
|
have you ever seen shaggar and Mido in the same room? no? didn't think so
|
# ? Nov 22, 2014 05:40 |
|
I'm Shaggars lost twin. the one who uses apple products and linuxes
|
# ? Nov 22, 2014 05:41 |
|
Mido posted:I'm Shaggars lost twin. the one who uses apple products and linuxes same thing
|
# ? Nov 22, 2014 05:43 |
|
mido lives in the correct portland, whereas shaggar lives in bizarro portland. coincidence?????
|
# ? Nov 22, 2014 06:12 |
|
shaggar portland is the actually cool portland because its not hyped to hell and back
|
# ? Nov 22, 2014 06:14 |
|
east coast least coast
|
# ? Nov 22, 2014 06:14 |
|
A Correct Opinion
|
# ? Nov 22, 2014 06:19 |
|
Panty Saluter posted:shaggar portland is the actually cool portland because its not hyped to hell and back i had some friends move from portland oregon to portland maine to work at some seafood restaurant and they said that while the owner gave them lots of cocaine the whole scene was pretty terrible and boring and also he was really creepy like they had probably been willingly sex trafficked but w/e they came back when it got cold welp that is my portland to portland story
|
# ? Nov 22, 2014 06:24 |
|
Mido posted:because it's a promotion 32 bit int to single precision float isnt a promotion because float mantissa only has 24 bits so like 2^31-1 is gonna lose low order bits, if c# compiler really doesnt complain then thats dumb
|
# ? Nov 22, 2014 06:33 |
|
u fags better start your own thread and get out of this shrine
|
# ? Nov 22, 2014 06:36 |
|
syscall girl posted:i had some friends move from portland oregon to portland maine to work at some seafood restaurant and they said that while the owner gave them lots of cocaine the whole scene was pretty terrible and boring and also he was really creepy like they had probably been willingly sex trafficked but w/e they came back when it got cold *works in a tourist trap* this place sucks!!!!
|
# ? Nov 22, 2014 06:37 |
|
echinopsis posted:u fags better start your own thread and get out of this shrine no u
|
# ? Nov 22, 2014 06:37 |
|
Doc Block posted:never http://forums.somethingawful.com/showthread.php?threadid=3683044
|
# ? Nov 22, 2014 06:38 |
|
http://forums.somethingawful.com/showthread.php?threadid=3683044
|
# ? Nov 22, 2014 06:38 |
|
Panty Saluter posted:*works in a tourist trap* i think they hadn't properly considered the NE winter and it was a seasonal job so yeah actually everyone should do something so stupid when they're 20 i should have gone with them but i wasn't as cute
|
# ? Nov 22, 2014 06:40 |
|
syscall girl posted:i think they hadn't properly considered the NE winter and it was a seasonal job so yeah You post on something awful that's a given
|
# ? Nov 22, 2014 06:41 |
|
Panty Saluter posted:shaggar portland is the actually cool portland because its not typed to hell and back
|
# ? Nov 22, 2014 07:20 |
|
everyone is just a register or two, whats the big fuckin deal?
|
# ? Nov 22, 2014 07:21 |
|
Lime posted:32 bit int to single precision float isnt a promotion because float mantissa only has 24 bits so like 2^31-1 is gonna lose low order bits, if c# compiler really doesnt complain then thats dumb I agree but I haven't stared at c#s spec about this so I need to inquire
|
# ? Nov 22, 2014 11:55 |
|
it SHOULDNT but it supposedly is. generally speaking they don't do dumb things like that
|
# ? Nov 22, 2014 11:56 |
|
Please take your software internet slapfight to one of the programming threads. Post the cool pics echopenis
|
# ? Nov 22, 2014 18:47 |
|
post your idiot spare time user interfaces
|
# ? Nov 22, 2014 19:03 |
|
syntaxrigger posted:Please take your software internet slapfight to one of the programming threads. ok so this is a messy as gently caress blueprint! often i give a biot of time to spread them out and tidy them up to make them clear, maybe add a comment this one i just didnt care so that is a function on a simple projectile. when my ship spawns it it then immediately calls this function on it and passes it all that information, with that information itll do something action screen shot the snag ray firing a rocket. on the left you can see some grey icons? that is your inventory there are 6 different things you can "get" and you can get multiple of them you can jettison stuff if you were say full of rocks but found a bunch of valuables this is "on base", and on base you can fuel up, repair, and buy and sell poo poo that you find. the prices change (but only do so on every other station when you land on one, you cant just wait out a change you have to go to and fro, spending gas its a bit like drug wars, you might buy some illegal poo poo and sell it for more later that might be a large game mechanic in a way, find poo poo, sell it, make money, buy better ship that menu is by far going to be the most coimplicated thing i do in this and i know it looks bad now i am still working out how i am going to make it work better. i am having trouble with the built in 2d system so i've built my entire UI in the game itself (not just 3d icons on top of the level, my UI icons are in the level, get shadows from things etc) and its not GREAT because it seems sometimes it updates its location to the camera location but sometimes it seems it gets out of order and updates the prior frame and when moving fast it gives a jitttery effect which makes it feel like the game is lagging even if its not (because of this laggy effect in your peripheral vision you can buy fuel or repair kits and use them on the fly
|
# ? Nov 22, 2014 19:37 |
|
Bananalogue posted:post your idiot spare time user interfaces a synthessider>???
|
# ? Nov 22, 2014 19:37 |
|
whats the best way to capture a video to show of waht the game is like in person. fraps is a ok but 30 seconds isnt enough
|
# ? Nov 22, 2014 19:47 |
|
use obs to record to file
|
# ? Nov 22, 2014 19:53 |
|
fraps is garbage for idiot clowns
|
# ? Nov 22, 2014 19:53 |
|
cool tip
|
# ? Nov 22, 2014 19:53 |
|
echinopsis posted:whats the best way to capture a video to show of waht the game is like in person. fraps is a ok but 30 seconds isnt enough if you have a core i5+ and a geforce 600+ series then you can use nvidia shadowplay, which does all the capturing and encoding right on the card with no cpu hit
|
# ? Nov 22, 2014 20:11 |
|
|
# ? Apr 23, 2024 21:22 |
|
lol NVIDIA gpu
|
# ? Nov 22, 2014 20:36 |