• Member Avatar for Traevel
    Traevel

    Replied To a Post in cant Prevent Duplicate id values from entering my tables

    I think the code of how you are creating the `sec_id`'s would be more helpful because this seems to be a checking method only. One that keeps running until there …
  • Member Avatar for Traevel
    Traevel

    Began Watching cant Prevent Duplicate id values from entering my tables

    SO Basically i have this problem with this test build of a little project im rewriting and so far its not looking to good I have multiple tables that are …
  • Member Avatar for Traevel
    Traevel

    Created Content extraction using Apache Tika

    #Tutorial - Content extraction using Apache Tika From the official website: > The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such …
  • Member Avatar for Traevel
    Traevel

    Began Watching Content extraction using Apache Tika

    #Tutorial - Content extraction using Apache Tika From the official website: > The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in So what's next?

    I figured I'd put my money where my mouth is (I think that's the expression anyway). So I wrote a tutorial that I'll post in a second as an article. …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Onclick is only working once... Please help

    Hi, In JavaScript a single `=` is used to **assign** a value and a double `==` is used to **check** a value. Also the term `then` can be removed entirely. …
  • Member Avatar for Traevel
    Traevel

    Began Watching Onclick is only working once... Please help

    <!DOCTYPE html> <head> <title>Traffic Light Sequence</title> </head> <body> <script> function Light(){ if (document.getElementById("Img").src ="Stop-Amber.png"){ then document.getElementById("Img").src = "Stop.png" } else if (document.getElementById("Img").src ="Go.png"){ then document.getElementById("Img").src = "Stop-Amber.png" } else if(document.getElementById("Img").src …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in So what's next?

    The post below is meant as feedback, not critique. I know DaniWeb always had more than just questions and answers, but I've always believed it's been an underexposed element. So …
  • Member Avatar for Traevel
    Traevel

    Began Watching So what's next?

    As I've been saying, especially recently, google hates forums, and we're not going to survive unless we do one of two things: 1. Be a community of people regularly engaging …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in database connection

    Well, without knowing anything about the webpage or the language it's written in there's not much anyone can do to help. If you want to know how to connect MySQL …
  • Member Avatar for Traevel
    Traevel

    Began Watching database connection

    i have create a webpage using visual studio 2017. now how could i link this to database that i have created in mysql.?
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Background image not on WP home page

    I believe that's what I mentioned could happen. And because you only posted that one line of css, and nothing regarding the structure/location of the files this will always remain …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Background image not on WP home page

    Not very familiar with WordPress, but if the homepage is in the same directory as `wp-content` the two dots in the url will make it go up a directory and …
  • Member Avatar for Traevel
    Traevel

    Began Watching Background image not on WP home page

    Hello, in a style css I have a reference to a horizontal rule background image: background: url(../wp-content/plugins/hrticulate/assets/hrs/hr-bluetooth-saw.png) repeat-x 0 0; no matter what theme I turn on (even the default …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Fullscreen editor

    > Traavel, even when there are multiple misspelled words, even on the same line? This is how it looks on my end in Firefox 51.01 (64-bit) > [webm](https://gfycat.com/DangerousRectangularApe) It does …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Fullscreen editor

    > Aren't you noticing that the red swiggly under a word comes and leaves based on the position of the cursor? It's staying the same here, regardless of position. The …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in How to play multiple video using html5

    Sorry, I messed up in my answer. It should be `index = videoList.length - 1` (d'oh!). If there are four items the first one is `videoList[0]` and the fourth one …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Fullscreen editor

    > Our editor is not actually an HTML 5 textarea, which is why you are unable to make use of the browser's built-in spellchecker. The spellchecker would work if the …
  • Member Avatar for Traevel
    Traevel

    Gave Reputation to AssertNull in Fetch the data from Other website

    > C'mon experts! What's keeping you? Sorry. I was busy doing someone else's work for free. I'm here now, chomping at the bit at the opportunity to do even more …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in website template

    > the middle column needs to be adaptable to move By "move", do you mean change width responsively? That's pretty much the default behavior when you use columns. If you …
  • Member Avatar for Traevel
    Traevel

    Began Watching website template

    hey everyone, I am looking for a website template that is mobile responsive, with a header and 3 columns. in the left and right column there will be 3 items …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in TinyMCE change text size

    You have two `toolbar` arguments. The second one overrides your first and only the first one has `fontsizeselect`. Merge both into one and it should work.
  • Member Avatar for Traevel
    Traevel

    Began Watching TinyMCE change text size

    Hello, I Have this website and I am trying to make the footprint smaller in text size. How to do so? http://gsa-constructionspecialist.com/home/vision-mission https://www.tinymce.com/docs/configure/content-formatting/#fontsize_formats This is the fontsize_formats in tiny mce. …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Fullscreen editor

    It's been a while since my last login, so I'm not sure if this is related but the editor is no longer picked up by the spellchecker (Firefox 51.0.1). It …
  • Member Avatar for Traevel
    Traevel

    Began Watching Fullscreen editor

    DaniWeb's editor now has a fullscreen mode. Click the icon in the editor toolbar (or press F11) to enter fullscreen mode. ESC and F11 will both exit fullscreen.
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in ASP.NET MVC prerequisite

    When in doubt, the official tutorials are usually a good place to start learning. [Getting started with ASP.NET Core MVC](https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/start-mvc) As far as prerequisites go it depends on your own …
  • Member Avatar for Traevel
    Traevel

    Began Watching ASP.NET MVC prerequisite

    What are the ASP.NET MVC prerequisite?
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in How to play multiple video using html5

    You're doing a check for when the video index is equal to the length of the video instead of when it's going negative. index = index - 1; if(index==videoList.length) index …
  • Member Avatar for Traevel
    Traevel

    Began Watching How to play multiple video using html5

    https://www.daniweb.com/digital-media/ui-ux-design/threads/462158/how-to-play-multiple-video-using-html5 How is the back button done. I have tried a few videos like this (function prevButton() myVideo.pause(); myVideo.currentTime=0; index = index - 1; if(index==videoList.length) index = 0; alert(videoList[index]); myVideo.src …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Javascript generate on many form textarea

    You can do it in vanilla JavaScript if you want. There is a `getElementsByClassName` function, similar to the familiar `getElementById`, that returns an array of the elements with that class …
  • Member Avatar for Traevel
    Traevel

    Began Watching Javascript generate on many form textarea

    I am starting a project that has been managed using a spreadsheet until now but needs to be converted to a mysql/php application. The amount of rows in the spreadsheet …
  • Member Avatar for Traevel
    Traevel

    Gave Reputation to ddanbe in HOW DO I MAKE A FACE RECORGNITION PROGRAM

    Neural network are (see also article by rubberman) IMO becoming booming business in the recognition of images, so you might study that as well.
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in HOW DO I MAKE A FACE RECORGNITION PROGRAM

    If you just want to mess around with simple image recognition (i.e. silhouets or colors) there are some frameworks you can use. [Neuroph](http://neuroph.sourceforge.net/index.html) (note that is meant for use with …
  • Member Avatar for Traevel
    Traevel

    Began Watching HOW DO I MAKE A FACE RECORGNITION PROGRAM

    Where do I start creating a face recognition program? I am a beginner in the programing world who only knows little about c++. What do need to consider or what …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Simple Example of a Genetic Algorithm

    That's true. I didn't mean to crack down on your script or anything, it was just something I noticed. Dawkins is a classic. I can also strongly recommend *The Computational …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Belated alert

    No that's why I was surprised to see it in my alerts. I think it has been 6 months. Had a little hickup logging back in with the new system, …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Simple Example of a Genetic Algorithm

    > Unfortunately, most of the articles and examples I came across involved far too much tech speak and math for a brain long removed from theoretical mathematics. I relate to …
  • Member Avatar for Traevel
    Traevel

    Began Watching Simple Example of a Genetic Algorithm

    A while back I came across an article that mentioned genetic algorithms. For those unfamiliar with the term, simply put, rather than finding a solution to a problem by iterating …
  • Member Avatar for Traevel
    Traevel

    Created Belated alert

    I know I'm not the most regular user around, but I don't think I can make this in time. ![message.png](/attachments/large/2/f7c8649b77ab728b0c145056a64a4a83.png "align-center") Anyways, I love the changes, keep it up!
  • Member Avatar for Traevel
    Traevel

    Began Watching Belated alert

    I know I'm not the most regular user around, but I don't think I can make this in time. ![message.png](/attachments/large/2/f7c8649b77ab728b0c145056a64a4a83.png "align-center") Anyways, I love the changes, keep it up!
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Why "if" statement isn't treated?

    Almost everything you do is inside the if statement. Your statement `stmt = c.createStatement(); ` will produce a null pointer, because all you did was `Connection c ; `. If …
  • Member Avatar for Traevel
    Traevel

    Began Watching Why "if" statement isn't treated?

    My program was working fine until i introduced the if statement, without this "if" there are (java.lang.NullPointerException) errors . What shall i do? Thank you in advance . Here is …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Why "if" statement isn't treated?

    Setting `c` to `null` wont fix your issue. You need to create a connection by using a `DriverManager` or a `DataSource` for instance. [Establishing a Connection](https://docs.oracle.com/javase/tutorial/jdbc/basics/connecting.html)
  • Member Avatar for Traevel
    Traevel

    Began Watching Need a basic java database application for reference in designing my projec

    Hi, i am working on a database application in java and converting it from console to GUI, to do so i am using ucanacces driver and connecting it to my …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Need a basic java database application for reference in designing my projec

    From the UCanAccess [Sourceforge](http://ucanaccess.sourceforge.net/site.html) page: > The distribution comes with both a number of Junit Test Cases (package net.ucanaccess.test) and a simple java example class (net.ucanaccess.example.Example) which illustrate how UCanAccess …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Javascript charCode unicode not fixed

    > The engine is repl.it > Is there a better engine. That one uses the same one as Firefox (SpiderMonkey), Node.js uses the one Chrome does (V8). You can even …
  • Member Avatar for Traevel
    Traevel

    Began Watching Javascript charCode unicode not fixed

    Hello I try to learn the String.charCodeAt(index) method Here is a snippet that demonstrate that the first index is allways 48 independentely of the character. How work's it (I was …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Javascript charCode unicode not fixed

    function unicoding(str) { for (i = 0; i < str.length; i ++) { console.log(String.charCodeAt(i)) } return str; } You're not using the `str` variable but `String`, which *should* give you …
  • Member Avatar for Traevel
    Traevel

    Began Watching complexity optimazation

    anyone can give me an advice for improving this piece code, it give me a complexity of score of 10. There is something telling in back of my mind that …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in complexity optimazation

    Well, to reduce the complexity of this method you'll have to reduce the number of if-else statements. You could extract them to separate methods like `isNull(object)`, `isNumber(object)` and `isDecimal(object)`. Also …

The End.