- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 476
- Posts with Upvotes
- 319
- Upvoting Members
- 85
- Downvotes Received
- 10
- Posts with Downvotes
- 10
- Downvoting Members
- 7
Software engineer specializing in Embedded Systems / Smart Home / Microcontroller. I've been away from the game for quite a while, so I've gotten very rusty. I am trying to rejoin the field programming Smart Phones, which is a brand new field for me.…
- Interests
- Hi World
345 Posted Topics
Re: I had a very interesting conversation with some folks several years back. A friend and I were being recruited to join a startup VPN company. I know little about VPN and I didn't join the company, but a huge part of the conversation was the liability aspect as opposed to … | |
Re: Well there are a variety of reasons. I'm certainly no Trump fan and I'm one of those people who thought he would fizzle out fast, so I was wrong before and I'll admit it. But hey, we were pretty much all wrong, weren't we? I can't think of a single … | |
Re: > They don't help SEO or such any longer They actually help for spammers sometimes by keywords taking google hits AWAY from actual content. An example. Type this into google. I did... "Just a lone patriot acting alone at a fulcrum point" site:socnet.com It's a forum that I read. The … | |
Re: This won't stop with Great Britain. Brexit passing is going to spur lots of other nascent and not-so-nascent separatist movements. In the US, Texas, Alaska, and New Hampshire have flirted with seceding, and people have flirted with splitting California in two. I don't think any of these have a chance … | |
Re: Hardest programs for me have NEVER been hard because of technical/coding issues. It's been the interpersonal component every time in a variety of ways (unreasonable timeline, unreasonable spec, people not knowing what they want, people not knowing what was possible and just saying "get it done" without defining "it" or … | |
Re: We had a self-driving car thread a while back that touched upon the ideas that driving involved making moral and value decisions and the psychology of predicting accidents by behavior as well as the obvious mechanical/technical decision making process. Let me throw a similar scenario out there... Already, today, we … | |
Re: > kudos to anone who gets the reference No kudos for me then. Googling in 3-2-1... Found it. The bad link detector code has been yielding a lot of false positives. Your link is fine, RProffitt. Didn't know there was such a thing as a "Bachelor of Science in Visual … | |
Re: The ethical considerations regarding "If the AI can avoid a fatal collision involving its own car only by causing a 20 car pileup of other cars, should it do so or should it sacrifice itself and its passengers?" are important and interesting and, like almost all ethical considerations, probably has … | |
Re: If you can create a clickable link to a webpage, it doesn't take too much more effort to create a clickable link to a certain part of that webpage. Google "html anchor" for more info. If you can create a clickable link that takes the user where they want to … | |
Re: How about Number 6: Sponsored "news", "matchings", and "research" will grow in 2018 to the point where there's more of it than the real thing and it reaches critical mass. This will include all measurements of popularity, likes, polling, etc. EVERYTHING will be ads of one type or another and … | |
Re: >With apologies to Monty Python. Imitation is the sincerest form of flattery. I doubt they mind. | |
Re: If I'm the compiler, I look at that line and I look here... https://docs.oracle.com/javase/8/docs/api/java/util/Random.html and I look for a function called `Next` and I don't find anything by that name so I don't even bother looking at the `(1,11)` parameters. If I'm a HUMAN trying to compile it, I throw … | |
Re: > I guess it's time then to loosen up these rules Time to make them visible too. I thought there was unanimous consent that there needs to be a link to the rules on the front page. I had to google them. Makes it easy for someone to pretend they … | |
Re: Out of curiosity, how did they pick which six nations would be the "Six Nations"? I'm also seeing Ireland, Wales, England, and Scotland. Is NORTHERN Ireland involved at all? If so, since there is no "Northern Ireland" team, do they play as part of the England team or the Ireland … | |
Re: > i did everything right but it doesn't work Not trying to nitpick, but this is a contradiction in terms. I point this out not to be a smart-aleck, but to point out that this isn't the mindset you should be in when debugging. If you are debugging and positive … | |
Re: Beware integer by integer division. The result is the FLOOR of that division. Thus 80 divided by 100 is 0, not 0.80. That's because an integer divided by an integer is an INTEGER, not a double. Thus this line (assuming Fexam equals 80)... double Final = (Fexam / 100) * … | |
Re: This type of post is getting to be standard on this site. If there is a point to it, we're left to guess what that point is. It's annoying. I see it tagged with "Visual Basic 6", which I know next to nothing about EXCEPT that Microsoft told everyone not … | |
Re: > I am in the process of converting C code for a lot states from a 32-bit system to a 64-bit system I don't see a single line in there that would work in 32 bit C and not work in 64 bit C. I question whether you've truly isolated … | |
Re: Well, what seems to be the problem? I ran your program after taking out the conio.h stuff since I see no need for it here plus I'm not good at debugging it. I prefer a plain old console program here. As the user, I want to be able to enter … | |
Re: Also, there are TWO code dumps by TWO different users in TWO different languages in one thread, with no explanation from either user. Is this the same user with two different accounts? Who knows? The first post has more than one bracket mismatch. The second one has a memory leak. … | |
Re: You could fit what I know about HTML5 in a test tube and have plenty of space left over, so I have nothing useful to say on that tag. BUT... I know something about your other three tags so I'll chime in anyway. Yes, your question is confusing. At least … | |
Re: Think more in terms of "intersecting", "overlapping", and "touching" rather than "colliding". Similar concepts but the math is easier if you think in terms of two shapes' PRESENT states (the terms I've used) as opposed to "colliding", which requires more thinking in terms of PAST states and motion. Make it … | |
Re: Hard-coding the raw data into a td element in the PHP code seems like a really bad idea. Generally you have a database or a text file or an XML file or something and PHP reads from that. Now the company is stuck with only the programmer of that particular … | |
Re: Syntax seems fine. However I assume that you created and populated the tables in the following order? 1. offices 2. employees 3. customers employees has a foreign key constraint in offices, so offices must be created before employees. customers has a foreign key constraint in employees, so employees must be … | |
Re: My general advice for anyone trying to get a job without the "relevant experience" is that you need to make sure that you make up for that deficit by making your NON-relevant experience relevant. If rproffitt is correct regarding the job, you can "fake it till you make it" once … | |
Re: > I did find that running the model calculations in integers doesn't work well, especially when things are moving slowly. I use doubles for the model and just round to int when drawing the objects Agree. I never use integers for this kind of thing. Too much round-off error. More … | |
Re: > The only thing I worry about here is someone thinking that what you asked for would fit in your hat or pocket. We're not that small yet. Are you sure? Does a 3 ounce real-life James Bond anti-surveillance device not exist? Real question and perhaps unanswerable. > This is … | |
I just posted something and had to go through the "Click the photos with street signs" test before my post was accepted. I was logged in. I don't remember ever doing this before here. Is this new? Is DW getting attacked with bots all of a sudden? | |
Re: > Is there a question? Guessing it was intended as a tutorial or a code sample and the OP didn't flag it as such. Just a guess since the OP doesn't say so explicitly other than in the title, which is insufficient in my view. OP, don't be afraid to … | |
Re: Not sure where 21 came from. I get 10 as well. Which is wrong, yes? >find the smallest integer n such that n^3 is greater than 1000 10 to the 3rd power EQUALS 1000. It is not GREATER THAN 1000. | |
Re: From the OP... > divisible by 3 and 4 From RJ... >divisible by **both** 3 and 4. I mentally stuck the word "both" in there like RJ did, but I believe there could be other interpretations of the problem as well. You clearly are misunderstanding the problem. What I don't … | |
Re: >It also doesn't look to be for many versions of Windows today. I ran this program as an Administrator... #include <cstdlib> using namespace std; int main() { system("net user /add AssertNull abcd1234"); return 0; } And I see a new user called AssertNull on my computer. I haven't logged in … | |
Re: What you describe could be one of many different types of projects, each with a drastically different approach. For instance, the NSA has certain words, accents, and voiceprints that it wants to detect in the trillions of conversations it has stored. It's an inexact science and they need efficient algorithms … | |
Re: > But in the end, flowing off the end of a **non-void** function still is undefined behavior. Correct. But is that relevant here in a **void** function like th OP's `split` function? void split() To the OP, a comment or two in the code would be helpful. In particular, I … | |
Re: > As in waste your teacher's time by not bothering to learn Spot-on post James, except possibly for this part. Consider the headers... #include<iostream.h> #include<conio.h> #include<string.h> No comment on conio.h since I'm not familiar with it and whether it has been completely phased out, but the other two in a … | |
Re: > So how will you deal with time without going mad? You pick ONE time zone and ONE method of dealing with time and everyone involved follows it. That, of course, requires cooperation and/or someone being in charge with the power and authority to tell everyone how it's going to … | |
Re: Seems like the answer to this question is "It depends", as it is with lots of questions. Linked list versus array? It depends. Move thousands of bytes of memory versus a new array and a big deep copy versus some clever pointer manipulation versus... It depends. On a lot of … | |
Re: The code seems clear to me. How C interprets the code seems clear to me. I (think I) understand what the OP's results are when experimenting with the code. I for one would not expect the two code snippets to act identically since I expect mysql_fetch_row to change things every … | |
Re: Also consider your uninitializaed variable sum on line 9. You should initialize it to something. I assume you want it initialized to 0. But right now you are incrementing an uninitialized variable on line 12, so you could get jibberish. Don't assume that the compiler will initialize it to 0. … | |
Is cross-posting against the rules? I believe it is not. I also believe that everyone here agrees with me that it's rude behavior. This thread, among others, causes me to believe this. https://www.daniweb.com/community-center/threads/510095/need-help Is anyone who answers questions NOT annoyed to answer a question, then find out that the verbatim … | |
Re: > There's a much-discussed variant of your problem in which various x++, ++x and x values are used as parameters in a function call which **suffers** from the same **problem**. I know it's hard, but try to understand that this is a feature, not a bug. They didn't miss this … | |
Re: I read the Self-Driving Car thread and a few of Happy Geek's threads and decided it was time to try this place out again. It has some good content. I still think it has some potential, but Dani is going to have to pivot in one direction or another. The … | |
Re: Allowing veteran posters with good rep to have sigs advertising their forum-relevant skills or business is a good thing I think. I've chosen not to have a signature, but if I linked a computer programming website, people who feel I've demonstrated competence in my posts here might choose to visit … | |
Re: public Student(name, ID, GPA){ this.name= name; this.id= ID; this.gpa=GPA; } This doesn't compile. Learn to crawl before trying to walk. Java requires you to explicitly declare the types of parameters passed to functions. Learn this before worrying about the more advanced topics like what classes should extend what other classes, … | |
Re: > I read what looks like your other post at https://www.daniweb.com/digital-media/digital-marketing/search-engine-strategies/threads/506136/seeking-seo-advice#post2210328 > > Are you not already doing this? Or are you a shill setting up to spam your services? It is odd. You answer someone else's question on SEO Optimization giving details and putting effort into the topic and … | |
Re: <PackageTrackingInfo> <TrackingNumber>123456789</TrackingNumber> <PackageDestinationLocation> <City>Seattle</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </PackageDestinationLocation> <PackageDeliveryDate> <ScheduledDeliveryDate>2004-09-15</ScheduledDeliveryDate> Your XML is malformed. There is no `</PackageDeliveryDate>` or `</PackageTrackingInfo>` end tag. I assume it's supposed to be this... <PackageTrackingInfo> <TrackingNumber>123456789</TrackingNumber> <PackageDestinationLocation> <City>Seattle</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </PackageDestinationLocation> <PackageDeliveryDate> <ScheduledDeliveryDate>2004-09-15</ScheduledDeliveryDate> </PackageDeliveryDate> </PackageTrackingInfo> You have a line checking to see where there … | |
Re: A positive integer >= 2 is prime if and only if it has no prime factors less than or equal to its square root. This is the same in C or R or Java or any other language. DDanbe provided the C code, which I already knew, so I figured … | |
Re: Americans often refuse to attempt to correctly pronounce multi-syllable hard-to-pronounce "foreign" names. Take my family. Way back when at Ellis Island, my ancestors, the Burufskys (very possibly misspelled as no one in my family KNOWS how to spell it or pronounce it) arrived and the (I assume Irish) guy checking … | |
Re: Lines 33 and 40. I see you Bitwise Anding with constants DT_DIR and DT_REG, which are 16 and 0 respectively. Are you sure you want to Bitwise And instead of using the == sign? I'm thinking particularly of Bitwise Anding with DT_REG, which is 0, which means anything Bitwise Anded … | |
Re: Interestingly enough this just happened to me writing my own C++ code using CodeBlocks where a triangle moves around a GUI using OpenGL. I had a bug/Segmentation Fault, so it crashed, then gave that message, looked for a few seconds, then it went away. Since it's my code and my … ![]() |
The End.