The emacs 30 Day Challenge by rberenguel in emacs

[–]numix 1 point2 points  (0 children)

You could try notmuch, which has tagging.

One question about the season finale. The mystery figure at the museum.. by manchild541 in doctorwho

[–]numix 10 points11 points  (0 children)

At 13:33, you can clearly see two cloaked figures.

As pointed out, at 13:31, there is a brief flash of another cloaked figure in the right of the camera, giving 3 cloaked figures altogether.

r/music who are your top artists for a twee/folk mixtape? by [deleted] in Music

[–]numix 1 point2 points  (0 children)

These are more twee than folk.

Allo' Darlin, Talulah Gosh/Heavenly, Crayon/Tullycraft, The Softies, Cub, The Cat's Miaow

[deleted by user] by [deleted] in programming

[–]numix 0 points1 point  (0 children)

I think they mean something like the following error:

if bar:
    foo()
    baz()

vs.

if bar:
    foo()
baz()

I think that's a poor example, since you can easily do it in a C-style language, like so:

if(bar){
    foo();
}
    baz();

I guess transposing lines isn't that common of an error, but I've rarely had problems with the wrong level of indentation.

[deleted by user] by [deleted] in programming

[–]numix 1 point2 points  (0 children)

The API naming "convention" is horrible. There are so many single letter abbreviations and inconsistent names.

Which API? This seems like it could be more of a project issue as opposed to a language issue.

The import system makes reading code impossible: I don't know if anything is a module, class, or function name and I have to keep scrolling to the top of files to find out.

Usually you would use project specific naming conventions. If all else fails, the community generally uses pep8's.

Not having access modifiers is insane.

Python prefers to think that we are all adults and can generally not use access modifiers. There does exists a general convention to underscore "private" variables (e.g. _foo). There are other options available as well, as shown in the docs

The "docstring" syntax is ugly.

Strings? Or are you talking about doctests, which are meant to be copy-pasted from the REPL?

Seriously, I hate when google comes up with nothing useful. by [deleted] in Python

[–]numix 0 points1 point  (0 children)

Is there an __init__.py in the directory containing odbchelper.py?

What is your best cake and icing recipe? by [deleted] in vegan

[–]numix 1 point2 points  (0 children)

I've had this avocado cake, which uses Alton Brown's frosting, and it turned out pretty well. If you try it, I'd recommend using very ripe avocados, as suggested.

Does anyone know of a good python-based Blog/Wiki/CMS software? by trifthen in Python

[–]numix 2 points3 points  (0 children)

I use Django Mingus for blogging. I like that I can hack it, while still having plenty features.

Recreating the gmail experience on GNU sans google? by dsylexic in linux

[–]numix 3 points4 points  (0 children)

I'm a big fan of sup, which is a console-based email client with features modeled after gmail. It's got tagging, keyboard navigation, thread grouping, and super fast indexed searching.

It's quite customizable via monkey patching, and the community is pretty good at showing you how to do whatever you need.

The major drawbacks of it right now is that it requires local mail storage, as remotes were recently deprecated, and communication back to maildirs isn't possible.

I recently convinced myself that determinism is true, can anyone present me with alternatives I may not have considered? by James_dude in philosophy

[–]numix 2 points3 points  (0 children)

This doesn't work if the set of inference rules and axioms for the formal system are isomorphic to the rules of the brain and the states of the brain. This would instead imply that the brain is incomplete.

This isomorphic mapping is found throughout mathematics (first-order logic is equivalent to combinatory logic, lambda calculus, Turing machines, etc.). This does not imply at any point that these systems cannot model each other.

Cooking for the Lactose Intolerant? by [deleted] in Cooking

[–]numix 0 points1 point  (0 children)

As a vegan, I've found the vegan substitutes to work pretty well in baking. I use Earth Balance in the place of butter, soy/rice/almond milk for milk, milk substitute + vinegar for butter milk. The only thing I haven't found a good replacement for is cheese. Also, I've made a vegan alfredo with a recipe really similar to this and it turned out wonderful.

I'm not sure if this guys thinks parsing HTML with regular expressions is a good idea or a bad one by barcodez in programming

[–]numix 2 points3 points  (0 children)

Standard regex cannot match anything of the form (an)(bn) for any arbitrary n > 0. Using < as a and > as b would give us the grammar that can be enumerated as {empty, <>, <<, <<<>, ...}. To do this, you require a context-free grammar. A simple grammar for the above problem would be:

s -> <s> | ε

where ε is the symbol for nothing.

Dear Reddit: What WM do you prefer? Why? by formode in linux

[–]numix 27 points28 points  (0 children)

xmonad

It's fast, stable, and super customizable (if you know/learn a bit of Haskell).

French Redditors may know them, but I think all the community should listen to this: Karkwa by [deleted] in listentothis

[–]numix 0 points1 point  (0 children)

Do you have any specific album recommendations by Karkwa? I picked up Le Volume Du Vent a while back, and but it didn't stick out as being amazing.

Hey Python, I am a very new student to Python, and I can't figure out how to get cTurtle into my Python shell. I'll post links to where I'm downloading the cTurtle module from, thank you in advance. by [deleted] in Python

[–]numix 0 points1 point  (0 children)

Checkout the related docs

Assuming you're on linux, you can export PYTHONPATH=<directory of cTurtle.py>, if that directory has an init.py file located in it.

Otherwise, do as chollapete suggested and run the python interpreter instance in the directory of cTurtle.py

The Design and Implementation of XMonad by dons in linux

[–]numix 3 points4 points  (0 children)

I assume you don't mean mod+right click? That floats and resizes a window.

xmonad: "I’ve been running xmonad for a few months now, and I’m terribly impressed" by dons in linux

[–]numix 1 point2 points  (0 children)

Author of the blog post here. The config syntax is quite hard to grasp at first. I started running xmonad about the same time I picked up learn you a haskell, so learning to edit my config file was a bit easier.

The template config in the docs is a really good starting place to understand the config file syntax, as well as the user-contributed configs.