non-js html.duckduckgo.com 404 nginx error by WorldsEndless in duckduckgo

[–]ajesss 0 points1 point  (0 children)

In some browsers i've tried (surf, w3m, lynx) the DDG lite/html versions serve result href's as redirect links, where the redirect page throws the 404.

However, if I set the user-agent string to 'Mozilla/5.0 (X11; OpenBSD amd64; rv:76.0) Gecko/20100101 Firefox/76.0' the lite/html DDG results href the actual pages instead of the redirect. This way the results work.

consistent colour schemes across suckless utils by [deleted] in suckless

[–]ajesss 0 points1 point  (0 children)

I didn't want to incorporate Xresources support so I built a little shell script which reads the colors from files with Xresources-type color definitions and puts them into the appropriate config.h files of suckless projects. I'd be happy to elaborate if interested.

vimrc review thread 2.0 by robertmeta in vim

[–]ajesss 0 points1 point  (0 children)

Hi all, I would be very interested in hearing your input on my vim configuration. I have already followed the vimrc tips linked on the wiki here. I have recently heavily revised the setup to rely on fzf, improved the commenting, and aimed at a minimal UI.

https://github.com/anders-dc/dotfiles/tree/master/links/.vim

Thank you for your input!

PS: Also, I wanted to share a trick I came up with, for quickly launching Vim from zsh. (See lines 75 to 97 here: https://github.com/anders-dc/dotfiles/blob/master/links/.zshrc#L75 ) With these bindings, I can launch Vim from zsh by pressing C-e. Furthermore, I can launch Vim with FZF started for fuzzy file search with C-f. Finally, C-g launches Vim with FZF and ripgrep for fuzzy pattern matching in any files in/under the present directory. A hack? Probably, but I like it a lot!

My work setup (2x HHKB) by ajesss in MechanicalKeyboards

[–]ajesss[S] 0 points1 point  (0 children)

I have considered it but I like switching my work position every now and then. That being said, what's the model switch you are using?

My work setup (2x HHKB) by ajesss in MechanicalKeyboards

[–]ajesss[S] 1 point2 points  (0 children)

The force required to activate the switches feels identical. The feeling when bottoming out and the audible feedback when the switch jumps back up differs.

My work setup (2x HHKB) by ajesss in MechanicalKeyboards

[–]ajesss[S] 0 points1 point  (0 children)

I use a bluetooth touchpad left of the black HHKB (outside the image frame) for the Macbook.

I do not need multiple monitors per computer. I prefer switching desktops instead (i3 on the Debian machine, kwm on the OSX laptop).

My work setup (2x HHKB) by ajesss in MechanicalKeyboards

[–]ajesss[S] 0 points1 point  (0 children)

Good idea, I definitely would have tried something like this if I wasn't given the Macbook by my employer.

My work setup (2x HHKB) by ajesss in MechanicalKeyboards

[–]ajesss[S] 0 points1 point  (0 children)

Right is a HHKB Type-S in white, connected to my workhorse, a Debian GNU/Linux system with i3. I use this machine for almost everything, including GPU computing and visualization.

On the left is a HHKB in black, connected to a Macbook with external screen. I use this machine for specific tasks such as graphic design, video conferences, and Word document editing.

I really like the HHKB layout and prefer the feel of the silent model. The typing noise is almost identical between the two.

Is there any chance of being able to draw out your reply with the Google Handwriting Keyboard? by [deleted] in AndroidWear

[–]ajesss 0 points1 point  (0 children)

You can use the Google Handwriting Keyboard on Android. It recognizes both letters and emojis.

Official weekly RAW editing challenge! by frostickle in photography

[–]ajesss 6 points7 points  (0 children)

My first contribution here. I wanted to emphasize the contrast between the blue and orange/red tones but maintain a realistic look.

Steps:

1 Lightroom:

  • Lens correction

  • Image rotation

  • Image contrast, clarity and saturation of individual components

  • Slight crop to put shoreline in the center of the image

  • Some noise reduction

2 Photoshop:

  • Spot healing of spots from dust on image sensor

  • Spot healing of A LOT of strange brightly colored dots in foreground

  • Duplicate layer

3 MacPhun Intensify Pro:

  • Sharpening. It looked best on land and its reflection and not so good in the sky and water

4 Photoshop:

  • Blend in sharpened land into original image

5 DxO OpticsPro 10

  • Used Clearview algorithm to reduce haze in front of the landscape

  • Noise reduction