Skip to content

u/netpumber

In this archive from Feb 2017 to Dec 2024

50
posts
33
comments
1
media
197
score
4 saved before deletion

Top posts

Top comments

Hi. For some reason, I couldn't add text to my post's body.

​

I'm having a bash script that accepts let's say two arguments, then it takes some time (around half an hour) to get the results stored into some files. So now I want to create a simple web interface where a user will provide these two arguments and the server will execute the script. Since the execution takes some time I was wondering how something like that could be implemented.

​

One thing that I thought was to put all submissions into a queue executing one by one and create temporary links for each user to enter and display the status of his/her submission (pending/done). One possible disadvantage for such an approach could be the waiting time for the last users in the list.

​

Then I thought to use aside with the waiting list something like thread spawning to execute more than one scripts at a time but I really don't know if such things are achievable using PHP and if that is the best way to approach it.

​

​

​

Any idea or hint is welcome.

2 points

Follow your advice and pacman indeed now is working but I'm trying to run pacman -Suy and after answering yes, I got:

error: failed to commit transaction (conflicting files)

libpsl: /usr/lib/libpsl.so.6 exists in filesystem

libpsl: /usr/lib/libpsl.so.6.2.0 exists in filesystem

but with pacman -S --force libpsl seems to work.

As for the HDMI , with downgraded kernel to .7, and having tried to power off the system, nothing changed.

Here are the packages I updates today. Just to notice that I updated kernel .8 2-3 days ago. (The morning HDMI still worked so I thought that something went wrong with those packages)

https://pastebin.com/xbQTycUN

2 points

Subreddits

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.