News for hackers. Stuff that matters.

vhhn

Me too. Training a neural net of this scale is basically a lossy compression and promting just an interpolation of the data. But explain this to lawyers and courts...
Anyone else worries that by contributing to open source software these days one is also digging his/her own grave?
Re:OS maintained by a single developer since 1997: Visopsys on Sunday November 02, 2025 @02:07AM (#45788403)
Or Linux
Re:Big Book of R on Friday April 11, 2025 @01:34AM (#43650785)
There are so many options to emded R in any kind of system. Thanks to the C API, there are connectors for any if the traditional language. There is also RServe and plumber for inter-process interaction. Managing dependencies is also super easy.

My employer is using R to crunch numbers enbeded in a large system based on microservices.

The only thing to keep in mind is that most people writing R are not programmers by trade so it is good to have one person on the project who can refactor their code from time to time.

Latvian? I've always thought OnlyOffice is developed in Russia.
Re:Debugging Compiled Code for R with Positron on Friday November 01, 2024 @01:42PM (#42019537)
Unlike many other languages, R has a native/built-in tabular data structure. So when your data have tabular structure R is by far the best glue for building pipes between external libreries. If the data fits in RAM it literally doesn't have to leave the data.table object throughout the whole pipeline (including all the cleaning and transformations).

The only meaningful alternative I see is Python with maybe Polars or DuckDB.

We use embedded R in production in a way some other companies would use Python and I can say having a better compiler would definitely help.

Even if most people use R interactively, having contributers working on compiler has many positive spillovers for the language.

Also note that the R code running behind the scenes of your scripts (powering the functions of your favourite packages) is quite a different language, using less dynamic features. This is where a better compiler would always be appreciated.

Re:Atari 800XL Remake on Friday April 21, 2023 @12:53PM (#35656568)
Fun story.

My first computer too. Got it from my uncle without any manuals, we spend a whole afternoon writing down a code of a game from a magazine letter by letter. We thought we will just press the "Start" functional key on the right side. To our surprise, sadly, absolutely nothing happened! After few more hours, my dad came home and it took him few guesses to finally type "RUN" in the console...

Exactly my experience. I have never bought another Apple device since then.
Re:Doctests in R on Sunday November 27, 2022 @10:21AM (#33763487)
There are still several areas where R beats Python: tabular data crunching, data analysis (plotting, stats), finance (econometrics etc...) but it's less and less obvious.
Re:Mapy.cz – Lesser Known but Awesome Maps on Monday July 11, 2022 @05:55AM (#32054129)
Mapy.cz even used to have a great Symbian client with navigation and all, very low battery drain. It was awasome.
Re:Health care is turning into a consumer product on Monday January 10, 2022 @10:16AM (#29876096)
There are several factors that make healthcare a specific type of product that laissez-faire markets fail to efficiently produce by nature:

* tight connection to insurance

* typical consumer-producer relation relation broken into consumer(patient)-prescriber(doctor)-producer-payer(insurance or government)

* large externalities

These factors led to health care being provided by the public sector in most of the countries.

Re:Darling – Run Mac apps on Linux on Thursday January 06, 2022 @09:24AM (#29823847)
> that doesn’t randomly crash after 30 minutes

that rules out any Adobe product :)

Re:The science of visual data communication: what works on Tuesday December 21, 2021 @04:59AM (#29635778)
This an amazing resource. Thanks!
Re:Apple broke up with me on Sunday December 05, 2021 @02:31AM (#29447513)
Actually, all of them (kdeconnect, firefox, nextcloud) have pretty good Android clients
Re:Ask HN: What you up to? (Who doesn't want to be hired?) on Tuesday November 02, 2021 @03:37AM (#29078181)
consider starting a family :-)
Re:R, OpenMP, MKL, Disaster on Sunday October 03, 2021 @10:59AM (#28737695)
> OpenBLAS is incompatible with application threads

R is single-threaded.

Re:Lambdas as values in Excel on Monday August 23, 2021 @02:56PM (#28280368)
I think parent comment was referring to the M-code [0]

[0](https://www.howtoexcel.org/power-query/m-code/)

There are two camps in the R world - tidyverse and base-R (tiniverse).

Its not a coincidence that the author gives an example from the tidyverse ecosystem. Authors and users of tidyverse value other things like consistency and new features over API stability and backward compatility. The base-R ecosystem is actually very stable and so the original package manager is very simple.

With R spreading out from the academic environment and with many new authors breaking their packages' APIs we observe new attempts to solve the issues with dependencies (such as renv or https://rsuite.io)

Re:Logistic regression from scratch on Friday June 26, 2020 @02:32PM (#23655306)
I see. But I think after demeaning X, beta0 will just have a special meaning... log odds of the average case. Nothing more.
Re:Logistic regression from scratch on Friday June 26, 2020 @08:32AM (#23651239)
You don't want to demean your dependent (response) binary variable. So you almost always want to keep beta0 to control for any imbalance in your dependent var.
Re:Rsuite – R development and data science platform on Saturday December 14, 2019 @05:18PM (#21792711)
Hi Wit, you guys do a great job to make R ready for deployment in production.

What do you think of the new renv package?

Re:Linux apps that run anywhere on Wednesday May 22, 2019 @02:38AM (#19978405)
I was surprised when VSCode snap told me that I should start using different snap to install new versions if VSCode and that my settings would be kept. And it did. So there is some way to respect users settings across snaps at least
Re:GNU Octave 5.1.0 on Saturday March 02, 2019 @02:25PM (#19290683)
m[x,] is for interactive use

If you write a function and need stable behavior use m[x,, drop = FALSE]. Problem solved.

No need of tideverse (which comes with its own surprises).

RStudio has a server mode as well
Also vim editing is restricted to editor window in the current session. So you can't paste from registers in console or in other RStudio sessions.

But its still much better experience to use RStudio markdown than Jupyter for me.

Re:Introduction to R Programming on Saturday December 09, 2017 @03:27AM (#15884880)
the data.table way:

mydt[, newvar := oldvar1/oldvar2]

I could not resist.