jwenting 1,905 duckman Team Colleague

Not just that, but spamming it on an unrelated 8 year old forum post reeks of bad intentions or at the very least poor judgment.

jwenting 1,905 duckman Team Colleague

12:30 am here. I spent 40 minutes on the treadmill at 11. Plopped myself down on the couch for a little bit, washed up, and now I'm here on my computer

And there's the problem. You go straight from strenuous physical (or mental, just as bad) activity to laying in bed trying hard to sleep.
The body and mind don't work like that, they need time to unwind.

Sit on the couch with some light reading, preferably with some soft music and muted light, for half an hour or so.
No food or drinks in that period, allow your body and mind to slow down.

THEN go to bed, maybe read a few pages more, and turn off the light.
Don't squeeze those eyes shut and think so hard about why the heck you're not falling asleep, as that's probably the very reason you're not falling asleep. Allow your mind to wander and slow down as well as your body, and you'll eventually drift off to sleep.

First period it will take a while, but after some time it'll go a lot quicker.

Turning your alarm clock around so you're not constantly reminded of the time can help as well. The darn thing will go off in the morning to tell you it's time to get out of bed, that's the only time you really need it :)

jwenting 1,905 duckman Team Colleague

Do you really think it's useful to tag your "gif mi zuh koduz" request to the end of a thread that's been dead for 7 years, rather than doing your own homework?

jwenting 1,905 duckman Team Colleague

tea, earl grey, hot

Reverend Jim commented: Make it so. +14
rproffitt commented: Engage. +12
jwenting 1,905 duckman Team Colleague

ah, doublespace. Loved that software. It was doublespace.bin, and would create doublespace.000, 001, etc. as needed as well.

The slowdown wasn't noticeable as machines back then were so slow the disk wasn't the performance bottleneck it is today.

From personal experience: if a drive fails with hardware errors, don't put a new drive on the connector without first having the disk controller analysed for errors.
Got kinda expensive in dead drives one time before it crossed my mind that maybe the disk controller was causing the drives to fail :)

jwenting 1,905 duckman Team Colleague

The question isn't so much "will it happen" as "will people trust them".

Right now several companies are experimenting with self driving road vehicles, most of them based on small to medium sized cars, and they are performing reasonably well under good and predictable conditions.
But that's the problem, once conditions deteriorate and become more chaotic, the software that governs those vehicles tends to not deal with the problem nearly as well as the human brain.

Which is something that aircraft manufacturers have known for decades, which is why we don't have self flying airliners, but by law each and every one of them requires at least a 2 man crew that has to be trained to extremelyn rigorous standards.

This boils down to self driving cars doing well on the open highway, especially outside of rush hour, but down in the busy city streets their software pretty much gives up.

jwenting 1,905 duckman Team Colleague

well, it's a bit of both. Many of us gave up wading through the platitude of "do my homework for me" questions to find the few worth answering and stopped answering altogether.
We come back once in a while to see if things improve though.

There has to be a balance, a way to educate the homework kiddos as to why they should do their own homework and ask meaningful questions about details rather than dump their entire assignments and wait until someone gives them a prechewed cookie cutter solution they can hand in to their teachers as their own...

jwenting 1,905 duckman Team Colleague

can u solve it in oracle plsql method

yes. Question is, can you?

jwenting 1,905 duckman Team Colleague

Why would people PAY for the privilege to help other people? And, even more so, why would they try to outbid each other to pay for the privilege to spend their free time helping others?

That'd only work if the people you want to "answer" questions are spammers and other nefarious types who make money from the "answer".
Which'd inevitably lead to "answers" becoming little more than links to shady websites.

Having people pay to post questions might be a somewhat better idea as it'd at least get rid of most of the "do my homework for me and do it now because I'm more important than all of you combined and all your jobs" type of questions, but it'd also make the site utterly irrelevant for actual real questions as there are free sites like StackOverflow out there already.

Yes, this is something we definitely struggle with.

Nah, we struggle getting to ask meaningful questions, rather than just copy-pasting their homework assignments.

jwenting 1,905 duckman Team Colleague

I seriously doubt you can do this. In fact I sincerely hope you can't, because it'd be extremely easy to write spambots that way, lurking on some innocent looking website that use the gmail account of the person visiting the site to send thousands of phishing emails or other mallicious emails per second.

happygeek commented: what he said! +0
jwenting 1,905 duckman Team Colleague

Way too broad. What level developer? Development is far more than just knowing the syntax of a language (or many languages, hardly anyone works exclusively in a single language).

There's design, architecture, performance, domain knowledge, database administration, testing, and yes, some sysadmin and management skills.
As a senior dev I spend as much time analysing problems, talking with customers and suppliers, and discussing ideas and plans with team members and managers as I do actually programming and testing the system I'm working on.

jwenting 1,905 duckman Team Colleague

by learning the language.

jwenting 1,905 duckman Team Colleague

Correct. If you're not already running on an HTTPS (or FTPS or SSH) connection where the encyption is handled for you, don't even bother trying to implement anything yourself because you've failed already.
And if you do, you've covered all your bases, any risks are now procedural rather than technical (though you could add some extra security by requiring client side SSL certificates to be shared with the server).

rproffitt commented: Now in stereo. +11
jwenting 1,905 duckman Team Colleague

Correct. If you're not already running on an HTTPS (or FTPS or SSH) connection where the encyption is handled for you, don't even bother trying to implement anything yourself because you've failed already.
And if you do, you've covered all your bases, any risks are now procedural rather than technical (though you could add some extra security by requiring client side SSL certificates to be shared with the server).

jwenting 1,905 duckman Team Colleague

the day Alexa disappears with their spyware, malware, and other nasties is a day of joy for the entire internet.

jwenting 1,905 duckman Team Colleague
        if((number % 2) == 0) { // remainder function
            int even;
        } else {
            int odd;
        }

makes no sense anyway...

You probably want

        (number%2==0)?even++:odd++;
ddanbe commented: Indeed +15
jwenting 1,905 duckman Team Colleague

Not knowing what AV product you're using, I'd trust their software more than the "support" department of some piece of software I don't know.

While virus scanners are known to sometimes produce false positives, they do so less often than criminals setting up companies in order to distribute malware that looks legitimate.

jwenting 1,905 duckman Team Colleague

or, much better, ask the people maintaining those sites if they have something like an RSS feed you can get access to and get the data right there in text, uncluttered by tons of advertising, javascript, menus, headers, etc. etc., and of course with their full blessing and no risk of having your script suddenly fail because someone changed the layout of their pages.

jwenting 1,905 duckman Team Colleague

any browser worth its name will throw a hissy fit if you have a page where some components are secured and others are not, which is inevitable if you decide to secure only some pages and not others (unless you plan to also keep copies of all your stylesheets, javascript, and graphics in both secured and unsecured locations, which you shouldn't).

No, secure everything or secure nothing.

rproffitt commented: Spot on. +6
jwenting 1,905 duckman Team Colleague

There is no 'official linux'. Rather, as you've found out, there are hundreds of different variations, each of which is linux.

Which of the platitude of options you choose would depend in large part on what you're going to want to use it for.

rproffitt commented: More distros than jellybean flavors. +6
jwenting 1,905 duckman Team Colleague

Main problem is that there's no penalty for dumping your homework assignments here verbatim. On StackOverflow if you do that the entire thread gets removed, and your account gets locked from posting anything for a period of time (especially if you do it repeatedly).
Daniweb needs something like that.

Of course Dani doesn't seem to be aiming at professionals (though there are certainly some here, myself included) so much as students and schoolkids, and among those the ones most likely to want to get help in an online forum are the ones least likely to be inclined to do their own research...
If they were inclined to do their own research they'd rapidly find the answers to their problems as those tend to be fairly basic and easily handled by even basic tutorials and documentation (and usually their course material...).

rproffitt commented: That works for me. +0
overwraith commented: There should probably be a kick ban feature for people who only post one sentance and no code, would need human interaction of course. IDK. +0
jwenting 1,905 duckman Team Colleague

there are places called "libraries" where they have many books to read. There are also places called "bookstores" where you can buy books to read.
I suggest you visit some of them...

jwenting 1,905 duckman Team Colleague

never needed HP support myself, but heard many horror stories about them (unless you're a big corporate account, in which case you pay a lot of money for premium support and that's good).
Their computers tend to be somewhat lower quality than Dell (though remember that both brands have a wide range of quality and performance options, you really do get what you're paying for with both of them).

jwenting 1,905 duckman Team Colleague

you've never seen one because making one in VB6 is the worst idea you could ever come across.

Terrible security features, vulnerable to just about any hacking strategy known to man and then some, outdated and out of support before online banking even existed.

Leave real programs to real professionals, using real tools.
But do start using real tools, and ditch 20 year old stuff.

jwenting 1,905 duckman Team Colleague

I think he's trying to spam. All his posts are seemingly random phrases posted to seemingly random forums.

jwenting 1,905 duckman Team Colleague

Windows 10 is fine. Use it on 5 PCs and my phone. Edge could use some more functionality, true, but it's extremely fast and light weight, making it very good for just browsing especially on resource starved systems where firefox or chrome are just too heavy, take up too much RAM and too many CPU cycles.

jwenting 1,905 duckman Team Colleague

even better, put it all inside a method and just call that in your loop. Much easier to read...

jwenting 1,905 duckman Team Colleague

Android Studio is the fastest IDE around. You can of course do things the hard way and write all your code in a text editor like VI or Notepad and then use commandline compilers.

Most likely if it's slow on your machine there's something else wrong with your machine.
I'm running the same IDE (IntelliJ) on my laptop air which has similar hardware specs and it's blazing fast.

jwenting 1,905 duckman Team Colleague

Typically, you'd just have a method in the main class that does that stuff, or in a class where you launch it from the main class. A single entry in a properties file can then be used to determine whether that initialisation method runs or not.

jwenting 1,905 duckman Team Colleague

My thought about all those products is that they're utterly useless.
Were I to steal such a device the first thing I'd do is turn off all network options.
Then I'd go somewhere safe and hard force it to reset to factory defaults.
The first step would make the tracking software irrelevant/useless.
The second step would remove it.

jwenting 1,905 duckman Team Colleague

and realise that there are more things out there than php and mysql, things that often are a far better option.
Things like JSF/JEE and Oracle.

diafol commented: Agreed. Sorry jw +15
jwenting 1,905 duckman Team Colleague

a bolt cutter and a big bucket of superglue to cut off the spammer's computers from the internet and then glue the door to his room shut with him inside.

Salem commented: Best answer +16
jwenting 1,905 duckman Team Colleague

correct. The problem statetement merely tells to solve the problem, not how to solve it :)
And for this kind of thing a spreadsheet is the easiest way to go, it's exactly what spreadsheets were designed to do...

jwenting 1,905 duckman Team Colleague

you NEVER debug production code.
Rather you analyse the log files (those should of course exist and be designed to have useful information), then try to recreate the scenario on another machine (which should be as close to the production environment in all respects as you can get it, including data, ideally a mirror image).
THERE you can attach a debugger.

overwraith commented: Good idea, but I don't think there was actually much logging. +3
jwenting 1,905 duckman Team Colleague

did it? If the chicken came out of an egg that wasn't a chicken egg, how could it have been a chicken :)

rubberman commented: Ok. Voting up, but this is silly! +13
jwenting 1,905 duckman Team Colleague

and no, you don't need help ASAP. Your problem is no more urgent than the stuff I've on my plate that'd cost the customer a lot of money if it's not resolved quickly.
And doing your homework for you (you've clearly not put in any effort whatsoever, just copied your assignment here verbatim) isn't what we're here for.

rproffitt commented: ASAP+ +5
jwenting 1,905 duckman Team Colleague

"steal"? No. They don't do that.
Of course at times they may need certain information to provide you with specific services.
Same with Apple and Google.

People complain that Windows 10 sends information to the internet if they use Cortana for example. But they never realise that Cortana searches not just their PC but the internet as well.
Same with logging in using a Microsoft account, which is btw. optional. This will synch your various devices you use the account on, which of course requires things like device settings, account information, background images, and things like that being stored on an external server.
If you use OneNote, of course it sends stuff to OneDrive, which is where OneNote by default stores its data, which is what allows you to type a note on your PC and read it back on your tablet or mobile phone.

jwenting 1,905 duckman Team Colleague

No doubt the previous owner was convinced that "Microsoft is evil" and therefore refused to install any Windows updates and couldn't find pirated AV software (or more likely his pirated games refused to install with his pirated AV software active so he deleted it).

Have a few acquaintences like that. And they consistently blame the poor performance and constant crashes of their computers on Microsoft rather than on the flood of malware that's residing on their (really theirs? they effectively belong to the people who've hijacked them) computers.

jwenting 1,905 duckman Team Colleague

That's an extremely broad topic... Without programming there's no software. Without algorithms there's no programming.
Of course implementing an algorithm in a computer program requires programming. But you can envision an algorithm and describe it in other contexts as well, without writing any need at all.
For example a sorting algorithm you can play out using a flat surface and for example a supply of coins or different coloured jellybeans, or different sized screws, whatever you have at hand.

You need to know what you're modeling before you can start coding it in software after all.

jwenting 1,905 duckman Team Colleague

Java does not give you direct memory access, that's one of the main reasons they designed the language in the first place, do away with all that messy malloc, calloc, etc. etc. you're stuck with in C.

And no, your program doesn't allocate any memory at all. It requests storage for an object from the JVM which puts it somewhere and hands back a reference through which the program can then retrieve the object again.

jwenting 1,905 duckman Team Colleague

why should we help you leech data from other peoples' websites without their permission?
Contact the site owners and ask them if they can supply you with the data. If the data is supposed to be available to other applications, they'll have a system in place you can subscribe to at an appropriate fee.
If not, you'll need to find another legitimate way to get the data from somewhere.

jwenting 1,905 duckman Team Colleague

main observation here: don't do this. NEVER create SQL statements this way, ALWAYS use PreparedStatements or better yet JPA.
Prevents a lot of problems.

jwenting 1,905 duckman Team Colleague

porting usually means getting something to work on a different operating system and/or hardware.
This is largely a manual process (though I'm sure there are tools that can help identify common areas of interest).

Transpiling is the move of one language to another. While there are tools that can help (again) it's mostly a manual process again.

Now, what stultuske mentions, code generation using code in one language written to a highly specific and limited API to generate code in another language that's defined by the original code is no different from any other compiler.
A Java compiler generates executable bytecode from Java code. A GWT compiler generates Javascript from Java code. A C++ compiler generates object code from C++ code, a C# compiler generates C# runtime units from C# source code.
You can definitely write a tool that generates say Java source code from C++ source code, but it'd be one hell of a job.

overwraith commented: I did some googling, apparently sourceforge has some of these tools, and they are very extensive programs, had to cancel the svn download. +2
jwenting 1,905 duckman Team Colleague

would be appropriate, just as it was appropriate to flag a thread that was placed in the wrong forum before.

jwenting 1,905 duckman Team Colleague

an instance of an inner class exists only within the context of an instance of its outer class, UNLESS it's static.
Result is that an inner class of a non-serializable outer class is not serializable, even if it is marked as serializable itself.

jwenting 1,905 duckman Team Colleague

Tags appear at the end of the thread.

As to the signature, with the narrower content section and larger font you get a lot less actual content per page now.
For example my post was 3 lines of actual content, plus 4 lines for the signature, plus a 2 line header.

In the original layout most of the signature was in the left sidebar flush with the content of the post, taking up less vertical screen real eastate.
If you have a portrait form factor screen like a tablet no doubt the new layout works well. On a landscape screen like a laptop it's a lot of scrolling.

jwenting 1,905 duckman Team Colleague

signatures are way too big and prominent.
Tag clouds appearing only at the far bottom are a pain, place them in the side bar instead.

jwenting 1,905 duckman Team Colleague

Javascript is NOT Java.

and oh, try doing a bit of your own research.

jwenting 1,905 duckman Team Colleague

you NEVER, EVER want to store plain text passwords. It's an invitation to getting your users' accounts stolen, and most people use the same username and password in a lot of places...

You also NEVER, EVER, want to use MD5 as it's not secure at all.
https://crackstation.net/hashing-security.htm read this as to why.
Also look at https://www.youtube.com/watch?v=8ZtInClXe1Q and https://www.youtube.com/watch?v=b4b8ktEV4Bg and https://www.youtube.com/watch?v=y4GB_NDU43Q

diafol commented: well said +15
jwenting 1,905 duckman Team Colleague

Overall, very nicely done. Clean and modern, professional look.
Some points though:

  1. the white margins on the left and right are rather big, costing a lot of room on screen. Make the main pane wider, so people need to scroll less.
  2. Font could be a tad smaller (1-2 points), again less scrolling
  3. Posts on the main page used to show in which (sub)forum they were made in the header. Makes filtering what you want to read in detail that much easier (plus often gives context that may be important in deciding whether to click through or not).
  4. When in a post or forum I now can't get to any other forum without going back to the main/entry page. Not userfriendly.