Quantcast

Jump to content

» «
Photo

Random Programming Questions

34 replies to this topic
K^2
  • K^2

    Vidi Vici Veni

  • Sheriff
  • Joined: 14 Apr 2004
  • United-States
  • Best Poster in Technology / Programming 2017
    Best Poster [Technology / Programming] 2016
    Best Poster [Programming] 2015
    Most Knowledgeable [Web Development/Programming] 2013
    Most Knowledgeable [GTA Series] 2011
    Best Debater 2010

#31

Posted 18 September 2016 - 09:47 AM

The problem with game developers (having been one myself) is that they use MS Visual Studio. Often not by choice, because you pretty much have to for XBox development, and supporting multiple dialects at once is problematic. Unfortunately, C++ features are added to MSVS sluggishly. It's better than it used to be, but MSVS 2015 still doesn't support about half of the C++14 features. Although, to their credit, they have dropped support for trigraphs as far back as 2013, and that's a C++17 feature. (This was sarcasm, by the way.)

Worse yet, because games take a while to develop, and Microsoft is very bad at backwards compatibility, game developers very frequently aren't using the latest version of Visual Studio. Last studio I've worked at only switched to MSVS 2012 last year, and they were basically forced into that version by XBOne development. Up to that point, studio was using 2010, which has actual compiler bugs that aren't being fixed by MS because the version is no longer supported. So they had to switch from one outdated version to another, encountering new unsupported compiler bugs along the way, some of which I had to fix personally.

So the problem really isn't with the language so much as with the tools available to game developers for that language. That's not to say that C++ is perfect. But right now, I work at a company that's all C++14 under clang. Between new language features, clang's helpful error messages, and tools like clang-format, it's a completely different work process. I hope, game developers working exclusively on PS4 titles are making the best of this as well.

SeroH
  • SeroH

    Want sum tape?

  • The Yakuza
  • Joined: 15 Dec 2014
  • Netherlands
  • Contribution Award [Music]

#32

Posted 09 December 2017 - 05:10 AM

I have a question about a PHP:

 

In a combo box connected with MYSQL, I use a while to pick the data from a column, but I wonder how much data can pick the "while"? If I have a table with +100 data, the while will pick all the data and print on the combo box or pick less?

 

Sorry for my english...


K^2
  • K^2

    Vidi Vici Veni

  • Sheriff
  • Joined: 14 Apr 2004
  • United-States
  • Best Poster in Technology / Programming 2017
    Best Poster [Technology / Programming] 2016
    Best Poster [Programming] 2015
    Most Knowledgeable [Web Development/Programming] 2013
    Most Knowledgeable [GTA Series] 2011
    Best Debater 2010

#33

Posted 09 December 2017 - 09:01 AM

Depending on exact implementation of the SQL DB, there can be a limit to how many rows you can fetch with a single SELECT statement. As far as I know, MySQL will let you iterate through as many as the DB will provide, memory limitations notwithstanding.

With big data sets, it is sometimes desirable to set a limit to how many rows you fetch.
SELECT * FROM table_name LIMIT 1000;
will return the first 1000 rows. You can combine it with WHERE and some index to break up data into pages. This is often done to reduce memory requirements and to otherwise improve performance.

However, 100+ rows are usually no problem to get in one query. You only really start having to think about it at 1000+ mark.
  • SeroH likes this

Star-Lord
  • Star-Lord

    Freelance Outlaw And A Great Dancer l

  • Facade Corporation
  • Joined: 26 Dec 2005
  • United-States

#34

Posted 27 February 2018 - 06:13 PM

Need some advice A.S.A.P please on how to implement Parse on Android to push notifications? Working on my own app.
T.I.A. and appreciate the help.

trip
  • trip

    😺

  • Andolini Mafia Family
  • Joined: 10 Oct 2007
  • United-States
  • Contribution Award [GTAF]
    Contribution Award [Gen Chat]
    Contribution Award [GTAF Census]
    Doggo-Chop Winner 2016

#35

Posted 01 March 2018 - 12:00 AM

Are you trying to parse something from xml or json and fire off a notification? Or is Parse some android package that has passed me by since it's been years since I've written for android.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users