Sergio Oller

@zeehio
17 Followers
59 Following
108 Posts
Data Engineer at Pharma (Almirall, Barcelona). Physicist, PhD on Data Analysis for Life Sciences. Metabolomics, Proteomics, Transcriptomics analysis. Open Source fan and contributor.
GitHubhttps://github.com/zeehio
ORCIDhttps://orcid.org/0000-0002-8994-1549

@rmflight I have been there, good luck! I was quite scared but it wasn't that hard. check git commit dates and look for "date when the analysis started" (close to the first commits). Then use the released R version from that date. Next, setup the posit package manager to somewhere in the middle of the git commit dates. Why middle? You don't install new packages when you are fixing last bugs, but you may need some extra package mid analysis, so middle worked well for me.

And that's it.

@b0rk Thanks! This is perfect!
@b0rk if you ever want to write a zine on how the login system works on Linux and how pluggable auth modules work, I will love to read it. I guess it is a far less popular topic than bash or git though.

@b0rk /etc/environment is a file that exists in most Linux systems. I wasn't aware it doesn't exist on macOS. The file has lines like "VAR=VALUE" and sets environment variables. I first thought it was parsed by the shell, but after your question I searched. I then thought it was a Linux kernel thing. But it is not! It's part of the "pluggable authentication modules" (or "PAM"), in my opinion a very weird (and widespread) system to control the login process.

https://unix.stackexchange.com/q/748790

Where is the syntax for /etc/environment documented?

I want to know the exact syntax for /etc/environment. I know it's not an ordinary shell script, but how exactly are single and double quotes processed? Can environment variables defined earlier in ...

Unix & Linux Stack Exchange

@b0rk I was very confused with:

/etc/environment does not do any kind of variable substitution

I assumed it would substitute stuff.

e.g. /etc/environment

A=potato
B=$A

Will not make B a potato.

This confusion also happened to a colleague last week.

And then having to set http_proxy and HTTP_PROXY, no_proxy, NO_PROXY without being able to reference each other because not all software agreed on capitalization of those variables.

My 2 cents and thanks for reading

@transportationtalk As far as I know, the zone identifier tag that marks the file as downloaded from the internet is set by the web browser, so there is nothing that can be done on the server side (shiny) to prevent it from being set.

@drj @fanf 1e10 is an integer expressed as a float, yes. However if you consider 1e25 you will notice it is different from the integer 10²⁵ due to double precision floating point limitations.

int(1e25) == 10000000000000000905969664

I believe that's one reason why the implicit float to integer casting is not allowed anymore.

https://github.com/python/cpython/issues/86388#issuecomment-1093889720

Modernize integer test/conversion in randrange() · Issue #86388 · python/cpython

BPO 42222 Nosy @tim-one, @rhettinger, @terryjreedy, @encukou, @ambv, @serhiy-storchaka, @vedgar PRs #23064#28983#29021 Note: these values reflect the state of the issue at the time it was migrated ...

GitHub
@coolbutuseless is it https://github.com/krlmlr/deparse/ ? Several years old and archived, but hopefully close to what you are looking for?
GitHub - krlmlr/deparse: A nicer deparse

A nicer deparse. Contribute to krlmlr/deparse development by creating an account on GitHub.

GitHub
@zeileis @lwpembleton the luminance is sequential, the chroma is pretty bad in my opinion. Thats why I believe the scale looks much better in gray-scale.

@d2718 ah I see. I see all vectors as typed `character(0)`, `integer(0)`, `logical(0)`... These are zero length vectors of different types. When there is not enough info to infer the type, we have `NULL` as a fallback.

`c()` concatenates vectors.

If there is nothing to concatenate there is no type to infer so `NULL` is the outcome.

If we provide a type to the NULL vector (e.g. as.integer(NULL) we get the empty integer vector `integer(0)`.

That's how I make sense of it. I hope it helps.