Possibility of illegal stuffs using Web Assembly code or any website program

I recently discovered a website – lifeinspace.org where it is advertised that they rent our computing power for performing scientific calculations but actually I suspect that they do some bitcoin mining or the possibility of illegal stuff (like DDoS, malware, botnets, etc…), because I could not find lifeinspace.org anywhere in google/research news/articles.

I tested this service and actually I did receive payment. Of course in the virtue of electricity/CPU/internet/bandwidth, I found that its a loss. However, I wanted to know the legality of the tasks performed in the background by this service.

I found from the forum that a .wasm code gets downloaded when we run the tool – and this file lifeinspace.org/main.wasm gets downloaded to machine. (https://money.stackexchange.com/questions/115754/lease-computing-power-to-earn-money-lifeinspace-org)

But I am not pretty sure how to decode it and details in that code.

So, to know if there is any illegality associated when the website performs calculations (or runs the code), I used multiple tools – netmon, procmon (process monitor), Netlimiter, Kaspersky free scanner online for botnets,etc.. but I could not find any trace.

Any guidance to track or trace or check the legality of this file (main.wasm) would be helpful.

What is the difference between “application … closed unexpectedly” and “system program problem detected”?

I have two laptops, both with Ubuntu 19.04 installed. One of them is a couple of years older and has had the Ubuntu version upgraded a few times. The other one is newer and got 19.04 installed from the beginning, not upgraded from any previous Ubuntu version.

On my older laptop I sometimes get error messages looking like this:

Error message window on my old laptop

which is nice because it allows me to click the “Show details” button to see lots of details about what happened.

On the newer laptop there are sometimes messages looking like this:

enter image description here

I suspect that it may be the same kind of problem but for some reason handled differently by Ubuntu despite the fact that both are running Ubuntu 19.04.

Do these messages mean the same thing?

If not, what is the difference between “application … closed unexpectedly” and “system program problem detected” and how can I get more details in the latter case? (the “system program problem detected” leaves no file in /var/crash/ unfortunately)

One theory I have about this is that the older laptop, having originally run older Ubuntu versions and then been upgraded, has some settings in a config file somewhere left from a previous Ubuntu version telling it to use the older, more detailed (and in my opinion much better) way of showing errors. Could this theory be correct? If so, which config file would I need to modify in order to get the behavior I want, allowing me to show details about the error?

Win10 – how to make press-and-hold on touchmonitor send “longpress” to program

Tanks for any info… Windows Touchscreen

I have a windows program that uses longpress to do an action.

When I press and hold on the touchmonitor windows recognizes it as right mouse button… If i disable it, it is still not recognized as LongPress (left mouse button).

How can i make it that when i tap and hold on the monitor the action is recognized as I am holding left mouse button (lobg press)

Thanks for any advise

How can information be recovered after it has been overwritten (single pass) by a secure deletion program?

We know that information can be retreived after it has been deleted. There are several tools for file “undeletion” (Recuva, FTK, some tools contained in Caine, etc.)

I have heard as well, that data can be recovered, even after it has been rewritten. For this exact reason, the DoD used to approve methods which included (DoD 5220.22-M) to 7 (DoD 5220.22-ECE) overwrite passes. This is still a low bar, considering there are algorithms which include 35 passes (Gurmann).

Why, though? What papers, articles, or use cases have been published that suggest successful data recovery after single or dual pass of overwritting data?

Which software, methods, or tools allow me to analyze a given HDD for “further layers” (?) of recovery or overwriting?

(I know there is a different approach and dynamic to SSD, so for the time being, let’s not meddle into it)

How Can I Make A .desktop Launcher For A Sudo command To Execute GfxTablet Program?

I am new here been trying to find a way to make a .desktop icon for the sudo command to open the program called GfxTablet but cannot get any info that actually works.

All the plethera of commands I have tried fail to launch tilix terminal and or input a command, I have made lots of .desktop files launching programs them selves but never for a command line to be executed in sudo or none sudo.

All I know is the Exec line has to be precise in what it dictates to perform the operation. If I try to launch the default terminal as in typing the Exec line to state Exec=tilix nothing happens at all, but if I go into say UXterm and type tilix then hit enter it opens, I tried changing the default terminal to one of 3 or 4 terminals on this build of disco dingo 19.04, but none launch from the Exec= line if it includes the folder location followed by the file name when I am writing the .desktop launcher.

I am making it executable and running via right click open with Run Software option and also even dragging the .desktop file into tilix and hitting enter.

The file I want to launch I don’t know what file type it is or how to find that file type extension name, as I have done properties via right click which gives no name for file type there, or right clicking choosing the option to look at it’s location to see it’s path also gives no indication for a file extension.

The path to the file I want to make this .desktop launcher for is as follows:


The file name I need to launch is as follows:


launching the application which works in all terminals if typed in the command for launchin it is as follows:

sudo ./networktablet

I have been at this 36 hrs plus now trying to figure it out I had been getting some intermittent help online but that failed, it’s driving me crazy, I want it to add the icon to the docky dock, as I am making my own customized distribution.

But I would like to transfer it to other machines if necissary at some stage when customized fully, so I need it to be saved when completed as a systemback backup to do that the easy way with everything as is ready to go, I want it on the dock when re-installing or installing to any machine and the ease of accessing it on any machine from the dock by simply clicking a icon for it as aposed to typing it in to launch all the time through a terminal I have to click and open first, the same for if I wish to add further commandlines to open one click instead of open a command shell then type it in, I would like to have them in the app search as well meaning they need to be a .desktop file in the .local/share/applications folder that much I have learned with making other launchers.

Please can someone help I am very new to linux as in days but am good with windows not so much in commandline but anything else, I just switched os’s for good I prefer the security and the speed and fluidity of the ubuntu os.

I’m hoping for some help to come, so I can keep my hair as it is before I pull it all out lol

Thanks in advance

Python program for temperature using for loops [on hold]

In this assignment, you will write a Python program that gets a list of ten (Fahrenheit) temperatures from the user and then classifies them in terms of whether water would boil/stay a liquid/freeze. Recall that in Fahrenheit, water boils at temperatures 212 and higher; water freezes at temperatures 32 and below; and water remains a liquid at temperatures in-between those boundaries.

Here is a sample run of the program (note that user input is in black, and printing from the program is in blue): enter image description here

How to write a coterminating, effectful program?

[Using Idris for code examples and terminology, but the question is not about Idris per se]

In a post titled A Neighborhood of Infinity, @sigfpe argues that “the kind of open-ended loop we see in operating systems and interactive applications” is to be modeled mathematically using codata, and that these sorts of programs can even written in a total functional programming language if they found to coterminate. Though I don’t yet understand this to the depth in which he lays it out, the idea makes sense, and I’m familiar with the fact that Idris’ totality checker (for example) considers cotermination. Thus, we might write the Unix yes program thus:

yes : Stream String yes = "yes" :: yes 

—except that this is not Unix yes, but intra-Idris yes. I cannot run this program and have it do what yes does: I need an effectful program. Stream is a Functor; it seems I want a main : Stream (IO ()). Let me make the example slightly more compelling by making this an interactive program, as @sigfpe speaks of:

stopOrPrint : String -> IO () stopOrPrint s = do   maybeQ <- getChar   if maybeQ == 'q'   then pure ()   else putStrLn s  main : Stream (IO ()) main = map stopOrPrint yes 

But Idris does not accept programs whose main function has type Stream (IO ()). No problem, maybe if I used traverse_ : Foldable t => Applicative f => (a -> f b) -> t a -> f () instead of map, I could get a main with the right type, IO (). However Stream is not a Foldable, and I’m thinking it’s not just because Brady forgot to implement it: how do you guarantee that you can fold a potentially infinite value into a finite value? Isn’t that kind of crossing over from infinitude to finitude the opposite of totality?

So I’m stuck. I love the idea that with codata and cotermination, we could write a total operating system or even server. But when I actually go to write a socket server in Idris, I end up marking stuff partial; yet Idris’ totality checker respects these ideas.

Am I running into a limitation of Idris (or any languages currently in existence), or a more fundamental limitation? If Idris just learned to take a Stream (IO ()) for its main, would that solve it? I have a feeling that still doesn’t address the underlying issue, because now you have a bunch of disconnected IOs: don’t you actually want an infinite IO monad (can there be such a thing?)?

Is it possible to mix cotermination and effects, in a pure, total functional language? Has it been done? If not, what would it have to look like?

Is there a way to copy a Windows program from an external HDD into WINE?

I am running Windows 10 on an external HDD. I only use Windows for one program for work, otherwise, I use Ubuntu 19.04 (Dingo). Is there a way to move or copy this program from my Windows HDD into WINE?

This program was installed by the IT dept at my client’s office, so I don’t have access to the installation media. None of them know Ubuntu (or any other Linux distro), so it’ll be easier if I don’t have to involve them.

I want to be able to format the external HDD to use as just a drive instead of reserving it for just one program.