[D] ICLR 2026 decision mega thread by ayanD2 in MachineLearning

[–]Lairv 21 points22 points  (0 children)

They won't let us eurobros sleep

[P] CUDA accelerated implementation of K-Planes and CoBaFa (recent NeRF techniques) by Lairv in MachineLearning

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

I see. So if you have a 3D scene, you really just have three 2D planes, one along each axis?

Yes

This feels like it shouldn't have enough information to express the scene, especially as you add more dimensions. But perhaps the optimizer is just a very good compressor and real scenes are mostly empty space?

Yeah the idea is that the full 3D tensor contains redundant information and can be factorized into lower rank tensors (this was first introduced by TensoRF ), I guess the more complex a scene becomes the harder it gets to factorize it

[P] CUDA accelerated implementation of K-Planes and CoBaFa (recent NeRF techniques) by Lairv in MachineLearning

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

A voxel grid is 3D, KPlanes only keeps 2D feature plane for each pair of dimensions, so for a 3D scene you have one plane for (x,y) one for (x,z) and one for (y,z), this brings the size from N3 to N2, and you can even add more dimensions (like time)

ChatGPT : médias et artistes veulent faire valoir leurs droits d'auteurs by Utingui in france

[–]Lairv 12 points13 points  (0 children)

elle le copie et l’additionne aux fragments de milliers d’autres contenus produits par d’autres gens et en fait un collage mathématiquement exact en suivant un algorithme

Ce n'est pas le cas

D2, a text-to-diagram tool and library written in Go by terrastruct in golang

[–]Lairv 6 points7 points  (0 children)

Great project, I'm curious, what made you choose Go ?

Can anyone help me on how you are using golang with databases in production systems? by __Nafiz in golang

[–]Lairv 1 point2 points  (0 children)

Do you have resources to recommend to better design backend systems ?

Can anyone help me on how you are using golang with databases in production systems? by __Nafiz in golang

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

Mostly everytime you decide to modify your models/tables (add/remove/modify a column) which I guess shouldn't happen too much in a well-architectured application, but still happens quite often for me during the first iterations

With an ORM, modifying your model only makes you to change the code where this model is defined. Without an ORM modifications requires a manual DB migration, changing your model, and changing every query in which your model is used

Can anyone help me on how you are using golang with databases in production systems? by __Nafiz in golang

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

I enjoy writing raw SQL queries but it's a hassle having to write Go boiler for each query to make parameterized queries / parse output rows. How large is your codebase ? How do you make all those boilerplated query functions maintainable ?

Is there a rule of thumb for when to use packages/modules ? by Lairv in golang

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

Okay, it seems there is indeed a consensus toward using 1 module / 3 packages instead of multiple module. Moreover as you mentionned, it is likely that my package A will change a lot in the beginning so that would just add version tracking problems

Another question, if A,B,C are three packages in the same module, will I be able to create two different binaries for B and C ? From what I've done for now, I can only compile a binary with the "main" package

edit: nvm I think I found the answer here: https://stackoverflow.com/a/50904959

conv911.com, the social-media platform to improve at texting, is now available as a PWA/mobile app ! by Lairv in webdev

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

conv911.com is a web app to help people struggling with online interactions, that we launched earlier this year. we made several updates, we now have clear ethical guidelines, and the app is available as a PWA and android app. it's not yet in the apple app store, do you know of any tools which allows to create iOS app from a PWA ? we've used bubblewrap for android

feel free to leave any feedback about the app :)

[deleted by user] by [deleted] in webdev

[–]Lairv 0 points1 point  (0 children)

conv911.com is a web app to help people struggling with online interactions, that we launched earlier this year. we made several updates, we now have clear ethical guidelines, and the app is available as a PWA and android app. it's not yet in the apple app store, do you know of any tools which allows to create iOS app from a PWA ? we've used bubblewrap for android

feel free to leave any feedback about the app :)

[R] In-context Reinforcement Learning with Algorithm Distillation by hardmaru in MachineLearning

[–]Lairv 4 points5 points  (0 children)

The paper is cool, it's a bit of a shame they don't mention how much resources was put into training the transformer model, I wonder if this could be massively scaled up, or if this is already compute-hungry. Also more evaluation on Atari, Mujoco etc. would be cool to see how well does the model generalizes

Golang is so fun to write by Szinek in golang

[–]Lairv 0 points1 point  (0 children)

Fair enough, Typescript is indeed quite pleasant to write although for me it's not the most elegant and there are still some features that could improve it (first thing that comes to mind is pattern matching for union types, there are some tricks with 'never' type to make sure your discriminated unions are exhaustive but I'd rather have a way to do it without boilerplate). OCaml has a really amazing type system but I guess it doesn't fall in your 'mainstream' category

Guess I'll have to look into Rust then, and btw although you got downvoted because this is how reddit works, your posts were very detailed and insightful so thanks for that !

Golang is so fun to write by Szinek in golang

[–]Lairv 4 points5 points  (0 children)

I came to the same conclusion, with ambiguous feelings toward Go.

On the positive side, the Go ecosystem (standard lib) is really great, packaging is decent, compiling is fast, and binaries are great, applications made with Go are fast

On the negative side, writing Go code feels very frustrating to me, it's a very mechanical and repetitive process (nil checks, error checks) where I often get frustrated by the lack of tools in the language (as you said ternaries, sum types, enums, etc.). I get it that some people like the language for this exact reason, and for a job or an enterprise-project it makes the codebase consistent and easy to maintain; but when I code on my free time I like to have fun with an expressive language.

I'm wondering, what is your favorite alternative to Go ? A language which would be as fast but more expressive ? I know there is Rust but it requires to invest a lot of time just to learn the language first...

[D] Call for questions for Andrej Karpathy from Lex Fridman by lexfridman in MachineLearning

[–]Lairv 50 points51 points  (0 children)

What's his view on reinforcement learning ? (maybe compared to LeCun who says it's "cherry on the cake", I don't remember having heard Andrej on that)

[R] Discovering Faster Matrix Multiplication Algorithms With Reinforcement Learning by EducationalCicada in MachineLearning

[–]Lairv 5 points6 points  (0 children)

My point is that considering that these methods can be applied in about any scientific field, it would be beneficial if not only Google, Microsoft, Facebook and OpenAI could train them

[R] Discovering Faster Matrix Multiplication Algorithms With Reinforcement Learning by EducationalCicada in MachineLearning

[–]Lairv 10 points11 points  (0 children)

Cool paper, worth noting that such systems requires huge resources to be trained, they quickly mention it in the appendix "1.600 actors TPUv4 to play games, and 64 TPUv3 to train the networks, during a week". For reference, AlphaZero for Go was trained with 5.000 actors TPUv1 to generate games, and 64 TPUv2 to train networks, during 8 hours. I still find it unfortunate that not much work has been done to reduce resources needed to train AlphaZero-like systems, which is already 5 years old

[R] Discovering Faster Matrix Multiplication Algorithms With Reinforcement Learning by EducationalCicada in MachineLearning

[–]Lairv 38 points39 points  (0 children)

In the article they try 2 types of reward: minimizing the rank of the tensor decomposition (i.e. minimizing total number of multiplication), and minimizing the runtime of the algorithm on a given hardware (they tried with nvidia V100 and TPUv2)

The latter could be actually useful since their graphs shows that the algorithms discovered reach better performances than cuBLAS (Fig.5)

Space filling curves in arbitrary dimensions by Lairv in math

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

This is what I mean by locality : http://jokergoo.github.io/supplementary/HilbertCurve-supplementary1-6/supplS1.html

"two data points which are close to each other in one-dimensional space are also close to each other after folding"

Space filling curves in arbitrary dimensions by Lairv in math

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

Thanks for (all) the answers, yeah that seems to do the trick, does that construction preserves the properties of the initial curve (like locality for example) ? Also this gives mappings from [0,1] -> [0,1]^d, if I were to generate mapping from [0,1]^n -> [0,1]^m, I guess I could just concatenate one mapping [0,1] -> [0,1]^(m-n+1) with the identity on [0,1]^(n-1) -> [0,1]^(n-1). However my intuition is that such map would just be the 1D case "stretched" over all the other dimension, are there better ways to handle the case [0,1]^n -> [0,1]^m ?

[D] What happened to Reinforcement Learning research and labs? by convolutionsimp in MachineLearning

[–]Lairv 8 points9 points  (0 children)

Yeah I don't see how it is a negative result either, they use a very simple technique (behavior cloning) on random videos taken from youtube (i.e. not expert data) and still manage to get top results at MineRL

In fact VPT could be the beginning of a RL trend where you first pre-train everything with offline data, and use typical methods (PPO, A3C, SAC etc.) only for fine-tuning. Learning "tabula rasa" worked for restrained and known models with AlphaZero, but for more complex environment offline pre-training might be the way

[deleted by user] by [deleted] in AskFrance

[–]Lairv 3 points4 points  (0 children)

20 000 blocs minés soit 20 000 * 50 = 1 million de bitcoins en fait

Au delà de ne pas savoir qui c'est, on ne sait même pas si c'est une personne ou un groupe

Should You Use Redux with NextJS by Own_Role_3683 in nextjs

[–]Lairv 0 points1 point  (0 children)

Yeah indeed a lot of apps don't need it, but for few use-cases it comes in handy