84 karma · joined Jan 25, 2019 (7y ago) · 28 submissions
comment 1mo ago · link · parent
Jokes aside (although I'm not entirely joking about my mental health), my main project is https://auradistill.com: First-principles thinking for your AI agents.
It's not just about giving your personal AI agents "memory". It's about encoding memories in a way that can handle ambiguity and contradictions.
That project alone has got me completely hooked on building for and with LLMs.
I've got other projects too, but this is probably the one I've poured the most time and energy into.
3.
Opus 5.5 showcasing: Liquid Glass-like elements for the web(tomacco.github.io ↗)
3 points · by drinkcocacola · 2mo ago · 1 comment
4.
Show HN: World Flavor Atlas. Radzikowski and Chen's food embeddings in 3D(tomacco.github.io ↗)
2 points · by drinkcocacola · 6mo ago · discuss
comment 1y ago · link · parent
comment 1y ago · link · parent
``` const recentGoodMovies = filterql .filter(movies, "year >= 2008") .sort("rating") .desc()
```
If adding helper methods for semantics and clarity is not the intent of the library, then I'd rename the `filter` method since it doesn't communicate the intention clearly.
The function executes a full pipeline filter expression + `|` operations like `SORT` and `LIMIT` (not just a predicate filter). So for instance naming it to `query` will match your README terminology and grammar (`query := filter | operation*`)
comment 2y ago · link · parent
Probably in some years from now once codebases exclusively use this feature, there would be a way to tell the compiler that the default type (without marker) it is a non-nullable type.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
but still...
comment 5y ago · link · parent
That is probably what I hate the most of front-end development compared with back-end or Mobile. There are too many options, and that certainly does not promote consistency within the project.
comment 5y ago · link · parent
comment 5y ago · link · parent
19.
Ask HN: I'm quitting my job, will create a game – any advice?
79 points · by drinkcocacola · 5y ago · 114 comments
comment 6y ago · link · parent
comment 6y ago · link · parent
Many years ago, when I was teachin my mother how to use the computer, I noticed something that I recalled the day Apple introduced the "Natural" Scroll thing.
She was working on a Word document, so I told her that she didn't need to click the scroll bar, but to scroll directly using the mouse wheel. To my surprise, she moved the wheel in the "wrong" direction. And for some seconds she was wondering why the whole thing was "inverted". In that moment I thought that probably we were all taught "incorrectly", and maybe, just maybe, "intuitively" people will think about scrolling on the opposite way, but we ended up learning that it was not correct, adapting our minds to the already established behavior of the mouse wheel.
The truth is. I embraced with happiness the "Natural" scrolling from Apple with the touchpad and the magic mouse on macOS, but also had a hard time getting used to this behavior with a regular mouse. I've been struggling since then, and I still use the "classic" scrolling with my Windows-based PC.
comment 6y ago · link · parent
Recently Spain did a seroprevalence test (number of people with antibodies for Coronavirus) with a large sample of people. They found that 5% of the population had antibodies (2.4M people). Which means that the fatality rate is actually about 1.1% and not 10%.
This numbers (from 0.77% to 1.16%) have been constant in different countries, so let me express my disbelief with the numbers published by the CDC.
comment 7y ago · link · parent
"discipline, sooner or later, will overcome intelligence"
In my country (and actually, in many of western countries), kids are not congratulated because their hard work, but because they are "smart" or "intelligent". I grow up being congratulated all the time because "my intelligence", I made no effort at all to study, and manage to pass all my high school years with the least possible effort.
When I was 18, I started Physics in the University, to find out it was too boring for me, and moved to Computer Science where the more "hands on" approach motivated me a lot.
But it was not enough. Even though I loved to program and I was spending 12+ hours daily only programming, Computer Science is also about mathematics, physics, statistics, etc. Subjects that I love but they were too complicated to approve only "because I am intelligent". I was simply not able to sit and start studying. Beers, girls, parties and videogames were my absolute priorities, so I ended up being kicked out from the university.
My parents were not able to pay for my university, so I was working while studying to pay my bills, and that become my main excuse: "it is too hard to work and study at the same time" (but still, I was spending 30+ hours weekly playing call of duty).
For the next years, I continue working in a restaurant, and after a while I got a job in a Technical Support Call center for a known computer peripheral brand. I learnt a lot about life during those years, but most importantly, it become very clear in my mind that I needed to go back to university and get a CS degree.
So the first thing I did was to start accepting that the previous failure was my fault, and only my fault, this is what helped me to find out the root cause of the problems: I did not have discipline.
After reading many books about the topic. I started to develop a sense of discipline that is not a constant fight against myself, but more like a need to do things in a certain way.
So I went back to University, and found a job at a very young start up: Salary wasn't too high, people were great, and they were creating really fun things. I started not even programming but doing a little of everything here and there, and after some years I became the most important software developer in the company. During these last 4 - 5 years, I've been improving rapidly because the university (still do not have the degree). But I know for sure that I am on the right track. The key points about discipline that I've learnt so far:
- There is not a magic bullet. Discipline is something you need to forge step by step, it takes time and does not stay there magically, you need to keep working on it every day.
- Start with small habits, one at the time. For example: Ensure you make the bed every morning before leaving, leave the house keys always in the same place, wash the dishes before going bed. But remember to force you to do it WITHOUT EXCEPTIONS (and this is extremely important). after 3 - 4 weeks your brain will automatize the task and you will start feeling bad if you don't do it.
- Do not try to change your life overnight. That will bring frustration and your mind will enter in a negative loop, making it more difficult the next time you try.
- Keep learning good new habits, eventually your mind will enter in a POSITIVE feedback loop, where as soon as you want to do something that requires discipline your mind will be willing to do it because the long term pleasure you will feel after you complete it.
And remember: "No one climbs a mountain and regrets it".
PS: English is not my first language, so sorry for any mistakes.
27.
Ask HN: I love my work. I want to quit
3 points · by drinkcocacola · 7y ago · 6 comments