Better HN
topnewbestaskshowjobs
Log inSign up

Labo333

1,199 karma · joined Dec 13, 2015 (10y ago) · 335 submissions

louisabraham.github.io

Founder & CTO of reduck.ai

Submissions

61.

Show HN: Visualizing Chess Games(louisabraham.github.io ↗)

58 points · by Labo333 · 2y ago · 10 comments

62.

Tropical Shortest Path(louisabraham.github.io ↗)

2 points · by Labo333 · 2y ago · discuss

comment 2y ago · link · parent

I actually quit a quant trading job after 2 weeks because they used kdb+. I could use it but the experience was so bad...

People could complain about abysmal language design or debugging but what I found the most frustration in the coding conventions that they had (or had not), and I think the language and the community play a big role there. But also the company culture: I asked why the code was so poorly documented (no comments, single letter parameters, arcane function names). "We understand it after some time and this way other teams cannot use our ideas."

Overall, their whole stack was outdated and ofc they could not do very interesting things with a tool such as Q. For example, they plotted graphs by copying data from qStudio to Excel...

The only good thing was they did not buy the docker / k8s bs and were deploying directly on servers. It makes sense that quants should be able to fix things in production very quickly but I think it would also make sense for web app developers not to wait 10 minutes (and that's when you have good infra) to see a fix in production.

I have a theory on why quants actually like kdb: it's a good *weapon*. It serves some purpose but I would not call it a *tool* as building with it is tedious. People like that it just works out of the box. But although you can use a sword to drive nails, it is not its purpose.

Continuing on that theory, LISP (especially Racket) would be the best *tool* available as it is not the most powerful language out of the box but allows to build a lot of abstractions with features to modify the language itself. C++ and Python are just great programming languages as you can build good software on them, Python being also a fairly good weapon.

Q might give the illusion of being the best language to explore quant data, but that's just because quants do not invest enough time into building good software and using good tools. When you actually master a Python IDE, you are definitely more productive than any Q programmer.

And don't get me started on performance (the link covers it anyway even though the prose is bad).

comment 2y ago · link · parent

PostgreSQL is Enough https://gist.github.com/cpursley/c8fb81fe8a7e5df038158bdfe0f...

comment 2y ago · link · parent

This. An ex girlfriend would get really mad at me because I wanted to make frequent breaks in museums. I wish we had known about Museum Fatigue.

66.

Show HN: Cool Visualization of Chess Games(louisabraham.github.io ↗)

3 points · by Labo333 · 2y ago · discuss

comment 2y ago · link · parent

I'm sorry, I think I made the server crash with the following js code:

    Array.from(document.getElementsByTagName("input")).forEach(e => {e.checked = true})

comment 2y ago · link · parent

@dang maybe the title should reflect the originality of the project, aka the fact it's all AI generated?

comment 2y ago · link · parent

Author here!

It was such a power trip and blissful experience to discover the game on HN, think about a strategy, implement a solution, write a blog post (thanks again to orlp for his comment here that pointed out a mistake), email igpay (the author of the game), fork the repo, implement the algorithm in C# for Unity (it was my first time using those technologies but ChatGPT was quite helpful), get it merged and finally make it to the front page of HN where all of this started.

Thank you guys, this is why the Internet exists!

comment 2y ago · link · parent

Author here!

I'm not sure about the first part

  V(s) = max i (min j V(s, i, j))
It looks like you suppose that j "precommits" to some move. But I'm not fully awake yet so you could be right.

comment 2y ago · link · parent

oh RIGHT. Gotta fix it

72.

Solving Probabilistic Tic-Tac-Toe(louisabraham.github.io ↗)

138 points · by Labo333 · 2y ago · 44 comments

comment 2y ago · link · parent

I just did: https://louisabraham.github.io/articles/probabilistic-tic-ta...

comment 2y ago · link · parent

There is an easier way to solve each recursion! I just wrote a blog post on it: https://louisabraham.github.io/articles/probabilistic-tic-ta...

comment 2y ago · link · parent

In my experience (slightly tweaked towards data science and AI research), programming is also experimenting, be it playing with the data, testing a new idea or even debugging.

There is a reason why LISPers (I'm not one of them though) praise so much REPL-driven development: the REPL is a laboratory.

Also, how much time did you spend testing a library, looking on the internet how to install it, debugging the weird compiler errors? In the end you found the one option that made everything work but it took you hours of research and experimentation.

comment 2y ago · link · parent

Pretty cool! A nice addition would be an in-browser runtime!

comment 2y ago · link · parent

Nothing quite beats a simple google docs file where I can take notes and put links to sci-hub. Very often, legal download links expire after some time or they force the browser to download the pdf.

I have a google docs for each research project and thus I can share them with my collaborators. Each person has their own section within the doc so we can also easily share information with each other!

comment 2y ago · link · parent

TIL there is such a thing as African American English. But until we teach it in school and there are books written in that dialect, it will just be considered incorrect English by the AI, hence the qualification of "lazy" is not illogical.

79.

GaLore: Train 7B models from scratch on consumer GPU(huggingface.co ↗)

1 points · by Labo333 · 2y ago · discuss

comment 2y ago · link · parent

Great article! (shameless plug) As an alternative to "Burp Extension Copy As Python-Requests", I coded this CLI tool that converts HAR to Python Requests code: https://github.com/louisabraham/har2requests

81.

V-JEPA: The next step toward advanced machine intelligence(ai.meta.com ↗)

3 points · by Labo333 · 2y ago · discuss

comment 2y ago · link · parent

I wonder what the output will be on polyglot files like run-anywhere binaries produced by cosmopolitan [1]

[1]: https://justine.lol/cosmopolitan/

83.

S-LoRA: Serving Concurrent LoRA Adapters(github.com ↗)

73 points · by Labo333 · 2y ago · 20 comments

comment 3y ago · link · parent

Side note but I really love my Kobo and its hackability. For example, you can create your own sync mechanisms [0]. And when I say hackable, I mean it: I improved the Dropbox features to use the actual API and not a "public folder" (without JS, it only allows to retrieve a few files).

[0]: https://github.com/fsantini/KoboCloud

comment 3y ago · link · parent

There is an amazing trick that I now use almost every time I want to sleep: the 4-7-8 breathing method. I don't remember using it and not falling asleep in less than 5 minutes, whatever the stress I was in.

https://edition.cnn.com/2022/09/16/health/4-7-8-breathing-te...

86.

Verifiable Encryption on the Blockchain(louisabraham.github.io ↗)

3 points · by Labo333 · 3y ago · discuss

comment 3y ago · link · parent

Is this guy paid by a quant firm to implement classical algorithms that are not directly related to their activity, just for the sake of PR? Sign me in!

88.

Checking properties of C++ template types(louisabraham.github.io ↗)

3 points · by Labo333 · 3y ago · discuss

12345
12