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

> don't use CNAME flattening with DNS-routed CDNs like Bunny though

What is the problem with doing that?


If you use AWS virtual machines https://european-alternatives.eu/category/vps-virtual-privat... (some of these also do managed load balancers, managed databases)

If you use AWS for object storage: https://european-alternatives.eu/category/object-storage-pro...

If you use SES: https://european-alternatives.eu/category/transactional-emai... (but hosting your own is also a viable option)

CDNs: https://european-alternatives.eu/category/cdn-content-delive...

There isn't any single provider that can match each and every AWS service. But for subsets of services there are options.

If there's a specific AWS service that you cannot get anywhere else but do absolutely need, that's vendor lock-in. Would it be fair to blame EU companies for your bad decisions?


Can you give an example how this would happen?

Ok, from memory --

There's a pre, do and post phase for the migrations. When you run a single migration, it's: pre, do, post. When you run 2 migrations, it's: pre [1,2], do: [1,2], post: [1,2].

So, if you have a migration that depends on a previous migration's post phase, then it will fail if it is run in a batch with the previous migration.

When I've run into this is with data migrations, or if you're adding/assigining permissions to groups.


Did you mean migration signals (pre_migrate and post_migrate)? They are only meant to run before and after the whole migration operation, regardless of how many steps are executed. They don't trigger for each individual migration operation.

The only catch is they will run multiple times, once for each app, but that can also be prevented by passing a sender (e.g. `pre_migrate.connect(pre_migrate_signal_handler, sender=self)` if you are registering them in your AppConfig.ready method).


Does that affect the autogenerated migrations at all? Teh only time I ran into that issue as if I generated a table, created a data migration and then it failed because the table was created same transaction. Never had a problem with autogenerated migrations.

What a crazy design, why don't they just do pre1 do1 post1 pre2 do2 post2?

This doesn't sound at all familiar, are you sure you're not mixing it up with something else?

There’s like an atomic flag you can pull it out of the transaction . Solves a lot of these issues.

Are there any pictures around of these 8, 16, 32 socket boards? Just curious how they look like.

The individual motherboards have only four sockets: https://assets.ext.hpe.com/is/image/hpedam/s00012647?$zoom$#...

Multiple of these can be linked together with “NUMALink” cables, which carry the same protocol as the traces that go between sockets on the motherboard. You end up with a single kernel running across multiple chassis.


What war are you referring to?


World cup of what sport? If the message is to Trump, I assume golf?


The sport who's leader shoved his head so far up Trump's ass he was able to taste his orange make-up. All for the sake of giving him a farce of a "peace" prize.

(I'm talking about FIFA in case you are not aware)


IMO it's completely the other way around.

Shell scripts can be audited. The average user may not do it due to laziness and/or ignorance, but it is perfectly doable.

On the other hand, how do you make sure your LLM, a non-deterministic black box, will not misinterpret the instructions in some freak accident?


How about both worlds?

Instead of asking the agent to execute it for you, you ask the agent to write an install.sh based on the install.md?

Then you can both audit whatever you want before running or not.


So... What you are saying is that we don't need 'install.md'. Because a developer can just use a LLM to generate a 'install.sh', validate that, and put it into the repo?

Good idea. That seems sensible.

Bonus: LLM is only used once, not every time anyone wants to install some software. With some risks of having to regenerate, because the output was nonsensical.


> What you are saying is that we don't need 'install.md'

I think the point was that install.md is a good way to generate an install.sh.

> validate that, and put it into the repo

The problem being discussed is that the user of the script needs to validate it. It's great if it's validated by the author, but that's already the situation we're in.


> The problem being discussed is that the user of the script needs to validate it. It's great if it's validated by the author, but that's already the situation we're in.

The user is free to use a LLM to 'validate' the `install.sh` file. Just asking it if the script does anything 'bad'. That should be similarly successful as the LLM generating the script based on a description. Maybe even more successful.


I still dont understand why we need any of them. If I am installing something, It would take me more time to write this install.md or install.sh than if I just went to the correct website and copied the command, see the contents, run it and opening help.


And since LLM tokens are expensive and generation is slow, how about we cache that generated code on the server side, so people can just download the pre-generated install.sh? And since not everyone can be bothered to audit LLM code, the publisher can audit and correct it before publishing, so we're effectively caching and deduplicating the auditing work too.


This is much better. Plus you get reproducibility and can leverage the AI for more repeat performances without expending more tokens.


then how about you cut out the llm middleman and just audit the bash scripts already provided?


Why are docs behind a login wall?


Good question — we’ve taken that feedback seriously. We’re currently working on making more documentation publicly accessible without a login, so people can evaluate DevicePrint before signing up.


Hello, I am a security researcher. I found critical issues on your site. Do you have a bug bounty program.


> Don't you dare to compare SQL and CSS. SQL is not a cobbled together mess of incremental updates with 5 imperfect ways of achieving common tasks that interact in weird ways.

Reminds me a little bit of Sascha Baron Cohen's democracy speech [1] in The Dictator ;-)

Both SQL and CSS have evolved through different versions and vendor specific flavors, and have accumulated warts and different ways to do the same thing. Both feel like a superpower once you have mastered them, but painful to get anything done while learning due to the steep learning curve.

[1] https://www.youtube.com/watch?v=XUSiCEx3e-0


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

Search: