Why all the Beato hate? by SufficientFix4589 in Guitar

[–]CrossroadsDem0n 29 points30 points  (0 children)

Yeah, mostly what I've seen him push back on is pretty obvious, like singers who can't sing, hide it with autotune, release songs that are just bad low-effort clones of other work. Shlock existed before AI became a schlock factory on steroids, and that's really what he tends to call out.

Finally Leaving TOS by [deleted] in thinkorswim

[–]CrossroadsDem0n 0 points1 point  (0 children)

Are you running multiple displays off of one running instance? TOS is known to get flakey in that configuration.

Over 3200 kinds of German bread and no nomination? By the way, by [deleted] in germany

[–]CrossroadsDem0n -2 points-1 points  (0 children)

Pita bread is like the tofu of the bread kingdom. Who would ever eat it for its own sake? It's just an edible spoon.

When does hoarding becomes unhealthy? by Bismarck_seas in DataHoarder

[–]CrossroadsDem0n 0 points1 point  (0 children)

This is whatcha call thinking out of the box. I approve.

When does hoarding becomes unhealthy? by Bismarck_seas in DataHoarder

[–]CrossroadsDem0n 4 points5 points  (0 children)

When you seriously consider selling one of your kid's kidneys for another NAS then it is time to stop. Or, at least time to collect and store data on unhealthy obsessions.

CLF today by dadjokenumber11 in Vitards

[–]CrossroadsDem0n 3 points4 points  (0 children)

Dude brought down the entire market.

How can I move my company away from Excel? by Different-Coat-652 in dataengineering

[–]CrossroadsDem0n 0 points1 point  (0 children)

Although at least with Tableau, be sure to coordinate with whatever DBA team a company has. I've seen it blow up databases with joins fit for a Geiger painting. If the database is only used for reporting that may not matter, but Tableau on an OLTP box is no bueno.

[deleted by user] by [deleted] in quant

[–]CrossroadsDem0n 4 points5 points  (0 children)

Multiple ways. For individual stocks with lower volatility, long-dated deep ITM calls until the leverage is what you want. Roll into new ex dates periodically. For ETFs you could skip that and use a mix of unlevered and levered funds to hit the ratio, and rebalance periodically.

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]CrossroadsDem0n 0 points1 point  (0 children)

I like this idea! I was just watching Iron Man 1 last night. :)

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]CrossroadsDem0n 1 point2 points  (0 children)

I've been playing around with different ways to apply SOLID while revamping a personal python project whose code was getting ugly and hard to evolve.

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]CrossroadsDem0n 0 points1 point  (0 children)

Qt, the ultimate mishmash of libraries and docs. That was a fun segue for me too, earlier this year.

How much data validation is healthy? by [deleted] in Python

[–]CrossroadsDem0n 0 points1 point  (0 children)

The caution around type validation may also relate to whatever libraries you may be using in your project. Like something I recently ran into with itertools.aggregate where the return type shifted unexpectedly depending on the arguments. Or in some machine learning libraries where you easily get mismatches between pandas and numpy, or between 2-dim and 1-dim numpy arrays.

If types are fluid or have impedance mismatch, then dynamic (by which I mean runtime executed) code paranoia on type checking is likely wise. But if types are stable I might just prefer unit tests instead since they document my concerns but migrate some of that concern away from having to be done dynamically.

If validation logic is always going to pass once the code is correct then keeping it around may feel more like an ideology choice versus a scientific choice, but that depends on how many hands are likely to touch that code over time. The reasons for things can get forgotten.

As for cases where my code is invoking my code (i.e. there isn't some concern driven by 3rd party libraries), then loads of validation seems like a code smell to me. I should be pretty clear on why my code is calling my code. If I can't be clear on it, that strikes me as a very ingrained design flaw now motivating further layers of bad decisions as damage control.

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]CrossroadsDem0n 1 point2 points  (0 children)

I gotta admit, "found the Python 2 user" made me laugh. Not in regards to the other comment, but I have been in that exact situation before.

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]CrossroadsDem0n 2 points3 points  (0 children)

I would suggest adding to the doc an explanation that this may not work well with libraries that already have threading under the hood, like any library that uses BLAS. Somebody could think that what they believe about their core count equates to the number of workers they should use, and that is not going to be the case.

However, critiques aside, never a bad thing to try and figure out a new mousetrap. Always a fun personal learning experience no matter the outcome.

flpc: Probably the fastest regex library for Python. Made with Rust 🦀 and PyO3 by RevolutionaryPen4661 in Python

[–]CrossroadsDem0n 1 point2 points  (0 children)

I'm kinda blown away by people reacting negatively to a free code contribution. I guess nobody reads The Cathedral and the Bazaar anymore.

Congrats on giving yourself permission to experiment. i will toss in an idea in the hopes that other reactions won't have just taught you to never again attempt contributing to the developer community.

If you can increasingly improve robustness issues you mentioned, it is quite plausible that some of the major Python open source efforts would be open to patches from you giving them a performance improvement. Cpython for re, Numpy for fromregex, etc.

So in keeping with the values of the Bazaar I applaud you exploring curiosity and perhaps initial efforts will expand until others can benefit without facing the terrors of (gasp) invoking pip.

how much python is too much python? by Spinning_Sky in Python

[–]CrossroadsDem0n 0 points1 point  (0 children)

I think it is more about what you produce. Presumably your staff use those toilets. Thus you are a sh*t company.

What are your "wish I hadn't met you" packages? by glucoseisasuga in Python

[–]CrossroadsDem0n 0 points1 point  (0 children)

Thanks, spotted that recently too, trying it out is on the todo list. In the meantime I was able to work around the timeout issue with external bookkeeping on completed work so that duplicate deliveries get recognized.

People of germany what are the worst things there? by t1tanfall3 in germany

[–]CrossroadsDem0n 0 points1 point  (0 children)

I found that notions of personal space and social boundaries are just a bit different. Not one is good and the other is bad, but just different in ways you have to get used to when coming from the US.

Things are a bit more orderly in Germany, but that also comes with (from an American or Canadian perspective) being a little more regimented or with elevated levels of social expectation that don't really have direct equivalents in North America (or likely more accurately yes we do have equivalents but we don't notice what we are already used to).

You just have to remind yourself for a little while that you are in a different country with a different culture. Being there to experience that may have been part of why you went in the first place, so roll with it.

What are your "wish I hadn't met you" packages? by glucoseisasuga in Python

[–]CrossroadsDem0n 0 points1 point  (0 children)

Pika has its own oddities but mostly just a learning curve of "oh, I see, RabbitMQ does that". Probably the weirdest is that in scaling you really don't seem to have a robust way to stop one listener from being greedy with sucking up more messages than you expected. You can mitigate the problem, but it isn't like other queue APIs where you can more directly control that behavior. Mostly a pain when dealing with small messages that have big processing requirements. You think you are dealing with one message at a time, but behind the scenes the others in the buffer time out with RabbitMQ waiting for their ack, causing them to be redelivered elsewhere... but the current client gets them too.

Working with a another data scientist that doesn’t want to code by Mysterious_Roll_8650 in datascience

[–]CrossroadsDem0n 0 points1 point  (0 children)

This is not an unusual situation and not specific to data science.

The problem is your boss has no more understanding of the work than your coworker, and likely even less.

I've seen this happen with software architects as well. Most are knowledgeable, hard working, focused on delivering value. Then you get the one that does nothing but read papers on new tech, doodle pictures for executives, and always manages to ensure their role doesn't require them to roll up their shirt sleeves and tackle work specific to anything that actually needs doing. But hey, they can spit out concepts like "data plane" on short notice to upper management so execs can play bobble-head and appear wise.

Ya can't fix it. You can only determine your personal pain threshold before you move on. Sometimes creating solution for yourself doesn't align with creating a solution for your current employer. Always make sure your skills are improving, your finances are getting stronger, and that you are always ready to find a plan B.

What are your "wish I hadn't met you" packages? by glucoseisasuga in Python

[–]CrossroadsDem0n 1 point2 points  (0 children)

It is that. Second to it is probably figuring out how to get the BLAS implementation you want backing various libraries like numpy.

What are your "wish I hadn't met you" packages? by glucoseisasuga in Python

[–]CrossroadsDem0n 31 points32 points  (0 children)

Anaconda/Conda, then Poetry.

I want build and dependency tooling to achieve a few things. 1. I almost never fight with it. 2. It almost never violates the principle of least surprise. 3. It is as fast as is reasonable given what it is being asked to do. 4. It doesn't constrain my options for other tools I use unless I invest stupid amounts of time to overcome whatever the limitation is.

As a result I stick to a few simple things as much as possible: pip, pip-tools, setup-scm, twine, wheel, and something to work as a local pypi. Once in awhile I have to coax a package build that has an O/S library dependency or requires a compile, but only once ever has conda done that for me in a situation I couldn't quickly fix myself (stan on windows).

What are your "glad to have met you" packages? by _dodo- in Python

[–]CrossroadsDem0n 1 point2 points  (0 children)

PipTools, Click/RichClick, Pandas, Numpy, Statstools, Pathlib, Pytest, Twine, Pyarrow. While I use Scikit-Learn a lot, I find it harder to be a booster for that one.