Never have your SEXPs UNPROTECTed, kids. Headroom over and out
The more statistically stable sibling. Mostly S+itposting. Opinions are of your employer, but off by π/3 in phase.
Never have your SEXPs UNPROTECTed, kids. Headroom over and out
8563999c2f44255c16e7e675299c3856aedc28f4ed26a99599614c393083cc867fa36fae900b57739cec7b66a7036e891a3a8fb21857d8a0bacb0d0d070ef2ad
58ce5349ec7bd341d7db1cf52859093597744292a8e640c3e87d9513e0d54b99d2b2b71639c91290ee849098ca4602e7c7dfa188043e82d68794a1e425caa8ea
@chartgerink How would you replace the unnecessary parts? Genuine question, promise not to flame in return.
@lritter and how every tech billionaire is a poor imitation of Cave Johnson
@DetersHenning Maybe you can melt a table instead? Or otherwise reshape it from wide to long format? Can you melt and reshape array()s with many dimensions?
@plantarum I knew guys like this, for whom everything looked like a date
It's a bit contrarian, I know, but I look at the Python formatter ruff and now the uv package management tool the same people have announced, and I feel partly sad. Because they're both created by a company that appears to be VC backed, and we have seen this show play out before. Someday there will be a demand to make (a lot of) money, and how do you do that with free tools?
If we're lucky, they'll become community projects after the explosions.
@chainsawriot It won't be ideal without pass-by-value, but I too have noticed that having programmed in R makes the code in other languages more functional.
@AtanasE This command line for an Unix-like system is a cryptic way to create two files named "-rf" and "~".
The command to delete files on an Unix-like system is "rm" followed by their names, but there are two gotchas. "~" expands to the home directory with all the important files, and "-rf" actually means "remove recursively, without confirmation". So typing rm -rf ~ is very, very bad unless you have good back-ups and enough free time to restore them.
Instead, you'll need to replace "-rf" by "./-rf" (the latter option means file named "-rf" in the current directory), and type "~" quoted instead of a plain ~ to prevent it from expanding.
There's also :>-rf\ ~. That command creates a file named "-rf ~".
@johnmackintosh “I said: What is it that a man may call the greatest things in life?”
The warriors leaned closer. This should be worth hearing.
The guest thought long and hard and then said, with deliberation: “Hot water, good dentishtry and shoft lavatory paper.”
@AtanasE :>-rf | :>\~
@maelle Imagine an #Rstats package that has a \Sexpr[stage=build,result=Rd] block in the documentation. It looks innocuous, with a comment about loading local customization for MathJax and a check for a debugging flag.
The block emits a \Sexpr[stage=install,result=Rd] block, which nobody really sees because it is stored in a binary file named build/stage23.rdb. The version from the GitHub repo does what it says in the comment. The author's version that gets incorporated into the CRAN build because they always have that "debugging" flag set emits an additional \Sexpr[stage=render,result=Rd] block, but only if invoked during a CRAN build to produce a binary package for Windows or macOS.
Nobody sees that block either, because it's stored in another binary file, but it does get executed every time that help page is viewed. Maybe it returns \if{html}{\out{<script src="https://.../malware.js" async>}}. Maybe it does its job purely in R.
What if the next Jia Tan is already on CRAN?
@milesmcbain ...and "troll" is definitely a prominent character class!
Brb, gotta save-scum the laboratory server and install some updates.
I’m sick of people referring to Linux as an ‘Operating System’ that’s entirely misleading to new comers.
What we have is a rogue-like wiki/forum-crawler. In the honoured tradition of this genre the objective is to keep your system alive as long as possible before you inevitably fall due to incompatibilities.
Through successive play throughs with different distributions you discover the tactics that lead to increasingly robust builds.
@lwpembleton The year was 2020, the lab was closed for the lockdown, I ran out of books. I was curious how R did lazy evaluation, so I unpacked R-3.6.3.tar.gz and started reading. The "applied math with C" elective I had had as an undergrad did NOT prepare me for what I saw. Later a kind soul pointed out #SICP, which made some things click into place.
@organicmaps Sorry that this injustice befell you. Google can be very arbitrary in their whims: https://www.jwz.org/blog/2024/07/your-personal-information-is-very-important-to-us-part-two/
Last night Organic Maps was removed from the Play Store without any warnings or additional details due to "not meeting the requirements for the Family Program". Compared to Google Maps and other maps apps rated for 3+ age, there are no ads or in-app purchases, and no user information is collected in Organic Maps. We have asked for an appeal.
As a temporary workaround you can install the upcoming Google Play update from this link: https://cdn.organicmaps.app/apk/OrganicMaps-24081605-GooglePlay.apk
This APK should work with Android Auto.
@n8chz @Lluis_Revilla If you mean "dttm" to be values of class POSIXct or POSIXlt, they don't actually stringify on access, it's just their format() method pretty-printing them for you. Try str(newframe); str(newframe[,timestamps]). What do they print?
What's really slow is operating on a data.frame row by row. The code has to subset every column, select element number i, construct a new data.frame with the chosen elements, give that to the function.
If the values are of class POSIXlt ("local time"), try pre-converting them wholesale to POSIXct ("epoch time") first.
Neither do POSIXct values lose fractional seconds upon being converted to numeric:
Sys.time() |> as.numeric() |> deparse(control = 'all') -> "1723837021.4630568"
You just don't see them when they are printed.
@jas_hughes #Rstats has a weird package naming tradition. I frequently feel I have to clarify that this is a software package I'm talking about. "Glue. Glue and Alabama are the two things I've been exclusively using for the last week non-stop."