News for hackers. Stuff that matters.

xoptions

Token Optimisation with LLMs

I understand prompt caching is an effective way for optimising for input tokens. What are other options for optimising input tokens? My input tokens maximise in using an xml file.I have avoided using TOONs [1] because it works only with uniform arrays, not nested objects nor non-uniform structures.[1]https://github.com/toon-format/toon

( Read More... | no comments | on HN )
Re:Sarvam 105B, the first competitive Indian open source LLM on Saturday March 07, 2026 @09:17AM (#47287853)
How does it compare with sqaudstack.ai?
Re:Extreme questions to trigger new, better ideas on Monday January 09, 2023 @06:36AM (#34309240)
What do you think about utopia?
Re:Ask HN: How to find what I am really good at? on Tuesday October 04, 2022 @06:47AM (#33078602)
You may not find it by asking others. You will lose sense of time if you really want to get good at something. Sportsmen do not go on a quest in their childhood. They are playing in the middle while their peers are enjoying birthday parties.

The good thing is you are exploring a lot. And exploration never ends until you begin to enjoy getting tired.

This is a useful nuance. Small but very impactful.

Ask HN: How is Rock against Slack for remote collaboration?

I have been using Slack for 7+ years. I have recently joined a startup which communicates on emails and calls. Since we're an early stage, I am considering alternatives to Slack. I love Slack for its deep search. But it could get pricey for our team in the next six months.I am considering Rock (www.rock.so). How has your experience been with integrations and search?

( Read More... | 2 comments | on HN )
Re:Stop Validating Email Addresses with Regex (2012) on Wednesday April 20, 2022 @10:34AM (#31097552)
OP has shared a solution for typo fix in the closing remarks of the blog: https://github.com/mailcheck/mailcheck
Re:Ask HN: How do you define an entrepreneur? on Thursday January 27, 2022 @03:12AM (#30097665)
That is what I am trying to contest here, a manager can also be an entrepreneur. One does not need to own a business to be an entrepreneur. I believe it is a mindset. Even a manager running P&L of a division can be an entrepreneur if one can deliver on ways to create products/ services to improve lives of customers/ users.
Re:Ask HN: How do you define an entrepreneur? on Thursday January 27, 2022 @03:09AM (#30097641)
Yes, sometimes even an incremental improvement can create great businesses. e.g. Freshworks, earlier known as Freshdesk, started as an economical version of Zendesk.
Re:Ask HN: How do you define an entrepreneur? on Thursday January 27, 2022 @03:07AM (#30097629)
I agree that it requires one to lead and take decisions. I am not limited to the usual definition. I want to know if you agree or disagree with the usual definition. By the way, leadership reminds me of an excellent essay, Solitude and Leadership by William Deresiewicz: https://theamericanscholar.org/solitude-and-leadership/
Re:Ask HN: How do I learn how to tell a good story? on Wednesday November 24, 2021 @01:40AM (#29327478)
There's a free course on art of storytelling by Pixar on Khan Academy. https://www.khanacademy.org/computing/pixar#storytelling
Re:Ask HN: How are good borrowers rewarded in your country? on Saturday January 16, 2021 @06:30AM (#25801605)
There is First Republic Bank that rewards edu loan repayments. If you close it early then it rewards you with cash as a percentage of interest that were yet to be paid. It believes that it will earn more from the customer in its lifetime.

e.g. if you repay a 10 year loan in 4 years. You will be rewarded with cash as a percentage of interest that were yet to be paid in next 6 years.

Re:Ask HN: How are good borrowers rewarded in your country? on Thursday January 07, 2021 @12:04AM (#25667476)
Is it true that credit behaviour is better in economies where ratings strictly affect non-banking aspects of life?

Ask HN: How are good borrowers rewarded in your country?

Lenders make money from the good repaying behaviour of good borrowers. However, lenders are known to restructure loans with bad borrowers to recover pending amount. This is a moral hazard signalling the good ones that they aren’t doing any good by repaying on time. Good repayment behaviour has helped lenders, what about the borrowers?

( Read More... | 4 comments | 5 points | on HN )

Mathematics of 6/49 game. Why is it not 5/48 or 7/50?

The mathematics of lottery is based on 6/49 game. Each player selects 6 numbers without replacement from an urn of 49. If the 6 numbers match with the lottery number then it is a jackpot. The probability of it happening is 1 in C(49,6) or 1 in 13 million. I have two questions: [1] Why does the urn consists of 49 numbers and not 48 or 50 numbers? [2] Why one has to select 6 numbers and not 5 or...

( Read More... | no comments | on HN )
Thank you for understanding. I believe in HN as much for cross questioning as for showing empathy.
Thank you stocktech. I don't mind roasting, it's part and parcel of an online world where some people find pleasure in trolling behind a veil. I am grateful that HN is an empathetic community and I shall continue to trust it.

These questions are about candidates past, however I intend to know the current status of mind. This reminds me that I was able to confirm a candidate's state by asking him about his daily routine. His after-work-hours were very depressing for me. Conversations are serendipitous - how they have an innate quality of bringing out the best from within. :-)

Yes. I have been burned recently. We hired an excellent candidate fitting exactly to our needs. We found him to delivering more than we expected in first two months. And then in third month, he started avoided us and resigned by the end of it. There was nothing wrong with him nor anyone had any problem with him. In fact, he was the most sought person at water-cooler too. I loved him for his ability to question anything and everything. He was open-minded for improvements too. Hence, I am assuming that he did not join in right emotional state. The initial excitement was due to a new beginning, probably.
Yes. I am talking about mental health. Thank you for asking.
- Startups are challenging and it NEVER gets easier. In hindsight, the stories that we tell are exciting to share.

- Downsides of acquihire is that we may not adopt to the culture to build markets. I want to work and build on their product (i am a user). They want to expand to a market that we are targeting and our domain knowledge attracts their team.

- Currently, I really want a direction: our TG is affected by the slowdown. It is also the TG that will emerge first as soon as the markets open. I am unsure how long the delay is going to last. In next few years, if the acquihire turns out to be right then I'll be in the centre of building markets that I love. In the long run, I want to build a useful venture. It will be the last place where team mates come together to build their careers.

- I never thought of actively looking for buyers because I would not buy my own company today. Although we have customers, I think we have a lot to do before we begin to surprise ourselves.

- Two roles that we could hire: This is an interesting point. I don't have to think of those two roles, it is on my mind. As and when we get a hint of getting a bandwidth for those two roles, we'll roll out the JDs.

Ask HN: Get acquihired or continue bootstrapping 3y+ startup?

This is the third acquihire offer we've received in last 3 months and fourth overall. All the previous ones were easy to decline. But this one is making me think for a number of reasons: (a) It's targeting the same user base. And they already have the data that we need to build & scale our existing products. (b) It has got thousands of customers and the product is a monopoly. (c) Backed by...

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