Posts
 
Reputation
Joined
Last Seen
Ranked #43
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
96% Quality Score
Upvotes Received
476
Posts with Upvotes
319
Upvoting Members
85
Downvotes Received
10
Posts with Downvotes
10
Downvoting Members
7
127 Commented Posts
11 Endorsements
Ranked #154
Ranked #328
~366.83K People Reached
About Me

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
Favorite Tags
c++ x 256
java x 127
c x 85
php x 45

345 Posted Topics

Member Avatar for happygeek

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 …

Member Avatar for Liam91
6
2K
Member Avatar for Reverend Jim

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 …

Member Avatar for rproffitt
1
22K
Member Avatar for stephen_21

> 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 …

Member Avatar for nikitacod
0
304
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
1
6K
Member Avatar for samaru

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 …

Member Avatar for Fest3er
0
3K
Member Avatar for Reverend Jim

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 …

Member Avatar for Agilemind
0
2K
Member Avatar for sanket_6

> 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 …

Member Avatar for jmvazq
0
497
Member Avatar for ddanbe

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 …

Member Avatar for mike_2000_17
0
2K
Member Avatar for davy_yg

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 …

Member Avatar for Daniel_87
0
520
Member Avatar for happygeek

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 …

Member Avatar for agustina
3
630
Member Avatar for Peter_64

>With apologies to Monty Python. Imitation is the sincerest form of flattery. I doubt they mind.

Member Avatar for Sagar_12
0
337
Member Avatar for Daniel_84

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 …

Member Avatar for JamesCherrill
-1
1K
Member Avatar for Chahar

> 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 …

Member Avatar for kiruthi_1
-3
323
Member Avatar for happygeek

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 …

Member Avatar for happygeek
0
362
Member Avatar for rahaf_1

> 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 …

Member Avatar for AssertNull
0
415
Member Avatar for Owais_2

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) * …

Member Avatar for Owais_2
0
411
Member Avatar for Kemuel

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 …

Member Avatar for AssertNull
0
405
Member Avatar for JohnMcPherson

> 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 …

Member Avatar for JohnMcPherson
0
808
Member Avatar for munitjsr2

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 …

Member Avatar for AssertNull
0
3K
Member Avatar for Aakanksha_1
Re: dfs

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. …

Member Avatar for AssertNull
0
453
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
6K
Member Avatar for scheppy

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 …

Member Avatar for scheppy
0
4K
Member Avatar for patk570

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 …

Member Avatar for patk570
0
513
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
1
2K
Member Avatar for Raymond_12

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 …

Member Avatar for AssertNull
0
650
Member Avatar for scheppy

> 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 …

Member Avatar for scheppy
0
3K
Member Avatar for Stefce

> 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 …

Member Avatar for AssertNull
0
2K
Member Avatar for AssertNull

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?

Member Avatar for Reverend Jim
0
532
Member Avatar for Mady_1

> 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 …

Member Avatar for rproffitt
0
448
Member Avatar for John_165

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.

Member Avatar for rproffitt
0
1K
Member Avatar for John_165

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 …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Taufiq_1

>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 …

Member Avatar for rproffitt
0
360
Member Avatar for Mr.M

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 …

Member Avatar for Peeyoosh S Kammath
0
1K
Member Avatar for Mooyeon

> 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 …

Member Avatar for AssertNull
0
392
Member Avatar for Harish_8

> 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 …

Member Avatar for JamesCherrill
1
565
Member Avatar for overwraith

> 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 …

Member Avatar for rproffitt
0
298
Member Avatar for COKEDUDE

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 …

Member Avatar for AssertNull
0
408
Member Avatar for COKEDUDE

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 …

Member Avatar for AssertNull
0
422
Member Avatar for 小名

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. …

Member Avatar for 小名
0
1K
Member Avatar for AssertNull

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 …

Member Avatar for Dani
1
627
Member Avatar for sgw

> 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 …

Member Avatar for sgw
0
590
Member Avatar for UI

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 …

Member Avatar for tango_1
-2
3K
Member Avatar for gentlemedia

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 …

Member Avatar for rproffitt
4
432
Member Avatar for Daron_1

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, …

Member Avatar for AssertNull
0
459
Member Avatar for Aroon_1

> 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 …

Member Avatar for santhoshsocial
0
454
Member Avatar for mldardy

<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 …

Member Avatar for AssertNull
0
621
Member Avatar for yaldoo

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 …

Member Avatar for AssertNull
0
6K
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
0
406
Member Avatar for Kerri_1

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 …

Member Avatar for Joris Claassen
0
1K
Member Avatar for Reverend Jim

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 …

Member Avatar for diafol
1
502

The End.