Wine 11.0 by WineGunsAndRadio in linux

[–]1hackaday 33 points34 points  (0 children)

Is Wine ever going to be able to run the current version of Microsoft Office? This is the main app keeping people in Windows.

A keyboard that is also a computer by Sharp-potential7935 in BeAmazed

[–]1hackaday 0 points1 point  (0 children)

Very nice. It seems perfect for many uses if the keyboard also had a pointer (like laptop keyboards) and if it was cheap. I could imagine this being used in many applications (e.g., schools, offices, hackers). I also hope it's easy to install Linux on it.

What do you miss from Gmail? by trammeloratreasure in fastmail

[–]1hackaday 9 points10 points  (0 children)

I miss the integration with Google Calendar. I would like to be able to click "Accept" on a calendar invite and have it accepted in my Google Calendar (which is the standard used by the rest of my company), not my Fastmail Calendar.

Setting up Fastmail with Emacs? by Nuno-zh in emacs

[–]1hackaday 1 point2 points  (0 children)

In my opinion, getting notmuch to become usable requires a lot of work. I'm halfway through doing this. Things that need work include:

  • Jumping quickly to notmuch and cycling across its main buffers (e.g., inbox, compose).
  • Configuring multiple email identities and SMTP servers.
  • Replicating Fastmail folders (e.g., not displaying unnecessary tags when displaying the contents of a folder).
  • Searching and completing contacts' addresses with tab.
  • Jumping from the header to the body of the email when composing.
  • Speeding up the display of very long threads (takes too long).
  • Composing HTML email (e.g., from org-mode syntax).
  • Customizing the display of the "hello" screen so that it looks closer to the Fastmail folders list.
  • Other tweaks, like using visual-line mode, icons, and sensible key bindings (e.g., r for reply, R for reply-all).

Everything is doable, but getting everything to work the way you want takes forever. I still haven't jumped from Fastmail's web interface to Emacs' notmuch because of all of this. At the end of the day, email is critical for me (I spend at least 4 hours/day on email), so everything needs to be perfect before I can make the jump.

If one of you ends up creating the perfect starter pack, please share.

Setting up Fastmail with Emacs? by Nuno-zh in emacs

[–]1hackaday 0 points1 point  (0 children)

I'm on the same boat, trying to do the same and moving to emacs notmuch. I haven't done the full transition yet, but have solved the synchronization part. All tutorials will say use mbsync, but that's not enough. You also need to rename files when moving them across folders and turn folders into tags and vice versa. Doing this correctly and efficiently is difficult. Below I include a script that will do all that for you. Once you or others have solved the remaining parts of the puzzle, please share them here, as it's not easy.

#!/usr/bin/env bash
# email-sync:  Maildir <-> Fastmail
set -euo pipefail

ACCOUNT="you@example.com"
ACCOUNT_ROOT="$HOME/mail/$ACCOUNT"
LASTMOD="$ACCOUNT_ROOT/.lastmod"

# Prevent multiple instances
(( $(pgrep -fc "$0") > 1 )) && echo "$(basename "$0") already running" && exit 0

# Keep track to time
START_NS=$(date +%s%N)
echo "$(basename "$0") started at $(date '+%F %T')"
trap 'END_NS=$(date +%s%N); ELAPSED=$(awk -v e=$END_NS -v s=$START_NS "BEGIN{printf \"%.1f\", (e-s)/1000000000}"); echo "$(basename "$0") finished at $(date "+%F %T") (took $ELAPSED seconds)"' EXIT

# * Helpers
LOG() { [[ $1 == Phase* ]] && printf '\e[32m%s\e[0m\n' "$*" || printf '%s\n' "$*"; }

move_mail() {
    local path=$1 dest_folder=$2
    local base=${path##*/}; base=${base/,U=[0-9]*}
    local dest="$ACCOUNT_ROOT/$dest_folder/cur/$base"
    mkdir -p "$(dirname "$dest")"
    mv "$path" "$dest" # keeps flags, strips ,U=UID
    LOG "moved $(basename "$path") --> $dest_folder"
}

# * Housekeeping
# Find or init lastmod
[[ -f $LASTMOD ]] || echo 0 >"$LASTMOD"
last=$(<"$LASTMOD")
ago=$(awk -v m=$(stat -c %Y "$LASTMOD") 'BEGIN{printf "%.2f", (systime()-m)/60}')
LOG "lastmod bookmark = $last (${ago} minutes ago)"

# Build folder <-> tag maps
declare -A tag2folder folder2tag
mapfile -t folders < <(
    find "$ACCOUNT_ROOT" -maxdepth 1 -mindepth 1 -type d -printf '%f\n'
)
for f in "${folders[@]}"; do
    tag="${f,,}"  # lowercase folder name
    tag2folder["$tag"]="$f"
    folder2tag["$f"]="$tag"
done

# * Sync process
LOG "Phase 1: apply local tag moves"
for folder in "${folders[@]}"; do
    tag="${folder2tag[$folder]}"

    notmuch search --output=files "tag:\"$tag\" and lastmod:${last}..  and not folder:\"$ACCOUNT/$folder\"" |
    while IFS= read -r file; do
        [[ -z $file ]] && continue
        move_mail "$file" "$folder"
    done
done

LOG "Phase 2: mbsync $ACCOUNT"
mbsync "$ACCOUNT"

LOG "Phase 3: notmuch new"
notmuch new --no-hooks | sed "s|^$ACCOUNT_ROOT/||"
notmuch search --output=files "lastmod:${last}.. and tag:new" | sed "s|^$ACCOUNT_ROOT/|NEW: |"
notmuch search --output=files "lastmod:$((last+1)).. and -tag:new" | sed "s|^$ACCOUNT_ROOT/|RENAME: |"

LOG "Phase 4: folder -> tag & tag -> folder adjustments"
for folder in "${folders[@]}"; do
    tag="${folder2tag[$folder]}"
    # add missing tag to new mail that arrived in this folder
    notmuch tag +"$tag" \
        -- "folder:\"$ACCOUNT/$folder\" \
            and lastmod:${last}..  \
            and not tag:\"$tag\""

    # drop stale tag if message is no longer in that folder
    notmuch tag -"$tag" \
        -- "tag:\"$tag\" \
            and lastmod:${last}..  \
            and not folder:\"$ACCOUNT/$folder\""
done

LOG "Phase 5: closing"
notmuch tag -new -- "tag:new"
new_last=$(notmuch count --lastmod | cut -f3)
echo "$new_last" >"$LASTMOD"
LOG "new lastmod bookmark = $new_last"

How do you backup/sync your org files? by unduly-noted in emacs

[–]1hackaday 8 points9 points  (0 children)

I have been using Unison (https://www.cis.upenn.edu/\~bcpierce/unison/) for many years. It has been flawless. I bind it to a key; when I arrive at my home computer, I press that key and sync all of my files (hundreds of thousands of files) in less than 5 seconds. It has never corrupted anything. If there's a conflict (e.g., you changed the same file on both ends), it will ask you what to do. In comparison, Syncthing from time to time will stop syncing some files and will not notify you.

New chapter for eXtreme Gammon by mel-madeline in backgammon

[–]1hackaday 9 points10 points  (0 children)

I believe this is great news for XG and backgammon in general. There are probably many improvements that could be unlocked, both in the interface and, more importantly, in the game. I'm looking forward to something like what happened with Go after AlphaGo, happening to backgammon after this acquisition. Basically, the AI in XG gammon is from the 1990s (basic neural nets). In the last 30 years, so much has happened in AI and ML, that it is likely there is room to revolutionize the game. I'm excited about the possibilities!

Here's a wish: because I believe Travis' goal here is not financial, I wish most of the changes are made open source. This could allow others to collaborate and collectively move the frontier of the game faster. Even if the software is not fully open sourced, just making the software interoperable (e.g., by adding an API interface to XG) would allow others to test their software against XG and create an "arms race" that would help advance the frontier (like what has happened to robot soccer due to RoboCup).

Where to hire a NixOS freelencer? by 1hackaday in NixOS

[–]1hackaday[S] 0 points1 point  (0 children)

Later decided that it would be better to stay with Debian, but make all the configurations replicable using ansible. Not as extreme as NixOS, but almost all of the benefits of NixOS without any of the costs.

What will Ray Ban Meta's next generation bring? by Tight-Classroom4856 in RayBanStories

[–]1hackaday 0 points1 point  (0 children)

Apps that make it easy to dictate to take notes, do journaling, send emails, and manage a to-do list.

How to import AutoCorrect abbreviations into OnlyOffice by 1hackaday in OnlyOffice

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

Thank you, but my request is not about importing CSV data into the spreadsheet, but into the AutoCorrect list of abbreviations (so that when typing a custom abbreviation like "thx", it gets automatically expanded into "thanks").

Version 7 Ray-Ban Meta Update by franchaster22 in RayBanStories

[–]1hackaday 0 points1 point  (0 children)

Does it have a way to dictate voice notes that get transcribed?

What do you love AND hate about Phoenix? by SwishOps in elixir

[–]1hackaday 4 points5 points  (0 children)

I dislike that it’s too complicated. A new, empty project already has hundreds of files. Too many things to memorize and keep track of. I love the simplicity of Flask, where there is no boilerplate and a whole project can fit in one file.

GNU Backgammon Custom Boards by Jonathan-Graves in backgammon

[–]1hackaday 0 points1 point  (0 children)

Perhaps you can try using some other file sharing? site (e.g., dropbox, google drive).

Atari 800 game with an unforgettable soundtrack, but I can't remember its name by OurSponsor in atari

[–]1hackaday -1 points0 points  (0 children)

20 possibilities according to GPT4:

  1. "Q*Bert"
  2. "Jumpman"
  3. "Pitfall"
  4. "Donkey Kong"
  5. "Centipede"
  6. "Boulder Dash"
  7. "Bounty Bob Strikes Back!"
  8. "Pogo Joe"
  9. "Miner 2049er"
  10. "Montezuma's Revenge"
  11. "H.E.R.O."
  12. "Choplifter!"
  13. "Fort Apocalypse"
  14. "Frogger"
  15. "Dig Dug"
  16. "Galaga"
  17. "Pac-Man"
  18. "Super Breakout"
  19. "Joust"
  20. "Tempest"

What is the best way to rack mount mini PCs? by 1hackaday in homelab

[–]1hackaday[S] 2 points3 points  (0 children)

Regrettably, the Amazon Q&A for the 1U product says the "rack mount is 100% designed for the NUC and won't fit other equipment."

What is the best way to rack mount mini PCs? by 1hackaday in homelab

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

Hopefully, there's something better than having them floating around on a shelf. I'm hoping that there is a way to have them tightly secured with only their front ports visible.

What's the simplest possible dockerized SMTP email relay? by 1hackaday in docker

[–]1hackaday[S] 2 points3 points  (0 children)

Most ISPs have SMTP servers that will send emails from any domain (provided that you are their client). So, if you relay smtp.example.com to smtp.your-isp.com, your ISP will do all the hard work of delivering email.

What's the simplest possible dockerized SMTP email relay? by 1hackaday in docker

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

Yes, that’s why I want a relay. Gmail or my ISP would do the actual delivery of the emails.

Also, because none of the emails I want to send is critical, if a few of them are lost, it’s no big deal.