7,799 reputation
1845
bio website
location Los Angeles, CA
age
visits member for 4 years, 7 months
seen 4 mins ago

There are only 10 kinds of programmers.

The CSPs (*) and the non-CSPs.

CSP: communicating software programmers


4m
answered Class Duplication Pattern?
16h
comment What techniques are used to generate 3D topography from satelite imagery?
Digital elevation model
16h
comment What makes a program cross-platform or not?
"Could a program be made cross platform in C++ just using cross platform libraries?" This is mostly true. You also need to compile (make the binaries) for each platform because compiled machine code is specific to the architecture.
17h
comment Graph visualization algorithm
(Personal opinion) Unfortunately seems to be a difficult problem, judging by the fact that currently most people are still using GraphViz (which does suffer from that butterfly effect) and there aren't many replacements available.
18h
comment What individual bits, in order, should go to which pins of an SD card to read/write?
There is indeed a site for asking electronics questions: Electronics.SE However, keep in mind that operating an SD card is a very complicated matter, therefore people will try to use existing resoucres (code, logic, design, etc) instead of building up from scratch. Try read this document to guage the amount of work needed. You can also search on Github to see if someone has posted HDL for using SD card.
1d
comment Some people told me that finding all prime factors of a number is an unsolvable problem. Is that real?
(Disclaimer: I didn't vote on the question or vote-to-close.) But I will explain the rationale about closing: The StackExchange family of sites is not a service to answer the questions posted by an individual; rather, it is to act as a growing repository of high quality questions and answers that the site's general audience will all find useful (informative). Moreover, questions and answers that are too long, or questions that draws too many answers, will not fit in the space of the site's design. Questions that are too narrowly specific or too broad will also be closed.
1d
comment Some people told me that finding all prime factors of a number is an unsolvable problem. Is that real?
@EzequielBarbosa you can find all the answers on trial division (en.wikipedia.org). The time complexity mentioned in the Quora responses refer to "the required time grows exponentially with the digits of the number" and "even the best known algorithms have exponential time growth" respectively. Note that implementation differences may still allow some implementations to run faster than others; but asymptotically speaking (i.e. as the numbers become bigger and bigger), they are all exponential.
1d
comment Some people told me that finding all prime factors of a number is an unsolvable problem. Is that real?
For example, whenever the number fits inside a 64-bit integer, one can perform trial division of prime numbers up to the square root of that number. Even if the number is larger than 64-bit, it is possible for one to implement code that provides arithmetic operations for integers of 128-bit, 256-bit, and so on, so that the same algorithm can still be used. (See: BigDecimals.) This approach has a certain time complexity; and they are referring to this time complexity.
1d
comment Some people told me that finding all prime factors of a number is an unsolvable problem. Is that real?
When they say it is an "unsolved" problem, they didn't mean every question of this kind is unanswerable; what they mean is that the currently known algorithm has (some particular time complexity), and that no faster (and deterministic / fail-proof) algorithm than that had been identified, etc.
1d
comment How to concurrently write data in Java without locking?
LinkedTransferQueue documentation
1d
revised Design of actions handlers requiring some order
added 85 characters in body
1d
answered Design of actions handlers requiring some order
1d
revised What characteristics does software have that's easily modified by other developers 6+ months after initial release?
added 675 characters in body
1d
answered What characteristics does software have that's easily modified by other developers 6+ months after initial release?
1d
comment Is it possible to speed up a hash table by using binary search trees for separate chaining?
@Aviral: you need to diagnose the cause of collision, and then include that in the question. (You are expected to research this in depth before posting.) Otherwise, whatever answers given here will not help you solve the particular cause of collision you are encountering.
1d
comment Is it possible to speed up a hash table by using binary search trees for separate chaining?
@Aviral: Are collisions happening because (possibility #1) there are hotspots (very high spikes of data all having the same "key value" - the key used as the sole search criteria, and therefore would have caused collisions regardless of hash function), or (possibility #2) because the hash function did not have enough entropy to effectively use the space of hash table? Also, by any chance did you come up with this idea after reading about Cuckoo hashing?
2d
reviewed Approve Is studying algorithms important for game development?
2d
comment Is studying algorithms important for game development?
If you are curious about what kind of knowledge and questions are involved in game programming, you can start browsing the questions on gamedev.SE. But keep in mind that you can't reach a higher level of knowledge by just reading from the internet; you will need formal education (formal as in following a predefined course and completing all of its modules and exercises, which fortunately can be free as in MOOC, or less expensive than a traditional degree) and augmented by textbooks and research.
2d
comment Is studying algorithms important for game development?
This question is indeed too broad, as defined in this link, and therefore will be closed. There are too many types of computer games; each type has its own knowledge requirements, so one cannot exhaustively explain everything involved. Finally, for an answer to be useful to you, you will need to have a basic level of aptitude to understand the answer. It is expected that a person with basic level of aptitude will not ask the question "is it necessary to learn algorithms" because it would have been affirmed by your own learning experience.
2d
answered Is studying algorithms important for game development?