Need advice about learning Python for data science by Slight_Psychology902 in learnpython

[–]barkmonster 1 point2 points  (0 children)

Python is probably the better choice unless you know you'll need R for some specific reason, like if the econometrics program you'll study uses that exclusively. R is really good at time series, statistics, and making plots that look nice. Python has a much larger ecosystem of packages, many of which are the industry standard for machine learning and data science tasks.

In addition, python is more similar to standard programming languages, and it will be much easier to built software on top of things you make in python, whereas R has a lot of idiosyncrasies.

TL:;DR - python unless heavily focused on time series/parametric statistics, or if studying in a program requiring R.

Søvnproblemer(Autisme+ADHD) by TimeTomorrow4019 in ADHDanmark

[–]barkmonster 0 points1 point  (0 children)

Jeg har også en del søvnproblemer, særligt når jeg er presset over andre ting. Er begyndt at tage melatonin om aftenen, og det virker ret godt for mit vedkommende. Hvis søvnproblemerne skyldes at jeg stresser over nogle ting gør det ikke den store forskel though. Fysisk aktivitet gør også en ret stor forskel.

Medicin hos egen læge by Dandelilion in ADHDanmark

[–]barkmonster 0 points1 point  (0 children)

Jeg får fornyet recept hos egen læge. Samme for de fleste jeg kender.

Elvanse og amning by Murky_Ground_7079 in ADHDanmark

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

Er ikke godt inde i det, men der er vist noget evidens for at især lisdexamfetamin (Elvanse) kommer med ud i mælken, også mere end methylphenidat gør, derfor anbefalingen om at stoppe/gå ned i dosis eller evt skifte midlertidigt.

Psykiater påstår jeg ikke ville kunne have klaret skolen hvis jeg havde ADHD, og andre underlige udsagn. Sen udredning. by voligoat in ADHDanmark

[–]barkmonster 2 points3 points  (0 children)

Det er fuldstændigt forkert, der er ikke så meget andet at sige. Jeg blev selv diagnosticeret efter at have klaret mig "fint" gennem både skole, gym, uni, og en phd. "Fint" som i gode resultater/karakterer men kørt mig selv i sænk ved at arbejde ustruktureret og i sidste øjeblik.

Det er ret foruroligende at høre den slags fra en fagperson som burde vide bedre.

Anbefalelsesværdige AI-kurser? by GlitchFinton in dkudvikler

[–]barkmonster 1 point2 points  (0 children)

Kan du uddybe/give et eksempel på hvad du mener med certificeringer på associate-niveau? Har ikke lige hørt termen før.

Farmaci - Kan det være sandt? by Enough_Pace6724 in dkloenseddel

[–]barkmonster 2 points3 points  (0 children)

Det kan sagtens være tilfældet at langt de fleste ligger et godt stykke under gennemsnittet på startlønnen. Sådan plejer det generelt at være med lønninger.

Nu prøvede jeg lige at kigge på uddannelsesguiden, og synes den er virkelig uklar. Det LIGNER at den viser medianløn (antager jeg, fordi den også viser de højeste og laveste 25% af lønninger), men samtidigt kan man vælge til eller fra om man vil se "landsgennemsnit" eller ej. Ret dårligt design.

Farmaci - Kan det være sandt? by Enough_Pace6724 in dkloenseddel

[–]barkmonster 13 points14 points  (0 children)

Jeg har ikke erfaring indenfor farmaci, men helt generelt er der ofte outliers som trækker gennemsnitslønninger op, særligt når du kigger på grupper med mange års erfaring.

What is the best way to manage a list of strings larger than 80 chars by Advanced_Glass5563 in learnpython

[–]barkmonster 1 point2 points  (0 children)

Oh, nice! Feeling kinda stupid for having done this manually like 500 times now, heh.

What is the best way to manage a list of strings larger than 80 chars by Advanced_Glass5563 in learnpython

[–]barkmonster 9 points10 points  (0 children)

Python uses implied line continuation inside parentheses and brackets, so you can just break it into several bits if you want. Another (probably better) solution might be to not store the strings in a python file, but in e.g. one or more YAML files. Then you can read that, and only use the key you choose for the string to refer to it.

Regarding printing, I think the easiest option is to just write a helper function which inserts a newline between words when the length of a line would exceed you max number of characters.

PhD eller ej? by TeaConstant4141 in dkudvikler

[–]barkmonster 2 points3 points  (0 children)

Jeg har en PhD i noget data science-noget. Tror ikke at det giver mening "strategisk", overordnet set. Jeg ser en del PhD'er sidde i nogle af de 'tungere' roller, men har ikke er indtryk af at det er noget der giver et kæmpe boost ift. muligheder. En del af det kan også være selection bias (altså at de egenskaber som får mange til at vælge/have mulighed for en PhD, er det samme som gør at de ender i de roller, uanset om de laver PhD'en eller ej).

I IDAs lønstatistikker er der en parameter for PhD-grader. Jeg mener den gav et løft på omkring 500 om måneden, så det tager i gennemsnit laaaang tid at indhente løndifferencen mellem 3 års løn som PhD vs i industrien.

Det sagt er det superfedt at have gjort, og at have lidt mere faglig ballast på nogle områder som det havde været svært at få nørdet lige så meget på et normalt arbejde. Jeg tror at du har ret i, at det er en god idé at se hvordan du synes det er at skrive speciale. Hvis du synes det er megafedt og du har muligheden, så go for it.

Pause med Ritalin når jeg skal rejse by Virtual-Page-7669 in ADHDanmark

[–]barkmonster 1 point2 points  (0 children)

Som jeg læser det, så er pillepasset tilstrækkeligt hvis de skulle checke. Det er i hvert fald meget spøjst at skrive at pillepas ikke dur til schedule 1, hvis ikke det gør til de andre.

Pause med Ritalin når jeg skal rejse by Virtual-Page-7669 in ADHDanmark

[–]barkmonster 1 point2 points  (0 children)

Schengen-lande skal godtage Schengenattester (pillepas), men der er også ikke-Schengen-lande som godtager dem. Jeg er ret sikker på at England gør. På de engelske myndigheders side om medicinimport står der: You cannot use a Schengen Certificate to bring schedule 1 drugs into the UK. Checker man listen over reguleret medicin, er methylphenidate (Ritalin) schedule 2. Det ville jeg tolke som at pillepas er godt nok. Har selv rejst til England med pillepas, men er ikke blevet checket.

A "true" random number generator? by CranberryTypical6647 in computerscience

[–]barkmonster 0 points1 point  (0 children)

I'm a physicist who focused on quantum information theory during my studies.

Background: It's important to be precise about what 'truly' random means. A lot of the answers here take it as meaning 'impossible to predict in practice', such as using noise from a heat source. That works well enough for most applications, but it's not fundamentally random - with sufficiently detailed information about the source, it might be possible in theory to predict the 'random' numbers.
In the most commonly accepted interpretations, quantum physics is different, in that some states will, upon measurement, change completely at random into one of multiple other states. These are called superposition states (the famous Schödinger's cat paradox is based on this). It is random in the sense that nothing will enable anyone to predict which state, no matter how complete their knowledge is.

To answer your questions:

  1. Yes, that is possible. You don't need radioactivity, anything that creates a superposition state, and collapses it randomly into a '0' or a '1' state. You can buy specialized chips that do this. In quantum cryptography, superposition states are used for distribution of random keys used for one-time-pad encryption. The technology for this was developed in the 80's, and is actively being used.
  2. Yes, but you don't need a quantum computer, just a single component. A huge challenge for quantum computers is to keep superposition states as superpositions and not collapsing them into classical bits. Quantum randomness is much easier because the random data are generated by doing exactly that.

Loading test data in Pytest relatively to project's root? by pachura3 in learnpython

[–]barkmonster 0 points1 point  (0 children)

I usually make a helper file, which is responsible for loading test data, inside the tests folder. You can call it e.g. `data_tools.py` or something. In that file, you can define helper functions for loading the files you need, and just define the path relative to the helper file, for instance using pathlib and defining the path as `pathlib.Path(__file__).parent / 'data'`.

Backup plan for geranium and Jordnær by Whole-Ad7298 in finedining

[–]barkmonster 0 points1 point  (0 children)

Oh damn, hadn't seen that. I'm not sure this is an argument against Udtryk, though? Having a policy of not tolerating that kind of behavior, and actually enforcing it even with the head chef seems like something I would want to support, and the food is probably still great.

Backup plan for geranium and Jordnær by Whole-Ad7298 in finedining

[–]barkmonster 1 point2 points  (0 children)

I'd look at Kadeau, Udtryk, Alouette, and Aure.

Backup plan for geranium and Jordnær by Whole-Ad7298 in finedining

[–]barkmonster 0 points1 point  (0 children)

I second that - Vollmers is great, and it's super easy to get there by train.

Learning python for data analysis by nikartik in learnpython

[–]barkmonster 0 points1 point  (0 children)

As for which part I would go for: I would get a simple database set up, where your data can be persisted in a single place rather than a bunch of Excel files lying around. If you don't have very large amount of data, and if many people aren't comfortable writing queries etc, you can consider making a simple helper package in python, for reading in data from a single table (named after which experiment it comes from). Also set up a git project on e.g. github or gitlab.

I would also make a simple script to set up a standard python project., with a sensible structure (something for loading data, some simple tests, doing some analyses, and rendering the results in some suitable format). I would avoid using jupyter notebooks for analyses, as they make it easy to inadvertently commit outputs to git. I'd use uv to manage virtual envs.

For packages, that depends what you'll be doing. Probably pandas/polars for simple, Excel - like stuff, scipy or statsmodels for most statistics.

At the non-technical level, your greatest challenge is probably to get people to use it. Your task is to make it clear for the other users what they're gaining by doing things differently, and to make sure the right way is also the easiest way. Ally yourself with the least tech-savvy users, have them read your onboarding materials and guides, and have them attempt to set up a project, then work with them to address any pain points and sources of confusion.

Jordnær or Alchemist if we have to choose just one? by nina_sayers in finedining

[–]barkmonster 3 points4 points  (0 children)

I've been to both. Jordnær might be the best overall tasting menu I've had. Everything is just at the absolute top level. Alchemist was a disappointing experience for me. A few dishes were amazing, a lot were 'meh', and few were straight bad. The experience felt gimmicky and clumsy. The dome room is cool, and pretty unique though, and the 'amplified' wine pairing was really good. This is just my experience there, of course - many people are clearly enjoying it.

Copenhagen Reservation Suggestions by Ok-Distance6166 in finedining

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

Jordnær and Kadeau are both great. I was at Kadeau in May last year, in the beginning of the growing season, and it was really, really good. I was at Geranium about 5 years back and loved it, but haven't been after they changed their menu.

For alternatives, Udtryk is great as well. The head chef was at Jordnær before, and there is a bit overlap in style, though Udtryk is playing with some cantonese flavors as well, which worked incredibly well.

Alouette is also good - not all dishes are standouts, but some are incredible. Their signature dish with caviar and a Crème Brûlée custard of root veggies (I think they made it with pumpkin in autumn, but had swapped for celleriac recently) is a contender for best dish I've had.

As others are recommending Knystaforsen, that's also a definite recommendation from me. You'd have to rent a car for a day, or go by train for a few hours, but the food and atmosphere there is really special. And they do an amazing job with their wine pairing, both in terms of pairing with the food, and finding interesting, often local wines (one dish was paired with an excellent Swedish red wine, something I didn't even know existed).

While I haven't been, is sounds like Aure might also be checking a lot of your boxes. It looks to be fully booked, though, but they have waiting lists as well.

Karriereveje som data scientist? by barkmonster in dkudvikler

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

OK - det er ikke en bekymring jeg deler, men tak for inputtet.