Skip to content

u/ncsuwolf

In this archive from Jan 2016 to Jun 2021

0
posts
72
comments
0
media
352
score

So put a second access point in the lab which connects to a switch?

You keep using the word ethernet, but I don't think you actually know what it means. Wi-fi transmits ethernet frames. Same ethernet frames that get sent down cat5e cable.

1 points

stockfish is the world's strongest chess engine and it is FOSS and available in the AUR. It is just an engine though, you'll need other software to interact with it. I use SCID, which is also in the AUR and has a bunch of useful database functionality for analyzing games. There's also these options.

24 points

Most of them. I use the dvorak keyboard layout, map control to space when held (press and release still does space), shift keys to parens (this and the last accomplished with xcape), menu to hyper (another modifier like control and alt), and caps lock to a key which doesn't exist on any keyboard so that I can use it for my own purposes.

I also set Emacs keybindings in every program possible, which shuffles around most common key-chords (like C-v paste becomes yank which is C-y).

1 points

I really dislike python, but to each their own. Primarily I hate the whitespace as syntax idea. I find it to be much more difficult to work with compared to lisp because the editor can't assume as much about the program which means the programmer has to do more work. It also lacks some pretty awesome features as compared to lisp. Namely the macro system and the anonymous functions in python are severely gimped compared to lisp.

1 points

Some of my init is definitely "standard" and just setting variables and such but a lot of it does actually add unique functionality to suit my needs. Over time I've turned parts of my init into packages once it matured to the point I thought others might find it useful.

As for CL I use it for just about everything. As a language it is pretty great. It allows for every programming paradigm there is and can move from the lowest level bit twiddling to the highest level meta programming seamlessly as the problem demands. Some implementations, like SBCL, are also remarkably fast. For well written code it can approach times comparable to C with much less overhead and difficulty in the actual programming. As the program gets more complicated it can actually be faster than C due to the flexibility CL allows. Nowadays the only time I don't program in CL is when I'm working on a project which is already in another language.

2 points

I primarily program in Common Lisp and therefore am a heavy Emacs user, since Emacs is the best IDE for CL and most lisps. Emacs by default comes with a crap ton of packages including modes for most popular languages. Rarer languages and additional functionality packages are available in the two main repos: ELPA which is maintained by Emacs and the core developers and MELPA which is a community repository which accepts pretty much everything with a modicum of moderation. The former is considered as much a part of Emacs as what you get when you install Emacs from a package manager.

I should also point out that with Emacs unlike most other programs, its packages aren't plugins like with other programs. Once loaded an Emacs package is in every way a part of the resulting program and is indistinguishable from a base part of Emacs. This is opposed to how say vim works where plugins interact with the base program through a predefined plugin api. This is possible in Emacs because the language used to extend it, elisp, is the same language it is implemented in. Because of this all sorts of cool things are possible in it including redefining core functions at run time.

I honestly don't know anyone who has used Emacs for a significant amount of time who doesn't have dozens of packages installed and thousands of lines of customization to tailor the editor to their personal taste. I just checked and I personally have 73 additional installed packages and just shy of 3k lines of elisp code in my init file.

22 points

For future reference you can use yaourt to build abs packages with

yaourt -Sb <foo-package>

It will prompt you for editing the package build. I use this for a couple of packages in the repos where I need to change the compile time options.

2 points

Some of the aur helpers can build the repository packages as well.

I use yaourt -Sb package-name-here for a few packages which I need to modify. It will prompt you with an edit package build query. I also typically add them to the ignored packages list so they don't get auto-updated to something I don't want.

The ones I modify update rarely so I haven't looked into an automated solution to the problem. The above requires you to re-modify the pkgbuild each time.

1 points

There is no simple transform which will behave intuitively, because the human ear is not a simple mechanism. Take a look at the graph of equal loudness contours. As you can see linear changes in dB will not result in linear changes in perceived loudness, nor will corresponding changes in %. If you prefer to use dB that's fine. So long as it works for you there is nothing wrong with it, but I don't think anyone should recommend others use it instead of %.

0 points

I would surmise this is because amixer is unable to set the output for that particular piece of hardware to exactly 50% due to the limitations of the hw. Instead it puts the level at the closest value it can, in this case 51%. For what it's worth I just tried this on my machine and it was able to set to 50% when asked.

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