similar

Language with similar object use to Javascript/JSON

I've been doing a project at work recently focused on an almost entirely client-driven web site. Obviously Javascript is used heavily, and I've been using jQuery on top of it which has turned out to be an absolute pleasure to work with. One of the things that has surprised me in this is how much I like the JSON object syntax and it's u...

What's an occupation that's similar to programming, but isn't programming?

Or let me rephrase: What's an occupation that's involves very similar skills/abilities to programming, but that isn't IT-related at all? What kind of jobs would someone with the "programmer" mindset be likely to do well in? I've had many different responses to the question, ranging from "architect", to "engineer", to "nothing is the s...

Finding cropped similar images

The 2 images have same color,pattern,etc. One image is cropped from the other one. The algorithms I've found mostly use location to compare difference between images, so it produces false result for cropped image. How to know those 2 images are similar? Thanks ...

Mysql join on similar columns

I want to join table1 with table2 on column 'Name', but table2.Name has an 'e' in front of all the names (if table1.name=ABC,table2.name=eABC). How am I supposed to use a join for those two? I tried FROM table1 join table2 on 'e'+table1.name = table2.name, but it doesn't work... ...

Is it possible to search the database for related files when a file is loaded in a upload form

I have an idea for a site that involves uploading files to the site. But what I'd like - and wondering if it's possible - is when a user clicks on "Browse", and selects the file, if it's possible for the site to automatically scan the site's database for similar files before they upload the file to the site. Kind of similar to the automa...

[Drupal] Similar By Terms module

I have a blog where you can add tags. I wanted to see the related blogposts to this tag in a view so i created one with the module Similar By Terms. However, i can't seem to link old blog posts to new posts. Only new posts to old posts. what does this mean? when i add a new blog i get all past blog post with the same tag posts. But whe...

MYSQL: Like Method, Similar Words - But Don't Show the Searched Word

Hello, actually i use this method to show similar words for a search request.. $query = "SELECT * FROM searches WHERE Query LIKE '%$search%' ORDER BY Query"; if someone searches for "nelly" it looks up in the database for similar words "nelly furtado, nelly ft. kelly"... but i dont want to show up the searched word.. example: yo...

best way to find similar items in python

I have 1M numbers:N[], and 1 single number n, now I want to find in those 1M numbers that are similar to that single number, say an area of [n-10, n+10]. what's the best way in python to do this? Do I have to sort the 1M number and do an iteration? Thanks ...

A good design pattern for almost similar objects

Hello, I have two websites that have an almost identical database schema. the only difference is that some tables in one website have 1 or 2 extra fields that the other and vice versa. I wanted to the same Database Access layer classes to will manipulate both websites. What can be a good design pattern that can be used to handle that ...

How to find similarity in texts

Hello, I have a database where users upload articles. I would like to make an algorithm where my web app will suggest similar texts according to the one the user reads. I saw some examples like Levenshtein distance. But those algorithms measures distance for strings and not for whole articles. Is there a way to extract most significant ...

How to get the 'similar' link in google?

Hi! I made a website that I submitted to google a few months ago. It comes up in results, but it could be much better. I've noticed that all the results in front of my site, there's a 'Similar' link just near the 'Cached' link, but it doesn't show up for my site. I know that that link gives related results, so I wonder if there's some...