Latest Community Center Posts

I do not understand why you cannot just use the Meet button and then type your message??

For two very good (IMO) reasons.

  1. Using Meet would require sending two messages, the first of which is a canned message that is cumbersome to change for special cases
  2. Using Meet sort of implies I want to make a connection. Usually I do not. As a moderator I just want to send a PM.

For example. let's say a member has posted something that i consider borderline inappropriate. I could

  1. lay on an infraction with a (system limited) brief message which would be visible to all. Or
  2. send a PM with a politely worded rebuke which would be visible to only the offending member

In the second scenario I would not want to prefix the PM with an intro PM with boilerplate text like "Jim wants to say hi." I really don't see what the proble is with the old method

  1. go to the member profile page
  2. enter a message and click Send

I do not understand why you would remove this capability from the moderators.

commented: Thanks for elaborating. I can see why it turned out like this but the front page is something I just don't get. I bet many others don't get it either. +0

The thing about quicksort is the sheer number of implementations that you find on the web. shows over 120 implementations for your study.

While creating another quicksort may be educational, it's best to view these as wheels that you pick up and install so you don't lose time creating the real app you wanted to make.

I study the Quicksort algorithm like this :

// Java program for implementation of QuickSort 
class QuickSort 
    /* This function takes last element as pivot, 
    places the pivot element at its correct 
    position in sorted array, and places all 
    smaller (smaller than pivot) to left of 
    pivot and all greater elements to right 
    of pivot */
    int partition(int arr[], int low, int high) 
        int pivot = arr[high]; 
        int i = (low-1); // index of smaller element 
        for (int j=low; j<high; j++) 
            // If current element is smaller than or 
            // equal to pivot 
            if (arr[j] <= pivot) 

                // swap arr[i] and arr[j] 
                int temp = arr[i]; 
                arr[i] = arr[j]; 
                arr[j] = temp; 

        // swap arr[i+1] and arr[high] (or pivot) 
        int temp = arr[i+1]; 
        arr[i+1] = arr[high]; 
        arr[high] = temp; 

        return i+1; 

    /* The main function that implements QuickSort() 
    arr[] --> Array to be sorted, 
    low --> Starting index, 
    high --> Ending index */
    void sort(int arr[], int low, int high) 

int partition(int arr[], int low, int high) 
    int pivot = arr[high];  
    int i = (low-1); // index of smaller element 
    for (int j=low; j<high; j++
        if (low < high) 
            /* pi is partitioning index, arr[pi] is 
            now at right place */
            int pi = partition(arr, low, high); 

            // Recursively sort elements before 
            // partition and after partition 
            sort(arr, low, pi-1); 
            sort(arr, pi+1, high); 

    /* A utility function to print array of size n */
    static void printArray(int ...

OK, so now let's get back to the drawing board. Stop looking at the current Dazah messaging platform as anything related to the old PMs. Instead ... what's wrong with the current platform? It's not meant to be an incarnation of the old PMs. It's meant to be something comparable, yet with a better API, than LinkedIn's messaging platform.

So it's moot. Archive it is.

If you use Jim’s method, they show up in the list just the same. All unarchived conversations do.

Literally the absolute only difference is that, with Jim’s method, the message you want to say is displayed for all to see tacked onto the poster’s post, and there is a permanent record that their post was edited, typically for a rule violation. Without jim’s method, the user gets an introductory email that a moderator has something to say to them. Everything else between the two methods is the same.

Right now, just a few seconds ago I clicked on the message bubble at the top right and it's full of folk I don't know. Yes, I can click on them one by one and archive to clean it up but it's tedious. This is just another reason Jim's method looks like a nice alternative.

Keeps your connections from collecting extra what??? Whether an automated moderation message is sent, or your intro message is sent to kick off a conversation, they are both equally a new connection. One is confusing. The other is not. They both take the same number of clicks.

The API offers the ability to flag messages and conversations, as you’re suggesting. However, as the feature went underused for the past year, I didn’t build it into the new UI. Someone can still write a browser plugin to reincorporate it.

@Dani. Because Jim's method is superior since it keeps my connections from collecting extras. It's a great work around. If there was a way to edit my connections such as "just for DM", "Casual", "Business", and such then I could see using that but as it stands it's like the home page. No controls of filters.

Speaking of the home page, in two or more weeks of landing there just one time did I click on a card there. It's untapped potential to me. So out of over a hundred home page views I clicked on a card and the other times wondered at the picks and items it was showing.

I do not understand why you cannot just use the Meet button and then type your message??

No, no, no ... please do not do Rev Jim's suggestion. It is not great. It's confusing, at best. Insulting, at worst.

If I was a new member to a community, and I made a legit post, and then, when I ask for private communication with a staff member for a website support issue, instead their response was publicly tacked onto my post, I would firstly never visit the website again, and secondly find it highly insulting.

My longest life span product is in Visual Basic 6.0 SP6. With some minor tweaks I was able to keep it running on Windows 10. This app started back on Windows 95 so it's been in service for 23 years. Disparage this old horse all you want but it's getting up there in years.

Fortran and Cobol have seen app lifespans in the 40 plus years. (Oops, make that 50+ years.)

An example of concise - to create a deck of cards (each card consisting of a value and a suit) you can do

deck ← ⊂[1](52⍴'A23456789TJQK'),[0.5](13⍴'S'),(13⍴'H'),(13⍴'D'),(13⍴'C')

where (13⍴'S'),(13⍴'H'),(13⍴'D'),(13⍴'C') generates SSSSSSSSSSSSSHHHHHHHHHHHHHDDDDDDDDDDDDDCCCCCCCCCCCCC and 52⍴'A23456789TJQK' generates A23456789TJQKA23456789TJQKA23456789TJQKA23456789TJQK and ⊂[1] gives the result

AS  2S  3S  4S  5S  6S  7S  8S  9S  TS  JS  QS  KS  AH  2H  3H  4H  5H  6H  7H  8H  9H  TH  JH  QH  KH  AD  2D  3D  4D  5D  6D  7D  8D  9D  TD  JD  QD  KD  AC  2C  3C  4C  5C  6C  7C  8C  9C  TC  JC  QC  KC

Once you have deck you can shuffle it by deck ← deck[52?52] where 52?52 generates 52 unique random integers from 1-52.

Yes, you can produce obtuse code, but you can also easily produce very clear code that accomplishes a great deal in just a few keystrokes.

commented: wow +0


Pro: Extremely powerful syntax and rich set of primitive operators (80 or more) designed for mathematical manipulation.
Con: The epitome of write-once, read-never coding.

You can implement Conway's game of Life in one line. Powerful and concise syntax but I've never seen a language that approaches APLs ability to produce unreadable code.

rproffit I agree with you, we don't choose our tools (and the language is just a tool) when we work in a company that is not ours. But being a programmer demands not being tied in a language or even of a framework of it. The perspective changes when you know and understand different sets of tools. I don't "know" them 100% but I am in the journey

I will give my answer to that:

Strongest points:
PHP : It is the epitome of a web language. It is so programming paradigm agnostic that you can bend it in your needs.
Java: The more direct and simple approach I have ever seen in OOP. You can share your code without being afraid that reverse engineer will produce something readable that will make sense, in less time than what would take to write it.
JavaScript: It took me a while , but wow , now I can see how that the object prototype approach is great for a language so tided to events.
C++: I am extra cautious when I write C++ but it gives me the power of OOP in such low level that it worths it.

Weakest points:
PHP: Not seriously maintained. The all structure is fool of inconsistences. The approach is build in the case that you will run something for few seconds and then that will end in a “forgiving mode”.
Java: Try to use something common like ImageMagick with Java and you will understand that is ...

Another issue is the more you code in the commercial space the less choice you get on the language, the development environment and the process.

The bigger the app or design the more likely you don't have a choice about language, tools and methods. This may be the hardest to accept for the newest of programmers.

What this means is that you have to be flexible and learn on the go to be able to contribute to the project.

As you noticed by the title I didn't used the term “know” since I find it more ambiguous then “you can code in”. To keep answers short lets limit ourselves to five languages at most , have the same list for strongest and weakest points and mention those point in brief (one or two sentences). Who will go first ?

Huh.. Spammer ?

Post Edit reasons are public and everyone can see them.

It is still a much easier way to get a conversation going.

@Dani, that may be so but then my connections get polluted. Since I can't see how to control what's in my connections Reverend Jim's workaround looks great.

Keep in mind that Post Edit reasons are public and everyone can see them. So a post edit message about deleting an account can be kind of rude to tack onto the bottom of someone else’s post. It’s important to always use features the way they are designed. Hacks are sometimes less useful in the long run.

In the Dazah platform, every time there is a message to someone, that’s a connection with them.

I found a silly, but better way. A new member wanted his account deleted so I edited his request (without changing it) with the reason "You can delete your own account by going to your profile pages."

Of course it added the "This is an automated notification..." boilerplate but at least it avoided the "let's get acquainted" text. Sometimes you don't want to make a connection. Sometimes you just wanna send a message.

Before you reply "why didn't you just post that in the thread...", there is no guarantee that he would go to that thread and see it. With a PM he gets a popup the next time he goes to Daniweb.

commented: That is much better. I too thought it weird how the new system ended up. +0

Your considerations are what matters. You have reasons to use these so share why you used them over writing your own or choosing another library.

What are general considerations when choosing an open source library

Thanks pal i will try it out

This will be work but I'll share how I find the maker's remote part number for Samsung. A few ways.

  1. Put in the TV and for many models the remote is in there.
  2. Google it. The full model number which for Samsung is some letters, numbers followed by 4 or 5 letters and then "replacement remote."

There are websites that may have build up such a database but they usually don't share since it's their pot of gold.

Hello everyone its been a while, btw this fresh look its freaking awesome i love it! :)
So i got in mind an idea which i want to try it, selling remote controls for tv online. I need an list or something which i can find the TV model number by remote control number.
For example, this is remote control for samsung tv's
But not for all. How can i know for what exact tv models is for?
Sorry for my english i tried to explain best. xD

Thanks and keep it up Dani :))

And a fine way to instantly tank your app's adoption rate. Need proof? Do you know anyone with said phone from a Microsoft company?

Back in the days before Microsoft had not yet given up on their mobile operating system, there were a bunch of Android apps that made your Android smartphone or tablet look like a Windows device

As for bankers, their need to win the trust of their clients guarantees that they will act with honour and integrity. Unregulated capitalism is a 'superlatively moral system.

  • Alan Greenspan