Root email handling

Solution for secure handling of root emails.

[x] Delegated hosted zone for root emails (master), potentially with reusable delegation sets
[x] SES domain verification, DKIM/MX records and bucket routing (master)
[x] Lambda for body parsing / shortening and creation of Ops Santa tickets
[x] Lambda and root scoped KMS DBP for S3 Descoped to #101
[x] Delegation verification procedure & documentation
[x] Trigger CT stack run after SES verification is complete
[x] Enable happy path integration test
[x] Enable EICAR integration test
[x] Enable GTUBE path integration test
[x] Deeplinking to mails Descobed until AWS supports deep links to S3 Objects
[x] Discovery of known classes of emails, using "initial root password recovery" (setting security question, password and OATH token)
[x] ADR

Workmail is out since it requires directories and cannot handle authentication with regular AWS principals.

Last things missing: opeex , KMS support (do we want/need this?)

Spiking integration tests like this:
export AWS_PAGER=
export AWS_REGION=eu-west-1
export IDENTITY=aws.4f194a46-fe09-4233-9542-3dab6804f170.de

export SENDER="test@$IDENTITY"
export RECIPIENT="root+abcd@$IDENTITY"

aws ses send-email --destination "ToAddresses=$RECIPIENT" --from "$SENDER" --subject "This should pass" --text "This is a mail body"

aws ses send-email --destination "ToAddresses=$RECIPIENT" --from "$SENDER" --subject "This should be SPAM" --text "XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X"

TEMPFILE=$(mktemp)
trap "{ rm -f $TEMPFILE; }" EXIT

echo '{"Data": "From: '${SENDER}'\\nTo: '${RECIPIENT}'\\nSubject: 'This should be a VIRUS'\\nMIME-Version: 1.0\\nContent-type: Multipart/Mixed; boundary=\"NextPart\"\\n\\n--NextPart\\nContent-Type: text/plain\\n\\n'This is a mail body with a virus attachment'\\n\\n--NextPart\\nContent-Type: 'text/plain';\\nContent-Disposition: attachment;\\nContent-Transfer-Encoding: base64;\\n filename=\"'virus.txt'\"\\n\\n'WDVPIVAlQEFQWzRcUFpYNTQoUF4pN0NDKTd9JEVJQ0FSLVNUQU5EQVJELUFOVElWSVJVUy1URVNULUZJTEUhJEgrSCo='\\n--NextPart--"}' > $TEMPFILE

aws ses send-raw-email --cli-binary-format raw-in-base64-out --raw-message file://$TEMPFILE

It looks like as if SES does not support sending mails with virus payloads, not even fake ones. Sad!

I have no clue how to do an integration test for virus scanning. Sending mails with EICAR attachments via SES fails silently, using sendmail using e.g.
TEMPFILE=$(mktemp)
trap "{ rm -f $TEMPFILE; }" EXIT

EMAIL_VIRUS=$(cat <<EOF
From: $SENDER
To: $RECIPIENT
Subject: This should be a VIRUS
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="27e311db-33e7-48ba-ba2d-0e3caf9ea4b4"

--27e311db-33e7-48ba-ba2d-0e3caf9ea4b4
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

This is a mail body

--1beb3e62-b09b-498d-aa29-4c5db04e9ab3
Content-Type: application;
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="virus.com"

$(echo 'XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X' | base64)

--1beb3e62-b09b-498d-aa29-4c5db04e9ab3--
EOF
)

echo "$EMAIL_VIRUS" > $TEMPFILE

/usr/sbin/sendmail -t < $TEMPFILE

as well. Not really sure why there is a virus field in the SES event TBH ....

Reopening since tests are not green: https://github.com/superwerker/superwerker/issues/105

Reopening since tests are not green: https://github.com/superwerker/superwerker/issues/105


[Meta] Lua Roadmap! aka use Lua to handle more server events

Feature Summary
We could be using Lua to do more! For example, Lua can handle the following events

[ ] Death / Respawn (where do you go? how much health do you respawn with?)
[ ] New Player Spawn (what happens when new players spawn, where do they spawn? What powers do they start with? This would replace settings.cfg options)
[ ] Server Startup (general server settings, time of day, game speed, etc)
[ ] In Atlas Park we could script Ms. Liberty to train players if they've reached the next level. BAB too.
[ ] Script Monorail stations
[ ] Script simple Monorail and Blimp Movement as they are on a fixed path (goToNextMarker())
[ ] Script the SuperGroup registrar
[ ] Script Sergio at Icon
[ ] Script all store NPCs
[ ] Script all the plaques around town, including the ones inside City Hall.

This relates to the following issues, but has a broader scope

#752 - Display options for MOTD
#791 - World Simulation Rate
#792 - More server options
#808 - Interface with Cereal functionality

On blimps and monorails: You should add boats/barges to this list for places like Independence Port, too. Monorails and cars/trucks work in a manner similar to one another than for the blimps/barges? I'm really not familiar with what is in already for movement like this.
Also, I've planned for stores, trainers and contacts like Ms. Liberty to receive more attention as the spawndefs gain more depth during the next iteration on spawning.
Regarding plaques, there don't seem to be many around during Issue 0/1. I mean, very few at all. Maybe I'm overlooking a number of them? @ZopharShinta, have you looked into this much?
It might be a good idea to open an issue for the server startup settings to begin a list of desired but specific settings. We could probably have groups of settings within a single script that include startup options, but also some from groups such as the "new player settings" feature you mention.

I'm curious about the movement for blimps, monorails, car/trucks, etc as I think that would translate to all entities. I might take a look at that this weekend.
There are a few plaques in Atlas (globe and near sewers are the only ones that come to mind) it should be pretty easy to update the plaques.lua for each zone and populate the correct id/name for each plaque a send a simple dialog for it. We would need to check the wiki to pull the text and location for them.
I wonder if Nems suggestion of loading JSON data into Lua would be useful for the server startup settings/new player settings, etc.

I'm curious about the movement for blimps, monorails, car/trucks, etc as I think that would translate to all entities. I might take a look at that this weekend.

My impression (which could be completely wrong) is that the blimp and barges move on their track at some fixed rate of speed. Once they're spawned, they'll eternally move on their track, done and done.
Vehicles (and to a lesser extent the monorail) are more mutable in the route and may receive acceleration increases as they reach each navigation node, which is why nodes are sometimes placed close together such as when a monorail is "entering" a map. They'll otherwise follow a basic logic and despawn when reaching a destination only to respawn at some starting location again. They're a better start for things that may translate over to pedestrian NPCs.

So, Cars, Blimps, Pedestrians, and Monorails all have markers that they can look for.
Actually, it's easier with Blimps and Monorails, which you can see if you log into the client and type /see_everything 1 into the chat window. They have a very deliberate track to follow.

For some reason, I thought there were only single nodes on the blimp and boat tracks, but some are "doubled" on there as well. Here's what I'm talking about for what I presume is a rapid speed increase on the monorail at certain points:

Same thing for various points on the street vehicle paths:

I also watched a "tour" video of Skyway city, given it's freeways, and was surprised at the sparse traffic. Does anyone remember fighting trolls having to dodge the fast moving cars and trucks on the freeway? The density of traffic in my memory is a lot higher than what was depicted. Maybe some traffic was specially triggered based on players standing on the road, or something.

I think you're probably right about the speed increases.
Actually traffic was pretty sparse, but it also worked off of the same proximity mechanics as everything else. Because of that, it probably did feel as though it spawned when standing on the roads.


[Text Replacements]...

Extension
https://raycast.com/raycast/text-replacements
Description
Error:
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at j9 (/Users/home/.config/raycast/extensions/5ca69272-fa01-43f2-912e-f6902c8b498b/import-text-replacements-to-snippets.js:32:4208)
    at async Object.U0 (/Users/home/.config/raycast/extensions/5ca69272-fa01-43f2-912e-f6902c8b498b/import-text-replacements-to-snippets.js:32:4322)

Steps To Reproduce

Installed Extension from Raycast Store
Hit Enter to import macOS's text replacement
Received error notification w/in Raycast

Current Behaviour
No response
Expected Behaviour
No response

This error is likely coming from this line. Are there any special characters used in your text replacements?
It would be super useful if you could fork the extension, add a console.log just before the JSON.parse line and paste the result over here.


delete unused dependencies

delete .crate files and index files corresponding to the dependencies which are no longer used.
adding a command-line argument --delete-unused to opt-in this functionality
Note: I made the functionality as "opt-in" (--delete-unused) versus cargo-vendor which uses "opt-out" (--no-delete) so it's backwards compatible (but inconsistent with cargo-vendor). I would prefer breaking, but consistent change, but don't want this to be surprising to existing users. Let me know if you think it's okay to make a breaking change.

I think it's probably fine to have a breaking change here, the semver requirements of installed tools are a bit more iffy, and this is still somewhat in its infancy!
Thanks for the PR regardless! The implementation looks good to me

I've made the breaking change.
Should I worry about breaks on https://ci.appveyor.com? Some of the tests I think were failing before.

That's right, some of the tests relied on the old behavior (don't delete by default).
What would you prefer:

Update tests to use "--no-delete" flag so they don't fail (simple, but couples tests to the flag)
Update tests to check assume deletions would happen
Revert behavior to "no delete by default"
?

P.S. I'll take a look at other tests -- I didn't notice that other tests are failing because of poisoned mutex or something -- might be related to my changes!

Okay, I went with option #2 (make tests to expect old files are deleted).
Also, the breakage on appveyor was due to incompatibility with Window -- I fixed that, too, in a separate commit.
Apologies for spamming this PR.

Thanks so much!


fix: XSS vulnerability by replacing typeahead gem and sanitising results

Fixes #2797
Describe the changes you have made in this PR -

Replaced bootstrap-typeahead-rails with npm package autoComplete.js
Installed dompurify package for sanitisation
typeahead results for educational institute are sanitized before displaying

This is a PR with the requested changes mentioned in PR #2965
Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 81.785% when pulling 546b170cf3d8ed1a4dfea9e1316f3ebe914b44a5 on tintin9999:typeahead-replacement into 7c16c1a41eeef9ed44ba7e1f0a8ead9fb77b4522 on CircuitVerse:master.

@tachyons, @gr455 review whenever possible! The reason for resolving the one climate code issue is commented below the bot's comment.

Great 👍


(Next step is to automatically wrap one of these around each child of a SliverList, the same way we currently wrap repaint boundaries.)
cc @cbracken

This patch is super subtle.  As far as I can tell, it makes sense.  Thanks for the detailed comments explaining why copy/pastaing this code is probably a bad idea unless you understand all the details.

Landed as part of the other patch.


Fix two Java APIView issues

duplicate maven output when a shaded jar is uploaded for review (we only want to see the jar related to our library, not the jar details of all shaded libraries)
inclusion of unintended comments into the APIView when the comment was in a certain format, notably:

@Override
//TODO: enable create KeyVaultTrustManager with ManagerFactoryParameters
protected void engineInit(ManagerFactoryParameters spec) {
    LOGGER.entering("KeyVaultKeyManagerFactory", "engineInit", spec);
    trustManagers.add(new KeyVaultTrustManager());
}

@praveenkuttappan Could you bundle this into a release sometime - no urgency. Thanks.


Bump Accompanist to 0.8.1

Removes the custom elevation increase since it was changed in the library too
bors r+

bors retry


not removing the egl/ppapi gles2 contexts

the egl context is required when building with emscripten for asm.js - and the contents of the 2 files are ifdef-ed anyway so there is no problem in compiling them for platforms which don't need them.

I believe I originally excluded them just to avoid the msvc linker warnings. I just noticed there's one for hmd_ovr too.
11>hmd_ovr.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
11>glcontext_ppapi.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
11>glcontext_egl.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library

I'm sure there's something we can key off of in cmake to remove the warnings, but I'll go ahead and pull this in and worry about that later. Thanks for testing that out!

I remember silencing such warnings in my project like this: cmake and macro for manipulating linker flags

btw I was thinking of submitting a PR soon with updated submodules - thanks for creating this project! I gained a lot of understanding of bgfx and its tools while reading through the cmake code here!

You're welcome. Glad you find it useful.
Updating the submodules shouldn't be a problem. I don't think any of the libraries have changed their build process lately.

I just realized that I can specify the directories for the 3 submodules and not init/update them recursively


stardist: config file doesn't exist

Hi, great looking package, just hitting a snag with the stardist step, I'm following the notebook exactly with no issues till now, but stardist runs a step where it downloads from it's repository (not present in the example notebook) then pulls an error about a missing config.json. I'm running Python 3.11.8, with tensorflow installed.
b2c.stardist(image_path="stardist/he.tiff",
             labels_npz_path="stardist/he.npz",
             stardist_model="2D_versatile_he",
             prob_thresh=0.01
            )

Found model '2D_versatile_he' for 'StarDist2D'.
Downloading data from https://github.com/stardist/stardist-models/releases/download/v0.1/python_2D_versatile_he.zip
5294730/5294730 ━━━━━━━━━━━━━━━━━━━━ 0s 0us/step
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Cell In[9], line 1
----> 1 b2c.stardist(image_path="stardist/he.tiff",
      2              labels_npz_path="stardist/he.npz",
      3              stardist_model="2D_versatile_he",
      4              prob_thresh=0.01
      5             )

File ~/anaconda3/lib/python3.11/site-packages/bin2cell/bin2cell.py:120, in stardist(image_path, labels_npz_path, stardist_model, block_size, min_overlap, context, **kwargs)
    118 img = normalize(img)
    119 #use pretrained stardist model
--> 120 model = StarDist2D.from_pretrained(stardist_model)
    121 #will need to specify axes shortly, which are model dependent
    122 if stardist_model == "2D_versatile_he":
    123     #3D image, got the axes YXC from the H&E model config.json

File ~/anaconda3/lib/python3.11/site-packages/csbdeep/models/base_model.py:79, in BaseModel.from_pretrained(cls, name_or_alias)
     77 try:
     78     get_model_details(cls, name_or_alias, verbose=True)
---> 79     return get_model_instance(cls, name_or_alias)
     80 except ValueError as e:
     81     if name_or_alias is not None:

File ~/anaconda3/lib/python3.11/site-packages/csbdeep/models/pretrained.py:107, in get_model_instance(cls, key_or_alias)
    105 def get_model_instance(cls, key_or_alias):
    106     path = get_model_folder(cls, key_or_alias)
--> 107     model = cls(config=None, name=path.stem, basedir=path.parent)
    108     model.basedir = None # make read-only
    109     return model

File ~/anaconda3/lib/python3.11/site-packages/stardist/models/model2d.py:293, in StarDist2D.__init__(self, config, name, basedir)
    291 def __init__(self, config=Config2D(), name=None, basedir='.'):
    292     """See class docstring."""
--> 293     super().__init__(config, name=name, basedir=basedir)

File ~/anaconda3/lib/python3.11/site-packages/stardist/models/base.py:223, in StarDistBase.__init__(self, config, name, basedir)
    222 def __init__(self, config, name=None, basedir='.'):
--> 223     super().__init__(config=config, name=name, basedir=basedir)
    224     threshs = dict(prob=None, nms=None)
    225     if basedir is not None:

File ~/anaconda3/lib/python3.11/site-packages/csbdeep/models/base_model.py:106, in BaseModel.__init__(self, config, name, basedir)
    103 if config is not None:
    104     # config was provided -> update before it is saved to disk
    105     self._update_and_check_config()
--> 106 self._set_logdir()
    107 if config is None:
    108     # config was loaded from disk -> update it after loading
    109     self._update_and_check_config()

File ~/anaconda3/lib/python3.11/site-packages/csbdeep/models/base_model.py:32, in suppress_without_basedir.<locals>._suppress_without_basedir.<locals>.wrapper(*args, **kwargs)
     30     warn is False or warnings.warn("Suppressing call of '%s' (due to basedir=None)." % f.__name__)
     31 else:
---> 32     return f(*args, **kwargs)

File ~/anaconda3/lib/python3.11/site-packages/csbdeep/models/base_model.py:146, in BaseModel._set_logdir(self)
    144             raise ValueError('Invalid attributes in loaded config: ' + ', '.join(invalid_attr))
    145     else:
--> 146         raise FileNotFoundError("config file doesn't exist: %s" % str(config_file.resolve()))
    147 else:
    148     if self.logdir.exists():

FileNotFoundError: config file doesn't exist: /Users/gordonbeattie/.keras/models/StarDist2D/2D_versatile_he/config.json

Thanks in advance for any assistance!

Hi,
you could check whether the keras model cache directory contains a config.json:
ls /Users/gordonbeattie/.keras/models/StarDist2D/2D_versatile_he/
otherwise I would open an issue at bin2cell as this is where the error seems to come from

Thanks for the quick response, managed to fix it, the model was extracted to a separate directory, "2D_versatile_he_extracted", which contained the .jsons and the .h5, I just moved these to the parent and now it's running, thanks!
cd /Users/gordonbeattie/.keras/models/StarDist2D/2D_versatile_he/
ls
2D_versatile_he.zip		2D_versatile_he_extracted
cd 2D_versatile_he_extracted
ls
config.json	thresholds.json	weights_best.h5
mv * ..


As a developer, I want doxygen pages that organize all of our projects comments and classes into one convenient location.

Closed with pull request: https://github.com/WSU-CEG-6110-4410/ADAD-Craft/pull/132


fix setting default mask from config

There is an issue with setting default message mask in config file - it is rewritten by attachment mask. This commit fixes it.

Hi @shacky ,
many thanks for your pull request! :)
Best regards,


Update tests to only run against either built module or the source files (not both)

Against source

[ ] MarkdownLinks test should only target source.
[ ] "Common Tests - PS Script Analyzer on Resource Files" test should only target source.  No reason to run PSScriptAnalyzer on the built module.

Against built-module

[ ] Localization test (see comment https://github.com/dsccommunity/DscResource.Test/issues/57#issuecomment-754490925)
[x] Relative Path Length

Localization test:
I think if we should only target one location then localization test should only target module, but reference (using Because) that the change should be made in the 'source' folder. If we would only test source then we don't know if the copying of localization files was successful. We want to make sure that the module being released is correct, we can't know that for sure if we just test source.

Localization test:
I think if we should only target one location then localization test should only target module, but reference (using Because) that the change should be made in the 'source' folder. If we would only test source then we don't know if the copying of localization files was successful. We want to make sure that the module being released is correct, we can't know that for sure if we just test source.

Relative Path Length is fixed for Pester 5 conversion, it will only target built module. The test for Pester 4 has not been changed.

Relative Path Length is fixed for Pester 5 conversion, it will only target built module. The test for Pester 4 has not been changed.

@johlju, what's the best option for this? Check for all psm1 and ps1 files in source?

Not sure which one of the three you mean, but assume both under "Against source".

MarkdownLinks test should only target source.

I think this should run against markdown files in root (not recursively) and source-folder (recursively), not output-folder.

"Common Tests - PS Script Analyzer on Resource Files" test should only target source. No reason to run PSScriptAnalyzer on the built module.

I think there are only .psm1 files even for composites, right.   I'll pick this up once I'm done with what I'm doing now.

No worries 🙂

@johlju, PR for MarkdownLinks and PSSA.
I will cover the Localization tests in the other PR for the Localization work.


Would you be open to exposing the contents of BooleanBuilder?

Which part is this question about
API of arrow_array::builder::BooleanBuilder.
Describe your question
Unlike PrimitiveBuilder, BooleanBuilder does not expose a slice of values. I assume that is because the booleans are bit-packed and there was either fear of user confusion, or a desire to be able to change the storage representation later on. How open would you be to exposing these bits somehow, possibly behind an abstraction layer that hides the exact storage layout?
Additional context
This would enable a more uniform API in my prototype for #5700.

I see no issue with exposing the bit packed representation in a read only fashion, we do this for validity anyway.


Allow mount identifier, for MountManager of FlySystem library, into prefixes

Allow mount identifier, for MountManager of FlySystem library, into prefixes.
$server->setSourcePathPrefix('source://');
$server->setCachePathPrefix('cache://');

A little push to allow mount identifier into path without set prefix.
Example: get file "img://my/img.jpg"
If i set a cache prefix ; the mount identifier is removed.
Example: set cache prefix "cache://my/dir" and get "img://my/img.jpg" , the cache path will be "cache://my/dir/my/img/jpg"

Any news? Thx


Discussion: Automatic transactions for insertGraph

In the insertGraph documentation, the following is stated:

insertGraph operation is not atomic by default! You need to start a transaction and pass it to the query using any of the supported ways. See the section about transactions for more information.

However, I was unable to find any further information about the rationale behind this design decision; the only thing I found was an issue which stated "Objection will never automatically start a transaction", but without explaining why that is.
I feel that this is an ergonomic oversight, personally. It's difficult to imagine a case where one wants to do a graph insert, which conceptually is a single operation, without wanting atomicity for the inserted records in question. Which means that, in practice, users will end up doing one of two things the majority of the time:

Forget to add a transaction, and have non-atomic graph inserts when they wanted atomic inserts. This is a bug that could lead to an inconsistent state of the database.
Wrap every graph insert in a transaction, either ad-hoc in each place, or using a custom wrapper function that isn't a part of Objection's API. This is awkward and often poorly maintainable.

At the same time, I don't see any obvious reasons why Objection shouldn't start a transaction here; while it's not a widely-known feature, "savepoints" are a part of the SQL standard and should therefore be supported by all SQL databases. They allow for constructing conceptual "subtransactions" within an existing transaction, meaning that automatically creating a transaction for a graph insert would not interfere with existing transaction code.
Knex has full support for these, automatically creating and committing savepoints when calling .transaction on an existing transaction object, and so "subtransactions" are possible here without additional effort, and without interfering with application code, as far as I can tell.
I would therefore like to propose enabling automatic transaction creation for graph inserts (possibly with an opt-out), or at least providing a configuration method to opt into this behaviour, as it would save a lot of boilerplate. The former would be preferable due to being safe-by-default, but the latter would at least solve the ergonomics problem.
If there's some reason why this isn't viable, I'd also be interested in further discussion about that!

Objection doesn't automatically start transactions because the user wouldn't have any control over them. What if the user wants to change the isolation level of that transaction? What if the user wants to run multiple operations inside the same transaction? Savepoints could help, but is that always what the user wants? If the user starts a transaction and runs multiple operations in it in addition to an insertGraph operation, does the user always want to only roll back the insertGraph if it fails, and not the whole transaction? I don't think so.
If we were to start automatic transactions under the hood, we would need to provide APIs for controlling/disabling them, and that would be yet another thing to develop and maintain. It's just easier and cleaner to not start implicit transactions.

What if the user wants to change the isolation level of that transaction?

That's a reasonable concern. However, this in and of itself would be possible to make a part of the API, I think - either with 1) an explicit per-query configuration option for the isolation level, 2) a "run in transaction before insert" hook, or 3) simply an instruction that the user should start their own wrapper transaction first, if and when they want this.
Since savepoints do not change the isolation level in and of themselves, the automatically-created transaction in the insertGraph operation should not interfere with the third approach at all.
I would personally probably tend towards option 3 + a 'global' setting or hook of some sort for the default isolation level (if one does not exist yet), unless it turns out to be particularly easy to implement option 1. This would keep API verbosity and surface to a minimum, while still only making manual transaction wrapping necessary when the developer needs to deviate from whatever their default isolation level is.

What if the user wants to run multiple operations inside the same transaction? Savepoints could help, but is that always what the user wants? If the user starts a transaction and runs multiple operations in it in addition to an insertGraph operation, does the user always want to only roll back the insertGraph if it fails, and not the whole transaction? I don't think so.

The way that transaction semantics in Knex work by default, is that if a "subtransaction" fails, it is rolled back to its corresponding savepoint; and the error is then propagated outwards for the calling code to handle. If this handling does not occur, it will propagate up to the parent transaction and roll back that one too, and so on, and so forth, all the way until the top-level transaction.
This means that an implicit transaction in insertGraph would still end up leaving it to the user how to handle a failure there, same as without the implicit transaction. If they catch and handle the error right above the insertGraph call, then a partial rollback occurs. If they do not, then a full rollback occurs as the error continues travelling up the transaction tree.
Considering those semantics, I can't really think of a multiple-operation case where savepoints get in the way; they are purely additive, and don't change or interfere with any of the existing behaviour of the calling code. Their effect is contained to the part of the transaction that is contained within it, which would be fully internal to insertGraph.
The only edgecase that I can see might be "I explicitly don't want this graph insert to occur within a transaction, I want failures to be tolerated" - which, if people have a concrete reason to need that, can be accomplished with an opt-out from the implicit transaction. I doubt that this will be at all common, though. I have difficulty coming up with even a single realistic case for this.

If we were to start automatic transactions under the hood, we would need to provide APIs for controlling/disabling them, and that would be yet another thing to develop and maintain. It's just easier and cleaner to not start implicit transactions.

I don't agree that it is "cleaner". It reduces the complexity within Objection itself, yes; but it does so by moving that complexity outwards to the application, where it is much more difficult to centralize that complexity in an ergonomic way than it would have been within Objection. The "waterbed theory" comes to mind here.
Considering how widespread this requirement is, even if a lot of developers probably don't realize that they have it, I don't think that's a good tradeoff, personally.

Just a note to mention that I was surprised when insertGraph and friends isn't atomic by default. I totally understand the concerns of starting transactions automatically, however could the following approach alleviate these issues?
If a transaction is passed to the query builder, use it for insertGraph and friends. Otherwise, use an implicit one?
So for example, this would use the explicitly created transaction:
await Model.transaction(async (trx) => {
  const jennifer = await Person.query(trx).insertGraphAndFetch({
      firstName: 'Jennifer',
      lastName: 'Lawrence',
      pets: [{
        name: 'Scrappy'
      }]
    });
  return jennifer;
});

However, this would implicitly create a transaction, just for the insertGraphAndFetch operation:
const jennifer = await Person.query().insertGraphAndFetch({
  firstName: 'Jennifer',
  lastName: 'Lawrence',
  pets: [{
    name: 'Scrappy'
  }]
});

I think the current behavior is by design. I am closing this as a wontfix.

I just found this post when searching for whether or not insertGraphAndFetch uses a transaction internally. I guessed that it would, but I see from this thread that it doesn't. I was curious exactly how partial failures looked in practice so I created this little demo: https://github.com/BlairCurrey/objection-insertgraph-trx
In hindsight I probably should have expected the results from the docs, but it was still ambiguous to me until I observed it in action.
The gist of it is a User model with many Posts will insert everything but the bad post from this example, and an error will be thrown:
const newUser = await User.query().insertGraphAndFetch({
  name: "Alice",
  posts: [
    {
      title: "Title1",
      body: "This is the body of the first post",
    },
    // This title is not unique and will fail the db's unique constraint
    {
      title: "Title1",
      body: "This is the body of the second post",
    },
    {
      title: "Title3",
      body: "This is the body of the third post",
    },
  ],
}); // this errors

I can see both perspectives on this one but tend to think making it atomic is the more normal use-case so ideally the interface would reflect that. But I share more for informational purposes.


chore(main): release 1.3.3

:robot: I have created a release beep boop
1.3.3 (2023-09-18)
Bug Fixes

attempt 2 (#34) (cd5463e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.3.3 :sunflower:


Let DNSError inherit OSError to match with stdlib behavior

Both socket.getaddrinfo and asyncio.BaseEventLoop.getaddrinfo raises OSError when a DNS lookup fails.
It would be more consistent if aiodns.error.DNSError is also an instance of OSError, setting errno and stringified error message as the current implementation does.

I don't think that's a good idea. The returned errors don't necessarily match errno.


[US-2] Add new attributes to User model and users table

We should add codewars and codility usernames to User model and the corresponding table. Use sequalize-cli to generate a new DB migration.
Make both attributes optional so a new user record can be saved before the post-signup form is submitted.
Acceptance criteria

User has two new attributes
DB migration can be executed

I managed this task when i was working with task #40. I added two columns for trainee's  codewars and codility.

its working


[feature requested] Tiling: detect and skip pre-existing patches during new execution of tiling if previous raised error

The tiling script frequently raises errors on large datasets.
Two solutions could help preventing the long re-execution of this process for the same dataset:

add more try/except statements to proceed with tiling even if a particular AOI has raised an error
during re-execution, detect and skip existing patches, i.e. append new patches to existing.

Here's an example of an error I just encountered:
Error executing job with overrides: ['mode=tiling', 'dataset.raw_data_csv=/gpfs/fs5/nrcan/nrcan_geobase/work/transfer/work/deep_learning/models/single/RGB/Building/3provs/training_set_NB-NFL-QC_building_ids.csv', 'dataset.raw_data_dir=/gpfs/fs5/nrcan/nrcan_geobase/work/transfer/work/deep_learning/operationalization/data', 'dataset.attribute_field=Quatreclasses', 'dataset.attribute_values=[4]', 'dataset.download_data=True', 'tiling.tiling_data_dir=/gpfs/fs5/nrcan/nrcan_geobase/work/transfer/work/deep_learning/models/single/RGB/Building/3provs/patches', 'tiling.multiprocessing=True', 'tiling.patch_size=512', 'verify.output_raster_plots=False', 'verify.output_raster_stats=False', 'verify.extended_label_stats=False', 'general.project_name=3provs_NB-NFL-QC_building', 'debug=False']
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/space/partner/nrcan/geobase/work/opt/miniconda-gdl-ops/envs/geo_deep_env/lib/python3.10/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/space/partner/nrcan/geobase/work/opt/miniconda-gdl-ops/envs/geo_deep_env/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "/fs/vnas_Hnrcan/geobase/ret000/geo-deep-learning/tiling_segmentation.py", line 519, in map_wrapper
    return x[0](*(x[1:]))
  File "/fs/vnas_Hnrcan/geobase/ret000/geo-deep-learning/tiling_segmentation.py", line 490, in filter_and_burn_dataset
    min_annot_success, annot_perc = self.passes_min_annot(
  File "/fs/vnas_Hnrcan/geobase/ret000/geo-deep-learning/tiling_segmentation.py", line 370, in passes_min_annot
    annot_perc = annot_percent(
  File "/fs/vnas_Hnrcan/geobase/ret000/geo-deep-learning/tiling_segmentation.py", line 50, in annot_percent
    gdf_patch_bounds, img_patch_bounds = bounds_gdf(gdf_patch), bounds_riodataset(img_patch_dataset)
  File "/fs/vnas_Hnrcan/geobase/ret000/geo-deep-learning/utils/geoutils.py", line 214, in bounds_gdf
    gdf_bounds_box = box(*gdf_bounds.tolist())
  File "/space/partner/nrcan/geobase/work/opt/miniconda-gdl-ops/envs/geo_deep_env/lib/python3.10/site-packages/shapely/geometry/geo.py", line 64, in box
    return Polygon(coords)
  File "/space/partner/nrcan/geobase/work/opt/miniconda-gdl-ops/envs/geo_deep_env/lib/python3.10/site-packages/shapely/geometry/polygon.py", line 261, in __init__
    ret = geos_polygon_from_py(shell, holes)
  File "/space/partner/nrcan/geobase/work/opt/miniconda-gdl-ops/envs/geo_deep_env/lib/python3.10/site-packages/shapely/geometry/polygon.py", line 539, in geos_polygon_from_py
    ret = geos_linearring_from_py(shell)
  File "shapely/speedups/_speedups.pyx", line 413, in shapely.speedups._speedups.geos_linearring_from_py
ValueError: GEOSGeom_createLinearRing_r returned a NULL pointer
"""

As can be seen, the error was raised during the 2nd for loop of tiling, meaning all patches from 1st for loop should be created and ok to reuse.

Is it somewhere in your branch? I don't see this code in develop


Doc: data retention

Describe the feature request
I'd like to know how to configure the data retention for the health checks. In our instance, we use sqlite storage backend and we have only the last 2 hours of checks available on each endpoint. But checking https://status.twin.sh/ I can click on the bottom arrows and check the last 8 hours.
Realated to #128, which is particular to badges?
Why do you personally want this feature to be implemented?
It is important to keep the recent history of monitoring checks. This helps to troubleshoot issues and/or instabilities.
How long have you been using this project?
~2 months
Additional information
No response

I guess you can search for MaximumNumberOfResults in the source and adjust there, and use more spaced intervals for pooling statuses on your endpoints, this way you can have more time displayed on your health checks.


How to remove overflow:auto in style sheet

can anyone tell me how can i remove overflow which can inside tab container.
thanks you
Mehul Jariwala

I also need to change overflow of these children.

Try to add slideStyle prop:
<SwipableViews slideStyle={{ overflow: 'visible'}}>
slideStyle according to Component API: This is the inlined style that will be applied on the slide component.


diesel_cli: Add config option for custom type derives

Please let me know if anything has to be changed. Open to suggestions on a better name for the config option and any more test cases that can be added.
Supersedes #3297 and addresses #3306.
EDIT: The Configuring Diesel CLI guide is yet to be updated.

@Ten0 I've addressed the review comments and fixed tests.
I'm unsure about the tests though: they pass, and I only had to update the diesel.toml files and not the CLI args, so I'm confused as to how tests pass.

wondering when we publish cli binary (2.0.2) so that custom-type-derives option is available ? : )

@51yu We generally do not provide ETAs for the diesel release. Please don't ask these questions.

Is there anything blocking this from being included in an upcoming release? Would you prefer that I update the "Configuring Diesel CLI" guide?

@SanchithHegde There is nothing blocking this to be included in the next feature release. It's planed to include that. It's just that other parts are not ready for the release yet. Opening a PR to update the configuring "Configuring Diesel CLI" guide will at least be helpful.

Opening a PR to update the configuring "Configuring Diesel CLI" guide will at least be helpful.

Sure, I'll do that.


T-shirt sizing for Search (contribution)

Migration guide from DNA.
Part of DNA v6.0.0-beta.21.
synced to jira: https://jira.corp.adobe.com/browse/SDS-7575

Will be done as part of core tokens migration & design catch-up


Plot uncertainty map

Using likelihood threshold, or probability threshold, display the heatmap. Interesting coordinates:

ra, dec
two magnitudes
last two principle components.

Consider plotting the heat map first, then do some feature selection, and then plot the heat map again.


A naming convention for our various kinds of json files?

We have all sorts of JSON files now:

Test plans
Constellations that can be used to create Test Plans
Session templates that can be used to create Test Plans
run --json-produced TestRun transcripts

I'm noticing I'm having a bit of difficulties telling from the name of the file what it might be. Particularly, I'm frequently confusing the Test plan and the result of the executed test plan. I did put a type field into the TestRun transcripts, which can help a bit but only after looking at the file, and it's not necessarily at the beginning of the file either.

Now have a directory hierarchy that seems to make some kind of sense. Closing for now.


Enhanced the look of songs list

The songs list looks much better now and now looks much more like other popular apps.
#36
https://user-images.githubusercontent.com/79199262/158063508-9e640f83-63fa-4720-86f4-4b01930760b9.mp4

@AmanRana10 resolve these Conflicting files


Seems that the Mina App 1.0.0-beta.4 does not work with the latest Ledger firmware.

It seems that the Mina App (1.0.0-beta.4) is not compatible with the new firmware version (2.0.0) of the Ledger Nano S device.
When I try to create a Mina address from Ubuntu 18.04 with this command:
./mina_ledger_wallet get-address 0
Get address for account 0 (path 44'/12586'/0'/0/0)
Continue? (y/N) y
Produce this error:
Generating address (please confirm on Ledger device)... Failed to communicate with ledger device (error = 25873)
The device also crashes (crashes and freezes image3) when I run the Mina app (1.0.0-beta.4) on the Ledger (the Ledger disconnects from the PC). I have to unplug it and plug it back into usb to get it working again.
The device works perfectly from the application ledger-live-desktop-2.26.1-linux-x86_64.AppImage

Correct- this is why we have released version 1.0.2


Another bugfix PR (very large)

Pull Request (PR) description
This is a huge PR which fixes several issues, but also contains a lot of coding style updates.
This Pull Request (PR) fixes the following issues

Fixes #1062
Fixes #1067
Fixes #1068
Fixes #1070
Fixes #1071
Fixes #1072

Task list

[X] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[X] Resource documentation added/updated in README.md in the resource folder.
[X] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[X] Comment-based help added/updated.
[X] Localization strings added/updated in all localization files as appropriate.
[X] Examples appropriately added/updated.
[X] Unit tests added/updated. See DSC Resource Testing Guidelines.
[X] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[X] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #1073 into dev will increase coverage by <1%.
The diff coverage is 94%.

@@          Coverage Diff           @@
##             dev   #1073    +/-   ##
======================================
+ Coverage     92%     92%   +<1%
======================================
  Files        119     119
  Lines      12791   13123   +332
  Branches       1       0     -1
======================================
+ Hits       11857   12179   +322
- Misses       933     944    +11
+ Partials       1       0     -1

@NikCharlebois Can you do the honors?? Sorry for the size of it ;-)

Will do on Saturday on the plane back from SPC :)

@NikCharlebois Any update mate?

@NikCharlebois is out-of-the-office this week.
@andikrueger, @ronx, @jensotto One of you guys able to review this PR?

I'm on it. Should I do the whole review or should I publish my WIP?
I hope that I don't miss anything...

I'm OK with a new PR for the remaining .tests.ps1 files! I will verify your changes during this week.

@andikrueger Any update on the review?

@ykuijs Your turn


Added pass_params method to luigi.Task

Description
This method takes another luigi subtask and returns the parameters that can/should be passed on (have the same naming).
Motivation and Context
It's an enhancement, often used when needing to pass on the parameters from the top task to the bottom.
I ran my jobs with this code and it works for me.

How does this relate to the help functions in the util module? http://luigi.readthedocs.io/en/stable/api/luigi.util.html
For this PR and also the related #1767, I would like to see how you use this function in the real world and what problem it solves. You've already  motivated it, but an example would make it easier for me to understand. :)


Groovy scripts should have order of execution by priority

We have such example in Linux for init-scripts
Like:
01-adop_general.groovy
02-adop_ant.groovy
...

Java classes cannot start with a number, and naming a groovy file will cause that to happen, breaking the script.  If you prepend with an accepted, non-alphabetical character, you can get around that; something like _01-aop_general.groovy.


Remove reactions

It's a bit annoying to have to remove reactions manually every time. Ideally, the bot could remove reactions in a similar way to the paginator of discord-pretty-help.

Hi, to be honest, I don't understand why you find it annoying. Whenever a reaction is removed, Pygicord will still execute the task that the reaction is related to. Furthermore, it's actually the most convenient way to do this. No permissions are required, as there's no need to remove a user's reaction, and it's faster to use.


amongusdiscord.exe flashes and closes

If you install Tesseract in anywhere other then default path you get this error

for instance, I installed tesseract in my D: drive and changed the tesseract path in final.env to my new path and still did not work. just give people a heads up you have to install tesseract in the default location

nevermind i didt see the comment above my bad
Below is the default; leave commented out unless you installed tesseract elsewhere
TESSERACT_PATH = C:\Program Files\Tesseract-OCR\tesseract.exe


Correction for raw affiliation SPO, Université Montpellier, INRAE, Institut Agro Montpellier

Correction needed for raw affiliation SPO, Université Montpellier, INRAE, Institut Agro Montpellier
raw_affiliation_name: SPO, Université Montpellier, INRAE, Institut Agro Montpellier
new_rors: 003vg9w96;03rnk6m14;051escj72;04w07sc25
previous_rors: 003vg9w96;03rnk6m14;051escj72
works_examples: W4391537851
contact: 2c3862fa613a8c7c2c7c4331e9e68798:4658705800af5ef3f8c5392ce7a822a87f2c @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Build container now fails if GGP is running in Docker

Fixes #151
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Running integration tests

Tests passed


Add link to Engine Cockpit

hi @ivy-cst
@ivy-lli has another idea where to place the icon and when to show it. Only for Developer user?

I'm not sure if it makes sense to have this link always (but it is no no-go for me if it is always visible).
Maybe only in the designer / demo mode would be enought? e.g. like here: https://github.com/axonivy/dev-workflow-ui/blob/4e85e3d890fb82e617699404a0e05bcfe1580066/dev-workflow-ui/webContent/includes/template/template.xhtml#L70


Player on my server accumulates ping over time until the game is unplayable for him.

According to your testing, does the issue occur with ONLY Immersive Portals mod and Farbic API?
Yes
Describe the issue
I host a server for my friends, and we were attempting to use IP after having made the switch to a fabric server. One of my friends has this bizarre issue in which they accumulate a massive amount of ping over time when a portal exists in the world. The highest I've seen is over 2000 ping before he quits due to frustration.
(I couldn't conclude if he accumulated ping by entering the portal or by the portal merely existing in the world)
He would be entering the portal and exiting a few times and not long after he'll start being teleported in and out of the nether in an effect that looks like extreme rubberbanding. He can't even walk around without being teleported everywhere and lagging.
My other friend seems to not have any problems with the mod though. I can only do so much testing with the problematic friend since he gets really impatient when I'm trying to get a grasp of what's happening.
(I couldn't test with just IP and Fabric API; I mean it when I say he's really impatient)
We hardly have any mods on the server. Just as follows:

Alternate current: https://www.curseforge.com/minecraft/mc-mods/alternate-current
Fabric API
FerriteCore: https://www.curseforge.com/minecraft/mc-mods/ferritecore-fabric
Immersive Portals
Lithium: https://www.curseforge.com/minecraft/mc-mods/lithium
Memoryleakfix: https://www.curseforge.com/minecraft/mc-mods/memoryleakfix
Plasmovoice: https://www.curseforge.com/minecraft/mc-mods/plasmo-voice
Sound Physics Remastered: https://www.curseforge.com/minecraft/mc-mods/sound-physics-remastered
Starlight: https://www.curseforge.com/minecraft/mc-mods/starlight

I did try with less mods (Sound Physics, Plasmovoice, Fabric API, and Immersive Portals) but still ran into the same issue.
I cannot confirm for certain that my other friend would not have had any issues, but when the problematic friend started having issues my other friend didn't.
Post the log here
[03:57:42] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.14.8
[03:57:42] [main/INFO]: Loading 49 mods:
	- alternate-current 1.4.0
	- cloth-basic-math 0.6.0 via cloth-config
	- cloth-config 6.2.57 via immersive_portals
	- fabric 0.58.0+1.18.2
	- fabric-api-base 0.4.4+d7c144a860 via fabric
	- fabric-api-lookup-api-v1 1.6.2+2373a54560 via fabric
	- fabric-biome-api-v1 8.0.6+651bcc5960 via fabric
	- fabric-command-api-v1 1.1.9+d7c144a860 via fabric
	- fabric-commands-v0 0.2.8+b4f4f6cd60 via fabric
	- fabric-containers-v0 0.1.23+d7c144a860 via fabric
	- fabric-content-registries-v0 3.1.1+c85f2e3860 via fabric
	- fabric-convention-tags-v1 1.0.1+474e4f7960 via fabric
	- fabric-crash-report-info-v1 0.2.1+ee261a3e60 via fabric
	- fabric-data-generation-api-v1 3.0.1+9fcb91d260 via fabric
	- fabric-dimensions-v1 2.1.20+489d6f8260 via fabric
	- fabric-entity-events-v1 1.4.8+d7c144a860 via fabric
	- fabric-events-interaction-v0 0.4.19+d7c144a860 via fabric
	- fabric-events-lifecycle-v0 0.2.19+d7c144a860 via fabric
	- fabric-game-rule-api-v1 1.0.13+d7c144a860 via fabric
	- fabric-item-api-v1 1.5.2+17cbbd4360 via fabric
	- fabric-item-groups-v0 0.3.14+91896a4960 via fabric
	- fabric-lifecycle-events-v1 2.1.0+cc71601c60 via fabric
	- fabric-loot-api-v2 1.1.0+1997ad1260 via fabric
	- fabric-loot-tables-v1 1.1.2+e747827960 via fabric
	- fabric-mining-level-api-v1 2.1.4+cc71601c60 via fabric
	- fabric-networking-api-v1 1.0.23+2d30af4b60 via fabric
	- fabric-networking-v0 0.3.10+b4f4f6cd60 via fabric
	- fabric-object-builder-api-v1 2.1.3+032c981d60 via fabric
	- fabric-particles-v1 0.2.12+526dc1ac60 via fabric
	- fabric-registry-sync-v0 0.9.10+0d9ab37260 via fabric
	- fabric-rendering-data-attachment-v1 0.3.7+d7c144a860 via fabric
	- fabric-rendering-fluids-v1 2.0.2+54e5b2ec60 via fabric
	- fabric-resource-conditions-api-v1 2.0.3+91b7aa6660 via fabric
	- fabric-resource-loader-v0 0.5.2+446e059560 via fabric
	- fabric-screen-handler-api-v1 1.2.2+1f6558e860 via fabric
	- fabric-transfer-api-v1 1.6.3+f4563ac860 via fabric
	- fabric-transitive-access-wideners-v1 1.1.0+e747827960 via fabric
	- fabricloader 0.14.8
	- ferritecore 4.2.1
	- imm_ptl_core 1.4.9 via immersive_portals
	- immersive_portals 1.4.9
	- java 17
	- lithium 0.7.10
	- memoryleakfix 1.18.2-0.5.4
	- minecraft 1.18.2
	- plasmo_voice 1.2.17
	- q_misc_util 1.4.9 via immersive_portals
	- sound_physics_remastered 1.18.2-1.0.6
	- starlight 1.0.2+fabric.89b8d9f
[03:57:42] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/E:/Storage%201/Servers/Minecraft%20Server/1.18.2%20Paper%20&%20Fabric/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[03:57:42] [main/INFO]: Compatibility level set to JAVA_16
[03:57:43] [main/INFO]: Compatibility level set to JAVA_17
[03:57:43] [main/INFO]: Loaded configuration file for Lithium: 102 options available, 2 override(s) found
[03:57:43] [main/WARN]: Reference map 'plasmovoice-fabric-refmap.json' for plasmovoice.mixins.json could not be read. If this is a development environment you can ignore this message
[03:57:43] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children
[03:57:43] [main/WARN]: Force-disabling mixin 'world.player_chunk_tick.ThreadedAnvilChunkStorageMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [immersive_portals]) disables it and children
[03:57:44] [main/WARN]: Failed to add PDH Counter: \Paging File(_Total)\% Usage, Error code: 0xC0000BB8
[03:57:44] [main/WARN]: Failed to add counter for PDH counter: \Paging File(_Total)\% Usage
[03:57:44] [main/WARN]: Disabling further attempts to query Paging File.
[03:57:44] [main/WARN]: COM exception: Invalid Query: SELECT PERCENTUSAGE FROM Win32_PerfRawData_PerfOS_PagingFile
[03:57:49] [main/INFO]: Immersive Portals Mod Initializing
[03:57:50] [main/INFO]: Dimensional Threading is not present
[03:57:50] [main/INFO]: Pehkui is not present
[03:57:50] [main/INFO]: Gravity Changer is not present
[03:57:50] [main/INFO]: Reloading config
[03:57:50] [main/INFO]: Reloading reverb parameters
[03:57:50] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[03:57:53] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[03:57:53] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[03:57:53] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[03:57:53] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[03:57:53] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[03:57:54] [Worker-Main-13/INFO]: Loaded 7 recipes
[03:57:54] [Worker-Main-13/INFO]: Loaded 1141 advancements
[03:57:56] [main/INFO]: Applied 0 biome modifications to 0 of 61 new biomes in 20.15 ms
[03:57:56] [main/INFO]: IP Config Applied
[03:57:56] [Server thread/INFO]: Starting minecraft server version 1.18.2
[03:57:56] [Server thread/INFO]: Loading properties
[03:57:56] [Server thread/INFO]: Default game type: SURVIVAL
[03:57:56] [Server thread/INFO]: Generating keypair
[03:57:56] [Server thread/INFO]: Starting Minecraft server on *:25575
[03:57:56] [Server thread/INFO]: Using default channel type
[03:57:57] [Server thread/INFO]: Preparing level "TESTWORLD"
[03:58:06] [Server thread/INFO]: Global portal storage initialized minecraft:overworld
[03:58:06] [Server thread/INFO]: Bedrock Replacement minecraft:overworld null
[03:58:06] [Server thread/INFO]: Global portal storage initialized immersive_portals:alternate5
[03:58:06] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate5 null
[03:58:06] [Server thread/INFO]: Global portal storage initialized immersive_portals:alternate3
[03:58:06] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate3 null
[03:58:06] [Server thread/INFO]: Global portal storage initialized minecraft:the_nether
[03:58:06] [Server thread/INFO]: Bedrock Replacement minecraft:the_nether null
[03:58:06] [Server thread/INFO]: Global portal storage initialized immersive_portals:alternate2
[03:58:06] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate2 null
[03:58:06] [Server thread/INFO]: Global portal storage initialized immersive_portals:alternate1
[03:58:06] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate1 null
[03:58:06] [Server thread/INFO]: Global portal storage initialized immersive_portals:alternate4
[03:58:06] [Server thread/INFO]: Bedrock Replacement immersive_portals:alternate4 null
[03:58:06] [Server thread/INFO]: Global portal storage initialized minecraft:the_end
[03:58:06] [Server thread/INFO]: Bedrock Replacement minecraft:the_end null
[03:58:06] [Server thread/INFO]: Immersive Portals' Dimension Id Record File Does Not Exist
[03:58:06] [Server thread/INFO]: Immersive Portals' dimension id record is missing
[03:58:06] [Server thread/INFO]: Dimension Id Record is Missing
[03:58:06] [Server thread/INFO]: Start Completing Dimension Id Record
[03:58:06] [Server thread/INFO]: Before:

[03:58:06] [Server thread/INFO]: Server Loaded Dimensions:
immersive_portals:alternate1
immersive_portals:alternate2
immersive_portals:alternate3
immersive_portals:alternate4
immersive_portals:alternate5
minecraft:overworld
minecraft:the_end
minecraft:the_nether

[03:58:06] [Server thread/INFO]: After:
minecraft:overworld -> 0
minecraft:the_nether -> -1
minecraft:the_end -> 1
immersive_portals:alternate1 -> 2
immersive_portals:alternate2 -> 3
immersive_portals:alternate3 -> 4
immersive_portals:alternate4 -> 5
immersive_portals:alternate5 -> 6
[03:58:06] [Server thread/INFO]: Dimension Id Info Saved to File
[03:58:06] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[03:58:07] [Worker-Main-17/INFO]: Preparing spawn area: 0%
[03:58:07] [Worker-Main-17/INFO]: Preparing spawn area: 0%
[03:58:07] [Worker-Main-20/INFO]: Preparing spawn area: 0%
[03:58:07] [Worker-Main-12/INFO]: Preparing spawn area: 0%
[03:58:08] [Worker-Main-19/INFO]: Preparing spawn area: 0%
[03:58:08] [Worker-Main-19/INFO]: Preparing spawn area: 0%
[03:58:09] [Worker-Main-14/INFO]: Preparing spawn area: 2%
[03:58:09] [Worker-Main-16/INFO]: Preparing spawn area: 3%
[03:58:10] [Worker-Main-12/INFO]: Preparing spawn area: 4%
[03:58:10] [Worker-Main-14/INFO]: Preparing spawn area: 6%
[03:58:11] [Worker-Main-22/INFO]: Preparing spawn area: 9%
[03:58:11] [Worker-Main-19/INFO]: Preparing spawn area: 13%
[03:58:12] [Worker-Main-19/INFO]: Preparing spawn area: 17%
[03:58:12] [Worker-Main-19/INFO]: Preparing spawn area: 22%
[03:58:13] [Worker-Main-18/INFO]: Preparing spawn area: 25%
[03:58:13] [Worker-Main-18/INFO]: Preparing spawn area: 31%
[03:58:14] [Worker-Main-17/INFO]: Preparing spawn area: 34%
[03:58:14] [Worker-Main-20/INFO]: Preparing spawn area: 42%
[03:58:15] [Worker-Main-21/INFO]: Preparing spawn area: 46%
[03:58:15] [Worker-Main-18/INFO]: Preparing spawn area: 52%
[03:58:16] [Worker-Main-22/INFO]: Preparing spawn area: 57%
[03:58:16] [Worker-Main-18/INFO]: Preparing spawn area: 61%
[03:58:17] [Worker-Main-22/INFO]: Preparing spawn area: 66%
[03:58:17] [Worker-Main-21/INFO]: Preparing spawn area: 69%
[03:58:18] [Worker-Main-19/INFO]: Preparing spawn area: 77%
[03:58:18] [Worker-Main-15/INFO]: Preparing spawn area: 83%
[03:58:19] [Worker-Main-15/INFO]: Preparing spawn area: 87%
[03:58:19] [Worker-Main-13/INFO]: Preparing spawn area: 93%
[03:58:20] [Server thread/INFO]: Time elapsed: 13941 ms
[03:58:20] [Server thread/INFO]: Loading custom portal generation
[03:58:20] [Server thread/INFO]: Done (23.348s)! For help, type "help"
[03:58:20] [Server thread/INFO]: Starting GS4 status listener
[03:58:20] [Server thread/INFO]: Thread Query Listener started
[03:58:20] [Query Listener #1/INFO]: Query running on <IP_ADDRESS>:25575
[03:58:20] [Thread-7/INFO]: Voice UDP server started on /<IP_ADDRESS>:60606
[03:58:20] [Server thread/INFO]: Server performance level: good
[03:58:48] [User Authenticator #1/INFO]: UUID of player 0RadicalLarry0 is c5b876ba-46d3-4bbc-a81f-f37e82ed9704
[03:58:48] [Server thread/INFO]: 0RadicalLarry0[/<IP_ADDRESS>:56193] logged in with entity id 434 at (-4.5, 64.0, -8.5)
[03:58:48] [Server thread/INFO]: 0RadicalLarry0 joined the game
[03:59:00] [Server thread/INFO]: [0RadicalLarry0: Set own game mode to Creative Mode]
[03:59:24] [User Authenticator #2/INFO]: UUID of player Dekk_CL is d051a598-2dbc-4a5b-8439-412effdf9c31
[03:59:24] [Server thread/INFO]: Dekk_CL[/] logged in with entity id 908 at (0.5, 67.0, 3.5)
[03:59:24] [Server thread/INFO]: Dekk_CL joined the game
[03:59:26] [Server thread/INFO]: [0RadicalLarry0: Set Dekk_CL's game mode to Creative Mode]
[03:59:44] [Server thread/INFO]: Dekk_CL has made the advancement [Ice Bucket Challenge]
[04:00:06] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld 28 69 16
[04:00:07] [Server thread/INFO]: Generated Portal On Ground
[04:00:10] [Server thread/INFO]: Dekk_CL has made the advancement [We Need to Go Deeper]
[04:00:24] [Server thread/INFO]: Broke NetherPortalEntity{1064,east,(minecraft:the_nether -4 90 12)->(minecraft:overworld 28 70 17),imm_ptl:intrinsic_nether_portal}
[04:00:24] [Server thread/INFO]: Broke NetherPortalEntity{1065,west,(minecraft:the_nether -4 90 12)->(minecraft:overworld 28 70 17),imm_ptl:intrinsic_nether_portal}
[04:00:24] [Server thread/INFO]: Broke NetherPortalEntity{1062,west,(minecraft:overworld 28 70 17)->(minecraft:the_nether -4 90 12),imm_ptl:intrinsic_nether_portal}
[04:00:24] [Server thread/INFO]: Broke NetherPortalEntity{1063,east,(minecraft:overworld 28 70 17)->(minecraft:the_nether -4 90 12),imm_ptl:intrinsic_nether_portal}
[04:00:28] [Server thread/INFO]: Portal Generation Attempted minecraft:the_nether -5 90 11
[04:00:33] [Server thread/INFO]: accepted dubious move packet minecraft:the_nether -6.448696305638492 88.41092096052667 11.702741847299702 -6.448696305638492 88.41092096052667 11.702741847299702
[04:00:53] [Server thread/INFO]: Broke NetherPortalEntity{1912,west,(minecraft:the_nether -4 90 12)->(minecraft:overworld 28 70 17),imm_ptl:intrinsic_nether_portal}
[04:00:53] [Server thread/INFO]: Broke NetherPortalEntity{1913,east,(minecraft:the_nether -4 90 12)->(minecraft:overworld 28 70 17),imm_ptl:intrinsic_nether_portal}
[04:00:53] [Server thread/INFO]: Broke NetherPortalEntity{1914,east,(minecraft:overworld 28 70 17)->(minecraft:the_nether -4 90 12),imm_ptl:intrinsic_nether_portal}
[04:00:53] [Server thread/INFO]: Broke NetherPortalEntity{1915,west,(minecraft:overworld 28 70 17)->(minecraft:the_nether -4 90 12),imm_ptl:intrinsic_nether_portal}
[04:00:58] [Server thread/ERROR]: Player cannot teleport through portal Dekk_CL ResourceKey[minecraft:dimension / minecraft:the_nether] (-4.009259084172859, 90.06312656311758, 12.365374265460908) null
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 29.811757171742123 70.0347828553673 17.485619509692366 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 30.656684671917397 70.01777663071714 17.601258418987296 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 31.52339114843985 70.00757289592704 17.71238672245965 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 32.40993519186791 70.00145065505298 17.81909147117722 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 33.31462763885909 69.99777731052855 17.919696619417195 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 34.23514924167843 69.99777731052855 17.999157816199443 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 35.07282392438566 69.99777731052855 18.07146750735524 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 35.83510790761814 69.99777731052855 18.137269328203416 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 36.52878635235138 69.99777731052855 18.197148986900977 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 37.16003375525108 69.99777731052855 18.251639477886165 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 37.734468908444924 69.99777731052855 18.301225826111754 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 38.257204912916485 69.99777731052855 18.346349404297495 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 38.7328946906949 69.99777731052855 18.387411861629932 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 39.16577240094872 69.99777731052855 18.424778698879354 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 39.559691128632366 69.99777731052855 18.458782521756312 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 39.918157181155415 69.99777731052855 18.48972600146613 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:58] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 40.24436129835254 69.99777731052855 18.517884568813592 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:59] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 40.54120705355696 70.14777731648901 18.54350886583827 -4.009259084172859 90.06312656311758 12.365374265460908
[04:00:59] [Server thread/INFO]: ignored dubious move packet minecraft:the_nether 40.811336698578074 70.38777732602576 18.566826976802748 -4.009259084172859 90.06312656311758 12.365374265460908
[04:01:01] [Server thread/ERROR]: Player cannot teleport through portal Dekk_CL ResourceKey[minecraft:dimension / minecraft:the_nether] (-3.9068311754932754, 89.631183296675, 11.850412104461181) null
[04:01:10] [Server thread/INFO]: Dekk_CL lost connection: Disconnected
[04:01:10] [Server thread/INFO]: Dekk_CL left the game
[04:01:10] [Server thread/INFO]: Chunk Tracking Graph Force Remove Dekk_CL
[04:01:27] [Server thread/INFO]: 0RadicalLarry0 lost connection: Disconnected
[04:01:27] [Server thread/INFO]: 0RadicalLarry0 left the game
[04:01:27] [Server thread/INFO]: Chunk Tracking Graph Force Remove 0RadicalLarry0

If I can get a recording of what is happening, I'll share it. I'd have to convince him to try again to reproduce the issue, not sure if he'd want to do that.

I don't have any problems like that playing on the server; it's a dedicated server being hosted on my computer. I've tested by myself and with both of them and have had no issues. It seems to be just my one friend that has this issue.

I have a similar issue right now on an offline integrated server. I'm not sure whether immersivePortals is the culprit right now as I can't get any crash logs or clearly definable latest.logs
In my case, after playing for a while, the server stops responding. Mobs freeze in place, new chunks stop loading and I can't interact with block entities.
my latest log at that point is full of these messages:

Reclaimed XXXXX bytes at address YYYYYY that were leaked from an unknown location (logging is disabled)"
missing entity for data tracking ClientWorld minecraft:overworldXXXXX
Hanging entity at invalid position: class_2338{x=XXX, y=-YY, z=ZZZ}
Skipping Entity with id

Server TPS stays at 10-15 ms Tick. FPS stable at 60. Memory usage around 36%. Only thing the F3 screen shows is the Packets Received dropping to 0, whereas it is somewhere around 800 - 2000 before the integrated server hangs itself up.
I am working on finding the issue right now, trying to run some monitoring with Spark. I run about 300 mods in total. So it takes time to find the one that's causing the integrated Server to silently die.

@qouteall apologies, I forgot to update here too: definitely not a mod compatibility issue and definitely not an immersivePortals issue.
I have removed 1 mod that was fishy (pun intended, it was "fish of thieves") and since couldn't reproduce a server freeze despite my best efforts to overload chunk generation with teleports and whatnot. It was one of the last mods I added before the issue manifested and for fabric is only available as experimental.
As for the memory leak and the missing entity data, these two issues seem unrelated both to my freeze ups and immersiveportals, as I get these logs even without immersive portals running.
I did a clean sodium-only run and had still memory leaks showing up. Then I removed all resource packs mid-session and the leaks stopped. Added resource packs again and the leaks reappeared.
Maybe those have to do with Custom Entity Textures mod or something.
So for me at least: since you patched that Sodium compat issue in your last patch, immersive portals runs pretty stable.

I'm 99% sure this issue was related to my friend having blocked minecraft in his firewall. We ran into more network issues with another mod recently and this was resolved when I had him allow java through his firewall, idk why he had it blocked. I won't test if this was the cause for IP in particular but if we ever play with this mod again, I'll make a follow up.


Website: make it work without JS

Uses https://github.com/srid/emanote/pull/225
cf. https://github.com/Plutonomicon/plutonomicon/pull/21#issuecomment-1008148774

Thanks! I wonder how/when the pages are regenerated.

For some reason the CI is not running for this merge: https://github.com/Plutonomicon/plutonomicon/commit/854eccefce4b66b78aa8aa76a7e79bca86b44d44
@MatthewCroughan - is this because the agent is down?

Pages should be regenerated and deployed in Hercules CI (main branch only). @L-as

@srid If this effect ran on any branch, that means any PR would update the website. That is not what we want. The only solution is to have multiple repos and mulitple domains. Github does not support staging domains for gh-pages based on multiple branches.

To clarify, think about it, if you make a PR do you really want that PR to effect the main website? What you want is a staging server, but that is not supported by GH Pages. GH Pages only supports a single website, not subdomains per branch.

You could have a subdirectory on the website, such that e.g. https://plutonomicon.github.io/plutonomicon//staging uses the staging branch.

You could have a subdirectory on the website, such that e.g. https://plutonomicon.github.io/plutonomicon//staging uses the staging branch.

I hadn't thought of this, but having per-branch deployment (let's call it deploy previews) would indeed actually be useful towards this end:

someone opens a PR changing the docs,
their PR gets an unique web URL (based on branch name) of their branch deployed
others can take a look at the rendered site, as part of PR review.

(Not sure if this will work for fork's branches.)
Example of it in action, using a deploy service called Netlify: https://www.netlify.com/blog/2016/07/20/introducing-deploy-previews-in-netlify/
Cloudflare Pages also supports it, in someway (not sure if they have PR integration): https://developers.cloudflare.com/pages/platform/preview-deployments
GitHub Pages team is planning to support deploy preview in the medium term: https://github.com/github/feedback/discussions/7730#discussioncomment-1885967 - but that might require the use of GitHub Actions.

If we have to make compromises to our Hercules-CI usage and therefore Nix usage to use Github Pages deploy preview, I think it's worth hosting our own webserver(s). Serving static HTML files is not a hard thing to do, then we have full control over what happens in DNS, etc.

Additionally, Hercules-CI will support fork PRs at some point soon. Right now @roberth is working on Hercules 0.9, which includes more fine grained controls over what happens with agent secrets. Stuff like this is necessary for security, otherwise forked PRs could use our secrets, which isn't sensible.


validation fail on laravel 4.2

hi,
im experiencing file mime based validation fail on laravel 4.2.
im trying with these rules;
$inputs = Input::all();
$rules = ['UploadFile' => 'required|mimes:xls,xlsx'];
$validator = Validator::make($inputs, $rules);
dd($validator->passes());
output: false

I don't really see how this is related to the package. The validator is part of the Laravel core.
Maybe it's a better idea to post a question about it on the laracasts.com or laravel.io forums.

it is my mistake, sorry.
i am closing this.


Versioning tweaks

Assuming that Fabric 2.x will support Python 3, maybe you could rearrange the version numbers to avoid .postX, a la:

Fabric 1.10.2post2 → Fabric3 10.2.2
Fabric 1.11.9 → Fabric3 11.9.0

AFAIK the upstream developer is not planning for something called "Fabric 2", the successor will have a different name.
In any case I do not understand your rationale for changing the versioning:

What's wrong with postX? It's not exactly what the suffix was intended for, but it still clearly states what version the Fabric3 version is based on. 10.2.2 does not.
There is no Fabric 1.10.2post2 (like in your example) only Fabric 1.10.2 and Fabric3 1.10.2.post1.

I thought it was just going to be Fabric 2.0 whenever Jeff decides to un-private the branch. Is the "different name" you're thinking of Invoke (which is supposedly part of Fab 2)?
The x.y.z is slightly more semver than 1.x.y.postz, but version numbering is a very opinion-driven thing. This was mostly a take-it-or-leave-it suggestion, your discretion :)

Yes, I think it was invoke. Reading up on it, invoke is apparently a split of parts of Fabrics components and Fabric2 will be using it. That being said I couldn't find any existing repository for it but an alpha/beta is due out within this month, this month being May 2014, Aug 2014, Sep 2015 or whatever.
Python/pip btw. has its own versioning recommendations, PEP 0440, which gives only a limited list of possible suffixes. I know that using a dev suffix will cause pip not to install the version unless you give the --pre parameter. I certainly didn't want to end up with a version that would not automatically install. :-)
I guess I'll stick with the current versioning theme.

Oh, thought I commented/closed it a while ago... Was unfamiliar that PEP-440 also spelled out post-releases and the postX suffix as a thing. Never mind this issue :)


Vercel npm run build errors on types

[15:41:37.616] Cloning github.com/jokull/vercel-thin-test (Branch: main, Commit: c20d830)
[15:41:37.962] Cloning completed: 345.359ms
[15:41:38.352] Installing build runtime...
[15:41:41.831] Build runtime installed: 3.478s
[15:41:42.635] Looking up build cache...
[15:41:46.138] Build cache downloaded [50.11 MB]: 3140.970ms
[15:41:46.420] Detected `package-lock.json` generated by npm 7...
[15:41:52.284]
[15:41:52.284] added 39 packages, removed 227 packages, and changed 5 packages in 6s
[15:41:52.285]
[15:41:52.285] 76 packages are looking for funding
[15:41:52.285]   run `npm fund` for details
[15:41:52.302] Detected Next.js version: 12.1.5
[15:41:52.306] Detected `package-lock.json` generated by npm 7...
[15:41:52.306] Running "npm run build"
[15:41:52.698]
[15:41:52.698] ><EMAIL_ADDRESS>build
[15:41:52.698] > next build
[15:41:52.698]
[15:41:53.303] info  - Loaded env from /vercel/path0/.env
[15:41:53.568] info  - Checking validity of types...
[15:41:56.940] Failed to compile.
[15:41:56.940]
[15:41:56.941] ./pages/index.tsx:97:26
[15:41:56.941] Type error: Argument of type '"posts"' is not assignable to parameter of type 'TableName'.
[15:41:56.941]
[15:41:56.941]    95 |
[15:41:56.941]    96 |     onSubmit: async (fieldValues) => {
[15:41:56.941] >  97 |       await createRecord("posts", {
[15:41:56.941]       |                          ^
[15:41:56.942]    98 |         title: fieldValues.title,
[15:41:56.942]    99 |         content: fieldValues.content,
[15:41:56.942]   100 |       });
[15:41:56.965] Error: Command "npm run build" exited with 1

My packages.json:
{
  "name": "ihp-backend-next-typescript-starter",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@heroicons/react": "^1.0.6",
    "@shopify/react-form": "^1.1.19",
    "next": "^12.1.5",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "thin-backend": "*"
  },
  "devDependencies": {
    "@tailwindcss/forms": "^0.5.0",
    "@types/node": "^17.0.29",
    "@types/react": "17.0.37",
    "@types/thin-backend": "https://thin.dev/ShowTypescriptDeclarationFile?typescriptDeclarationFileId=d7540d89-7a5e-468a-82d2-be573b79dab9&accessToken=KJAkmygLwbMGCrLidrTAAJMZIBNefmoF",
    "autoprefixer": "^10.4.5",
    "eslint": "8.5.0",
    "eslint-config-next": "12.0.7",
    "postcss": "^8.4.12",
    "tailwindcss": "^3.0.24",
    "typescript": "4.5.4"
  }
}

Hm, I cannot reproduce this issue with your project with a clean checkout. It seems like your project is using an outdated @types/thin-backend module. Maybe a npm install can fix it?
Otherwise open the Schema Designer -> Type Definitions and re-run the latest command there:

It worked, but only after doing Redeploy without the build cache on Vercel. I think maybe Vercel doesn't have a way to invalidate the cache based on package-lock.json if there are this kind of dynamic dependencies?

Oh that's strange. I would expect vercel to detect changes to package.json and package-lock.json and automatically invalidate it.

Might be https://github.com/vercel/next.js/discussions/33929#discussioncomment-2295926


QuickCheck bounds are out of date

QC has been bumped to 2.15. It would be good to get this package bumped ASAP.

This has not been fixed, the verison bound is <2.15 but the current version of QuickCheck is 2.15.


Fixing dead link in README

Description of Changes

Related Issues

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   94.33%   94.33%
=======================================
  Files           6        6
  Lines          53       53
  Branches        3        3
=======================================
  Hits           50       50
  Partials        3        3

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a0cbcb...4ea5786. Read the comment docs.


Added DFS for a n-ary tree (acyclic graph) represented as adjacency list

Great work @vipermet90 please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


Stale blocks fix

Update minor version to force users to update version
Add larger random delay before creating stale blocks
Add a small delay after calculating vdf for a stale block to allow any unprocessed DAG blocks to be added in the DAG

prnet cleaned-up successfully


Add namespace credentials setup steps

Per https://github.com/kubeflow/website/issues/946 I am adding steps to setup credentials for namespaces consuming Kubeflow.
/assign @jlewi

This change is

/ok-to-test

/lgtm
/approve
/hold
@DanSanche This looks pretty good to me

/lgtm
/approve

/cancel hold

/hold cancel


bug: Incorrect command-line mode filetype

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.0-dev-d7359a8
Operating system/version
Manjaro Linux x86_64
Describe the bug
The filetype inside the floating command-line mode window is the same as the file I was when pressing :, even if I set the filetype explicitly with buf_options.
Steps To Reproduce

nvim -u path/to/init.lua test.md
Press :, then <M-o> (which prints the current buffer's filetype)
filetype: "markdown" gets printed

Expected Behavior
filetype: "NoiceCommandline" gets printed
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  {
    'folke/noice.nvim',
    dependencies = { 'MunifTanjim/nui.nvim', 'rcarriga/nvim-notify' },
    config = function()
      local noice = require('noice')

      noice.setup({
        cmdline = {
          format = {
            cmdline = {
              opts = {
                buf_options = { filetype = 'NoiceCommandline' },
              },
            },
          },
        },
      })

      vim.keymap.set('c', '<M-o>', function()
        local filetype = vim.api.nvim_get_option_value('filetype', { buf = 0 })
        print('filetype: ' .. vim.inspect(filetype))
      end)
    end,
  },
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

noice does not set the current buffer to the command window.
otherwise it would mess with statuslines and other plugins.

Please leave this issue open Mr. Bot

You never left the original window, since you are in the cmdline.
Noice IS the real commandline and will behave the same as the regular cmdline.


Something went wrong in initial mypy run. on langchain project

Description
UTBot cannot generate test on specific project, it fails with Something went wrong in initial mypy run error
To Reproduce
Steps to reproduce the behavior:
For some reason it's reproducible for me only in original project, when I copy the class code and import other langchain modules then no exception happen (though it still cannot generate due timeout).

Clone the project - https://github.com/hwchase17/langchain
Invoke test generation for langchain.indexes.graph.GraphIndexCreator class

Expected behavior
Tests are supposed to be generated.
Actual behavior
No tests are generated, exception is thrown.
Visual proofs (screenshots, logs, images)
java.lang.IllegalStateException: Something went wrong in initial mypy run.
Python stderr
Mypy stderr:
	at org.utbot.python.newtyping.mypy.RunMypyKt.readMypyAnnotationStorageAndInitialErrors(RunMypy.kt:50)
	at org.utbot.python.PythonTestGenerationProcessor.processTestGeneration(PythonTestGenerationProcessor.kt:82)
	at org.utbot.python.PythonTestGenerationProcessor.processTestGeneration$default(PythonTestGenerationProcessor.kt:32)
	at org.utbot.intellij.plugin.language.python.PythonDialogProcessor$createTests$1.run(PythonDialogProcessor.kt:171)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:442)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$5(CoreProgressManager.java:493)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:252)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:188)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:175)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:833)

Problem from this issue has been fixed in #1890 but we still can't generate useful tests for this class because it contains "fake"
immutable fields

No such exception any more.


Make Frame toplevel="true"

Other toplevel frames are constantly covering up the bag frame, like TSM's windows, which are quite large. Adding toplevel="true" would allow you to bring the betterbags frame above such windows by clicking it.

Fixed


[WIP] Nu Max, Delta Nu Periodogram class + Unit Tests!

Codecov Report

Merging #189 into master will decrease coverage by 0.17%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
- Coverage   93.14%   92.97%   -0.18%
==========================================
  Files          19       19
  Lines        2467     2520      +53
==========================================
+ Hits         2298     2343      +45
- Misses        169      177       +8

Impacted Files
Coverage Δ

lightkurve/tests/test_periodogram.py
100% <100%> (ø)
:arrow_up:

lightkurve/periodogram.py
85.71% <100%> (-3.95%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd47fae...e829b08. Read the comment docs.

Brainstorming with Johnny, here is coarse design for Periodogram:
Periodogram(powers, frequencies)
+ plot()
+ create_echelle() : numpy array
+ plot_echelle() : axes
+ estimate_numax() : numax
+ estimate_deltanu(numax): deltanu
+ estimate_stellar_parameters() : radius, mass, rho

In the module, let's add the scaling relationships as standalone functions, so you can call them even when you don't care about the periodogram.
+ estimate_mass_from_seismology(deltanu, numax) : float
+ estimate_radius_from_seismology(deltanu, numax) : float
+ estimate_mean_density_from_seismology(deltanu, numax) : float

@barentsen
Since the standalone functions all rely on deltanu, numax I think this could be a good opportunity to pass them a Periodogram object as a single parameter. Or should I overload the function so that it can take either Periodogram object OR deltanu, numax values?

Do we wish to attach astropy units to the returned astrophysical quantities like mass and radius?
We do not return astropy.quantities objects anywhere else in lightkurve, so I suspect we're inclined to say "no" for sake of standardization.
One reason I think units could be a good idea is that when you print the values on a Jupyter notebook the repr renders nice "solar mass" symbols that take away any ambiguity as to what the units are.


Split the storage documentation into per-driver tables

Following the pattern in instances and networks. The storage documentation should be modified to have each storage driver have its own section with its configuration keys.

Hi, @hQavi and I are students from University of Texas taking a virtualization class. One of our assignments is to contribute to an open source project and we thought lxd was pretty exciting! Would it be ok if we tried to tackle this issue?

Sure, I've assigned it to you. I'll need @hQavi to comment in here so I can assign them too.

Thanks, commenting to get assigned.

Done!


Add Parser.orElse() and Parser.orElseEither()

This PR adds two new ways of combining two parsers.
Parser.orElse(other)
This function combines two parsers by trying the first one and if it fails trying the other. This function  allows the combination of individual parsers for each member of a sealed hierarchy, thus producing a parser for a sum type.
Parser.orElseEither(other)
This is combines two parsers like Parser.orElse() but contrary to the orElse() case the two parser can produce unrelated outputs. Effectively, allows the combination of an two unrelated parsers (outcome wise) with an OR relationship.

I am closing this. Mixed github accounts.


Changing passwords for encrypted chroot

I recently encrypted my chroot. Now when I enter the chroot, I am prompted for two passwords, one right after the other. I'd like to change them both, if possible (or even better, get rid of the first one and keep the encryption passphrase).
I read the comments re: this issue: https://github.com/dnschneid/crouton/issues/344. Is the first password I'm prompted for the "dev password"? If so, sounds like it cannot be removed. Can it be changed?
Dennis' solution to change the encryption passphrase seems easy enough-- is that the way to go?
He wrote

I think you can change the encryption password by using the '-e' option on
your existing chroot like this -

sudo sh -e ~/Downloads/crouton -e -u*

Thanks.
Mark

You can change the password using sudo edit-chroot -e chrootname, but you'll still have to type in two passwords.  #1399 is probably what you want to monitor.

Thanks! And thanks for giving us crouton-- can't begin to tell you how much I value it.