Skip to content

u/Defender90

In this archive from Jan 2016 to Apr 2019

10
posts
70
comments
3
media
622
score

Top posts

Big thread of linux 4.15 problems

This sub has been overflowing with kernel 4.15.x-related problems these last few days. It would be helpful if we could compile a list of issues in this thread instead of dozens of posts about the same issue. Also, for those of us holding off on 4.15 upgrades, it would be nice to know when the major...

119 points110 comments
Open on Reddit

Wayland and Electron apps

Does anybody have electron-based apps working under Wayland? I'm running a current Arch installation with the latest Slack, Spotify, and Mattermost, but none of those apps work. I start them up and they paint but I cannot get the mouse cursor to focus on any text input, button, etc. Everything else...

18 points11 comments
Open on Reddit

Top comments

I've been running Linux on the desktop since 1994. I write software and I'm a Principal Engineer at a tech company in the Silicon Valley. Yet, there was once a time way back then when I didn't know how to stop ping, either. Your post reminded me of my favorite computer story:

When I was a freshman at Vanderbilt in 1993, they gave us all accounts on a VAX system. Those accounts included an allocation of system time (think CPU cycles) each semester for us to use for things like email and class registration. A few months into it, I discovered IRC and was quickly hooked.

The problem was, I didn't know how to kill the IRC client once I started it, so I would just shut down the serial terminal that I was using but that didn't actually stop the process. It ran and ran in the background, burning up lots of CPU time. Add a few IRC clients started and left running like this each day and I quickly blew my semester usage quota.

A month into this, my parents called me up and asked me what the $700 bill for "CTRVAX usage" was. They charged me for it! You could run that entire system on your Apple Watch these days but back then, I had burned up a lot of CPU and it cost a lot of dough. I went to the IT office and they forgave my bill and told me to go to the CS lab instead and use their Sun workstations because they were free. A young /u/Defender90 sat down at the csh shell for the first time and with the aid of a Xerox'ed copy of helpful SunOS commands, got my introduction to what would become my future career.

177 points

Back in the day (early 1994), this is how you would install Linux. You did everything manually just as you do it now with Arch. In fact, it was much harder because you had to do things like edit kernel headers to change IRQ/address settings to get things like your NIC, CDROM, and sound card working. X11 was another matter. You had to painstakingly work out Modeline settings for your monitor through much trial and error. There were no packages or AUR. Every piece of software had to be downloaded and compiled manually. Maybe it had a good Makefile, maybe it didn't. You almost always had to edit the Makefiles before the days of GNU autoconf.

In short, everything was a pain in the ass and really challenging but it felt awesome once you had it all working. I'm quite sure that Linus would have no problem with it now because he surely had no problem with it back then.

8 points

You need an expect(1) script or similar to pull your password out of pass. Check this out, specifically the second answer and comments:

https://stackoverflow.com/questions/11240184/pass-private-key-password-to-openvpn-command-directly-in-ubuntu-10-10

If you control both sides of the VPN, look into purchasing a YubiKey and using its OTP mode. That's a more secure solution. https://developers.yubico.com/yubico-pam/YubiKey_and_OpenVPN_via_PAM.html

8 points

Here in Kansas, we have exciting weather and I like to keep track of it when I'm stuck indoors at work. I have a Davis Instruments Vantage Pro2 station on a pole back on my property and it wirelessly broadcasts live readings every 3 seconds.

I have a website for viewing my weather but I thought it would be cooler if the current conditions were displayed on my desktop in Polybar. So, I wrote weather-bar, which pulls live readings from the weather server software I wrote and displays them in a Polybar module.

It's important to note that this is the actual weather as observed right now on my property, not some NWS observation from the nearest airport.

I wanted to learn about gRPC for this project, so I'm using that to efficiently transport the weather readings over the Internet. Thanks to gRPC's light weight, this shouldn't be a problem to run over airplane WiFi or slow coffee shop networks.

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