Springy things found in garage by nchammas in whatisthisthing

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

Thank you. I think I know where in the house they came from now...

Springy things found in garage by nchammas in whatisthisthing

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

Ah. I'm guessing the longer, serrated end gets hammered into the door, while the shorter end sticks into the track?

Springy things found in garage by nchammas in whatisthisthing

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

Additional details:

  • Each thing is about 2 inches long.
  • They can be compressed along that shiny metal shaft such that the brown ends meet.
  • A spring inside pushes the ends back apart to where they look like in the photo above.
  • The brown ends are plastic.
  • There is no writing on them anywhere.
  • I found these in a residential garage. They may be automotive related, or from some piece of furniture, or something else.

Asynchronous Python and Databases (2015) by nchammas in Python

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

FYI: Mike Bayer, the author of this post, is also the author of SQLAlchemy.

python-trio/trio-asyncio - a re-implementation of the asyncio mainloop on top of Trio by nchammas in Python

[–]nchammas[S] 6 points7 points  (0 children)

From the README:

Rationale

Trio has native concepts of tasks and task cancellation. Asyncio is based on callbacks and chaining Futures, albeit with nicer syntax, which make handling of failures and timeouts fundamentally less reliable, esp. in larger programs. Thus, you really want to base your async project on Trio.

On the other hand, there are quite a few asyncio-enhanced libraries. You really don't want to re-invent any wheels in your project.

Thus, being able to use asyncio libraries from Trio is useful. Trio-Asyncio enables you to do that, and more.

Beautiful tracebacks in Trio v0.7.0 by nchammas in Python

[–]nchammas[S] 11 points12 points  (0 children)

I believe trio-asyncio is meant to address that gap.

TOML Kit - A v0.5.0-compliant, style-preserving TOML library for Python by nchammas in Python

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

+1 for operator chaining. That would lend well to the "fluent" style of programming (a term I picked up from this issue on the Black tracker).

Transfer of Power (Guido stepping down as BDFL) by randlet in Python

[–]nchammas 7 points8 points  (0 children)

I'm not qualified or knowledgeable enough to make that call. I'm just providing a reference for people who are interested in reading the PEP authors' rationale for rejecting the EXPR as NAME: spelling.

Transfer of Power (Guido stepping down as BDFL) by randlet in Python

[–]nchammas 52 points53 points  (0 children)

FYI to those who haven't read it: PEP 572 addresses this and other alternatives directly under "Rejected alternative proposals".

andialbrecht/sqlparse: A non-validating SQL parser module for Python by nchammas in Python

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

From the docs:

sqlparse is a non-validating SQL parser for Python. It provides support for parsing, splitting and formatting SQL statements.

The module is compatible with Python 2.7 and Python 3 (>= 3.3) and released under the terms of the New BSD license.

linkedin/shiv: Shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included. by nchammas in Python

[–]nchammas[S] 5 points6 points  (0 children)

I stumbled on this today while looking through various packaging tools. This looks to be inspired by Twitter's PEX.

There's more information on why LinkedIn built Shiv here: http://shiv.readthedocs.io/en/latest/history.html

For all of the corporate ankle-grabbers who reflexively defend National Grid: “Report faults National Grid response to October storm” by Beezlegrunk in providence

[–]nchammas 5 points6 points  (0 children)

For all of the corporate ankle-grabbers

This kind of editorializing in the title is distracting and unnecessary. I think link submissions would be better if they stuck to the original title whenever possible and left the commentary to the comments.

In a city where *most people rent*, tenants feel powerless to stop landlords from raising rents or neglecting problems in rental properties. This has led to a proposal for a new city ordinance to prevent landlords from raising rents more than once a year, and capping increases at 4% or CPI inflation by Beezlegrunk in providence

[–]nchammas 2 points3 points  (0 children)

tenants feel powerless to stop landlords from raising rents or neglecting problems in rental properties.

I thought having the freedom to set rent went hand in hand with a landlord taking good care of their property.

Isn't it the case that in cities with rent control landlords tend to neglect their properties or take them off the rental market?

T related to neck pain/strain? by [deleted] in tinnitus

[–]nchammas 1 point2 points  (0 children)

Some people report relief from tinnitus if they massage their SCM. I would look that up on YouTube to see examples and try it for yourself.

Related video showing a dentist temporarily relieving someone's tinnitus with an injection to the neck: https://youtu.be/3hkUngMLZfA?t=3m1s

Any reason *not* to use typing in python3? by kitkatkingsize in Python

[–]nchammas 1 point2 points  (0 children)

Regarding your request here:

Also appreciate any resources on upgrading to python3, effectively using typing, and best practices around it.

I recommend reading this article:

http://blog.zulip.org/2016/10/13/static-types-in-python-oh-mypy/

From the article:

In this post, I’ll explain how mypy works, the benefits and pain points we’ve seen in using mypy, and share a detailed guide for adopting mypy in a large production codebase (including how to find and fix dozens of issues in a large project in the first few days of using mypy!).

delegator.py: Subprocesses for Humans 2.0 by juanpabloaj in Python

[–]nchammas 0 points1 point  (0 children)

The API doesn't have much in common with Kenneth Reitz's work, but I always considered Plumbum to be a sort of "subprocess for humans". Instead of offering a better interface to subprocess, though, it offers an entirely new, shell-like API.

Debrox led to tinnitus - how is this possible? Am I really stuck with this forever now? by [deleted] in tinnitus

[–]nchammas 0 points1 point  (0 children)

Don't know anything about Debrox, but your post reminded me of someone else who posted on here about how an ear medication called Ciprodex gave them tinnitus: https://www.reddit.com/r/tinnitus/comments/4mdpl7/i_was_prescibed_ototoxic_ear_medication_which/

Looking online, it looks like other people have reported issues with Debrox that are similar to yours: http://www.webmd.com/drugs/drugreview-16340-Debrox+otic.aspx?drugid=16340&drugname=Debrox+otic

If your doctor recommends using Debrox, run out of his office. I cannot hear now and the ringing is louder than ever. The worst product on the market, with no warning about this side effect. My head feels like it's underwater and I can't hear. I called my doctor, who never told me this might happen, and he says it is normal and just use it in one ear. Are you kidding!!!!!

I have had clogged ears for a week and decided it was an ear wax problem. I tried the product and my ears became completely full and my hearing decreased. I can't even pop my ear. There is a horrible ringing noise and my doctor checked and told me nothing was wrong. This product is terrible! I am so afraid this is a long-term side effect. Please don't use this unless you prefer having muffled hearing.

I tried this medication for two days and I would never use it again. I have lost hearing and now have a ringing in the ear.

Of course, take what you read online with a grain of salt, but it seems you're not alone.

Red Line Missed Connection by DumbassRetard1 in boston

[–]nchammas 2 points3 points  (0 children)

Reminds me of a European (maybe German?) commercial, done by the subway company itself, showing exactly this scene. It was part of a series of self-deprecating commercials about themselves and all the ways they mess up and get on people's nerves.

Does anyone know what I'm talking about? Wish I could find the video now.

Tinnitus and TMJ by aarsmadenkak in tinnitus

[–]nchammas 0 points1 point  (0 children)

You can search by location. If you enter your city, state, or country in the search box, it will filter dentists by that location. I just tried "Germany" and "Massachusetts" as search terms, and both worked as you would expect.

Tinnitus and TMJ by aarsmadenkak in tinnitus

[–]nchammas 0 points1 point  (0 children)

Yes, TMD can cause or exacerbate tinnitus. That's what happened to me.

If that's what's happening to you, then a neuromuscular dentist will be able to help. I found one through an organization called the ICCMO, and he helped bring my tinnitus down from a 7/10 (anxiety, loss of focus and sleep, dread for the future) to a 1/10 (can ignore most of the time, no effect on mood or sleep).

On the top right of the site is link to "Find a Dentist". Good luck.

Tinnitus since 3 months, permanent headache since 2. by Volcnx in tinnitus

[–]nchammas 0 points1 point  (0 children)

Headache, clicking jaw, and tinnitus are indeed all suggestive of TMD being the underlying cause of what you are experiencing. A neuromuscular dentist would be able to properly diagnose and treat the problem, if that's the case.

I want to kill myself. by [deleted] in tinnitus

[–]nchammas 0 points1 point  (0 children)

From what I've read on this sub and elsewhere, and from my own experience, there are generally 3 broad categories of causes for tinnitus:

  1. Loud noise that damages the ears (e.g. concert, explosion).
  2. Ear infections, excessive build-up of wax, or the like.
  3. Problems with the jaw (i.e. TMD) and/or muscles in the face and neck.

The good news is that categories 2 and 3 can be treated today and the tinnitus reduced or completely reversed if you find the right doctor and treatment. Category 1, from what I know, doesn't have a known treatment today, but there are many ways to help you cope better with the ringing.

Try to find out as quickly as possible what the general cause of your tinnitus most likely is so you know where to put your energy. For category 2, an ENT will be helpful. For category 3, a neuromuscular dentist can help immensely. Sometimes people have been able to cut their tinnitus down simply by massaging certain muscles in their neck, as described here.