I need to write an sdk that will interact with an api which (currently) sole purpose is to return data from a database.
The Big Programming Thread - Page 654
Forum Index > General Forum |
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. | ||
sabas123
Netherlands3122 Posts
I need to write an sdk that will interact with an api which (currently) sole purpose is to return data from a database. | ||
Birdie
New Zealand4438 Posts
On July 24 2015 18:42 sabas123 wrote: Anybody got tips for writing sdk's? I need to write an sdk that will interact with an api which (currently) sole purpose is to return data from a database. SDK as in software development kit? That's generally quite a bit project, and doesn't fit with interacting with only one API o-o | ||
Ropid
Germany3557 Posts
On July 24 2015 08:22 darkness wrote: Is anyone a game developer? How easy is it for Blizzard to switch from DirectX 9 to 11 or 12 in StarCraft 2? I'm surprised they ignore 2+ cores after 5 years. Is it slow because of graphics in those battles with 200/200 supply? The slow down might not happen because of sending graphics to the GPU. Everything about that might be good enough. Perhaps it's instead something happening in the game logic. The path finding and collision detection between the units in the game seems perfect and that might be where all the time gets spent. That part might fall on its face with regards to time when it has to deal with a lot of units. | ||
Birdie
New Zealand4438 Posts
On July 24 2015 19:10 Ropid wrote: Is it slow because of graphics in those battles with 200/200 supply? The slow down might not happen because of sending graphics to the GPU. Everything about that might be good enough. Perhaps it's instead something happening in the game logic. The path finding and collision detection between the units in the game seems perfect and that might be where all the time gets spent. That part might fall on its face with regards to time when it has to deal with a lot of units. SC2 has always been pretty poor in terms of its CPU usage as opposed to GPU usage. Sure, the graphics on it aren't particularly up to date but it's a CPU hog more than GPU hog. Making it multi-threaded would be of more use than upgrading to DX11/12 IMHO. | ||
sabas123
Netherlands3122 Posts
On July 24 2015 19:07 Birdie wrote: SDK as in software development kit? That's generally quite a bit project, and doesn't fit with interacting with only one API o-o It will probably only be a tiny one since it will be primairly used as a wrapper around a single api. | ||
AKnopf
Germany259 Posts
On July 24 2015 23:26 sabas123 wrote: It will probably only be a tiny one since it will be primairly used as a wrapper around a single api. Before you start writing a whole SDK, why not try to write an eclipse plugin instead? Then you have plenty of functionality already there and you just need to fiddle with the exact requirements specific to your IDE. | ||
r3dox
Germany261 Posts
On July 24 2015 18:42 sabas123 wrote: Anybody got tips for writing sdk's? I need to write an sdk that will interact with an api which (currently) sole purpose is to return data from a database. my tip: write the first application that uses your SDK to do something meaningful ![]() | ||
FFGenerations
7088 Posts
lets just say i used 3rd person in one and got a red circle and question mark for it fuck other people btw2 i uploaded a "running" music pack the other day after speeding up some of my fav tracks if anyones interested http://www.solidfiles.com/d/ea94e1f8cf/ (click on direct download link only) | ||
iaretehnoob
Sweden741 Posts
On July 24 2015 19:19 Birdie wrote: SC2 has always been pretty poor in terms of its CPU usage as opposed to GPU usage. Sure, the graphics on it aren't particularly up to date but it's a CPU hog more than GPU hog. Making it multi-threaded would be of more use than upgrading to DX11/12 IMHO. One of the big goals for DX12 was more efficient draw call submission and reduced driver overhead in general, so even without further multithreading switching to DX12 should give at least a decent performance boost, but I can't really say how much. 10-15% in average cases maybe? Can't remember what DX11 did for performance, multithreaded rendering was a big thing, but taking advantage of that would be more work than just switching the API from DX9 to DX11. How hard would it be? Impossible to tell without access to the source I think. Given that there already is an OpenGL renderer for Mac, it shouldn't be terribly hard for experienced graphics engineers to add another back-end, but still a good bit of programming work and then lots and lots of Q&A. They are using DX11 for Overwatch, so maybe there's a chance SC2 and Heroes get an update at some point, if they plan to keep using the engine for whatever comes after LOTV. | ||
sabas123
Netherlands3122 Posts
On July 25 2015 01:12 r3dox wrote: my tip: write the first application that uses your SDK to do something meaningful ![]() The sdk contains functionality that another part of the company need. | ||
Acrofales
Spain17843 Posts
On July 25 2015 03:41 sabas123 wrote: The sdk contains functionality that another part of the company need. You need to know what that functionality is. Rather than just calling it an SDK. As people above have mentioned, an SDK is a pretty big project. There is no such thing as an SDK that encapsulates one API (imho). You are simply wrapping an API into some abstraction (or writing a wrapper in a different language, or whatever). An SDK means you are creating something with which a piece of software can be developed. To me, that means you are providing compilation or interpretation tools, various libraries to access the different functionalities (and APIs for them). As an example, consider the JDK. In addition to APIs for all the different libraries (and not just one API), it contains the compiler, the VM, and a whole host of other tools that you use to create a piece of software. Similarly, look at the Android, or iOS SDK: in addition to the OS-specific APIs, they contain a whole collection of tools, including a compiler. You don't simply "start" building an SDK because someone wants access to an API. You build an SDK because you want to be able to create software for a different platform or in a different language... | ||
Shield
Bulgaria4824 Posts
On July 24 2015 19:19 Birdie wrote: SC2 has always been pretty poor in terms of its CPU usage as opposed to GPU usage. Sure, the graphics on it aren't particularly up to date but it's a CPU hog more than GPU hog. Making it multi-threaded would be of more use than upgrading to DX11/12 IMHO. Isn't this the goal of DirectX 12 though? Better multithreaded support. ![]() | ||
Birdie
New Zealand4438 Posts
On July 25 2015 05:05 darkness wrote: Isn't this the goal of DirectX 12 though? Better multithreaded support. ![]() The engine is much more complex than just the draw calls that involve DirectX; most likely, whatever causes the CPU hogging involves pathfinding, physics, or some other part of the engine that changing to DirectX 12 would not fix. Performance would be improved but not as much as simply fixing whatever poorly written code is causing the delay in the first place. | ||
LaNague
Germany9118 Posts
On July 19 2015 10:26 Birdie wrote: What are the most interesting types of companies/projects you guys have worked for? Based on my university experience I think that security or something to do with neural networks or genetic algorithms could be really interesting but I simply don't know what else is out there and how challenging/fun/interesting other stuff could be. On July 19 2015 10:26 Birdie wrote: What are the most interesting types of companies/projects you guys have worked for? Based on my university experience I think that security or something to do with neural networks or genetic algorithms could be really interesting but I simply don't know what else is out there and how challenging/fun/interesting other stuff could be. real time high energy sytem for a semi conductor company i may not mention. I also program and maybe later design systems that test all kinds of producst for companies. We deliver a whole machine that those companies then put a minimum wage person in front of that then tests their products when they come out of production. Its different with every project, but once you have your whole framework and database going, the programming is pretty much focused on hardware and you dont use much of all those other nice things the libraries and languages offer. Its kinda nice to make a machine run your commands, all those magnetic switches, relays, pneumatic modules, PSUs, cameras, motors execute your plan at maximum speeds. Other work is programming micochips/embedded systems, which can be fun for more complex systems. Its basically the opposite end of the spectrum compared to your neural networks and AI development. I try to do things at home that involve less hardware related skillsets. | ||
wherebugsgo
Japan10647 Posts
I was interested in knowing what people think about this; how important is the conduct of a developer and public-facing actions in the context of software development? | ||
FFGenerations
7088 Posts
+ Show Spoiler + im gonna take the next X weeks (4?) to do some project to raise my ability to something useful and be able to get a job from it any of you recommend what i should do during this time? haven't looked myself yet but will start tomorrow so thought i should post this now. yeah i'll look at the job listings and then take on some basic google tutorial and progress from there, but you guys might have something specific to suggest cheers and enjoy the pic lol | ||
Ropid
Germany3557 Posts
On July 27 2015 09:12 wherebugsgo wrote: have you guys seen the controversy over an Opal contributor (Opal is a Ruby - > JavaScript compiler) about how trans people are "not accepting reality"? https://github.com/opal/opal/issues/941 I was interested in knowing what people think about this; how important is the conduct of a developer and public-facing actions in the context of software development? I remember browsing through exactly that thread you linked to a while back when that drama was a bit more fresh. The way I remember, there were some arguments I thought were bad. Someone wrote she could not work with the person in question as she couldn't trust that people would do honest collaboration because of prejudice and shitty respect towards her as a person radiating into the teamwork and into how code's quality is perceived and judged. Meanwhile, in some other posts she herself did exactly that herself, I think said she doesn't want to have anything to do with his stuff, would never work with his code. That made me feel like the arguments were just a game. Anyway... myself, I couldn't work with some xenophobic dude in the past. I was shocked finding out how he feels about stuff. He was a genuine Neo-Nazi pretty much. I was free enough that I could just instantly quit that group I was involved in and that was it. I explicitly explained why I quit. I don't think I was terrible rude but I also wasn't being polite and wasn't beating around the bush when people were interested and asked what was going on. That said, while I might have been a bit harmful to that guy's position, I feel it's a bit strange to try to take over and kind-of sabotage a group like what seemed to happen in that thread you linked to. I thought about that guy that made the shitty comments on his twitter. I'm sure he never had anything to do with a real-life trans guy or gal and never thought about those circumstances and life and how it might feel compared to how he feels about his own life and his wife and sex and his kids etc. Now, the only real involvement he will have had with trans people is being bullied in his hobby. I bet all of this drama actually hurt in practice, and trying to approach this without hate and instead with love and explanations would have been more useful for everyone. | ||
Blisse
Canada3710 Posts
It was recommended by a friend. I'm also almost done "Creativity, Inc.". Fantastic read about Pixar and group dynamics. | ||
Cyx.
Canada806 Posts
On July 27 2015 09:12 wherebugsgo wrote: have you guys seen the controversy over an Opal contributor (Opal is a Ruby - > JavaScript compiler) about how trans people are "not accepting reality"? https://github.com/opal/opal/issues/941 I was interested in knowing what people think about this; how important is the conduct of a developer and public-facing actions in the context of software development? I just read through it after I saw it linked here... I can't help but agree with the maintainer who refused to remove a valuable contributor from a project due to something he said in an environment that is basically unrelated. I mean, I basically compare it to someone saying something racist at a bar - sure, I maybe won't spend personal time with that person, but I will keep working with them if I like the work, and I will still value their contributions. On July 27 2015 13:09 Blisse wrote: Have any of you guys read "SICP"? (https://mitpress.mit.edu/sicp/full-text/book/book.html) It was recommended by a friend. I'm also almost done "Creativity, Inc.". Fantastic read about Pixar and group dynamics. I'm partway through SICP right now, also due to a friend's recommendation, and it's a really good read. | ||
Zocat
Germany2229 Posts
On July 27 2015 15:11 Cyx. wrote: I just read through it after I saw it linked here... I can't help but agree with the maintainer who refused to remove a valuable contributor from a project due to something he said in an environment that is basically unrelated. I mean, I basically compare it to someone saying something racist at a bar - sure, I maybe won't spend personal time with that person, but I will keep working with them if I like the work, and I will still value their contributions. Agreed. You have someone who has been a contributor to the project for a long time. And you have people who "would've totally contributed, but now don't because of him". It also says he "should be removed from project". I'm sorry, but I don't believe that those people would start to contribute as soon as the person in question is removed. Seeing how the problem was approached & comments from various uninvolved users I personally would've said "fuck off". About Code of Conducts in general: Those that I read - they're all shit. "Don't be a dick to your fellow devs" should be enough, and if you have a problem: talk about it, and don't get your friends to gang up on your victim. | ||
| ||