SQL Server Launchpad – The user has not been granted the requested logon type at this machine

I am trying to execute python scripts within t-sql on sql server 2017. With external scripts enabled, when executing a trivial script, I get the error "SQL Server was unable to communicate with the LaunchPad service. Please verify the configuration of the service". When I try to start the launchpad service, it fails to start reporting error "The user has not been granted the requested logon type at this machine" to the event logs. I have local admin on the host server and have tried to add NT Service\MSSQLLaunchpad to adminstrators and still fails for the same error. The NT Service\MSSQLLaunchpad does not have the explicit permission allow logon locally or logon as a service. I had my dba change the login to a domain user which does have those permissions and the same error occurred. Have also tried to repair the instance installation.

Any ideas of how to fix this problem?

How can I get LOAD DATA LOCAL INFILE to work for MySQL 8.0.21 on a Windows machine?

I’ve created a file: 'C:\fff.txt' which contains data for my database table. Then I’m trying to load data from that file like this:

LOAD DATA LOCAL INFILE 'C:\fff.txt' INTO TABLE fff LINES TERMINATED BY '\r\n';  

but I get the following error all the time:

ERROR 2 <HY000>: File 'C:\fff.txt' not found (OS errno 2 - No such file or directory) 

I’ve added local_infile=1 to [mysql] and [mysqld] sections of my.ini file. When I type: SHOW GLOBAL VARIABLES LIKE 'local_infile'; I can see that it’s set to 'ON'. Is there a way to solve this problem?

what is the function of a turing machine

The main question asked me to build a certain turing machine such that given a word w over {0,1}* the turing machine accepts all such words and ends in accept state with the tape string = the word apended with the number of zeros in it. I built the state diagram of this turing machine..

But now there is a question next to it which say something like –

  1. What is the function the machine you build computes ??

I dont understand what this means ?? What i can think of is that the function the question talks about is the transition function… and that just copies 0’s from w to the end of it… it doesnt computes as such anything..

Any lights on the above ??

Thanks

Universal Turing Machine algorithm

First, I learned this based on these facts:

  1. Turing machine (TM) will be define with 7-tuple Notation, M=<Q,G,b,S,d,q0,F>.
  2. Any computation rules that can use to simulate any possible TM is called Turing-Complete.
  3. Universal TM (UTM) is TM that is Turing-Complete.

Then, the question begins:

  • If we have 7-tuple Notation of any U that is UTM, Is there an algorithm to find initial tape content P that U to simulate any TM T with any I input(s)? If it exists, Does it based on each U or pattern of U? If it does, give me some example(s)? If it does, explain the algorithm?
  • Since all possible computations can be done with TM, Is there an algorithm to make TM simulate any algorithm P written in any language? If it exists, give me some example(s)?
  • If both questions above exist the algorithm, Why don’t we just make a single UTM U and use it to program itself then do every possible computation?

Is all data stored in computers stored as machine code?

I know that the most basic (and least abstract) code for programming is machine code (with binary of 0s and 1s being the typical machine code).

I also know that computers can save data even if they are turned off, by different types of computer memory (storage device memory, RAM and other computer system devices which can "remember" some data).

Is all data stored in computers ("all data remembered in a given computer memory") stored as machine code?
Is what’s saved in a computer’s "memory" (and becoming actually effective by electrical current correctly distributed to the computer system) just binary machine code in the sense that if I could read and understand that data directly without an operating system interfacing it for me it should appear in my mind as machine code, or rather, is it something else?

Are the open ports 53,139,445 and 49152 expected on a Linux machine? [closed]

I ran an nmap stealth scan on my home network (using linux) and this is my result. I don’t know why netbios is open – I ran the samba command and it is not recognised, so I don’t think I have Samba on my machine. If someone could clarify that would be great. I am running Ubuntu Linux. I’ve also noticed a lot of TCP ESTABLISHED connections I don’t recognise. Is this something to investigate further?

Not shown: 993 closed ports PORT      STATE    SERVICE 22/tcp    filtered ssh 53/tcp    open     domain 80/tcp    open     http 139/tcp   open     netbios-ssn 443/tcp   open     https 445/tcp   open     microsoft-ds 49152/tcp open     unknown 

Are lines what differ machine code programming in a text editor from in memory directly?

I understand that at least theoretically a human could do programming with a given type of machine code in a text editor OR in the memory directly somehow.

I also understand that in a (human invented?) computer memory, in each cell, data is sequential, scattered in addresses each of which contains a word in a fixed size which always contain bit/s to a full capacity.

I am not sure what would theoretically differ machine code programming in a text editor from machine code programming in memory directly; perhaps the very usage of lines ("the absence of sequence", I guess) as available in text editors, is the answer.

Host filesystem manipulation from docker vs. virtual machine

When reading about docker, I found a part of the documentation describing the attack surface of the docker daemon. From what I was able to understand, part of the argument is that it is possible to share (basically arbitrary) parts of the host filesystem with the container, which can then be manipulated by a privileged user in the container. This seems to be used as an argument against granting unprivileged users direct access to the docker daemon (see also this Security SE answer).

Would the same be possible from a virtual machine, e.g. in VirtualBox, which on the host is run as an unprivileged user?

A quick test where I was trying to read /etc/sudoers on a Linux Host from a Linux guest running in VirtualBox did produce a permission error, but I would not consider myself an expert in that regard in any way nor was the testing very exhaustive.

Is unary machine code a concept?

Please assume for the sake of this session that humans can fluently read and understand machine languages and time isn’t a problem in that regard.

I, not a computer scientist, would at least theorize that a unary machine language is possible but might just be much "less comfortable" than binary machine language.

Is unary machine code a concept?