Alright this is an extremely poorly kept secret on here, but

Follow

๐ŸŽ‰ I'm releasing new crossword software today! cursewords is a terminal-based interface for solving crossword puzzles while looking like a hacker. Opens most any .puz file on Mac or Linux. โœ๏ธ๐Ÿ““ parkerhiggins.net/2019/03/curs

ยท Web ยท 5 ยท 21 ยท 44

@xor I try to install crossword, but I've got an error. I know you are not the owner of pupzy, but maybe you can help me. I'm on Linux Mint 19.1. I don't find reference of the error on google...

@dPingouin oh no! let's figure this out. what command did you run to install it? pip3 install --user cursewords?

@xor At first I tried
pip3 install --user cursewords
It failed about pupzy, so I tried
pip3 install --user pupzy
and I have the error in the screenshot

@xor pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

@dPingouin ok yeah that's a super old pip version, maybe that's the problem? try pip3 install --upgrade pip, which will prompt for sudo but that's probably a good choice here to do system-wide

@xor Oups...
I do the upgrade, and now, whatever the pip3 command I try, I get the error :
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip import main
ImportError: cannot import name 'main'

@dPingouin ok can you try hash -d pip? I think this is just an aliasing problem

@xor hash -d pip say nothing,
hash -d :
occ. commande
5 /usr/local/bin/apt
9 /usr/bin/pip3
1 /usr/bin/man
2 /usr/bin/apt-get

@dPingouin ok yeah, throw in a hash -d pip3 for good measure and then try pip --version again

@xor I uninstall pip and pip3 works now.
pip3 --version :
pip 19.0.3 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)

@dPingouin ok whew, I was worried we were getting into shark territory, a la xkcd.com/349/

@xor Install successful ! Only 38 minutes, not bad ๐Ÿ˜‰

@dPingouin we're really recreating that 90s computing experience

@xor Using system python/pip might be a bad time. Some type of virtual env and dependency setup like Pipenv and Pyenv for install, might make support easier.

@mcg yes, although I want the system-wide command-line entry point, and I was under the (maybe mistaken?) impression that I can't get that with virtualenvs

@dPingouin lol I always do that, I think I would've been confused with the hi/please in this case

@xor This name is the absolute best name that has ever been given to anything.

@_kb it was...... a large part of the inspiration for the project

@K_REY_C thank you! some people hate it (and are wrong)

@xor these people are so, so wrong. This is the best project name I can think of (though, admittedly, my thinking is somewhat hampered by the laughter and joy this project name inspired!)

@xor this is great, i have been getting emails from the Inkubator kickstarter and putting off printing them out or figuring how to get them onto my phone, but i just did a puzzle! thank you.

@xor this is several additional cans of worms, but do you know if there's any existing tool to convert a pdf containing a puzzle to a .puz file, missing answer data of course? it'd be a dream to be able to do the WSJ cryptic puzzles in this, and they're freely available as PDFs.

@redoak oh man, I have a lot of thoughts on that question, but the short answer is: not without a lot of specialized scripting, but I bet it's possible

@redoak are the WSJ cryptics also available in a JS web solver? i think my next project is... freeing those

@xor pdf only afaik. I may do a little poking around a custom solution - pdf2txt.py from pdfminer looks like it does a decent job with the clues, so it's maybe just the grid that'll be a challenge

@redoak the grid is "the challenge" but it's such a well structured challenge that I feel it's totally doable

@xor ah, looking at the puz format info, i'm unsure there's a way to express many of the puzzles under that format, much less a programmatic converter for them (examples here - blogs.wsj.com/puzzle/category/). ipuz or jpz seem like they might be more amenable but still, idk. gotta set this aside before i get totally snared and don't do any Actual Work today ๐Ÿ˜…

@redoak ah yes, this isn't compatible with puz, which is a pretty limited (and frankly, bad) format

@redoak also: yay that is so great to hear! I'd love to see a screen shot, and would happily take feature requests :) I'm a huge Inkubator fan and the recent Robin Weintraub puzzle was :100:

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!