@ɥʇǝS Here's what we can do: set up a script to watch the questions/active page on AU. When a new one comes in, we automagically click the button to show it and check if the recent activity link points to an answer. If it does, we check it with the API. We might even batch it into 2-3 answers/API request, that would make it more API friendly.
Spam alert: We've accidently made the AU chat spammer aware that we're onto him. He's moved on to other sites in the network. Please watch Drupal Answers chat especially.
@JanDvorak No, but you could filter new answers with the API perhaps.
@Pops The Nazi/Hitler/Osama guy has been making accounts on AU and joining/leaving/joining chat and basically being annoying. He's figured out we're watching him and started creating his accounts on Drupal so we can't delete him.
@Braiam Yes, we get detailed stats about how many flags we handle for the day, week, month, quarter, and all-time - it also outlines what kinds of actions we took during that period.
Use the TOP keyword:
SELECT TOP 5 pretiz
FROM tableApoint WHERE price = '$newprice'
Using LIMIT 5, 10 is not part of the SQL Standard and is only available in MySQL.
You could use ROW_NUMBER() for SQL as a temp solution and will get you the same desired output.
SELECT * FROM (
SELECT *...
I'm looking for a regular expression that can match integers, decimals and fractions from a string:
Here are some examples
11.325 x 55.65
11x13
11”x13”
11” x 13”
11 3/8 x 15 7/8
11 3/8” x 15 7/8“
Explanation of above examples:
Two decimals
Two integers
Two integers with quote to represen...
It's always been so interesting to me that I can see when mods are talking in mod-only rooms, just by the updates of "last talked" in their chat profile. Annoying though, since I'm trying to track some guys down who only talk in mod-rooms apparently.
Sigh ... I don't know what to do with those Regex ones any more. I used to vote to close, but apparently their community (as illustrated here once again) thinks they are just fine.
@hichris123 Neither have been here recently enough for autocomplete, and chat search seems to be on the fritz, so I can't find any of their old posts. Or they've never been here.
To use you as an example:
@TonyMeyer, i.e. an exact match will cause a notification if you've been in the room in the past seven days.
@Tony, i.e. a first name match (to be precise, a word boundary match) will cause a notification if you've been in the room in the past two days.
@Ton will notif...
I'm not sure. The mods have said time and again (and again and again) that site metas are valid places for such questions. I don't think anyone would be willing to migrate that.
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Good code is its own best documentation. As you’re about to add a comment, ask yourself, ‘How can I improve the code so that this comment isn’t needed?
The problem with using C++ … is that there’s already a strong tendency in the language to require you to know everything before you can do anything.
People think that computer science is the art of geniuses but the actual reality is the opposite, just many people doing things that build on each other, like a wall of mini stones.
Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves.
Before software can be reusable it first has to be usable.
If one thousand monkeys are given one thousand typewriters and enough time, one of them will eventually write the complete works of Shakespeare. Or the source code of an operating system. In fact, that is how Windows Vista came to be.