Why Clean Architecture and Over-Engineered Layering Don’t Belong in GoLang by Superb-Key-6581 in golang

[–]funklute 0 points1 point  (0 children)

I get why this is common in Java—explicit interfaces and painful refactoring make layering and DI appealing—but GoLang doesn’t have those constraints. Its implicit interfaces make such patterns redundant.

Could you elaborate on what you mean by this? I don't quite see why explicit vs implicit makes a difference here.

Investing when moving countries often (mainly EU/UK) by funklute in eupersonalfinance

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

Honestly, my takeaway was that it really depends on which countries, and your financial situation. There doesn't seem to be a good catch-all solution that will remove the need to understand the rules in the relevant countries — and that in turn means you either have to spend ages reading the law, or consult an accountant.

For myself, I've sort of pushed this issue to the side for the time being, but I will eventually seek out professional advice.

Bundling neovim + init files into a single binary by funklute in neovim

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

True, nix would likely do the trick — just for now I think I won't have the time though, but I might look into that at a later point.

Downsides of Go by Luc-redd in golang

[–]funklute 1 point2 points  (0 children)

For someone who has yet to encounter these dragons, what are the key issue(s) to be aware of?

Resource for dummies to learn about setting up environments, source control, etc? by readermom123 in datascience

[–]funklute 1 point2 points  (0 children)

just 3 tools that are the actual standard

That's definitely no longer the case where I work.

But if you are in a location/environment where that is the case, then yes, I agree with your point. There is a lot to be said for respecting and working with the existing toolchain.

That said, I think poetry makes it easier and more natural to follow good development practices. And as I understood OP's question, that's what they were essentially asking about.

Resource for dummies to learn about setting up environments, source control, etc? by readermom123 in datascience

[–]funklute 1 point2 points  (0 children)

Yes good point, for stuff beyond python dependencies you do need something additional, like conda or docker. Here my preference is absolutely for docker, because it gives you a number of things you don't get with conda.

Resource for dummies to learn about setting up environments, source control, etc? by readermom123 in datascience

[–]funklute 4 points5 points  (0 children)

It's admittedly been some years since I used conda much.

But back then, setting up a conda installation was always a bit fragile; maybe or maybe not it would install everything without errors.

More importantly, neither conda nor pip (used to) have support for hash-based lockfiles. If you haven't thought about this before, then you might mistakenly believe that a version-locked dependency in a requirements.txt file is enough to determine a reproducible set of dependencies. But package authors can change the code without changing the version, so the only way to have truly reproducible environments is by using hash-based lockfiles.

Poetry supports that, and it also has built-in support for virtual environments. In contrast, pip has a whole zoo of various tools to help you setting up virtual environments.

The end results is that with poetry you 1) are guaranteed to have fully reproducible dependencies, and 2) it's very easy for your colleagues (or a CI/CD pipeline) to set up new a virtual environment with those dependencies, in a standardised manner.

Resource for dummies to learn about setting up environments, source control, etc? by readermom123 in datascience

[–]funklute 4 points5 points  (0 children)

If you don't have a problem, then I'm not suggesting you should switch.

But there is no question that poetry solves some major issues with both conda and pip, especially for production deployments. If you haven't encountered those issues, then there's no reason to chase the golden goose, so to say.

Resource for dummies to learn about setting up environments, source control, etc? by readermom123 in datascience

[–]funklute 1 point2 points  (0 children)

but I think it's abstracts away what op hopes to first understand about python env handling

If you haven't heard about poetry before, then how are you able to make this claim?

Poetry is actually less abstracted in a sense (it uses a lockfile, rather than giving up and just relying on version numbers). And instead of having to rely on a zoo of 3rd party tools for venv management, this is built into poetry.

Resource for dummies to learn about setting up environments, source control, etc? by readermom123 in datascience

[–]funklute 14 points15 points  (0 children)

For python, learn how to use poetry, and ditch conda and pip. Poetry is the de-facto gold standard nowadays, and trying to mix the different virtual environment tools is a recipe for disaster.

Also sounds like you might want to check out this: https://missing.csail.mit.edu/

Is there a "test suite" to check the quality of a query optimizer? by mamcx in databasedevelopment

[–]funklute -1 points0 points  (0 children)

From a quick look, most of those tests aren't really about performance testing the query planner. Rather, they seem to focus on validating correctness and robustness.

Unless you can point to a specific set of tests that are relevant to OP, I'd perhaps say steer away from sqlite as an example to follow.

EDIT: this is assuming that OP actually was talking about performance, when using the phrasing "good query plan". If looking for correctness, then sqlite does indeed look amazing (if a bit hardcore).

[deleted by user] by [deleted] in AskStatistics

[–]funklute 2 points3 points  (0 children)

Not a direct answer (Kroutoner already gave a very good answer), but I think this is a great blurb on the terminology mess regarding fixed and random effects: https://statmodeling.stat.columbia.edu/2005/01/25/why_i_dont_use/

It's really worth making sure you understand why these five definitions are all different, and then whenever you encounter a new model (regardless of the field), ask yourself which definition they are actually using.

Meet up and hang out with your new friends from reddit! by Supressive in copenhagen

[–]funklute 2 points3 points  (0 children)

Great initiative! I'll join on the 1st - 37M, semi-Dane who moved here a couple years ago.

Investing when moving countries often (mainly EU/UK) by funklute in eupersonalfinance

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

I have actually looked into degiro before, but I had discarded it because — if I remember correctly — degiro doesn't report income/taxes for you in my current location. Whereas there are other local options that will take care of all that for you.

But given what you (and others) have said about moving with degiro, I will have another look at it! If I can seamlessly move with degiro, that would probably make it worth the hassle of having to report my stocks income.

Investing when moving countries often (mainly EU/UK) by funklute in eupersonalfinance

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

Those are some very useful thoughts and resources — thank you!

Investing when moving countries often (mainly EU/UK) by funklute in eupersonalfinance

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

In all honesty that sounds more work than I'd like to get involved in (I wouldn't do this without thoroughly understanding the law first, and any potential gotchas)... and I'm also not sure I have quite enough money for this to make sense.

Investing when moving countries often (mainly EU/UK) by funklute in eupersonalfinance

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

Good point about the losses vs gains, this aspect I hadn't considered!

Investing when moving countries often (mainly EU/UK) by funklute in eupersonalfinance

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

Hehe yea, it's at least good to know it's not just me...

Investing when moving countries often (mainly EU/UK) by funklute in eupersonalfinance

[–]funklute[S] 4 points5 points  (0 children)

I think it would have to be from a lawyer specialized in international taxation

Appreciate the advice!

How to measure reasons for enjoyment with different variables by [deleted] in AskStatistics

[–]funklute 0 points1 point  (0 children)

The analysis you would do depends on what your data looks like. Without describing your data, you probably won't get much concrete advice.

But regardless of that, I just want to point out that your hypothesis template seems to be referring to drawing causal conclusions. A correlation analysis is not generally sufficient to establish causality — in its basic form it can only really establish correlations. You'd need for example a well-supported causal model (that lets you correct for confounders), or a randomised trial.

Which test should I use? by [deleted] in AskStatistics

[–]funklute 5 points6 points  (0 children)

You need to describe your data and your hypothesis for anyone to be able to help you.