rproffitt 2,701 https://5calls.org Moderator

"Was he fired?"

No. On most tasks his performance was on or above par. This only is proof that the manager is just new. Programming and the time to complete is variable as well as Joe may do better or worse than Jane. It doesn't mean they are LUCKY (?) or better or worse.

The text later in the reply is about hardware and such. For that you do want to test on a server machine. But I want to segue into an area I find new programmers get too invested in. Ready?

OVER OPTIMIZING.

That is, in a commercial environment you run the risk of dismissal if your code is just slow all the time as well as you spent too much time optimizing. It's a sliding scale of how much to invest (time or hardware) versus delivering a working MAINTAINABLE app(s).

It does not one any good if you have the fastest implementation of a zed core reduction function when no one can understand what you wrote. (Nod to APL and the one line of code for "Life.")

So let's say your code runs, you optimized it and it's the end of the week. It passes muster, time to ship it.

HERESY.

To some this is heresy. That is, I run across designers, coders, engineers that are stuck in "I can make it better" mode for too long. Read the specs, try to exceed them but avoid over optimizing.

rproffitt 2,701 https://5calls.org Moderator

I've fielded this question before. The real answer is to assign this to your CTO/CIO and have them implement your dream CRM. Open source is low cost but what I find are folk the demand a list of things but not willing to invest the time or budget. But that doesn't mean you can't get there. That is, your CTO/CIO and their programmers need to get to work.

rproffitt 2,701 https://5calls.org Moderator

I have to agree that the basics do help when you learn a new language. My first was Fortran which at the time there was no C language but there was Fortran, PL/1, Cobol and such.

What about testing for equality? You would think that's a basic thing you learn in C then get blown out of the water in JavaScript (JS.)
Watch https://www.youtube.com/watch?v=hQVTIJBZook and move to the 15 minute mark to see where a C programmer may get burned.

Traevel commented: [] + [] == "" yep, sounds about right +7
rproffitt 2,701 https://5calls.org Moderator

Sadly no. But my bet is there is some formula from a paper that this this code implements. Since I don't know the paper this was coded from I can't point to the formula from the paper.

Try this. Go get the paper or papers on this cipher and look at the formula for a negation step.

rproffitt 2,701 https://5calls.org Moderator

key = -key; is the same as key = key * -1;

IOW, negation.

rproffitt 2,701 https://5calls.org Moderator

That story, that color, oh what a mess.

OK, the blinking cursor and can't get to the BIOS would have me unplugging ALL storage devices. No HDD, SSD, ODD, flippy, floppy and sticks. Now a CMOS reset and try for the BIOS. If the BIOS comes up, then I set date/time and what settings I wanted THEN I save, reboot and make sure I can get to the BIOS screen again.

With that out of the way I can connect up my USB bootable Linux to see that work. No other devices yet.

OK, we're up and time to add the SSD and try again.

rproffitt 2,701 https://5calls.org Moderator

@Stefan. Congrats on your 100th topic. But I fear you've been watching the Yoda channel too much. Unclear your question is.

rproffitt 2,701 https://5calls.org Moderator

@UI. Shivya may be helpless for a bit since basics are basics. I run into folk looking for PHP 7 tuts yet they didn't get the basics down first which a PHP 5 tut would be just fine.

diafol commented: Yes +15
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

@Dean. While I don't hope for much. How about round 2?

Post the make, model of the PSU along with the Web Speccy report (link to follow) and I'll read it over and comment what I would change if this was my PC.

Read how at https://www.piriform.com/docs/speccy/using-speccy/publishing-a-speccy-profile-to-the-web
Don't forget to add the PSU make, model and approximate age of PC and how long since you replaced all heatsink compounds and cleaned.

DeanMSands3 commented: Away from my PC for a few days. Should be back by Monday or Tuesday. +6
rproffitt 2,701 https://5calls.org Moderator

I have to disagree. Some of the basics still apply. In your prior post you may have tripped over a basic limitation of the integer data type. That exists in most languages and versions. Don't dismiss a tutorial out of hand just because it's version is not 7.

That is, knowing your data types, is something you can pick up from all the tutorials, regardless of version.

rproffitt 2,701 https://5calls.org Moderator

Here I have Amazon Music both the app and music. But it's on Windows 7 and Windows 10 so XP? It was nice while it lasted. The error to me points to permission issues, app doesn't work on Windows XP or other.

Since most of Amazon Music is MP3 (at least here) and no DRM you can get your MP3 and manually add it to iTunes.

IN FACT XP and iTunes means you can't use the latest iTunes and I know Amazon's Music app expects the latest iTunes.

rproffitt 2,701 https://5calls.org Moderator

As to question 1, it's all about what I need from my app. If I'm measuring task duration I don't care if it's local or UTC. Just as long as I'm consistant I get my duration.

When dealing with the user, you almost always use local.
When logging events, UTC is my choice as that way I can use this app worldwide and have a consistent date/time system.

As to question 2, I've never considered using such a program. Adding more overhead with such as program sounds counter productive. I think you'll have to expand your question with an example.

rproffitt 2,701 https://5calls.org Moderator

The closest working project I could find was http://subinsb.com/html5-record-mic-voice

You have a lot of steps to complete to get this working.

rproffitt 2,701 https://5calls.org Moderator

Welcome new member. I see another forum just deleted your post but we're not so quick to do that here.

Is this question 5 from http://people.scs.carleton.ca/~arunka/courses/comp1001/assignments/a3/index.html

It certainly looks like it.

Share how far you progressed and where the troubles are.

ddanbe commented: Keen observant! +15
Reverend Jim commented: Who was that masked man? +14
rproffitt 2,701 https://5calls.org Moderator

As an author and programmer I always check the site code first.
https://validator.w3.org/nu/?doc=http%3A%2F%2Fantifake-news.co.uk%2F only has a few errors so you should be able to clean that up next.

Beyond that, hope you find a good book (I read your site too) and think about flawed code on your site may reflect poorly on you as you use it in your resume.

rproffitt 2,701 https://5calls.org Moderator

I'd start by correcting the 8 errors https://validator.w3.org/nu/?doc=https%3A%2F%2Fbegold.eu%2F found.

As to SEO, that area is something well done. But make your site code perfect would be my first step.

rproffitt 2,701 https://5calls.org Moderator

Ahh, so this is the opposite of Net Neutrality.

https://www.google.com/search?q=squid+traffic+shaping+a+certain+web+site finds what I was looking for. Remember I am electing to not write a tutorial here but find the right words and tools for you to get there. That is, I know Cisco gear and CCNA could do this but when folk ask I think they want it using tools like Squid.

"Here's a full example of how to shape traffic between the proxy and origin based on the request target. It assigns websites one of three priorities, after the upstream bandwidth is scheduled by priority, each client gets an equal portion of each priority."
It's deeply technical and something your IT staff must deep dive into at:
https://cwiki.apache.org/confluence/display/TS/Traffic+Shaping

Note example is changing priority "# Give high priority to Wikipedia, low priority to YouTube"

Remember I take it you are a networking master here and only need pointers to the apps and example for your Squid server.

rproffitt 2,701 https://5calls.org Moderator

I'm no expert at this but found reading https://www.webmasterworld.com/google/4834186.htm to make me think this was expected.

That is, we are dealing with a black box in respect to Google. And folk are trying to poke around in the dark to see what's up. The zombie traffic and organic traffic is noted to be related one to the other so my thought is that the real payoff is zip and zero after the changes. No real (as in people) traffic in spite of what the reports say.

rproffitt 2,701 https://5calls.org Moderator

And even less bucks. https://www.amazon.com/DayClox-Original-Digital-Calendar-Non-Abbreviated/dp/B00L1XCBSO runs at under 60USD and would let you plug and play.

Yes you can build your own but for what number of clams?

rproffitt 2,701 https://5calls.org Moderator

My thought is this is a system design question. And philosophical one too. One of my older apps at over 10 years old externalized a lot of things which kept me from changing the core code.

Example: The company was sold and the reports needed a change. The template was external so a file edit and done. A two minute job.

Not only that but saved a trip through product testing as the rule was if the .exe file changed then a full product test was required.

Now for the downside. It does leave the app open to beginners tinkering with the external plain text files.

rproffitt 2,701 https://5calls.org Moderator

Just my thought on this. I've been at such since dBase days. We used that and Clipper then Btrieve and so on. Why not MySQL? I used it since about 2000 and the apps made back then are still running.

rproffitt 2,701 https://5calls.org Moderator

This is like asking what is the best hammer. My answer is that your hammer skill matters more than the tools.

ddanbe commented: Nice metaphor +15
rproffitt 2,701 https://5calls.org Moderator

Frankly, bar code decoding should be a function you add to your app rather than craft it again.

But I fear you have missed the big lesson in coding and that is how to research. I find many new programmers are loathe to do research and some go so far as to "gimme the codez." Decoding barcodes, how to and more was easy to find using any of the major search engines.

rproffitt 2,701 https://5calls.org Moderator

Just in case you want to know more. Amazon has been working on such apps for years. There are folk that forget that such software is currently not open source so Fedex, Amazon and other companies have software teams on this topic. Once in a while a person new to this wants the codes. So far, nope.

rproffitt 2,701 https://5calls.org Moderator

I worry there is some hardware issue here. For example, all my machines can get recording going and if I forget I read a tutorial like https://www.howtoforge.com/tutorial/sound-recording-with-audacity-on-ubuntu/ again.

But here's the pin in the grenade problem. Not all PCs are the same so one time you can use the front panel jack and on the next PC only the rear ports work. Then you'll run into a dead jack and you feel like the pin was pulled as you stepped off the landmine. Double trouble as you work not only how to use the app but how to fix the PC.

rproffitt 2,701 https://5calls.org Moderator

I have to answer that learning how to google is ranked highly here. For example https://www.google.com/search?q=usa+programming+jobs+what+language+and+skills finds articles that seem to answer what language and skills are required.

What I often find that right out of college some never learned to research with google and are asking basic questions that a quick google would have given them a lead.

So my answer is "Your research skill."

rproffitt 2,701 https://5calls.org Moderator

There is no symbol for switch. Read https://www.edrawsoft.com/flowchart-symbols.php

OK, so how to show a switch? That's easy. It's nothing more than more decision symbols. I see such at http://stackoverflow.com/questions/22067090/how-do-i-draw-a-switch-statement-in-a-graphical-design

rproffitt 2,701 https://5calls.org Moderator

Nod to ransomware. As most programmers know, now is when your backups really count. We only lose what we didn't backup.

diafol commented: True +15
rproffitt 2,701 https://5calls.org Moderator

While you are correct, many can't write the code to do that. Why not use AUTOIT scripts instead?

Reverend Jim commented: Ditto. AutoIt (and AutoHotkey) are excellent. +14
rproffitt 2,701 https://5calls.org Moderator

I've read this complaint before and many MP3 CD players have no clue on order by tag or meta data.

The most common fix is to prefix 01 to 99 in front of each file name.

rproffitt 2,701 https://5calls.org Moderator

Just for you. Read and run http://www.w3schools.com/code/tryit.asp?filename=FCCZ4KEI353K

Nope, never looped. You should fix that.

rproffitt 2,701 https://5calls.org Moderator

@Dani, it's a robot. It's noted at http://jollyrogertelephone.com/how-to-send-your-telemarketers-to-this-robot/ but the conference call method was too much work so I came up with a quick alternative.

Sorry but can you call me back on my good line at 214 666 4321?

rproffitt 2,701 https://5calls.org Moderator

I swear I'll tell them to call me back at 214 666 4321.

Stefce commented: hahaha legend :D +2
rproffitt 2,701 https://5calls.org Moderator

I'll share a spat of recent boot failures in W10 that I've worked on and got by. It was stupid. I'll leave others to point out where stupid is.

It appears some updates on reboot will hang on boot. This is not a boot record issue but some sort of USB enumeration/driver issue. What fixed them was not boot record work but simply unplugging all USB devices and powering up and waiting for the update to complete. When that was done we plugged in the keyboard+mouse and logged in. After that we could plug in the printer and such.

I worry that boot repairs could break things and the USB issue I've run into (in forums I moderate) won't help.

rproffitt 2,701 https://5calls.org Moderator

Web threats? I added two things on all my Windows and even on my Apple/Chromebook/Android. What are they?

  1. Web Of Trust. Can't say enough nice things about this one. It won't stop users from plowing ahead and doing bad things but here it's warned me ahead of time.

  2. Adblockers. Today I like Ublock Origin. For Chrome you may have to use Adblock+. More than adblocking, it has blocked bad web content.
rproffitt 2,701 https://5calls.org Moderator

That's a mess of a post. But I did paste it to http://esprima.org/demo/validate.html and it didn't complain.

You may have to reveal more such as what editor, what line etc.

rproffitt 2,701 https://5calls.org Moderator

I'll defer EMS to Dr. Google.

OK, I don't have a make and model here so I'll share a recent install that was a HP dv6910us running Vista. Nothing would appear to let it run Windows 7 or beyond, 32 or 64 bit. I had a break and came back to revisit this since the laptop was in otherwise great condition.

So here's what it was. In the BIOS there was a VM setting for the CPU. It may have been VT but the CPU was an older AMD that if you google you learn about VM woes. That was my clue to try it with this disabled in the BIOS. Once that was done, the Windows 7 DVD booted and installed.

Later we (it's an office laptop) used a W7 license then upgraded to W10 64 bit and it ran without any search for drivers. It will live out its days doing web searches and office work.

TL;DR. The make and model matters. Sometimes you have to google a lot and try things.

rproffitt 2,701 https://5calls.org Moderator

https://www.google.com/search?q=mysql+show+space+instead+of+NULL sees this is not a new issue and it's your choice to clean up the database or code as needed.

rproffitt 2,701 https://5calls.org Moderator

I have to ask. Why must it use FIFO and such? And I'm sure folk will also tell you to share what you have so far.

My question is why do new programmers put a bag of bricks on their backs then try to run a 10K race?

rproffitt 2,701 https://5calls.org Moderator

That's a lot of things you need to code up. However I just tried https://codepen.io/justinklemm/pen/cDrFo on Chrome on my LG G4 Android phone and after I let it use the camera, I had a video feed onscreen from the camera.

So, my advice is to divide up what you need to do and to tackle this step by step.

gentlemedia commented: Nice one! Wasn't aware of Navigator.getUserMedia() +6
rproffitt 2,701 https://5calls.org Moderator

I recall this model to have issues like that. Your choice to google it up and find out what folk did before. If this hit our shop counter the estimate could send the owner away crying.

rproffitt 2,701 https://5calls.org Moderator

I take difference to your claim about previous PHP versions. https://www.tutorialspoint.com/php7/php7_introduction.htm writes:

"Learn PHP 7
Absolute Beginners."

Also "Audience

This tutorial has been prepared for PHP developers from a beginner’s point of view. After completing this tutorial, you will find yourself at a moderate level of expertise in the knowledge of PHP from where you can take yourself to next levels."

Yes they write "We assume that you already know about the older versions of PHP and now you can start learning the new features of PHP 7." but I looked over the tutorial and it doesn't seem to lean on taking prior tutorials. But why not take the PHP prior version tutorial if you feel overwhelmed?

rproffitt 2,701 https://5calls.org Moderator

Hey Lew, can you find the user manual for me to check out?

rproffitt 2,701 https://5calls.org Moderator

Sorry Ryantroop.

Neither Edge or IE11 worked and I declined to alter my IE11 to fix the missing scroll bar.

Sorry but the issue does seem to be there, Microsoft knows about it, you're not seeing things.

rproffitt 2,701 https://5calls.org Moderator

Sorry but all skill levels arrive here. So there is a specific ping that gets replies from all on the LAN. Do you remember your IP networking class on that?

Also, what's wrong with looping?

And why not have the router's own log do this for us?

rproffitt 2,701 https://5calls.org Moderator

I feel you are working too hard. I recall doing this with PING and ARP (see google if you forgot how.) And maybe NIRSOFT has an app as noted at http://www.howtogeek.com/tips/how-to-quickly-get-the-mac-address-of-any-windows-pc-on-your-network/

The reason you most likely failed is that computers on your network don't send you traffic. That is, your switch doesn't show you all traffic so you can't pick the information off that way. You'll have to ping machines and hopefully the ARP cache will fill or you can use arp directly.

Sorry no, not an offer to write a tutorial on IP commands.

rproffitt 2,701 https://5calls.org Moderator

Connect to the port that has the b/w image then somewhere in the TV menus there's a component/composite setting. You want composite, it is currently set to component.

rproffitt 2,701 https://5calls.org Moderator

Forgot to add this.

I continue to encounter folk that install the WIndows OS and blow the driver install routine. You claim to know but didn't share enough for me to point out what's missing. Tell me every driver you install after the OS.

rproffitt 2,701 https://5calls.org Moderator

Practive exams should not be what's on the test. The practice is to show the form and possible items on the actual test. The final in almost all courses can cover what's in the actual course.