Hacker Newsnew | past | comments | ask | show | jobs | submit | je42's commentslogin

Nice language! I am wondering how error handling / exceptions works in bolt?

Quickly scanned the programming guide - but wasn't able to find it. Did i miss a section?


As far as i can see it is simple, everything can return an Error, so you have to check the return value if it is an error.

https://github.com/Beariish/bolt/blob/main/examples/error_ha...


That's definitely not universally true, with even the core library getting into the "null indicates error" game https://github.com/Beariish/bolt/blob/0.1.0/doc/Bolt%20Stand... or this fun middle ground where it could be Error or null https://github.com/Beariish/bolt/blob/0.1.0/doc/Bolt%20Stand...

But I think OP was asking about whatever the hell this means by "native error callback" https://github.com/Beariish/bolt/blob/0.1.0/doc/Bolt%20Stand...


I think I was looking for both error / exception handling within the language and across the C api.


Steam added recently a rule 15th what you should not publish:

15. Content that may violate the rules and standards set forth by Steam’s payment processors and related card networks and banks, or internet network providers. In particular, certain kinds of adult only content.

See discussion here for example: https://steamcommunity.com/discussions/forum/0/6019100814124...


Have you tried to add more guidelines ? Similar to documentation you would provide to new members of the team


copy paste from a different comment in this thread:

> I have tried being specific, I have even gone as far as to feed its prompt with a full requirement document for a feature (1000+ words), and it did not seem to make any significant difference.


How do you guys use Lua modules?


We put all of our software in a module and then we have a script for our projects that loads the appropriate software. I'm not sure I understand the question...


> All participants were then reassured that though 20 minutes might be a rather short time to write an essay, they were encouraged to do their best.

Given that the task has been under time pressure, I am not sure this study helps gauging the impact of LLMs in other contexts.

When my goal is to produce the result for a specific short term task - I maximize tool usage.

When my goal is to improve my personal skills - I use the LLM tooling differently optimizing for long(er) term learning.


"I"? You should treat yourself as an anecdotal exception.

You are reading on HN. You are probably more aware about the advantages and shortcomings of LLMs. You are not a casual user. And that's the problem with our echo chamber here.


However, I believe it is quite an assumption that a setup with time pressure reflects "normal" usage of a LLM.


This would mean that short term tasks, the bulk of what knowledge workers do nowadays, forgo learning on the job.


I find that LLM extremely good in training such language skills by using following process:

a) write a draft yourself.

b) ask the LLM to correct your draft and make it better.

c) newer LLMs will explicitly mention the things they corrected (otherwise ask for being explict about the changes)

d) walk through each of the changes and apply the ones you feel that make the text better

This helped me improving my writing skills drastically (in multiple languages) compared to the times where I didn't have access to LLMs.


Done this as well. But after the initial "wow!" moment, the "make it better" part became a "actually I don't like how you wrote it, it doesn't sound like me".

There is a thin line between enhancing and taking over, and IMO the current LLMs cross it most of the time.


Your mistake was having the AI rewrite at all, don't do that, that is exactly the problem with them - that is them thinking for you. Ask the AI how well you wrote it, make the AI a writing professor, make the AI adopt a Socratic attitude that does not do anything but draws you to make the connection yourself.


I use Grammarly sometimes to check my more serious texts, but there's a gotcha. If you allow all of its stylistic choices, your writing becomes very sterile and devoid of any soul.

Your word and structural choices adds a flair of its own, makes something truly yours and unique. Don't let the tool kill that.


Looking at the co routine example. Does the function type implicitly change when using co.sleep in the function body?


Any chance you missed “go” that turned the function into the future?


One alternatives I like is https://bakpakin.github.io/tiny-ecs/doc/


Yeah, tiny-ecs is good, but it doesn't quite fit my needs. With these thoughts in mind, I started this project.


There are alternatives that are not on the EU list for controlled substances. Like for example:

https://en.wikipedia.org/wiki/Lisdexamfetamine


Lisdexamfetamine is still a C2 in the US, as somebody with a script for it the headaches of pharmacies running out is real.


Vyvanse never hit the same the one month my doc wanted me to try it out :(


More data can help inform semi closed loop systems to deal with this variability.

For example, AAPS has since version 3.2 dynamic IFS. ( https://androidaps.readthedocs.io/en/latest/DailyLifeWithAap... )

For me this works quite well


Still pissed my insurance stopped covering the Omnipod Dash last year, especially since the 5 is just an artificially locked down dash. Omnipod 5 automated mode is garbage compared to aaps


*ISF (Insulin Sensitivity Factor)


Thank you, I’ll check it out


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: