Karma - too many IE windows - karma-runner

Is there a way to stop Karma opening many windows, perhaps restricting it to one or two?
I thought perhaps the concurrency setting might help, but no.

Related

Optimal font size in TIA Portal with least disadvantages

I have thought about working with TIA Portal a lot recently.
My eyes are still good, but I can feel the stress when working with TIA.
This question is here to discuss the pro's and con's of different methods to improve working with TIA and care for ones eyes.
My Notebook has a full-HD screen with 17 Inches.
If I work with TIA, I do not just have the TIA open, but need a variety of other applications, like Browser, Excel, specialized tools, PDF-Reader.......
The operating system is Windows 10.
At the moment I decided, to reduce the screen resolution so all texts within TIA are comfortably readable.
The big disadvantage are applications, that are designed for higher resolutions.
I can't change the resolution based on the application in focus.
If there would only be an option within TIA, but I can't find one.
Any thoughts about improving the situation are highly appreciated to keep peoples eyes healthy.
A few ideas:
Use the display scaling in Windows 10 instead of changing the resolution. You can find it at Settings > System > Display. (see this answer as well)
I use a second 24" display for the programming work in the office, which is about 80% of the time.

How to run multiple cucumber scenarios against different configurations with different expected results?

I have a standard set of scenarios (about 100 request messages) that need to run against a service.
I want to run this same set against a variety of configurations with possibly different expected outcomes.
Ideally I would be able to say...
Here's my scenarios and default configuration and default results.
Here are other configurations and different expected results. Best if I only need to specify results that differ from the default.
Can I do this in cucumber without having to repeat the requests for each configuration?
I know I won't get exactly what I want, but any way to approximate this?
I have a hard time to see that you are describing a problem Cucumber would be good at supporting.
Behaviour-Driven Development, BDD, is all about communication. Communicating how something should behave in such a way that it is
Understandable by non techies
Thought provoking so you explore and find unknown unknowns
Executable
What you are describing is something I personally would use any testing framework to solve. You wouldn't be using scenarios to discuss a desired behavior for a system. You would use the tool more like a test runner. And using Cucumber like this is possible, but other tooling would solve the problem just as good and with less work.

How can I turn off all TCP traffic in VS Code?

I've followed Microsoft's directions to disable updates, telemetry and crash reporting, but VS Code is still talking to the web. It looks like there's something going on in editorSimpleWorker.js and editorWorkerServer.js, but those are some pretty big haystacks to start combing.
Does anyone know what VS Code is trying to accomplish by talking to the web? Marketplace? npm? And how to disable it? I can block the outgoing TCP traffic, of course, but besides that?
As of now, two weeks after posting the question, I am pretty confident in making the following statement:
There is no documented configuration option or combination of options that will turn off all web traffic conducted by Visual Studio Code.
At least some of the traffic that I've observed is related to the extensions gallery.
Ultimately, VS Code was built to be online. It is intended to talk to the web. If you are trying to use it in an environment in which such connectedness is discouraged, you will have difficulties of some type or other. Instead, find a different product that better fits your requirements, whatever they may be.

unhappy with MySQL workbench 5.2

Is there a better option for windows out there?
I come froma MS SQL-Server environment so something that's similar to their editor would probably be most preferable.
What capabilities are you looking for.
MySQL Workbench evolves really quick and the 5.3 should be out fairly soon.
I don't think there's anything comparatively good unless you simply use phpmyadmin...
The 5.3 should be out soon with its load of fixed bugs.
What don't you like with it. Maybe I can help if I understand.
I don't think there's a better option for you if you have to work with MySQL.
I agree with you: MySQL Workbench generally could behave much better; some operations simply produce no output leaving you wondering what happened. If you're used to Microsoft SQL Server, you'll likely miss the capability to run several queries in one code editor window, producing several outputs at the same time. This is the biggest usability drawback, in my opinion.
There are some things MySQL does better though, so it's a mixed bag.

Emulating virus-like behaviour?

I'm looking for a way to emulate virus-like behaviour for testing exclusions in anti-virus software. Can anyone recommend some behaviour that I can put together in a quick script which would trigger a typical realtime anti-virus scanner?
Are you looking for something like the Eicar test file?
If you want to hand-code virus-like behaviour, I can tell you that I've had trouble with anti-virus applications and the LowLevelKeyboardProc() and SetWindowsHookEx() functions. If the anti-virus application uses heuristics, it usually warns about keylogger-like actions.
Most antivirus programs work on a signature database, not heuristic detection, so most of them won't notice anything at all unless you write a program with the same signature as one that they're looking for.
If you do have a heuristic-based detection program, just try some obvious virus behavior like modifying settings that control which programs launch at startup, checking processes for common antivirus program names, etc. You may be able to look up documentation for your specific program and find out exactly which heuristics it uses to try and detect viruses based on behavior. It'll be pretty hard to find much of use by just firing off "a virus might do something like this" behaviors blindly.
Back in 2000 there was the ILOVEYOU virus (love bug) which was just a VBScript that overwrote files on the infected machine with copies of itself and emailed itself out through Outlook. The Outlook hole has been fixed but the part about copying itself over all files of a specific extension is a good heuristic to try and copy.
Here's an interesting article on behavior based detection, it's old but it sounds like that might be what you are looking to do.
http://www.securityfocus.com/infocus/1557
Also you may want to take a look at SARC (Symantec Antivirus Research Center). If you look into some of the latest threats, the technical details and removal instructions clue you in on what they do when infecting the system.
Here's an example:
http://www.symantec.com/business/security_response/writeup.jsp?docid=2009-050707-0639-99