Skip to content

u/falderol

In this archive from Mar 2015 to Oct 2024

1
posts
232
comments
0
media
534
score
7 saved before deletion

The error comes from a program that is trying to do tty operations on a file or a pipe.

Your xargs syntax looks wrong. -i is used to provide a pattern to replace.

I dont know what you are doing with the braces.

Basically that whole thing looks dodgy.

I would start over. Take fzf out of the equation and just work from a text file first. What is fzf supposed to find? How are you providing it a pattern?

3 points

I like mint/xfce. You can customize it without much effort. Just take one of the themes and copy it to your home directory. Then you can modify it.

Linux has tons of free software that is available through a central repository for your distribution. That means that you can download without having to worry about viruses.

The system is very programmer friendly which means that there is constantly new and interesting things being developed for it.

Its versatile enough to run everything from the smallest to the largest computers in the world.

And you will be a more powerful, more versatile user once you learn it.

2 points

I think you could specify it to run on the 12th.

Then inside the script, you could use the date command and test to see whether the day is sat or sunday. Then run a while loop until the day gets to Monday and execute it then.

1 points

You can set an ip address on a network interface with ifconfig or ip. The publishing happens via the arp protocol. An arp broadcast goes out and any host that knows the MAC address of your IP will respond with your MAC address. Then hosts will send to your IP via your MAC address.

When your ethernet card hears its mac address, it forwards the packet up the network protocol stack of your computer and the packet gets unpacked and received.

Your network gateway is specified on -your- computer. There may be 10 differerent network gateways on a network. Your computer chooses which one it uses.

1 points

But you can use it the wireless. You can get out and browse websites...new websites.....before everything locks down right?

I would supect that your linux pc is getting the same address as your router somehow and is blocking access to the router IP address.

Verify on your computer what IP address it has when the lockup occurs.

Also. do a tcpdump on the wifi adapter and see if you still see packets of any kind...esp ones that are not yours.

Verify that the other host cannot ping the router.

If your router has really crashed the interface, then you need to update the firmware in your router to the latest.

Are you setting up as dhcp , or are you forcing an IP address?

Setup pings on the other boxes to the router....then join with your Linux box and watch to see if the pings stop.

If you are up to date, and the pings stop..... get a new router.

2 points

We had it at work a long time ago. Might be 30 years.

Everything was serial terminals. And the ability to just generate a menu of interfaces, have instructions on the interfaces, and allow data entry and queries with almost no development at all was magical.

Think about sales people that need an interface real quick. Yes you want to code something full featured, but this can get them up and running today, now. In 10 minutes.

And you do not want salespeople doing csv.

What is the fastest prototyping tool where you can present people with an interface you can (fill data, edit data, tab around, query a table).

Sure, in the future you want to do some joins, you want to exclude some records, but what can you fire up today.

1 points

Ok, lets say you have a table.

It has firstname, lastname, address, city state etc.

You want to present an interface to a typist that will allow them to plug in that data. It will fill the screen. The top might say client entry panel, the fields will be spread out on the page in a way that is logical for the business.

The fields will only allow you to enter data in the width the field will allow. First name is 25 characters varchar, so the panel will only present 25 characters of width to you.

All fields are editable, and there is a box to commit.

So its a business interface for data entry. It can also search.

This is all defined (compiled) from a text file.

The text file just contains layout markers that show where stuff sits on the panel.

                           Data Entry Panel   
 First Name [F001]      Last Name [F002        ]     Middle [F003]      
 Street [F004                                                                             ]

And taking a text file like that is all it needs to build an operational interface to do data entry on that table.

Informix would generate one for you, and then you could edit it with a text editor and change the layout and add the titles and put company stuff on it.

Then you could run it.

Zero development.

1 points

There needs to be a GUI application. All this application would do is create a GUI interface for any command-line tool that needs one.

You would talk to the GUI application in some way. Maybe pipe into/out of it.

There used to be a GUI enabled shell called wish. But I think this needs to be bigger than just one language.

So create a GUI that any other program popen and use as its interface.

If you can write it, its the ultimate tool.

Can you create a gui where to configure it, talk to it, get events from it, is all through some form of text stream.

Can you create the ever-lasting-gobstopper of GUIs

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