-
Gave Reputation to diafol in How to implement simple security for Web API
>Besides, I'm a big fan of doing things right the first time so you won't have to go back and do them again later on. Yes indeed. -
Replied To a Post in How to implement simple security for Web API
Here's my simple answer. 1. Any client side script is open to explotation so you don't put any password tests there. 2. So all your security is on your server … -
Began Watching How to implement simple security for Web API
I typically ask my questions over on StackOverflow, however this one I know would immediately get voted down as requiring someone to give their opinion, heaven forbid! I'm hoping the … -
Gave Reputation to rubberman in java problem
You don't show the message in your post, so helping is difficult. Since a lot of system tools depend upon Java these days, it should be installed on your system. … -
Replied To a Post in Finding 1,2,3, in a user defined list
@Paul. I gave psuedo code. Let's see your line of code that resulted from that. -
Replied To a Post in java problem
I have a variety of tools to examine startup items. I don't know what you use but here's my usual. HIJACKTHIS. Be aware it's a power tool. Don't just go … -
Began Watching java problem
when I boot up my Win 7 machine, I get this annoying message, as far as I know I don't even have Java. I can't find it anywhere on my … -
Replied To a Post in Finding 1,2,3, in a user defined list
In psuedo code something like: `if 1 in B and 2 in B and 3 in B do something.` Looks like you need something like this one liner to test … -
Began Watching Finding 1,2,3, in a user defined list
Hi there Im doing a project at the moment and need to find the numbers 1,2 and 3 i(all) in any order entered by the user. A=[] B=[0,1,2,3,4] lengthOfList = … -
Replied To a Post in Syntax correctness
Both versions appear to fail this guide. http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-141388.html Now discounting that, if both work then good stuff. But the arguments about try/catch are legendary. https://www.google.com/search?q=should+java+use+try+catch My view? What are the … -
Began Watching Syntax correctness
Hi all would like to ask question about JPA syntax ,which of this 2 versions of code syntaticly better and safer? public static Prices getPriceById(int id){ EntityManager em = DBUtil.getEntityManagerFactory().createEntityManager(); … -
Replied To a Post in find the first appearance of a word and count its occurrence
This reads like a wheel. I took a google like https://www.google.com/search?q=shakespeare+full+indexed+in+python and found not only Shakespeare fully indexed but [Whoosh](https://pypi.python.org/pypi/Whoosh/). Everywhere I looked, the solutions were > 32 lines. But … -
Began Watching find the first appearance of a word and count its occurrence
I'm stuck on this problem for a day. Since no one responds my question on stack overflow, I hope somebody here may help. I'm trying to build a dictionary of … -
Gave Reputation to Reverend Jim in Windows 10 Can't access metered connection
I was checking out my settings to lead you through the steps when I noticed that the `Advanced` link on my wi-fi settings was missing. This is where you would … -
Replied To a Post in How do you get UserControl custom events to show up in Visual Studio's Prop
In app controls you made appear to be just like you noted (office is still using VS2008 for now so I can't test newer for a few months.) But I … -
Gave Reputation to happygeek in Generate JSON According to Drill Down Drill -Up Events6
> I need that drill down level 6 in these any of one example? Nope, still don't have a bloody clue as to what you want. Sorry. -
Replied To a Post in How do you get UserControl custom events to show up in Visual Studio's Prop
From memory this is an old complaint about VS2005 and VS2008. I will forego sharing any googles about it. Be sure to ask Microsoft to add this in the future. … -
Began Watching How do you get UserControl custom events to show up in Visual Studio's Prop
I've asked this on SO *AND* Reddit without so much as a peep...was hoping DW would turn up the answer! I have an ascx user control that has a custom … -
Replied To a Post in xslt
Take a moment to read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question Also you already have the output so your question is already answered by you. Maybe you had other XML files and needed an app … -
Began Watching xslt
Hi Yall, could anyone help me to make xslt transformation of the the **following xml input** <?xml version="1.0" encoding="utf-8"?> <lifeExpectancyTable> <lifeExpectancyRow> <country>Afghanistan</country> <male> <Y1990>42</Y1990> <Y2000>44</Y2000> <Y2009>47</Y2009> </male> <female> <Y1990>46</Y1990> <Y2000>48</Y2000> … -
Replied To a Post in Creating offline mobile app with real time notifications
I can't write your app for you but you could, in your app, have a "listener" for a message that the database has changed. If this was me I'd have … -
Replied To a Post in Creating offline mobile app with real time notifications
Then your app would send such messages as need be. I don't see the problem here. Unless you were expecting such an app to be off the shelf. -
Replied To a Post in Creating offline mobile app with real time notifications
You have to define offline here. By offline you mean no internet. It appears you have a LAN with WiFi so is that connected or not? -
Began Watching Creating offline mobile app with real time notifications
Hello everyone,I am having no experience in android or mobile app develpment but having some questions is it possible to have app which works offline without internet(devices can be connected … -
Replied To a Post in How to create Verticle Bargraph in Android?
@Aarav. While I'm sure there are progress bars in the basic API, you say you searched so let's go with scorched Earth here and not check the API. What is … -
Began Watching How to create Verticle Bargraph in Android?
Hi, As you all know that, Android is a mobile operating system based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets. While … -
Gave Reputation to Reverend Jim in FORTRAN: Can Program Execution Jump Sub-routine?
My mistake. Apparently Stephen G. Nash, "graduated in June 1982 from Stanford University, with a Ph.D. in Computer Science." -
Gave Reputation to JamesCherrill in caesar cipher in java source code complet
Do what you are supposed to do and write it yourself. Coming here and making rude demands is not the way to go. https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question -
Replied To a Post in Cannot connect to the Internet using IE or Chrome
@OP. That hijack is most likely it. I suggest you beef up your browser security. I use 2 things on most browsers. 1. Web Of Trust (it's out for most … -
Replied To a Post in Cannot connect to the Internet using IE or Chrome
@OP. Reinstalling browsers and most apps keep settings. This means a reinstall is not a reset in the case of say Chrome, Firefox and other apps. Good news to read … -
Replied To a Post in Cannot connect to the Internet using IE or Chrome
This sounds like the usual infection. You can try resetting the browsers (how is on the web) but I'd scan with the tools listed by Grif at this [link.](http://www.cnet.com/forums/discussions/how-to-remove-pup-option-603542/#post-f742c795-5881-433b-a29b-6d758efe5cd3) The … -
Began Watching Cannot connect to the Internet using IE or Chrome
I have a Toshiba Satellite L675 laptop running Windows 7 Home Premium. This evening, IE, Chrome or Mozilla would not connect to the Internet. I received a message saying : … -
Replied To a Post in Help! Reversed polarity
When I've seen this, the motherboard is usually toasted somewhere. The battery and charger are of course suspect but odds are motherboard first. -
Began Watching Help! Reversed polarity
Hi, I accidently reversed polarity on Asus X301. Now the laptop turns on with charger connected and battery inserted, but after several seconds it shuts down by itself, I power … -
Replied To a Post in Please assist why am i getting the error message
Take a moment to read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question After that, add your line 90 for folk to take a look at. -
Began Watching Please assist why am i getting the error message
Warning: mysql_affected_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Timetable\timetable.php on line 90 -
Gave Reputation to JamesCherrill in Dynamic Multidimensional Array Printing
Why re-invent the wheel? System.out.println(java.util.Arrays.deepToString(obj2)); -
Replied To a Post in Ionic linking with PHP and MySQL
I didn't look at Ionic but to merge the data from two systems I'd use a database to host the shared data. My choice over the years has been MySQL … -
Began Watching Ionic linking with PHP and MySQL
I am using the Ionic framwork for the mobile app and Bootstrap for the web app, this has been set by my University as what we have to use, so … -
Replied To a Post in PHP Notice: Only variables should be passed by reference in
My guess is that line 16 is fine and line 17 is the issue. Why not take the error/warning prima facie and use variables instead of strings in quotes? -
Began Watching PHP Notice: Only variables should be passed by reference in
Hi all im currently updating a script and repairing it after a page full or errors most ive done through searching but im stuck on this on if anyone can … -
Replied To a Post in any legal issues I might face by partnering for company registration?
Here's a similar reason I bailed on a company like that. I didn't tell them outright why but it was the company had ripoffs of almost every software they used. … -
Began Watching any legal issues I might face by partnering for company registration?
One of my close relative contacted me asking if I can do a 'Shore Interface'(used on ships for management) project for him in .net after that he started talking about … -
Gave Reputation to Reverend Jim in Couple questions about Assembly
>Doesn't "do this as best you can" add overhead? The people who write the tools (compilers, interpreters) generally know a lot more about optimization tricks than the rest of us. … -
Replied To a Post in Random picture
In your function it generates a (hopefully) random number. I noted you need to check that first. Have you? -
Replied To a Post in Random picture
Are you getting random numbers? You should System.out.println() that to see if that is the issue or something else. -
Began Watching Random picture
I am trying to generate a random image everytime someone clicks spin. I am not able to generate a random picture. Some help would be really nice. Thanks in advance. … -
Replied To a Post in Actual working method for checking integer
PHP has a function for checking that. http://php.net/manual/en/function.ctype-digit.php > Checks if all of the characters in the provided string, text, are numerical. -
Replied To a Post in Actual working method for checking integer
Line 4 is a string to me. If you cast it, it is what you cast it to. Which is proper. So code as presented works as expected. -
Began Watching Actual working method for checking integer
<?php $not_an_int = "sa';';';'sd12340asd"; $actual_int = "12341234"; var_dump(is_int((int)$not_an_int)); echo "<br />"; var_dump(is_int((int)$actual_int)); echo "<br />"; echo "<br />"; var_dump(is_int($not_an_int)); echo "<br />"; var_dump(is_int($actual_int)); ?> Returns: true true false false Without …
The End.