Reputation
10,486
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
4 38 50
Newest
 Yearling
Impact
~287k people reached

21h
comment What can an algorithm look like that chooses appropriate images or songs?
@VitalisHommel I would try reddit as a start, there are various subreddits about /r/programming, /r/machinelearning and others where you can find information and reddit is much more open to discussions.
21h
comment What can an algorithm look like that chooses appropriate images or songs?
Yep, problem is you'll still get this question closed as too broad. Even taking out the color problem alone would make for an interesting discussion. And that's a problem that Google image search (and others) at least have solved. Would be interesting if one could use Google AI technology to make assumptions about visual balance by at least finding the main object or other visual cues. But very, very tricky.
21h
comment What can an algorithm look like that chooses appropriate images or songs?
I don't think there is a single algorithm that could cover this even for a single type of data (like images). Images could be sorted by color balance as you propose but there are other things relevant to image perception like composition, visual weight and more. With music it gets even more difficult.
Feb
6
comment What was the first mechanical Turing-complete machine ever constructed?
The first working freely programmable computer was maybe Konrad Zuse's Z1
Feb
2
comment Why use PDO's rowCount() if I can just use PHP's count()?
A SELECT COUNT query will be much, much faster than actually loading all the rows and count them.
Feb
1
comment Web browser resetting connection
It's connections per hostname since all go to the same server. Not 100% sure about the javascript on page load but as far as I know this is limited the same way. Merging files into one single file (or as few as possible) is often recommended to increase load speed. (also moving files to a CDN can help since this would be a different host)
Feb
1
comment Web browser resetting connection
browserscope.org/?category=network
Feb
1
comment Web browser resetting connection
As far as I know there is a hard limit of concurrent connections at any time (6 for most browsers last time I checked). Did you try to queue the requests and handle the next one only if the last one has finished? A brutal and bad way to do this would be to use async: false, this would block the browser and totally fail if there is any server side problem. But for testing it may give you some idea what's going on.
Jan
30
comment Help in understanding computer science, programming and abstraction
Read. Understand.
Jan
29
comment Advice on program performance after changes
@Ange1 it's a search engine (basically a type of NoSQL document storage based on Apache Lucene indexer) so there is not exactly a question of being compatible. You would have to export your data into it and then use it for queries. It's main purpose at some time was full text search but aggregations made it into a great tool to filter by attributes, tags and similar. Communication with it is via RESTful JSON API, so rather easy, especially if your language supports easy conversion from Hash/Dictionary structures to JSON.
Jan
29
comment Advice on program performance after changes
I have done similar queries to filter over large lists of 'attribute' like data with ElasticSearch aggregation. Which is not only more performant but also led to far simpler code. Maybe worth a look if exporting the data would be an option.
Jan
25
comment Why are semantics and type systems are so important?
One example of such a pitfall may be be PHP's left associative handling of the ternary operator: stackoverflow.com/questions/20559150/…
Jan
25
comment Why are semantics and type systems are so important?
For semantics IMHO they are more relevant on a level of language design and implementation (not that other programmers would not profit from knowing about it since it will help understand what actually happens and how to avoid certain pitfalls in some languages). For type systems this is quite different since you will make decisions based on how a language handles types (one of the most important if a language with a certain type system can even be used for some projects). It will have a very strong effect on how your code looks and how complex it may become for certain tasks.
Jan
21
awarded  Yearling
Jan
14
comment Where is a good place I can discuss the details about web development?
While some questions may be on topic here it sounds like you are more looking for more general info (which would be closed as too broad or for other reasons). You could start to use the chat rooms here (or the web related ones on StackOverflow since you have enough reputation. Or maybe have a look at reddits /r/webdev subreddit where you can have open discussions about mostly anything.
Dec
12
comment All methods in one file/class versus multiple files/classes
Ever considered using a text editor or IDE that allows to search over multiple files?
Dec
7
reviewed Leave Closed Can we replace XML with JSON entirely?
Dec
7
reviewed Leave Closed Almost every reported bug is a high-priority bug
Dec
1
comment Why do we need both Priority and Severity?
Hmm, I think a bug that would damage data is more severe than something that is just annoying like say some functionality taking too long to load. Both should be fixed but those with higher negative impact should be fixed first.
Nov
20
comment Is there any danger in rendering user-entered HTML and can it be mitigated?
What was already said, script and iframe would be dangerous. Beyond that a malicious user could use any amount of invalid html, opening tags and not closing them, inserting CSS that changes the display of your sites html, linking to malicious sites (and to some degree hiding the link). Just what comes to mind immediately. Putting it inside an iframe as @Karan says could possibly avoid some such problems.