No it's just impossible. How would any side effects be reversed e.g. a echo, you can't take back data the you gave the user. Also mathematics, there are functions which are even called one-way like floor(...)
And how would that work? Aside the fact of some function having no reverse like %, the last statement in a function that gets executed is a return so the reverse of a function would immediately return (some undefined value)?
It is used to translate domain names in to IP addresses. Domain names resolution of such names works even withy a DNS server. In an environment where no connection to a DNS server is available names entered into this file could still be resolved. Also this file has priority over any DNS server so you could use it to point google.com to what ever address you like.
Are you sure your cpu is locked up or is it just the screen? Have you tried an external monitor (maybe just the graphics card locks up)? If you are sure that the whole computer freezes I'd try to find a reliable way to trigger this behavior and then go from there.
Edit: what happens if you ssh in to the laptop and then trigger this behavior?
I did something like this (for a different purpose tho) in one of my projects https://github.com/aichingm/arch-spawn. It's all in the Makefile (unpacking, editing and repacking).
Edit: it does basically what you have described; extracts the iso by mounting it, changes the contents and packages it up as an iso again with mkisofs.
Edit II: Without the errors it's hard to give more advice...
Don't get me wrong, not trying to be snarky or something but it works for me. I never had any problems with the repo packages and pacman -Q | grep haskell | wc -l tells me I have 220 installed.
As far as I know all packages are downloaded during the installation. You could technically just dd the file system onto your hard drive with some modifications to the partition tabe and boot loader (probably doable). A little while ago I needed an offline installer so I wrote a script which generates a new iso from the official iso which can run a full offline installation. The script downloads the packages, packages them onto the iso and changes the pacstrap script a little to use the downloaded packages. https://github.com/aichingm/arch-spawn
Before uploading the file check for usernames and passwords in there they might customize the script (therefore the login), some people do strange things... Also probably illegal to upload it, check the license.
Arch isn't doing anything to anything except you tell it to do so. I know this is not much help but the install scrip it behind a log in so I can't lock at it...
One more vote for Okular
Exactly +1
No it's just impossible. How would any side effects be reversed e.g. a
echo, you can't take back data the you gave the user. Also mathematics, there are functions which are even called one-way likefloor(...)And how would that work? Aside the fact of some function having no reverse like
%, the last statement in a function that gets executed is a return so the reverse of a function would immediately return (some undefined value)?Is this some kind of meme?
It is used to translate domain names in to IP addresses. Domain names resolution of such names works even withy a DNS server. In an environment where no connection to a DNS server is available names entered into this file could still be resolved. Also this file has priority over any DNS server so you could use it to point google.com to what ever address you like.
Check your locale settings
You could try installing xterm, start xterm and try executing gonme-terminal from there. It may output some error massage.
Just saying blurring is hard on the silicon...
Shutdown your computer and start at the first line of the install guide again.
Since the flickering also happens on ttys a graphics driver issue sounds about right.
Have you checked if it is just X or none X related stuff too? Can you change to a different tty when this happens?
Are you sure your cpu is locked up or is it just the screen? Have you tried an external monitor (maybe just the graphics card locks up)? If you are sure that the whole computer freezes I'd try to find a reliable way to trigger this behavior and then go from there.
Edit: what happens if you ssh in to the laptop and then trigger this behavior?
Have you tried "sudo mount -o loop iso dir"?
What command did you try to mount the iso?
I did something like this (for a different purpose tho) in one of my projects https://github.com/aichingm/arch-spawn. It's all in the Makefile (unpacking, editing and repacking).
Edit: it does basically what you have described; extracts the iso by mounting it, changes the contents and packages it up as an iso again with mkisofs.
Edit II: Without the errors it's hard to give more advice...
why? I installed Haskell via pacman and everything just works!
How did you install ghc? ghcup is not the repo's ghc!
What happens when you run `/usr/bin/ghc test.hs` ?
Edit:
I have installed Haskell from the repo and have no problem at all:
That's a bit vague. what does not work?
Again what is needed to be fixed?
Don't get me wrong, not trying to be snarky or something but it works for me. I never had any problems with the repo packages and
pacman -Q | grep haskell | wc -ltells me I have 220 installed.Arch wiki to the rescue https://wiki.archlinux.org/index.php/Localization/Korean#Input_methods
Tldr; I wrote a script which generates a iso for offline Installation. https://github.com/aichingm/arch-spawn
As far as I know all packages are downloaded during the installation. You could technically just dd the file system onto your hard drive with some modifications to the partition tabe and boot loader (probably doable). A little while ago I needed an offline installer so I wrote a script which generates a new iso from the official iso which can run a full offline installation. The script downloads the packages, packages them onto the iso and changes the pacstrap script a little to use the downloaded packages. https://github.com/aichingm/arch-spawn
cp -r ~ /mnt/[newroot]/home/ as experienced masterkalihacker you should know that...
Before uploading the file check for usernames and passwords in there they might customize the script (therefore the login), some people do strange things... Also probably illegal to upload it, check the license.
Arch isn't doing anything to anything except you tell it to do so. I know this is not much help but the install scrip it behind a log in so I can't lock at it...
pacman -Q > file