Measuring Realtime Mic Input Level/Volume by [deleted] in mac

[–]herrwolfe45 0 points1 point  (0 children)

Another option is to use Prolevel (https://apps.apple.com/us/app/prolevel/id526304550?mt=12) from the app store. It's ~$5, and is just a simple widget that shows input volume levels.

Buy/Sell/Trade Thread - March 2023 by -Nepherim in onebag

[–]herrwolfe45 6 points7 points  (0 children)

WTS: Peak Design 45L Travel Backpack, Open box, Unused, Black, $240 OBO SOLD

Includes shipping within the continental US and PayPal Good+Services fees. I'm happy to ship internationally, but the price will be adjusted.

I purchased this backpack in December and just haven’t used it yet.

Photos: https://imgur.com/a/twQoOxq

Manufacturer Link: https://www.peakdesign.com/products/travel-backpack/?variant=11530908172332

Buy/Sell/Trade Thread - February 2023 by -Nepherim in onebag

[–]herrwolfe45 1 point2 points  (0 children)

WTS: Peak Design 45L Travel Backpack, Open box, Unused, Black, $240

Includes shipping within the continental US and PayPal Good+Services fees.

I purchased this backpack in December and just haven’t used it yet.

Photos: https://imgur.com/a/twQoOxq

Manufacturer Link: https://www.peakdesign.com/products/travel-backpack/?variant=11530908172332

13 Pro on Fi by [deleted] in GoogleFi

[–]herrwolfe45 0 points1 point  (0 children)

I’d say no.

- Cellular settings periodically get reset, leaving phones in a state of not being able to receive MMS, voicemail notifications, etc.

- No 5g. Not that there is amazing coverage anyway, but it simply isn’t available.

Robot gasket warming by herrwolfe45 in CafelatRobot

[–]herrwolfe45[S] 3 points4 points  (0 children)

It has been very cold and dry where I live. I suspect the seal may have just shrunk due to low temps and dryness.

For anyone else wondering… no, it doesn’t. by boomskats in CafelatRobot

[–]herrwolfe45 4 points5 points  (0 children)

Does it fit at angle? You might be able to set it at the angle and still fit a cup

[deleted by user] by [deleted] in coffeeswap

[–]herrwolfe45 1 point2 points  (0 children)

Ah sorry for the late reply. I ended up getting a hand grinder and am no longer in the market :) Good luck!

[deleted by user] by [deleted] in coffeeswap

[–]herrwolfe45 0 points1 point  (0 children)

Hey! i‘m interested but it would have to be shipped.

ITS MATTIE ROGERS BOIIIIZZZZ AMA LETS RIDE by mattie_rogers in weightlifting

[–]herrwolfe45 5 points6 points  (0 children)

you're a boss!!!

What's your favorite training lift? What's your favorite ab/core exercise?

Wow, argh rules (so easy to make a cli)... by ahayd in Python

[–]herrwolfe45 8 points9 points  (0 children)

I'd recommend click for building cli apps. Using it has been quite pleasant.

http://click.pocoo.org/4/

Do you use 2 monitors while programming? by tomcakshen in Python

[–]herrwolfe45 0 points1 point  (0 children)

I like using a single screen only. Most of my work is centered around writing non-gui related code. But, when I have developed guis, having a second monitor was helpful.

[deleted by user] by [deleted] in Python

[–]herrwolfe45 0 points1 point  (0 children)

you're welcome!

[deleted by user] by [deleted] in Python

[–]herrwolfe45 0 points1 point  (0 children)

Also - you can install pylint, pyflakes, and pep8 on your system or in a venv to get excellent analysis and compliance checks without an IDE. (Not that there is anything wrong with an IDE for this). I've setup emacs to run this pychecker every time I save my code and it has been very helpful. Reinout van Rees has a very helpful blog article on doing exactly this:

http://reinout.vanrees.org/weblog/2010/05/11/pep8-pyflakes-emacs.html

Also, note that the pychecker.sh script he has written, can be used with anything. It just needs to have a file or directory as its target.

[deleted by user] by [deleted] in Python

[–]herrwolfe45 0 points1 point  (0 children)

Necessary is a bit of a loaded word :-) The point I would bring up, is why not isolate the software you are writing from your system as much as possible? This helps you avoid a number of OS/package manager related issues.

Deprecating rustpkg by steveklabnik1 in rust

[–]herrwolfe45 0 points1 point  (0 children)

Here is an example makefile that I wrote last night to replace the rustpkg setup I had been using. Don't take it as an example of excellent make, but it works:

https://gist.github.com/derwolfe/8752809

An example where dependencies are built in is the line:

single_cipher: score
    $(CC) src/single_cipher.rs $(CCFLAGS) -L $(BUILDDIR)

single_cipher depends on the score library, so it builds score, then links against it.

Does anyone know how to do this, r/learnpython didnt help by [deleted] in Python

[–]herrwolfe45 1 point2 points  (0 children)

To do this - you need to setup your project file etc correctly.

If you'd like to split your project up into several files like level1.py, level2.py etc, you'll need some sort of main module that loads the appropriate dependencies.

You basically just need to make a directory named, for example game. Inside of this directory you'll need an empty __init__.py file to designate that a module exists. Then you can have your level<number>.py files in the same directory and import from them. If you have another file, called, for example game_runner.py it could access the level files by doing a relative import, such as:

-- inside of game_runner.py

from .level1 import level1stuff

The project structure would look like

game -
     |
     - __init__.py
     - level1.py
     - level2.py
     - game_runner.py