skysight-inc/HackerNews huggingface dataset:
> By adding risk and reward to determine outcome value, Tao is claiming that outcome value is increased by riskiness.

Tao talks about minimising "value at risk" which he defines as risk MINUS reward. If you prefer to switch signs and talk about maximising "outcome value" then that would be reward MINUS risk.
Therapists do not know "when" anything. We are not gods and do not control time.

A more balanced open ended question would be. "Do therapist notice if a client deteriorates during the therapeutic work". I would say yes.

It does depend on the experience and training of the therapist and what client group you are talking about.

Is it a client who has recently had a bereavement or clients who have long term serious mental health problems such as psychosis.

In my experience the initial risk assessment and client history is a helpful guide as to whether the client is robust enough to manage the strains and difficulties of long term psychotherapy.

Psychotherapy is not easy and until the work starts we do not know what will be uncovered during the work. There is always a decline of the clients wellbeing during the difficult work stages before any progress will be made.

A classic example would be the client who comes into therapy believing that their parents were wonderful but during therapy comes to realise that their parents were in fact abusive and controlling, this has a profound impact on the client and can lead to depression and a loss of a sense of self amongst other symptoms.

Generally though, in my experience, you can see the slight changes in the client before the client is aware that something is going on for them.

Obviously, experience and good supervision are the key to holding the client and working with any changes during the therapeutic process.

If you want to see how therapy really works then watch the french TV series En thérapie series one and series two.

Being a retired psychotherapist this is the best example of psychotherapy shown on TV that I have seen and it will give you an idea of how real therapy works and how a psychoanalyst applies themselves to the dilemmas of therapeutic work.

https://www.imdb.com/title/tt11080216/
They don’t gloss over these. Indians just overlook them because it would clash against their aspirations to migrate to the UK. Also the partition related deaths cannot be blamed on the British. This episode happened because of the inability of the Hindu and Muslim communities to set aside their prejudices. The British were leaving India and cannot be blamed for the partition riots. They do bear responsibility for the other 2 and many other atrocities though.
find a copy of the standard. A version of it is floating online. The latest version just added some clarifications, but is not needed. I built an implementation out of that, though the error correction part, of course, I had to learn somewhere else. But the spec is very readable
>True! And chances are, if you're developing website software or video game software, you'll never think about these sorts of things, it'll just be a dumb pipe for you, still.

Wrong. I've experienced most of the complaints in the paper when developing multiplayer video games. These days I simply use websockets instead of raw TCP because it is not worth the effort and yet you still have to do manual heartbeats.
> Wouldn't really say Apple is pushing the envelope here

come on dude. they're doing it by default, for > billion people, with their army of lawyers sitting around waiting to defend lawsuits from shitty governments around the world.
> What if there isn’t a good plan in place for making people integrate with the local culture and you end up with large groups of people whose beliefs and behaviour are incompatible with those of the local population, e.g. calls for religious rule in an otherwise democratic country and increased violence? Not the blown out of proportion election claims in the US, but rather the real question of what happens to people after they cross the border? If that detail is unaddressed then people might grow to desire more closed borders, even if the issues lie elsewhere.

Integration is primarily a numbers game. Most people don't integrate into the local culture unless they are cut off from their own. If you have so many immigrants that you either need to build immigrant housing or fill up entire towns with them then you don't get immigrans assimilating into the local culture but rather them bringing their own culture no matter what other measueres are implemented. So yes, a good implementation of immigration needs closed borders at least for foreign cultures - these things are not independent.
Those approaches do work with programming, but they don't make use of what makes programming different from other disciplines.

Software is usually quick to write, update and deploy. And errors usually have pretty low impact. Sure, your website may be down for a day and people will get grumpy, but you can hack together a quick fix and have it online with the push of a button.

Compare that to, say, electrical engineering, where there's often a long time between finishing a design and getting a manufactured prototype (let alone mass production.) And a fault could mean damage to equipment (or people) and the cost of having to replace everything. So you'll find that there's a lot more work done up-front and the general way of working tends to be more cautious.

There's also the idea of best practices as a form of communication. This also helps for programmers, as code that looks and acts the way you expect it is easier to follow. But code is primarily shared with other programmers. Other engineering disciplines (more) frequently need to collaborate with people from other domains. For example, a civil engineer's work could be shared with architects, government bureaucrats and construction managers, and best practices often provide a common familiar standard.

Compared to other engineering disciplines, software is a big unorganized mess. But it's also incredibly fast and cheap to make because of that.
Is AI's meteoric rise beginning to slow?
Heh, no apology needed. It's definitely an overused name. We bikeshed the name a good few years ago and came to "Nova" from "Supernova" because space is, like, cool. Rebranding would feel weird now :)

I console myself with the knowledge that most engine names are unknown anyway, and even if known they are still unsearchable (looking at you two, V8 and JSC!)
No. This is a myth, and while it does force you to enter your password instead of using biometrics on the next unlock, it is not the same as returning to BFU.
>There is something wrong with people who enjoy telling other people what to do.

Telling other people what to do is human's favorite thing. Give a man an opportunity to make and/or enforce rules, and you have a very happy man. People dedicate their whole lives to reaching stage after stage in their rule-making game.
So is the whole point of this project to convince V8 to adopt a particular optimization?
> I would say if you’re the type of person who would do this, you should go one step further and power off.

I'd travel with a different device, honestly. I can get a new-in-box android device for under £60 from a shop, travel with that, set it up properly on the other side, and then either leave it behind or wipe it again.
> We couldn't search for anything in the docs but even searching for article titles failed so we all just had to keep bookmarks to what we needed.

My experience with _every_ knowledge base has been that this is the solution. My current team has confluence pages pinned to slack channels which link to the other necessary pages.
They are both imperative / data-orientated languages and Rust has light functional programming.
Now this is a principle I can totally get behind. If the same information lives in multiple places in your codebase, you are definitly doing it wrong, unless that same information is just coincidentally the same and used for different purposes in different places
Indeed, this was me. Now I don’t care if I have three functions doing the same thing slightly differently.

Much better than having some advanced mega functions I don’t understand how it’s working anyway
Thanks. Can't wait to get back in there.
I heard syncthing has recently given up on developing the android app. Unfortunately the filesystem in android has become more and more restrictive so using an app to manage files globally that reside in each individual apps container is becoming more difficult. i onced synced 70k small files to android and it took 2 months to complete due to the virtual filesystem.
I'm sure this is why but I had the same thought as GP. Under what circumstances would 24 hours be disruptive, but three days would be okay?

If you're using the iPhone as some type of IoT appliance, either time limit would be disruptive. But if you e.g. enable Guided Access, the phone will stay unlocked and so shouldn't reboot.

If you're using the iPhone as a phone, who the heck doesn't touch their phone in 24 hours? Maybe if you're on some phone-free camping trip and you just need the iPhone with you as an emergency backup—but in that case, I don't think Inactivity Reboot would be particularly disruptive.

Maybe Apple will lower the window over time?
A fault in the Cinia C-Lion1 submarine cable between Finland and Germany
The thread didn't seam weird to me. It is someone using it for schoolwork. Some of it is an essay, some of it is bad copy-pasta multiple choice.
I think one thing the industry does not do properly is applying different practices and standards depending on context.

An retailer website is not the same as a trading platform, the same way that a house is not the same as a railway station. But we blindly try to apply the same "good practices" everywhere.

We also have another interesting phenomenon, our products can mutate in their lifetime, and our practices should follow (they often don't) an MVP can become a critical system, a small internal project can become a client-facing application, we can re-platform, re-write, etc. That's very rare in other industries.
Hot take, the biggest advantage to following «best practices» is that when someone else stumbles over your project, they can follow along more easily
But did you really forget it if you remember that you read this already?

Did you really forgot why its called rebeccapurple?
If it is arbitrary, it’s “standard practice”.
I agree. If google can index the entire internet, there's no reason confluence can't index 10 pages by title in the length of time it takes to use the search.

But, my experience is that even when search is good, you need the right query. Take onboarding instructions. Do you search for "new hire", "initial setup", "setup guide", "engineering onboarding", "programmer first steps"?

Or, do you send a link in a welcome email to the right page, and have it pinned on the home page of your project?

Honestly, I think confluence would be better _without_ search.
Is this an experimental only JS engine or do you aim to implement the entire ECMAscript specification?

I have been following the Rust Boa project, but I think that it isn't production ready, yet. https://github.com/boa-dev/boa
India's capital shuts schools as smog exceeds 60 times WHO limit
That sounds nice, but I haven't seen any of those features drop yet... I wouldn't be surprised if altium can do simulations, but it's not exactly a free/OSS product.
Yeah exactly.

A lot of the time best practice can also mean “we did it this way last time and it was ok”. I don’t think anyone is saying don’t find improvements in “what is currently defined as best practice” and if they are then that’s your problem.
I miss the old web so much. It really was a magical place. It's so nice to see a search engine that doesn't interpret all my searches as if I want to buy something, or I'm looking for AI generated "best xyz in 2024" listicles.
Isn't data oriented design driven by knowing what your data accesses look like? In your engine, you're building as if you're assuming that common data access will be linear access over objects of the same type. Why?
You can easily build a JSON based RPC protocol in a few minutes using WebSockets and be done. With raw TCP you're going to be spending a week doing something millions of other developers have done again and again in your own custom bespoke way that nobody else will understand.

Your second point is very dismissive. You're inserting random application requirements that the vast majority of application developers don't care about and then you claim that only in this situation do WebSockets make sense when in reality the vast majority of developers only use WebSockets and your suggestion involves the second unwanted protocol (e.g. the horror that is protobuffers and gRPC).
Hey, Thanks for asking.

The Islet app is designed as a knowledge base that logs crucial data, including insulin dosages, meals, and physical activities. It aims to provide users with insights into how these factors interact to impact their blood sugar levels. Here's a breakdown of how ChatGPT integrates into the app and what data is involved:

What kind of data powers ChatGPT in Islet?

The ChatGPT component in Islet acts as a translation and query layer rather than the sole knowledge source. Islet’s knowledge base aggregates and organises the user’s logged data, such as:

- Glucose Levels: Derived from CGM (Continuous Glucose Monitor) data. This Data is currently on a 3hr delay in the app.

- Insulin Dosages: Logged by the user to capture the timing, type, and amount of insulin administered.

- Meals: Users can log meals in detail, including macronutrient composition, portion sizes, and timing.

- Activities: Logs include exercise type, intensity, and duration, as physical activity significantly impacts glucose regulation.

Does ChatGPT provide advice?

While the app itself does not directly provide medical advice, the ChatGPT integration facilitates better use of the logged data by enabling the user to ask targeted questions. For example:

- "How has my blood sugar been affected by pasta meals over the past two weeks?"

- "What impact does my 30-minute cycling routine typically have on my glucose levels?"

- "Are there patterns between my evening meals and morning glucose levels?"

Purpose of the App

The primary purpose of Islet is to empower users with a system that captures and organises their diabetes-related data into a knowledge base. The ChatGPT layer makes querying this knowledge base intuitive by translating user questions into actionable insights, offering:

1. Pattern Analysis: It helps users understand trends by analysing recurring meals and activities regimens and their effects on blood sugar levels.

2. Education: Users gain a better understanding of their unique responses to different scenarios, supporting informed decisions in their diabetes management.

By focusing on personalised, data-driven insights rather than generic advice, Islet ensures that the ChatGPT integration remains a helpful tool for exploring user-specific trends.
Show HN: Hercules – Open-Source software testing agent
Hey HN,

After spending way too many late nights wrestling with brittle test scripts and UIs that seem to change just to spite me, we decided to do something about it. So we built Hercules, an open-source testing agent aiming to make end-to-end testing of modern web applications less of a Herculean task (pun absolutely intended).

P.S.- Paid solutions can cost upwords of $15000 and still struggle with maintenance.

What is Hercules?

Hercules is an AI-powered testing agent that turns simple Gherkin steps into fully automated end-to-end tests, eliminating the need for coding skills. It leverages Large Language Models (LLMs) to reason and perform actions based on test requirements.

Key Features-

- Gherkin In, Results Out: Just provide your tests in Gherkin format, and Hercules executes them automatically, outputting results in JUnit XML and HTML reports.
- Free and Open Source: Hercules is released under the AGPL v3 license, allowing anyone to use, modify, and contribute.
- Salesforce Ready: Capable of handling intricate UIs, Hercules excels in testing platforms like Salesforce.
- No Code Required: Automates Gherkin features without the need for scripting or dealing with selectors.
- Multilingual Support: Supports multiple languages out of the box, facilitating global collaboration.
- Precisely Accurate: Records execution videos and captures network logs for reliable test results.
- No Maintenance: Features auto-healing capabilities to adapt to changes without manual intervention.
- CI/CD Ready: Easily integrates into your CI/CD pipeline and can run in Docker containers.

Why is Hercules Different?

Unlike traditional testing tools, Hercules acts as an intelligent agent that can think, reason, and adapt. It's built on a multi-agent architecture, allowing it to plan and execute tasks based on the provided Gherkin steps. Additionally, it comes packed with tool usage like Browsers, or APIs; and users can build/attach external tools too.

Try It Out

The source code and detailed documentation are available on GitHub: [https://github.com/test-zeus-ai/testzeus-hercules](https://g...

To get started:

- Install via PyPI:

```bash
pip install testzeus-hercules
playwright install --with-deps
```

- Or use the Docker image:

```bash
docker pull testzeus/hercules:latest
```

We've included sample feature files and a quick-start guide in the README to help you get up and running quickly.

Feedback Welcome-

We'd love to hear your thoughts, experiences, or even horror stories about testing gone wrong. Feel free to open issues on GitHub or join forces on our Discord : https://discord.gg/4fyEMWVD
You’re absolutely right, I have not tried very hard to optimize for speed either yet. To comment was more directed at the fact most just say that “speed” is the main reason to use C, but for me it’s almost exclusively for the fun and “cool” factor.
Thanks for pointing this out, forgot to update the Privacy Policy on the website.
Deploy Astro to Serverize
FC was much more expensive than ethernet, so needed a reason to be used.

For block storage it is great, if slower than ethernet.
Not really: In my daydreams Nova becomes the premier JS engine in the world and takes the crown from V8. If V8 went all in and basically just copied all of Nova... I'd probably still develop Nova, as I don't want to work with C++ that much.

If V8 copied all of Nova AND adopted Rust, I might consider laying Nova to rest and going into V8 development. But I'd probably also be really angry at V8 just taking all of Nova's good ideas and peddling them off as their own without crediting Nova. So probably I'd still keep developing Nova while stewing in my anger and inability to do anything about it :)

I hope Nova can be a spark that ignites the JavaScript world into a bit of a renaissance with some of its ideas, but the point is not to burn bright and burn out. The point is to burn bright and stay lit.
> The other part is that companies are much more willing to hire people if they know they can get rid of them if either that person ends up sucking or business starts to fall off.

That and other reasons (few vacantion days, request to overtime, etc) is why one should avoid American companies in Europe, if possible.

Trust goes both ways.
Initially I did use fork a lot to allow each handler in its own “process” mainly because I wanted to isolate it as well in a container fashion. However the overhead became to much at the start when I just wanted it to work. Will be looking into it again!
No, the "cube law" is related to varying clock speed rather than to varying transistor size.
Anything that Oracle gives away for free today should be assumed will be converted to be monetized as soon as there is sufficient uptake in usage.

Anything that Oracle makes available for community contributions should be assumed will be dramatically restricted via license when Oracle figures out how to monetize it.
NIST trains AI to hear the 'oh crap' moment before batteries explode
Well, Devs of V8, Spidermonkey, Webkit and GraalJS are all on HN. Hopefully they see this and all chime in.
No, they do have the right to express frustration. What they don't have is the right to demand work from anyone else, but what tends to happen is that communities are on such a hair trigger for the latter that they reject the former even when the frustration is directly caused by a solvable problem.
'Attention is All You Need'
You can destroy rockets, lethally irradiate people, fly planes upside down, or financially ruin a company because of software bugs, so avoid faults can be critical for software as well.

It is just that high-velocity low-reliability web and consumer application development is a very large niche. A lot of our best-practices are about attempting to maintain high velocity (often with questionable results), more than increasing reliability.
You'd say someone would build an API to retrieve that information by city. But I would not be surprised that the product seller can't be bothered inserting that information into their sales flow.
You're right, the doctor thing is just bad grammar or sentence structure on my part
I switched to devbox about a month ago after reading some comments on here about it, so far I couldn't be happier with it. It's certainly blazing fast, but also manages versions better, supports multiple users on the same machine, installs stuff to a sane location etc. https://www.jetify.com/devbox
>I always suspect that Teams is developed by some beginners who are learning Scrum

I get the same feeling from Google's android and Pixels. Lots of neat features keep getting added, but the SW and HW issues that end up in the final product make it seem like an incredibly amateurish effort for such a wealthy company hiring top talent.
The literal version of this is used by sanlock et al. to implement cluster-wide locks. But the whole "pretending to be block devices" overhead makes it not exactly ideal for anything else.

Drop the "pretending to be block devices" part and you basically end up with InfiniBand. It works well, if you ignore the small problem of "you need to either reimplement all your software to work with RDMA based IPC, or reimplement Ethernet on top of InfiniBand to remain compatible and throw away most advantages of InfiniBand again".
Monzo Writing Principles