Categories
Linux Mastering Development Ubuntu

Why am I getting this red explosion asterisk star with white exclamation point?

This morning I got this icon in the top right of my screen. Neither clicking nor hovering does anything. I have no idea what it is supposed to be telling me. Ideas? @pLumo: Silly question, I know, but why doesn’t the icon itself just say that? UPDATE: Here is the requested output: $ sudo apt […]

Categories
Mastering Development

How to be sure to update a unique MySql row without a unique ID

I have this problem: I show a table to a user. I cannot be sure, neither I can force it, that the table contains a unique value anywhere The user changes a SINGLE field value I must be able to update it in the DB, of course in the CORRECT row Now, if the table […]

Categories
User Help Web Apps

Is there a collaboration tool where multiple contributors can comment but their comments are only visible to the owner of the doc?

I know, that this is currently not possible with Google Docs, but maybe there is another tool, that is able to provide this? It can also be a tool that needs to be paid for. In detail: I want to share a doc with several people, I want them to make comments in the same […]

Categories
CMS Mastering Development Wordpress

?wc-ajax=get_refreshed_fragments call after page load

I’m working on a wooCommerce website, it’s slow, so i checked with gmetrix, it shows ?wc-ajax=get_refreshed_fragments ajax call drain the site speed, actually it call two time, i know, it basically doing load mini cart contents. etc, so i don’t want disable that calls, i just want to call that function after page load instead […]

Categories
Apple User Help

Is it possible to turn off text insertion point blinking on an ipad?

Is it possible to stop the cursor (text insertion point) blinking on an ipad? On MacOs, it is possible to turn off (effectively) cursor blink using this in a Terminal? defaults write -g NSTextInsertionPointBlinkPeriodOn -float 10000000 defaults write -g NSTextInsertionPointBlinkPeriodOff -float 10000000 (credit: https://www.defaults-write.com/change-os-x-text-cursor-blink-rate/ Is this also possible in some way on an ipad? (This […]

Categories
Mastering Development

Java array output formatting

I know, we need to use fortmat() method while formatting the output. Here is my below code: int arr[] = { 38, 27, 43, 3, 9, 82, 10 }; Arrays.stream(arr).forEach(s -> System.out.format(“%2d”, s)); //output 382743 3 98210 If i use below code: Arrays.stream(arr).forEach(s -> System.out.format(“%3d”, s)); //output 38 27 43 3 9 82 10 I […]

Categories
Mastering Development

What is difference b/w org.owasp.esapi.Encoder.encodeForHTML and org.owasp.esapi.Encoder.encodeForJavaScript methods

I Know, we can use encodeForHTML for HTMl and encodeForJavascript for javaScript. There is a Cross-Site Scripting: “Reflected fortify scan problem” in my code String errorDesc = HttpServletRequest.getParameter(“error_description”); I have to validate this using Encoder but I am confused to use which one should i use between them. As we do not know the return […]

Categories
Linux Mastering Development Ubuntu

HPLIP Driver install fails on Ubuntu 20.04

I recently upgraded a 18.04 release to 20.04 (early, I know), and wiped away my manually installed ‘hplip’ package (3.16.11) and installed the official package from the release (3.20.3+dgfsg0-2). All seemed to be well until I started getting messages to update my driver. Making sure I had nothing else to print today, I followed the […]

Categories
Ask Engineering

Why can’t I get transformer output as written on the label?

TLDR: I’ve made a short video about this, if you like looking at a video more than reading this. It’s here: https://youtu.be/51235iFywI4 The problem is pretty straighforward. I have a (toroidal) transformer that has two secondaries (completely independent), each giving 12V 10A as written on the label of the transformer. In reality, I can’t even […]

Categories
Linux Mastering Development Ubuntu

HPLIP Driver install fails on Ubuntu 20.04

I recently upgraded a 18.04 release to 20.04 (early, I know), and wiped away my manually installed ‘hplip’ package (3.16.11) and installed the official package from the release (3.20.3+dgfsg0-2). All seemed to be well until I started getting messages to update my driver. Making sure I had nothing else to print today, I followed the […]