News for hackers. Stuff that matters.

codenlearn

Show HN: Config-driven extensions to ghuntley's ralph loop technique

https://github.com/cvemprala/ralph-addons

I recently came across Chris Parsons' "Your Agent Orchestrator is Too Clever" which talks about Ralph loops, initially proposed by Geoffrey Huntley. while :; do cat PROMPT.md | claude-code ; done Tried it on a real project. Realized that single line, even though concise, doesn't handle real-world complexity - multiple repos, git history, build failures. So I built some tooling around...

( Read More... | no comments | on HN )
This is exactly what I was working on last week. You have beaten me to it. Amazing work now time for me to find a new project.
Doesn't Language itself encode multimodal experiences? Let's take this case write when we write text, we have the skill and opportunity to encode the visual, tactile, and other sensory experiences into words. and the fact is llm's trained on massive text corpora are indirectly learning from human multimodal experiences translated into language. This might be less direct than firsthand sensory experience, but potentially more efficient by leveraging human-curated information. Text can describe simulations of physical environments. Models might learn physical dynamics through textual descriptions of physics, video game logs, scientific papers, etc. A sufficiently comprehensive text corpus might contain enough information to develop reasonable physical intuition without direct sensory experience.

As I'm typing this there is one reality that I'm understanding, the quality and completeness of the data fundamentally determines how well an AI system will work. and with just text this is hard to achieve and a multi modal experience is a must.

thank you for explaining in very simple terms where I could understand

I will probably recommend csprimer, this is hands down one of the best introductions that I found and I recommended to a lot of people who reached out to me. The order I will probably recommend is the following

1. Programming: Beyond the basics

2. Computer Systems

3. Operating Systems

4. Algorithms and Data Structures

5. Computer Networks

This is going to take time but it will be worth your time.

For discrete Math I sincerely recommend you to take a look at this book "Discrete Mathematics with Applications by Susanna Epp. This is an excellent book and it has good problems.

I will also recommend you to look at https://fa24.datastructur.es/ this is a very good beginner course on data structures that is completely free by UC Berkeley

Re:Julia Evans' Git Cheat Sheet [pdf] on Sunday May 26, 2024 @09:15PM (#40486769)
the one thing that is handy and missing here is creating and pushing tags.

Ask HN: What are some books/resources where we can learn by building

Some examples that come to my mind are 1. https://build-your-own.org/ 2. https://github.com/codecrafters-io/build-your-own-xI'm interested mainly in distributed systems and machine learning, if you folks have any such recommendations I would really appreciate it.In ML, I'm looking for something to absolutely learn from scratch. I'm fairly comfortable with Linear Algebra so anything that helps...

( Read More... | 6 comments | on HN )
Re:The Shunting-Yard Algorithm (2011) on Thursday December 07, 2023 @11:39PM (#38565529)
I wrote my first calculator app 11 years ago using shunting yard algorithm. It’s a wonderful algorithm, hats off to Dijsktra for coming up with a simple and elegant algorithm.
Re:Ask HN: Distributed Systems Course Suggestions on Friday October 20, 2023 @12:44PM (#37958446)
The jespen analysis is amazing, thank you for sharing it.
Re:Ask HN: Distributed Systems Course Suggestions on Friday October 20, 2023 @12:44PM (#37958436)
Thank you, this is an amazing resource.

Ask HN: Distributed Systems Course Suggestions

I'm looking for course suggestions in intermediate to advanced topics in Distributed systems and operating systems.Example: this course on Raft by David Beazley https://www.dabeaz.com/raft.html.Any suggestions/help/advice is much appreaciated.

( Read More... | 6 comments | 3 points | on HN )
Thank you for posting the link.
Re:Ask/show HN: weird behavior on ChatGPT on Sunday July 16, 2023 @10:37PM (#36753467)
This behavior is happening in the default model (GPT-3.5). I edited the question as well.

Ask/show HN: weird behavior on ChatGPT

asked chatgpt about the command to revert the action of "git add .", after answering the question it went of answering about "mass communication media". I never asked any question about it?not sure if others have seen this. I've uploaded the image here https://imgur.com/a/LiyQ7hP. This behavior is happening in the default model (GPT-3.5)Curious to know why this is happening.

( Read More... | 2 comments | 2 points | on HN )

Ask HN: Startup Insights-Idea Generation, Problem Validation in Vertical Sectors

This question is targeted towards individuals who have embarked on their entrepreneurial journey by either launching their own startup or bootstrapping it, specifically in vertical businesses like manufacturing, agriculture, construction, and more. I'm curious to know how you generated your business ideas, acquired your initial customers, and validated the problem you were addressing. If you...

( Read More... | no comments | on HN )
The 2 metrics I've used in the past is

1. Bounce rate combined with Session length

- Bounce rate can be defined as % of users who leave only after viewing one or few pages. The reason at least I coupled bounce rate with session length is atleast in the app we work there are few personas that prefer to stay in one page for a long period of time and do some interactions. Bounce rate combined with Session length always give us a good picture are folks using the feature(s) as intended. One thing we did was set a baseline metric where we first measured session length on the app as well as per page basis, and after that we could build the bounce rate. Amplitude works well for this case

2. Churn Rate - number of users who stop using the app over a given period. This should be easy to do by querying db if you maintain some session duration information.

I'm an engineer and talking from experience here.

1. keep the db schema simple. remember you are startup things change, so does the db schema so does your architecture.

2. One piece of advice from personal experience, Microservices usually don't work well for startups try building your solution as a modularized monolith.

3. always make decisions that are reversible (2 way door) and make sure coming back is also easy.

4. for any features you release have qualitative and quantitative metrics and more importantly guard rail metrics.

5. where ever you can use the an off the shelf solution like feature flags (launchdarkly), product analytics (amplitude) use them. These are solutions used by countless startups do not reinvent the wheel.

6. prioritize customer feedback, that is going to get you money and they are going to help make your product better. Instead of "failing fast" prioritize on "learning fast".

7. Be focussed on solving the problem don't romanticize the solution.

Thank you. This is what I was looking for.

Ask HN: Projects to do to get better at distributed systems

For the majority of my career, I've worked as a backend engineer, but now I'm interested in transitioning towards a role as a distributed systems engineer. I've discovered a great resource at https://pdos.csail.mit.edu/6.824/index.html, which has been very helpful.I would like to connect with others who have successfully made the transition from backend engineer to distributed systems engineer....

( Read More... | 2 comments | 3 points | on HN )
Re:Ask HN: Interesting Tech Ideas on Friday April 28, 2023 @04:36PM (#35746795)
Any API recommendations that comes to your mind?

Ask HN: Interesting Tech Ideas

I'm currently looking for ideas for few side projects and I'd love to hear your suggestions. Do you have any interesting ideas that you think would be worth exploring? I'm a backend engineer but open to do anything, tech stack is not a limitation. I'm particularly interested in projects that can be developed within a few weeks or have a quick turnaround time. Any input or ideas would be greatly...

( Read More... | 3 comments | on HN )
If you can afford a monthly subscription, I would definitely recommend https://frontendmasters.com/courses/react-native-v2/. I did the Intermediate React by Brian Holt on Froentend Masters. It was very good. The quality of courses offered here is very good.
+1 to that suggestion. this is something that I experienced as well. offlate most of the webapps are hijacking the back button.
I needed this, thank you for posting this.
wim-hof is a life saver. I used during my covid battle as well. I had this video https://www.youtube.com/watch?v=tybOi4hjZFQ on loop when I was suffering with covid
Re:Tell HN: Turned 44 today and I'm lost on Thursday April 14, 2022 @12:54PM (#31029626)
https://www.youtube.com/watch?v=fvH3lGUdcNM This video is by Noah Keagan, and he talks about a similar situation that you are in. Maybe this will help you. Wishing you the best.

Ask HN: Golang Codebases to Read

I've been writing in golang since the past year but I realize there is a lot I can improve in the way I'm writing go. Interested to know the best practices to be followed. Thanks again

( Read More... | 2 comments | 6 points | on HN )
Re:Learn Go in five minutes on Tuesday January 05, 2021 @02:16PM (#25649698)
Absolutely no offense to the author, but IMO for an experienced programmer the five minute intro does not make any sense. They will be better served by using the documentation (or) go by example in this case.

If someone is new to programming this in no way does any justice. Programming is way too complex to be fit in 5 minutes intro. https://norvig.com/21-days.html

Re:Learn Go in five minutes on Tuesday January 05, 2021 @02:12PM (#25649624)
One resource that atleast comes close to what you are talking about is the information at go101.org, not sure if you have seen this before. Especially the section on Go Type System and Concurrent Programming is really very good and they focus on how to leverage the feature correctly for the most part. Hopefully you like it https://go101.org/article/101.html

Older »