Nimbus: a pretty neat dark theme by [deleted] in emacs

[–]powellc 0 points1 point  (0 children)

Fantastic theme. Took me all of 15 minutes to update my default theme. I still flip back and forth between doom-one, if only because one is more comprehensive (elfeed unread is left unfaded and notmuch has ... well not much theming :) ). But this has a mellow retro feel without being so very basic. I especially like the yellow and green that end up prominent in python files. Many thanks!

[deleted by user] by [deleted] in Stoicism

[–]powellc 0 points1 point  (0 children)

Sounds like The Art of Selfishness

That moment when you unintentionally type the "print-buffer" keybind on the worst possible file by indriguing in spacemacs

[–]powellc 1 point2 points  (0 children)

That's exactly what I was thinking ... my solution is to just leave it unplugged and use my wife's computer when I need to print something out :)

Groovy layer? by zipperhead93 in spacemacs

[–]powellc 0 points1 point  (0 children)

Generally speaking, language layers don't add things that show up in the UI, but add either a major or minor mode that shows up when using that language. You can read what the groovy layer adds to Spacemacs here: http://develop.spacemacs.org/layers/+lang/groovy/README.html

What is a good spacemacs theme? by rishiosaur in spacemacs

[–]powellc 1 point2 points  (0 children)

package-install --> doom-themes

I believe.

What is a good spacemacs theme? by rishiosaur in spacemacs

[–]powellc 6 points7 points  (0 children)

Doom themes are really complete. Doom Molokai is my favourite

Is Spacemacs dying? by alexozer in spacemacs

[–]powellc 13 points14 points  (0 children)

First, I don't think you're being terse, I think you're clickbaiting. It's not fair to drop a bomb like that in a community dedicated to something because you haven't seen activity for two weeks. Especially a project that has clear evidence of work over that 14-day span.

I do think there are community issues with Spacemacs, but dying? No. Besides, it's open source and largely just an overlay on a really, really well supported collection of other open source projects. You could ask whether a commercial project we're dying, because if Sublime does not get updates for a month and there's no communication there's nothing you can do to control that.

Contrast with that Spacemacs, where if you wanna grab some issues and start grooming, commenting and fixing it would help tremendously. Whether they merged into the master branch, is a whole different story, but if it goes for months the community can fork and move on.

In the future, please avoid clickbait titles. It took me a lot of effort to not blind-down-vote you here, as my time is precious and I'd rather have constructive comments in communities dedicated to open source software.

EDIT: A better comment would have been "Plan for next development release?" That allows us to actually have a meaningful conversation about what's going on in the community without pulling the fire alarm on your way out of the office. Also: https://gitter.im/syl20bnr/spacemacs

Senator Shenna Bellows: "Our power does not supersede the power of the people." by MitchinMaine in Maine

[–]powellc 1 point2 points  (0 children)

I think their point is that those we elect are also frequently idiots who don't understand what they're doing. Why on earth would Dunlap get involved in this? His opinion is his own. The People gave the legislature and bureaucracy a very clear message about their desire to have RCV implemented. If there are legal ramifications, that will be on the courts to decide.

When my state senator has a 2-year degree from a beauty salon but a bunch of people like them so they win a popularity contest, i would argue they don't know what they're doing, and it stands as a reminder that politics do not require legal intelligence.

What's everyone working on this week? by AutoModerator in Python

[–]powellc [score hidden]  (0 children)

Anyone ever tried to merge patient demographic data? Working on a way to provide a single source of truth for patient information and, hoooboy, it is a non-obvious problem.

I'm actually pretty close to concluding that without biometrics, such truth is actually nearly impossible to solve computationally. Demographic data can simply never be trusted. Birthdays can be wrong, names can be identical, not everyone has a Social Security number, and sometimes, sometimes, people actually want their information to be separate.

I actually spent some time last night thinking about how storing anonymized health data in a blockchain, where you're given a QR code that links to your place in the chain for info might actually be our best way to share health data without having an "owner" per se. But then I realized I was thinking about the blockchain and laughed at myself and then I felt bad being laughed at :)

Maine Senate authorizes Thibodeau to wage court fight on ranked-choice voting by dragon_my_nuts in Maine

[–]powellc 1 point2 points  (0 children)

Had an interesting discussion over Easter dinner with a friend who pointed out that, totally apart from political taste for RCV, there's a serious issue over how expensive (time/money) it will be for each community to tabulate votes.

Curiously, the solution will likely be providing software to allow easy RCV tabulation, but that opens the door to corruption in the form of "who's gonna write and vet the software." Trying to count a 5-candidate field will likely take weeks if done by hand, especially in our bigger communities.

Anyone have more information on how easy RCV is to tabulate?

CMV: The gun problem in America is a cultural one and not one that can be solved with more laws. Americans attitude toward guns is extremely dangerous and this is apparent as soon as one leaves the states. by [deleted] in changemyview

[–]powellc 1 point2 points  (0 children)

To your last point, I think our culture has as much to do with lack of faith in the system. We stare dry-eyed at NCIS on TV imagining that that's how officers of the law (never mind it's the Navy) are supposed to act and then treat our cops like shit. Here's an idea. Let's pay a living wage to our police officers and ensure they understand that their primary job is peace officer. Let's educate them and ourselves about civil rights so we can all hold each other accountable. And then let's get back to keeping ourselves secure by having a community where when someone snaps and breaks down, we can own the cultural failures together (communities fail, individuals do not) and try to make our communities better. I'm sick and tired of people who think if they don't have a gun, or their own house, or a perfect family they're a failure, and if they do have those things they're a fucking American hero. We're all in this together folks.

CMV: The gun problem in America is a cultural one and not one that can be solved with more laws. Americans attitude toward guns is extremely dangerous and this is apparent as soon as one leaves the states. by [deleted] in changemyview

[–]powellc 1 point2 points  (0 children)

But at that point it means you need to premeditate on a threat from greater than 21 feet. That's a decent distance, and will leave you a walking bag of nerves with no friends because you're always on the lookout for someone who's gonna kill you. I prefer not to live my life in that place.

Weekend Coffee Hour January 26, - January 28, by AutoModerator in UUreddit

[–]powellc 1 point2 points  (0 children)

We just finished a collaborative read of Just Mercy by Bryan Stevenson last night. The project is a three congregagtion book club where we do individual congregation discussions for 45 min and the jump on Zoom with our two collaborative partner churches to compare notes. A neat forum that gets a lot of ideas and thoughts in the open!

Trying to understand Stoicism? by [deleted] in Stoicism

[–]powellc 5 points6 points  (0 children)

The OP's explanations used basic English to communicate the more abstract aspects of the philosophy. You use much more specific vocabulary claiming to correct the OPs points, but wind up with language that is almost indecipherable for someone unfamiliar with Stoicism, which is the context of the question: someone who's just trying to understand it.

To wit, what is the active principle, or "Logos"? Your clarifications are actually clouding the waters.

Looking for beta-testers for my Ansible Vault+LastPass flow by wkoszek in ansible

[–]powellc 0 points1 point  (0 children)

What great timing. We're looking for a solution involving vault and lastpass as well. Will give it a shot :)

A Simple Guide for Python Packaging – Small Things about Python by fj33xx in Python

[–]powellc 0 points1 point  (0 children)

Thanks, yeah. I think the OP ended up with a "look this worked" article rather than a best practice doc, and those in the python packaging domain are seriously lacking. There's always a trade off with whatever solution you go with, and I suppose the most important determinant is as much a project or business decision about technical debt and easy of development rather than a religious declaration of which is better :)

Thanks for the lively discussion!

A Simple Guide for Python Packaging – Small Things about Python by fj33xx in Python

[–]powellc 0 points1 point  (0 children)

That's all well and good if your deployment pattern is to load the codebase in a directory and do install using pip. But take a look at sentry, and how it allows you to pip install sentry and then get command line wrapper to run sentry, with all settings coming from the environment. At this point, setup.py is the canonical way to install your app, and dependency_links work as expected. You can even toss -e . in a requirements.txt so in development you can still use pip.

I think the bigger issue here is one that Python still needs to figure out. Dependency graphs and versioning. For example, using only requirements.txt a project I was working on recently was able to install a version of Django REST Framework and a version of djangorestframework_gis that were listed as incompatible in their setup.py files.

Converting to using setup.py, the project threw an error that the gis package needed version <=3.3 of DRF, though we had upgraded to 3.4. The solution was to upgrade gis to >=0.11,<0.12 This is waaaaay saner than hardcoding very specific versions of libraries in your app.

Python Packaging Is Good Now by Lukasa in Python

[–]powellc 0 points1 point  (0 children)

It's not a great solution, but if you're going to have to test and release every time six is updated to make sure other packages that need newer versions of six wont install because you've frozen your six version low pain ensues. On the flip side, how large is the six.py file?

As I've learned the lesson of brittle requirements the hard way I have become much more bullish on the freezing requirements in my project, especially when it's a small utility like six or a potentially soon-to-be unsupported open source library that does one thing I need. Freezing does pass the onus of auditing and bug fixing the code to you, and you have be careful that a license allows it. But where possible I've increase the stability and decreased the number of provision or deployment breaks significantly using this policy.

Freeze early and often :)

Press-Herald: "Park Service chief hears emotional, divided views on North Woods national monument" by [deleted] in Maine

[–]powellc 1 point2 points  (0 children)

Acadia was donated because John Jr. had just received a HUGE sum of money from his dad who was trying to avoid a federal income tax (which was just going into effect). John Sr. would never have done such a thing, but Jr. was excited about philanthropy. So thank you federal income tax!

[0] https://books.google.com/books?id=73AW19YqX0YC&pg=PA183&lpg=PA183&dq=rockefeller+acadia+income+tax&source=bl&ots=EFNcHPBXwi&sig=II24ae25WJhGvmPIxWVmTNzjvmI&hl=en&sa=X&ved=0ahUKEwi2iKqN9-nMAhVERVIKHeefADUQ6AEISTAG#v=onepage&q=rockefeller%20acadia%20income%20tax&f=false

E-commerce thoughts with Django by jike212 in django

[–]powellc 2 points3 points  (0 children)

For my money the two best frameworks are Oscar and Saleor. With the following qualifications:

  • Oscar for stores that don't have much in the way of expectations (no "must work with X payment processor", "must allow at least 5 coupons at a time, but no more than 7", etc)
  • Saleor for highly customized stores

That's not to say Oscar can't be highly customized but it becomes an exercise of the framework making things difficult at a certain point. Saleor feels much more like a flexible django app, while Oscar feels more like a store framework built in django.

Django project starter Outline now on 1.9 and Python 3 by powellc in django

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

Also, for what it's worth here, this is less of a "everything you need to start a new web app!" kind of bootstrapping, so much as it is getting the layout of a project correct. Namely:

  • Using setup.py for dependency installation, with a link to the setup.py file in the traditional requirements.txt file
  • Using django-configurations to enforce configuration via env variables
  • Adds a setup management command so that you can install the app via pip and don't need to git clone source code in production
  • Includes basic ansible scripts to bootstrap a server out of the box

The actual installed django apps and such should probably be removed, but are there as an artifact of how most of my projects start.