database – Cognos Analytics 11 – Difference Between Data Server and Data Source Connections

I stood up a report server hosting Cognos Analytics 11.1.6. I can access the analytics web interface and there’s an option to create data server connections. If I access the administration console there’s an option to create datasource connections. Both provide the ability to connect to various databases but I am can’t find anything in the IBM documentation explaining the differences between the two options.

If somebody can clear this up and explain where/if one option should be used over the other, and/or the major differences I would greatly appreciate it!


How to make my own selection algorithm working with multi source inventory? Magento 2.3

Is there a way to make my own selection algorithm in MSI? Working only with one website and one store.

development – Manual work as source of entropy

Working on an opensource air-gapped crypto vault, in which I have the regular method of relying on OS to provide cryptographically secure random source and use that to generate the mnemonic phrase.

Also wish to provide a manual option of using dice rolls or coin flips to provide your own entropy and not needing to trust the software to do it for you. Exploring how trustless it can be.

As, I understand there are some bias associated with coins & dices as well. They may tend to favor one or some outcomes more than other. I have read a lot about providing your own entropy source and how that will usually be insecure if you accidentally introduce some bias. But considering, I am willing to go as far as flipping/rolling 256 times to generate a 256 bit binary number, does that eliminate the bias?

If yes, then is it possible to utilize less number of flips/rolls to generate less entropy which is well verified to be secure enough for the purpose of mnemonic generation? Wish to explore this option as its simply a lot of monotonous manual work for the extremely cautious user & if its possible to reduce the burden without sacrificing security.

Again, I have read many statements by fellow people on internet but I have no means to verify anybody’s claim hence reverting to this community to chime in.

Some of the methods I read about:

  1. Using multiple dices to effectively roll x dices in every attempt and do it faster. Not sure how the order of reading dices matter here. Saw someone mentioning they should be read in the exact same order.

  2. Approach of mixing coin flip along with four dices to use the provided mapping to derive the words. I don’t want to trust this. I would very much like to arrive at a random index for each word and then read the value at that index from the wordlist.

  3. Using Ionman’s BIP39 tool, how it shows the provided entropy to be enough, it indeed required putting in 256 inputs (0/1) random values in there before the security validation message (mnemonic looks more secure than it really is) goes away. So as per that tool, anything less than 256 flips/rolls isn’t secure enough. True?

  4. How to interpret dice rolls: Then there is also the question of interpreting the dice rolls. Do I use odd even numbers as 0 & 1 respectively or should I use half the range of possible outcomes (1-3) as 0 or 1 and the other half range as the other binary bit?

Loan as source of fund for start up bussiness |

Among various ways of funding a bussines such as personal savings , money from family and friends , government aid etc.
Loan is another medium for funding a bussines.
Most times , entrepreneurs are motivated by the collateral they used in securing the loan thus they work hard to pay back the loan .
Other times it pressurizes them and makes them unable to take quick decisions that will grow the bussibecause they don’t want to lose the money .
Entrepreneurs who borrow loan most times fail simply because they failed to take the right call because they are afraid of losing the money whereas it motivates others to hard work.
Is loan a good source of funding for new bussines?

Custom keys to set the keyboard layout (input source)

I use 4 languages and I’m looking for a convenient way to switch the keyboard layout (input source). There’s a key to switch to the next layout, but it’s hard to use – it requires remembering what the current layout is to calculate how many times you have to press the switch button layout (up to 3 times).

I was thinking about buying an additional programmable keyboard but noticed that there’re a lot of unused buttons on my current keyboard – I don’t use numpad at all.

Is it possible to define custom hotkeys for setting the specific layout in ubuntu 20.04?
It should be like:

  • 1 (on the numpad only) – set keyboard layout to EN,
  • 2 – RU,
  • 3 – LT,
  • 4 – PL

networking – Route IP Packets with Same Source and Dest IP

I am hand-crafting ethernet packets using socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)), and have successfully sent UDP packets from my PC to my router this way. Using tcpdump on both ends, I can see that the PC sends out a packet with the intended contents, and the router receives it. Specifically, I am using the following command to watch for my constructed packets with source port = 0 and dest port = 34567: sudo tcpdump -i any -e -x udp port 34567 -vvv

I am seeing some unexpected behavior, however, depending on what I put in the source and dest IPs in the v4 header. Specifically, if I set the source and dest IP both to the PC address, I see the outbound packet on the PC, but I don’t see any message on the router that the nic received it. If I set source = <pc> and dest = <router> I see a message (obviously), and if I set source = and dest = <pc>, I see the message, too. But in no cases does the router send the packet back to the PC.

So my questions are:

  1. Why does having source = dest = <pc> in the IPv4 header prevent tcpdump from showing the packet?
  2. Why isn’t my router forwarding on the packet with dest = <pc>? Note that I tried adding an iptables rule -A FORWARD -i enp2s0 -o enp2s0 -j ACCEPT where enp2s0 is my LAN-connected nic, but it didn’t help.

For additional context, see my earlier question: Route Local-Interface-Destined Packets to Gateway

windows – What are open source streamed encrypted container formats that allow unexpected end of stream on read?

I have a video stream received in real time and encrypted as a file into zip container. But if writing aborts due to power shortage or crash such zip file can’t be unpacked though without container I would successfully play the video file. What are existing alternative formats for such scenario?

This question is not seeking any product, it’s seeking for a file format. I will peek an implementation by myself. Please reopen.

Is there a free open source version of Android SDK?

Is there a free open source version of Android SDK?

And if not, what is the closest FOSS thing I can use in order to test a Java library for compatibility with Android environment?

security – Get the source of an output in the console

When I plug my phone into my computer, I can see the console output in Android Studio.
I recently noticed that whenever I start entering a password in a field designated for passwords (the ones that display ‘*’ for any character) the phone prints a very concerning message to the console:

D/HwAutofillHelper: inputType is password, now record

Since it is a Honor Phone, I suppose Hw is short for Huawei?

Nevertheless I’d like to know if there is a way to find out what process produced this output and what app it belongs to?

postgresql – Can a FOREIGN KEY be referring to the same table as the “source”?

I was sure that I had done this countless times, but I can’t find any previous use of me doing this. But it seems to make perfect sense, so I assume that it must be possible? However, the manual says:

A foreign key constraint specifies that the values in a column (or a group of columns) must match the values appearing in some row of another table.

Emphasis mine. Source:

I have a table for bookkeeping, and whenever a transaction “corrects” or “updates” a previous one, I have a column called “corrects id” which is a bigint and, to me, makes perfect sense to have as a FOREIGN KEY as such:

..., FOREIGN KEY ("corrects id") REFERENCES bookkeeping (id)

Note: “corrects id” is a column in the “bookkeeping” table, and id is the primary key (bigserial) of the same table.

Surely this is correct? So why does the manual say that it has to be another table? And why is the name “FOREIGN” keys if you can refer to the same table?