Skip to content

u/Defkeh

In this archive from Apr 2016 to May 2016

0
posts
16
comments
0
media
44
score

I avoid speculation.

If I enjoyed working with statistics, I would use the Reddit API to find some correlations between submission titles, contents, and comments based on how often similar submissions appear, time of day, type of post ... And so on.

Edit: one explanation is what /u/Aru21 suggests

You can extend your question to all of Reddit, really. People will respond to things they care about, or find interesting, or is some real challenge to solve.

2 points

Edit 2: I used the information described below to automate a login, without having to open a terminal based browser every time.

Since authentication occurs on the webpage, I assume you are able to connect to the access point?

I have used a combination of elinks, wpa_supplicant, and curl to accomplish a terminal-only login. It requires some set up. The steps go like this:

  1. Configure wpa_supplicant
  2. Visit the login page and extract the following fields, using a terminal-based web browser:
  • username
  • password
  • login command and value
  • form post URL
  1. Run wpa_supplicant
  2. Run dhcpcd
  3. Execute curl, sending the POST data containing username and password information.

Create a wpa_supplicant configuration file with the parameters for your access point.

A session may go like below, given the field names and variables you discovered are:

As root, or sudo, then do:

# wpa_supplicant -B -D wext,nl80211 -i wlp2s0 -c /etc/wpa_supplicant/my_university.conf
# dhcpcd wlp2s0
# curl --trace-ascii debugdump --trace-time --data "login_cmd=AuthenticateMe&username=${myusername}&password=${mypassword}&login_value=LogMeIn" --dump-header headers https://wifi.myuniversity.com/cgi-bin/login -o curloutput

The "difficult" part of this is discovering the HTML fields and parameters, and the the login URL - all the data that is sent and required by the log in page during a GUI browser session.

Edit: spelling, formatting.

6 points

Go for it. If you're uncertain, install in a virtual machine first.

I have done a fair bit of distro hopping over the years: Suse, Redhat, Gentoo, Xubuntu, Mint, Tails, Blackarch and Arch.

The important things about Arch to me is that I have good control over my system, I install only the packages I need (no bloatware), a vibrant user community, and stellar documentation.

I have found that many other distributions are tiresome for various reasons:

  1. Bloated (Mint, Ubuntu)
  2. Sellouts (Ubuntu)
  3. Terrible package managers (Suse, any rpm-based)
  4. A lot of effort for little reward (Gentoo)
  5. Forced into a way of using the system the way they want you to (Ubuntu, Mint)

If you want to tinker, you could always try out Minix for learning purposes, or to really get your hands dirty, try Linux From Scratch.

Edit: I forgot to answer the main question. It is my opinion, but I find Arch significantly easier and more fun to use than any other distribution I have previously used.

7 points

I have a Lenovo Flex 2.

Replaced the Samsung ssd in it for an Intel one.

Secure boot, efi, and LVM on LUKS.

Startup from cold boot to shell is about 4s.

No issues with hardware, everything has worked great since I got it last year.

3 points

Application logs are crucial.

I work in an environment where some of the hardware is from the 1980s-1990s and logging was implemented as an afterthought, at best.

Troubleshooting technical issues can be very challenging on those systems. It helps to ask the right questions, get your hands on any relevant information available, and ask the people who built the system, if that option exists.

2 points

You ask a very general question with almost no information for anyone to give you a useful answer.

If application Y provides a logging facility (i.e. a text file), try running it with verbose logging and attempt to get it to do X so relevant log messages are generated.

If no logging facility exists, then the app sucks.

If you have programming experience and access to the source code, compile the code with debugging symbols enabled, set a breakpoint near the offending code, and step through it.

I am making a big assumption that the program is C or C++ below.

For example,

  # gcc -g myprog.c -o myprog
  # gdb myprog

Or you can use an IDE like codeblocks or QtCreator with the gdb plugin.

3 points

Although the ISO should be dual ISO + FAT compatible, it wouldn't hurt to try DD-Image mode. But I've never used rufus myself ...

One suggestion, if you're new to Linux installs, why not try installing in a virtual machine first, rather than messing with the physical disk?

3 points

End of this list.

Back to top

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.