Skip to content

u/aichingm

In this archive from Nov 2018 to Dec 2022

0
posts
29
comments
0
media
142
score

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.

3 points

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?

1 points

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...

5 points

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:

denvercoder9> cat test.hs
main = putStrLn "Hello, World!"
denvercoder9> ghc -dynamic test.hs
denvercoder9> ./test
Hello, World!
denvercoder9>
5 points

I never get haskell to work

That's a bit vague. what does not work?

Are there plans to fix haskell packages?

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 -l tells me I have 220 installed.

5 points

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

58 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.