Added supplementary error checking

Added some additional error checking:

In util.go, checking for errors in the tom.DecodeFile call (func ReadConfig). DecodeFile itself may rarely return an error but will if the config.cfg file has errors, e.g. missing quotes. If errors are not checked at this point, readConfig returns an invalid configuration that will generate an error in main.go showing up as an empty driver since the Config.Database.Engine string will be empty which is misleading as the cause of the problem.
Modified fileExists in util.go to ensure that the file can be read and not only exists. The file may "exist" but have the wrong permissions. There might be a more elegant way than using Open.
Added more explicit checks for the existence of the configuration file in main.go

Thanks Andrew for pointing it out. This is my first venture in Go programming so a lot of it is completely new to me.. I ran util.go through gomft and push the new version.

On Jul 14, 2018, at 2:55 PM, Andrew Meyer<EMAIL_ADDRESS>wrote:
@Ajedi32 commented on this pull request.
In util.go https://github.com/joohoi/acme-dns/pull/95#discussion_r202522671:

@@ -18,18 +18,30 @@ func jsonError(message string) []byte {
}

func fileExists(fname string) bool {

_, err := os.Stat(fname)
if err != nil {

return false

}
return true

   _, err := os.Stat(fname)

   if err != nil {

           return false

   }

FYI, I think there are some whitespace inconsistencies here. I'd suggest running these files through gofmt.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/joohoi/acme-dns/pull/95#pullrequestreview-137245945, or mute the thread https://github.com/notifications/unsubscribe-auth/Am4QQ-jxN63Jtr_Sw4LtCz2KaEaBOIrvks5uGj6qgaJpZM4VP422.

I made small changes to the PR in order to fix the race condition and changed the flow around a bit to handle all exits in main.go, also merged the functionality of the two access tests. The new PR is opened at #99
I added the changes on top of this PR in order to keep the attribution. Sorry for hijacking the PR, but I feel that it's ready for merge now. Let me know what you think.

The other PR is now merged. Thank you so much for investigating and initially fixing this issue @sh511 !


In tail call scenario, netsh ebpf show verif command to verify all sections.

Describe the feature you'd like supported
Currently, in a tail call scenario with more than one section, the netsh command for show verification only verifies the first section.
The user has to do 'netsh ebpf show sections' and then provide each section to the netsh ebpf show verification command to verify all sections.
netsh ebpf show verification program.o **section=xx** type=yy verbose
The request is to verify all sections, as default.
Proposed solution
The request is to verify all sections, as default.
netsh ebpf show verification program.o
Additional context
No response

Suggestion:
netsh ebpf show verification can internally get all the sections, and iterate through each section, verify and display.
For e.g,
netsh ebpf show ver  bpf_xdp.o type=xdp verbose
section 2/16: Verification succeeded
section 2/18: Verification failed

section 2/17: Verification succeeded.

@dthaler libbpf uses the following heuristic to differentiate sub-programs:
https://github.com/libbpf/libbpf/blob/caa17bdcbfc58e68eaf4d017c058e6577606bf56/src/libbpf.c#L4390C1-L4393C2


CLI support?

States CLI is supported but doesn't explain command to use

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b3ff94e6-3c1f-b9e1-1a46-b75fe2ffca1b
Version Independent ID: 8f3ca735-ddd4-f4a9-4ee0-189604018784
Content: Run PowerShell scripts in an Windows VM in Azure
Content Source: articles/virtual-machines/windows/run-command.md
Service: automation
GitHub Login: @georgewallace
Microsoft Alias: gwallace

@jtuliani Thanks for reaching out, you are correct we don't have the CLI cmdlets in the doc, This was intentional to follow the format that the VM docs follow, PowerShell is displayed for Windows VMs and CLI for Linux VMs. I can see the point though and can add the cli commands to the doc. We do link to the CLI commands in the benefits section.

@jtuliani Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.


[banuser] Fix deployment and testing mismatch of modactions format

In deployment, instance.fetched_mod_actions (as seen in line 72 of banneduser_experiment_controller.py) returns a praw.models.ModAction object and can only be referred to with attributes. (e.g. modaction.action)
However, our tests are written to use fixture data that offers a list of dicts (e.g. modaction['action']). As such, tests fail when deployment works.
On the modaction_praw_object_bug branch I've pushed a commit that works on the dryrun server for deployment, but fails tests.

this is now addressed in changes pushed to #83


needs to support lines

I would highly appreciate the integration of lines... !
Do you have a rough imagination about a roadmap?

Just want to ask if there are any near future plans to implements the line feature?

There are plans to add these, but currently there isn't an active branch for it.

any plans to continue dev?

Yes.  Likely it'll be in the second or third quarter of 2017

Is this feature still planned? Would love it personally!

Still planned and will only take a few hours to implement, just looking for time.  Perhaps in the coming holiday when I need a break from other open source.

Thanks Robert, will keep an eye out for it!


User can edit profile

Update name, email address, password, organisation affiliation

The basic editing for fields is in place from Devise, but no organisation editing as yet.


feat!: typing partial address, deduplicating Point, Point -> GrumpkinPoint

Fixes #3682
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit ec2e36e6 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
223,044
867,824
3,449,768

l1_rollup_execution_gas
867,153
3,745,877
23,306,533

l2_block_processing_time_in_ms
1,346 (+2%)
5,418 (+7%)
21,421 (+1%)

note_successful_decrypting_time_in_ms
354 (+6%)
1,090 (-6%)
3,969 (+4%)

note_trial_decrypting_time_in_ms
62.9 (+38%)
39.7 (+9%)
139 (-5%)

l2_block_building_time_in_ms
14,173 (+1%)
56,114 (+1%)
226,296 (+1%)

l2_block_rollup_simulation_time_in_ms
10,565 (+1%)
41,961 (+1%)
169,500 (+1%)

l2_block_public_tx_process_time_in_ms
3,582 (+1%)
14,096 (+1%)
56,620 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,411 (+2%)
29,508 (+1%)

note_history_successful_decrypting_time_in_ms
2,574 (+3%)
5,283 (+7%)

note_history_trial_decrypting_time_in_ms
83.6 (+5%)
143 (-36%)

node_database_size_in_bytes
3,617,465
3,720,763

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
201 (+1%)
43,109
20,441

private-kernel-ordering
115
25,833
9,689

base-rollup
1,066
123,254
881

root-rollup
82.8 (+1%)
4,088
889

private-kernel-inner
262
64,516
20,441

public-kernel-private-input
173 (+1%)
25,203
20,441

public-kernel-non-first-iteration
171
25,245
20,441

merge-rollup
9.79 (+1%)
2,608
881

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
10,331
26,317


test: Cypress | SetWidget property validations + CI Stabilize

Description

This PR includes SetWidget property validations cases

Flaky fixes for below:

Api URL enter
AbortAction spec flaky fix - with new url

Type of change

Script fix (non-breaking change which fixes an issue)

Testing

How Has This Been Tested?

[X] Cypress CI runs

Checklist:
QA activity:

[X] Added Test Plan Approved label after Cypress tests were reviewed

/ci-test-limit

/ci-test-limit runId=6689238109


fix: use CDN for imgur image

🧿 Current issues / What's wrong ?
A lot of Farcaster avatars are hosted on imgur. Fetching the image from imgur is hitting a 429 rate limit.
💊 Fixes / Solution
Use a CDN to fetch image from imgur
🚧 Changes

Add a function to return a CDN url when the image host is imgur.com
Some minor coding style for consistency with other resolvers file
Fix lint
Fix yarn.lock with invalid version

Is there any example curl request to test this?


Cannot find version 1.10 in cocoapod

Hi after fail to retrive the pod for Parse 1.10 i try this:
platform :ios, ‘9.1’
target 'SwiftNextStep' do
pod 'Parse', ‘< 2’
pod 'ParseUI', ‘< 2’
pod 'ParseCrashReporting', ‘< 2’
pod 'ParseFacebookUtilsV4', ‘< 2’
pod 'ParseTwitterUtils', ‘< 2’
end
However after I install the pods I get "Using Parse (1.9.1)"
Why can I not access the Parse v1.10?

Hey @SwiftNextStep just found why this doesn't work.
ParseCrashReporting pod lists ~> 1.9.1 as it's dependency.
Fixing in a few minutes.
Side note: You can use pod 'Parse', '~> 1.9' instead of < 2 as it's going to have the same behavior.

Just pushed a new version of ParseCrashReporting that has this problem fixed.
Should fix the problem, try running pod update now. :)

Thanks @nlutsenko I use "< 2" to try to find the highest available version, the original file was using "~>1.9 instead


Some audio clips are either ~2 octaves too high or ~2 octaves too low

Some sounds like starting a game are played at a higher pitch, and some sounds like the time reaching 100 and coin sound are played at a lower pitch than they should.

sdl_mixer issue most likely

ok

hey all, just wanted to provide an update on the issue. its resolved, however i havnt updated this game with a fix. the bug is in how sdl handles audio of different sample rates. This reply to a reddit thread explains it better than i could but basically a double sample rate means double the length of a 1x of original. so sdl will slow down or speed up song, causing the pitch shift.

tl;dr
pretty much sample rate = data per second or whatever. more data per second, mean pygame has to speed up song to play every sample. less per second mean pygame slow down to play all to match the init() sample rate

fixed in https://github.com/dippyshere/Newest-Super-Human-Bros-PC/commit/3b31283190f43e40288509f9464cff242ce1c79b


ScriptWitnessNotValidatingUTXOS error while minting with RequireTimeBefore and RequireTimeAfter

I am trying to mint nft with an expiry slot. But when adding RequireTimeBefore or RequireTimeAfter script to other scripts, a BadRequest exception is thrown with the above error.
{
  "successful" : false,
  "response" : "{\"error\":\"Bad Request\",\"message\":\"\\\"transaction submit error ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (ScriptWitnessNotValidatingUTXOW (fromList [ScriptHash \\\\\\\"3e36266dd1a0f12c32d919bb4621319ee2f3a933ed84b211a1c939dd\\\\\\\"])))])\\\"\",\"status_code\":400}",
  "value" : {
    "signedTxn" : "hKYAgYJYIJxrrLOe1D+hOr28FuOGDUrXLZ/JY0UH1/xU4TCeMVASAAGCglg5AJAG0nUdhwttNI8Fa82lvqSeME7PUvN9fb1C4ae0Xspg6ur7kTKbeo+eTISg99HLHLCK+eeWn87pGgAW9NeCWDkAkAbSdR2HC200jwVrzaW+pJ4wTs9S8319vULhp7ReymDq6vuRMpt6j55MhKD30cscsIr555afzumCGgAT/myhWBw+NiZt0aDxLDLZGbtGITGe4vOpM+2EshGhyTndoUABAhoAAtN9AxoDMrh2B1ggjlX9rOzY+INCGmxHs1/7vX87lhT61OVLk4kiF8E+RtsJoVgcPjYmbdGg8Swy2Rm7RiExnuLzqTPthLIRock53aFAAaIAgoJYIAqcOM5BwaaF8ImQykYyXp9Uu4CGbcjB4HtkEh55SkDgWEAdx/zM5xb42xKgh0l6YPwFN5cTkHbt+tQVNcKboGnapEGIDupTLlL50efTXpentU2QAJ0S0orsfdcncVk03bEPglggCpw4zkHBpoXwiZDKRjJen1S7gIZtyMHge2QSHnlKQOBYQB3H/MznFvjbEqCHSXpg/AU3lxOQdu361BU1wpugadqkQYgO6lMuUvnR59Nel6e1TZAAnRLSiux91ydxWTTdsQ8BgYIBgoMDAIGCAFgckAbSdR2HC200jwVrzaW+pJ4wTs9S8319vULhp4IEGgMyqmn1oRkDCaJkcmF0ZWMwLjJnYWRkcmVzc4J4PGFkZHJfdGVzdDFxcmVqNHd4eWZoYXJlNzJyeTBmMDlzOHJsajR6Nm1wcnNhaDdyZnF5YWp4cTM5cGhxMHgwd3pkMHk5YTlka2g1Y2h1OW52MzJjZGdkZzMzdm5lNWFjbHhta3RxNjZxeGRmNXE2",
    "transactionId" : null
  }
}

My code snippet:
private PolicyKeys generatePolicyKeys(PolicyEntity policyEntity)
            throws CborSerializationException, ForbiddenException, ApiException {
        Account policyAccount = getNftWalletAccount(policyEntity.getAccountIndex(), 0);

        byte[] priKeyBytes = policyAccount.privateKeyBytes();
        SecretKey skey = SecretKey.create(priKeyBytes);

        byte[] pubKeyBytes = policyAccount.publicKeyBytes();
        VerificationKey vkey = VerificationKey.create(pubKeyBytes);

        ScriptPubkey scriptPubkey = ScriptPubkey.create(vkey);

        Date expiryDate = policyEntity.getExpiry();
        long policyExpirySlotNumber = getAndSaveExpirySlotNumber(expiryDate, policyEntity);
        RequireTimeAfter requireTimeAfter = new RequireTimeAfter(policyExpirySlotNumber);
//        RequireTimeBefore requireTimeBefore = new RequireTimeBefore(policyExpirySlotNumber);

        ScriptAtLeast scriptAtLeast = new ScriptAtLeast(1).addScript(scriptPubkey);

        ScriptAll policyScript = new ScriptAll().addScript(scriptAtLeast)
                .addScript(requireTimeAfter);

        return new PolicyKeys(skey, vkey, policyScript);
    }

I have tried the method mentioned in the posts but the problem persists. May be i have done it wrong. Can anyone provide a working examples ?
Thank you

@nabinpakka You can check this integration test for RequireTimeBefore.
https://github.com/bloxbean/cardano-client-lib/blob/985de76cd6ac8d1fcc45152d125a8a76fc67d35f/integration-test/src/it/java/com/bloxbean/cardano/client/backend/api/helper/TransactionHelperServiceIT.java#L812

The integration was correct. But the absolute slot in requireTimeBefore was lower than that of TTL. Therefore, it was throwing the error.
Thank you.

Thank you for the answer. It turns out that the slot number of require time
before was lower than that of TTL. Hence, it was giving the error.
Regards,
Nabin Pakka
On Wed, Mar 23, 2022 at 7:51 PM Satya @.***> wrote:

@nabinpakka https://github.com/nabinpakka You can check this
integration test for RequireTimeBefore.
https://github.com/bloxbean/cardano-client-lib/blob/985de76cd6ac8d1fcc45152d125a8a76fc67d35f/integration-test/src/it/java/com/bloxbean/cardano/client/backend/api/helper/TransactionHelperServiceIT.java#L812
—
Reply to this email directly, view it on GitHub
https://github.com/bloxbean/cardano-client-lib/issues/94#issuecomment-1076414735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQEMEGM42T36AYSHWWR32LVBMQNHANCNFSM5RNI3C3Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Attaching avatars to things other than Users

Is there a way to attach avatars to other things than Users? I'd like to use it to attach avatars (well, company logos) to my Company objects (and I really like the mgmt stuff you bring.)

Same question here. That would be super useful if we could use django-avatar for our user avatars and other models as well.

Same question here. I too need this feature. In my case, I have a model to store Person information and want to get gravatar from the email of the person or allow to upload one just like we do for User model.

Yes, if any of you @anuj9196 @lggwettmann @kristofer are willing to write a PR for this, I will review.


License badge is incorrect on https://github.com/woofwoofinc/csearch

Currently showing Apache 2.0 license. Should should Apache 2.0 or MIT.

This will be because of GitHub's license API: https://api.github.com/repos/woofwoofinc/golden_retriever/license
We can fix this eventually by using a crates.io badge which then correctly uses the metadata from the toml file. We could also hard-code a correct badge until then.

https://img.shields.io/badge/license-Apache--2.0 OR MIT-blue.svg


added digital clock

Got a change request on this for missing core files, so I have reset the fork, and made a fresh commit.


Steam App ids changed

grand theft auto 3 is now id 12100 calculator list it as 12230
so anyone with the game it shows up at no price.
grand theft auto san andreas is now 12120
Company of Heroes is now 4560
Grand Theft Auto: Vice City is now 12110
Sid Meier's Civilization IV  is now 3900

There are different versions (e.g. regional copies).


Interrupt safety

There are quite a few places in the code where a small section of a routine is wrapped with noInterrupts/Interrupts to insure atomic operation. This renders these routines and anything that relies on them unsafe for use in an ISR. (Let's please try to avoid discussion of what an ISR should contain for another place.) Would there be any problems with instead wrapping these code sections with save/restore of the status register (SREG)? A quick look suggests that the Atmega328 and 2560 as well as the ESP32 all use the literal SREG for the status register, so this would not have to explicitly account for architecture.

This means, the noInterrupt()/interrupt() macros shall be replaced with a reentrant version in the API-callable routines.
For avr:
  uint8_t sreg_save = SREG;
  cli();

and SREG = sreg_save;.
For esp32, I am not sure, if this is needed, because the api side routines shall have a lower task priority than the FastAccelStepper internal routines. I just kept the noInterrupt()/interrupt() for being on the safe side - e.g. one app lifting the priority to max before calling api routines…

That sounds like what I had in mind. I didn't realize that interrupt()/noInterrupt() were macros, though.
It might be nice if the interrupt macro also saved the SREG and a restoreInterrupts() macro was provided in addition to interrupts(), but I'm sure someone would complain about the extra instruction and byte of storage.
Do you plan to make these changes to the library, or is your reply just a clarification for anyone wanting to do this in their own branch?

To me this is not a high priority topic aka bug. So I will do it, when I can squeeze it. I will keep this issue open till it’s done. The code change is not the problem. The main effort is for manual/semi-automatic tests.
So I would expect this to be implemented some day in July.

thanks. I'm not in a rush, but it's nice to know that an upcoming version will have this feature.

Haven't forgotten this, but I am waiting for the due support.

implemented in 0.23.3


Create CentOS Docker Fails with VPN error

This keeps failing and I have no VPN, others are working correctly for example the hello-world-nginx.

Thanks for the issue!

I have the same issue - hello-world-nginx works, but spksrc from Synocommunity fails.
Also - after trying spksrc, hello-world-nginx also doesn't work anymore.

Merging with #1031

If anyone still has problems with this on Mac or Windows 10+, please contact me at<EMAIL_ADDRESS>We are working on something to help address this issue.


feat(rook.ceph.io): add rook

adding sum rook crds

https://github.com/rook/rook/tree/80903df9848599a7f8c5725695cfc3094db26de8/deploy/charts


Coding while baked 🌳

I notice there is a 'been coding while drunk 🍻'.
Could we have one for 'coding while baked 🌳'?
thx
search tags
weed
cannabis
stoned
baked

The code is synchronized with the Gitmoji library, a requirement that can be customized and added, similar to that of the
{
  "gitmoji.addCustomEmoji": [
    {
      "emoji": "🌳",
      "code": ":thread:",
      "description": "coding while baked"
    }
  ]
}

Awesome! Thanks for sharing


[Feature request] Auto-switch to .container-fluid on small screens

It would be user-friendly for fixed-width sites (using .container) to be able to switch to .container-fluid when the screen size is sufficiently small. When the size of the screen is similar or smaller than the fixed-width, there's no need to make the content smaller than the screen's width anymore. Could something like one of the following be supported?

Using one of the above would have .container behavior on medium and larger screens and .container-fluid behavior on small and extra-small.
As an example I could find online for demonstration purposes, the Stack Overflow "navbar" switches to fluid when the screen width is smaller than the fixed width. To see this, make your browser window larger than the fixed width, then reduce the width of your browser until it is smaller than the fixed width. https://stackoverflow.com

.container has a max-width on it, so it'll naturally adjust to a constrained parent element. There won't be any automatic flipping between the two.

I landed here through a Google search on "bootstrap 4 fluid on small". I don't really mind that this is not a feature of Bootstrap itself, was already expecting this to be an app-specific customization. I couldn't find any good solution yet, so I attempted to make one myself. Given that this closed issue is still a top search result, I'm sharing my workaround/solution here:
@media (max-width: 991px) {
  .container {
    max-width: 98%;
  }
}

This (or something similar) should allow your Bootstrap website to use near full width on [ExtraSmall, Small, Medium] devices (see this for other break points).
PS. The main reason I still wanted this is because the max-width mentioned in previous comment will leave a rather large margin on small/medium devices, which felt like a waste of space (i.e. I want my site to use most of the screen on tablets and smaller devices).

This seems like it should be really easy to accomplish actually. This would just require a new container class and two complete grid definitions. Here's a rough idea:
.container-mobile-fluid {
  width: 100%;

  .col {
    width: 10%;
  }
}

@media (min-width: 992px) {
  .container-mobile-fluid {
    width: 960px;

    .col {
      width: 96px;
    }
  }
}

This is highly simplified, but the default grid is fluid and then the non-mobile grid is fixed. You basically copy and paste the grid for .container-fluid for the mobile pieces and the .container for the desktop pieces.

this will be coming in 4.2 with my responsive containers PR.
https://github.com/twbs/bootstrap/pull/25631

Noice!

hi

apparently not in 4.2 or 4.3.
If you're still looking for this functionality, go show so love over on the PR so we can finally get this thing merged.

Available in 4.4.0!

How can I use this in 4.4.1? @mrlife


Strongback command on Windows fails

The strongback.bat file in version 1.0.1 has incorrect line endings, making it impossible to use the command on Windows.

Fixed in 1.0.2.


Superset is unavailable

The OS-Climate SuperSet instance seems to have failed completely.  When I try to reauthorize via github I get to: http://dex-dex.apps.odh-cl1.apps.os-climate.org/callback?code=sha256~vglHnV1xQhbIyOKjiAh16FLPAEMXD8fBg7ImhPpzims&state=huqhdenckvzi52infk6j3i4zh
Which gives me:
Bad Request
Requested resource does not exist.

When I try to access the more canonical URL at https://dex-dex.apps.odh-cl1.apps.os-climate.org/
I get this message:
Application is not available
The application is currently not serving requests at this endpoint. It may not have been started or is still starting.

Possible reasons you are seeing this page:

The host doesn't exist. Make sure the hostname was typed correctly and that a route matching this hostname exists.
The host exists, but doesn't have a matching path. Check if the URL path was typed correctly and that the route was created using the desired path.
Route and path matches, but all pods are down. Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.

No longer a problem.


Skill Calculator: "Ensouled hellhound head" missing

Type
Other
Operating System
Windows
OS Version
Win 10 Home x64-bit
Bug description
"Ensouled hellhound head" is missing from the Prayer actions in the Skill Calculator.
Screenshots or videos

RuneLite version
No response
Logs
No response

Added in #15064


Year created and source entries

I added the 'year_created' and the 'year_created_source' url for some of the technologies.

Thank you. Merged!


Package doesn't work

Installing the package with pip and run one of the examples in tutorial.ipnyb I have the problem " No module named 'MGFEA' ".
I tried every installation method, even manually installation of .tar.gz but it doesn't work anymore.

I had the same problem and never solved it！
`import scanpy as sc
from MGFEA.multiGraphFEA import GraphFEA, SpatialGraphFEA
from MGFEA import preprocess
import magic
import scipy as sp
from sklearn.metrics import mean_squared_error
import pandas as pd
{
"name": "ModuleNotFoundError",
"message": "No module named 'MGFEA'",
"stack": "---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/tmp/ipykernel_3168313/3615371101.py in
1 import scanpy as sc
----> 2 from MGFEA.multiGraphFEA import GraphFEA, SpatialGraphFEA
3 from MGFEA import preprocess
4 import magic
5 import scipy as sp
ModuleNotFoundError: No module named 'MGFEA'"
}`


Duplication when typing Chinese Punctuation

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.70.0
OS: Win 11

Steps to Reproduce:
I dont know whether it is a bug but cant figure it out. When typing Chinese punctuation like commas or periods, it will replace the present character and show twice, e.g. if typing a Chinese period after "...end", it will show “...en。。”. Thanks for any help in advance.
Screenshots (type a Chinese period):

@begforname What OS are you using? Can you please also capture a screen recording?

@begforname What OS are you using? Can you please also capture a screen recording?

Win 11. Screenshots uploaded. And I have tried to disable my extensions one by one but no difference.

Verified that this does not happen with the setting editor.experimentalEditContextEnabled on Windows. This issue will be closed.

I turned on editor.experimentalEditContextEnabled.
The “replace the present character” is fixed but “show twice” is still a bug.
E.g., typing a 。 after ...end, now becomes ...end。。.

VS Code Version: Version: 1.94.0 (d78a74bcdf)
OS: Win 11 (Windows_NT x64 10.0.22635)

Update: it now swallows the character to the right.
E.g., typing a “ before begin... now becomes ““egin...

Hi I am testing on Windows and am not able to reproduce the problem. I am using Microsoft Chinese Pinyin to do this. Can I ask you where you are testing? On a browser or on desktop? Could I ask you to include a screen recording of this issue?
https://github.com/user-attachments/assets/e508a713-0bba-451e-b4b3-87c78ebb15af

Hey @aiday-mar,
I tested again by disabling extensions and found that it seems to be caused by Overtype (#1012) or its presence.
Sorry about the confusion and thank you for your investigation.
(I’m on desktop too, for the matter)

Hi thanks for letting me know. I will close this issue then.

DrMerfy/vscode-overtype#19


X-Ray Errors

I'm going to create an AWS Support case too but just sharing with the agent team as there might be something here 🤷
I'm betting this is something with the underlying X-Ray SDK/Service but calling it out in hopes that somebody can point me in a direction as to how to resolve the issue. We added the X-Ray Java Agent a few weeks ago and it's been running great. But the last 2 days we've seen the following error 11 times in our production account:
com.amazonaws.xray.internal.XrayClientException: Could not read response code.
	at com.amazonaws.xray.internal.UnsignedXrayClient.sendRequest(UnsignedXrayClient.java:149)
	at com.amazonaws.xray.internal.UnsignedXrayClient.getSamplingTargets(UnsignedXrayClient.java:116)
	at com.amazonaws.xray.strategy.sampling.pollers.TargetPoller.pollManifest(TargetPoller.java:101)
	at com.amazonaws.xray.strategy.sampling.pollers.TargetPoller.lambda$start$0(TargetPoller.java:67)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at software.amazon.disco.agent.concurrent.decorate.DecoratedRunnableScheduledFuture.run(DecoratedRunnableScheduledFuture.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at software.amazon.disco.agent.concurrent.decorate.DecoratedRunnable.run(DecoratedRunnable.java:60)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.base/java.net.SocketInputStream.socketRead0(Native Method)
	at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
	at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
	at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:292)
	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:351)
	at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:754)
	at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
	at com.amazonaws.xray.internal.UnsignedXrayClient.sendRequest(UnsignedXrayClient.java:147)
	... 11 common frames omitted

Hi,
XRay SDK periodically sends http requests to Xray for refreshing sampling rules and updating sampling related statistic, now the timeout out setting is 2 sec. So, when you got this exception it is not related to xray java agent but like a network problem.
Usually if just randomly getting this exception it is fine because the request will be retried in next 10 seconds, will finally refresh sampling config. This exception does not block the xray sdk functionality.


Improve JRuby startup time with --dev flag

Fixes #763

Nice. 4 min 13 sec versus 2 min 47 sec with the patch.
Thanks again @srawlins!

Thanks @sds!
I'm not 100% sure that the .travis.yml changes worked. I'll watch a few builds for a few days, and comment on what the build times look like. The build times are frequently all over the map.
I also just found that JRUBY_OPTS has default values: Environment Variables: JRUBY_OPTS="--server -Dcext.enabled=false -Xcompile.invokedynamic=false".


Add username to context

Adding the username performing a given operation to the context object would help for debugging / auditing purpose.

https://github.com/docker/distribution/pull/362


Theme update broke Webmin

I have a problem, to update the Webmin to its latest version, I broke my dashboard, I searched for information on how to perform the re-installation manually from the command line, to see if something went wrong in the upgrade, and can be corrected, but unfortunately, I have not been able to locate the commands.
Run the update-from-repo.sh shells and mark the following lines
> Would you like to update Webmin from https://github.com/webmin/webmin [y / N] and
Pulling in latest changes for Webmin (https://github.com/webmin/webmin) ...
Start update for Webmin 1.89410101413

> Insert perl path / usr / bin / perl ...
********************************************** *********************
* Welcome to the Webmin setup script, version 1.89410101413 *
********************************************** *********************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be administered.
Installing Webmin from /usr/libexec/webmin/.~files/webadmin/tarballs/webmin-1.89410101413 to
bexec / webmin ...
********************************************** *********************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/ etc / webmin]: Found existing Webmin configuration in / etc / webmin
Copying files to / usr / libexec / webmin ..
Creating start and stop scripts ..
Updating config files ..
Changing ownership and permissions ..
Running postinstall scripts ..
Subroutine can_edit_domain redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-git-li
e 13.
Subroutine list_reps redefined at /usr/libexec/webmin/virtualmin-git/virtualmin-git-lib.pl l
Subroutine git_check redefined at /usr/libexec/webmin/virtualmin-git/virtualmin-git-lib.pl l
Subroutine passwd_file redefined at /usr/libexec/webmin/virtualmin-git/virtualmin-git-lib.pl
.
Subroutine create_rep redefined at /usr/libexec/webmin/virtualmin-git/virtualmin-git-lib.pl
Subroutine get_git_version redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-git-li
e 114.
Subroutine find_gitweb redefined at /usr/libexec/webmin/virtualmin-git/virtualmin-git-lib.pl
5.
Subroutine find_gitweb_data redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-git-l
ne 155.
Subroutine set_rep_permissions redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-gi
 line 171.
Subroutine delete_rep redefined at /usr/libexec/webmin/virtualmin-git/virtualmin-git-lib.pl
.
Subroutine list_users redefined at /usr/libexec/webmin/virtualmin-git/virtualmin-git-lib.pl
.
Subroutine list_rep_users redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-git-lib
 205
Subroutine save_rep_users redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-git-lib
 227
Subroutine restart_apache_null redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-gi
 line 251
Subroutine add_git_repo_directives redefined at / usr / libexec / webmin / virtualmin-git / virtualmi
b.pl line 259
Subroutine remove_git_repo_directives redefined at / usr / libexec / webmin / virtualmin-git / virtua
-lib.pl line 292.
Subroutine find_git_repo_lines redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-gi
 line 314.
Subroutine set_user_password redefined at / usr / libexec / webmin / virtualmin-git / virtualmin-git-
ine 333.
Attempting to start Webmin mini web server ..
Starting Webmin server in / usr / libexec / webmin
********************************************** *********************
Webmin has been installed and started successfully. Use your web
browser to go to
  https://myserver.local:10000/
and login with the name and password you entered previously.
Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.

Compile UTF-8 lang files .............................
Would you like to update Authentic Theme for Webmin? [y / N] y
Pulling in latest changes for Authentic Theme (https://github.com/authentic-theme/authentic-theme) ...
Updating to Authentic Theme 19.20-beta5, done.
Restarting Webmin ..

Clean up temporary files ...
Make scripts executable ...

Updating Webmin to Version 1.89410101413, done
[root @ webmin] # service webmin restart
Stopping Webmin server in / usr / libexec / webmin
Starting Webmin server in / usr / libexec / webmin
[root @ webmin] #

I do not see execution errors, I just see that it's the beta version, I do not know how to update to the stable version all, to see if it works again my dashboard
My desk looks like this

I know that maybe it's a newbie question, I'll be very grateful for the help

I am happy and happy because I managed to solve my problem in a fairly easy way, I just went back to restore the stable version of my theme and with that my team was again running satisfactorily. The command that is executed is the following:
./update-from-repo.sh -force -released


How to upload dsym files to Dynatrace

Question Checklist
Yes- [ ] Updated fastlane to the latest version
Yes- [ ] I read the Contribution Guidelines
Yes- [ ] I read docs.fastlane.tools
Yes- [ ] I searched for existing GitHub issues
Question Subject

I want to upload dsym files to Dynatrace

No

Yes. I dont see any third party plugin which helps to dsym files to the appmon server using Fastlane or Jenkins
Question Description
<!--
>

Please include expected behavior and any relevant code samples with your question if possible --
I want to upload the dsym files to appmon server for dynatrace. This will help me to see the crash reports. Is there a way I can use fastlane to do this. I see fastlane suports craslytics but does it support Dynatrace?

Could you please provide some context on what Dynatrace exactly is and in what context it allows uploading dsym files?
There don't seem to be any actions that integrate with Dynatrace yet, correct?

Dynatrace is a monitoring tool which helps in live monitoring, crash
reports and performance management of live apps(mobile and web). Currently
we are using to analye our crash reports but it looks like we need to
upload the dsym file(ios) and mapping file(android). Just saw that the same
can be achieved for crashlytics using fastlane but yeah didnt find any
action to integrate with Dynatrace.
Thanks
Sandip
973.580.8676
On Wed, Aug 29, 2018 at 8:28 AM Jan Piotrowski<EMAIL_ADDRESS>wrote:

Could you please provide some context on what Dynatrace exactly is and in
what context it allows uploading dsym files?
There don't seem to be any actions that integrate with Dynatrace yet,
correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/issues/13236#issuecomment-416934389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aoy7gm1pANhAYWUkCDKmJaoWK8M2Z8Hvks5uVoj3gaJpZM4WP2fC
.

Does Dynatrace have an API to upload those files?
This is the source code of the crashltics actions, which uses a locally installed tool to upload:
https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb

Thanks Jan. I am following up with Dynatrace to see if they have an API
which we can use to upload. Will get back to you as soon as I find it.
Thanks
Sandip
973.580.8676
On Wed, Aug 29, 2018 at 10:41 AM Jan Piotrowski<EMAIL_ADDRESS>wrote:

Does Dynatrace have an API to upload those files?
This is the source code of the crashltics actions, which uses a locally
installed tool to upload:
https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/issues/13236#issuecomment-416978477,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aoy7gscuiZIReEvNwjXNaghIu6RrDdvOks5uVqglgaJpZM4WP2fC
.


Need better errors when high-level serialization fails

Currently, the errors are extremely opaque.

A trace of some sort would be nice


Fix the ufs-weather-model package at spack

Fix the ufs-weather-model package at spack

#374  is related to this issue.
Basically, we need outside users to be able to build this as well as users with spack-stack installed.
This will mean adding this yaml file to the main spack repo, if it's not already there.

I'm not sure I understand the role of the yaml file there-- Theoretically this should be taken care of by getting the dependencies right for the ufs-weather-model package, no?

@edwardhartnett #374 is meant for the ufs short-range weather application, not for the general ufs weather model. i did raise an issue (#361) for getting the ufs weather model template updated to match develop, but i am not sure if this is desired.
if you meant to get the yaml file from the ufs-srw-dev template into the main spack repo (as is done with the ufs-weather-model-env here https://github.com/NOAA-EMC/spack-stack/blob/develop/configs/templates/ufs-weather-model/spack.yaml), then that would be useful. however, having a fixed environment in the main spack repo for either of these develop versions (ufs-srw-dev or ufs-wm-dev) seems like it could be hard to keep up to date? or at least harder than having templates in the emc spack-stack repo that are regularly updated with the latest spec versions from the related ufs app develop branches.

@climbfuji I'm working on an update for the ufs-weather-model package in main spack which will allow users to install UFS WM based on the develop branch. The only packages not currently in main spack that will be needed are mapl, yafyaml, and gftl-shared. Would you consider those ready for prime time? If so, I can include them in my upcoming PR for main spack once I work through one or two residual issues with the UFS build. For that PR I'm not planning to worry about including static libs; that can always happen later.

@climbfuji I'm working on an update for the ufs-weather-model package in main spack which will allow users to install UFS WM based on the develop branch. The only packages not currently in main spack that will be needed are mapl, yafyaml, and gftl-shared. Would you consider those ready for prime time? If so, I can include them in my upcoming PR for main spack once I work through one or two residual issues with the UFS build. For that PR I'm not planning to worry about including static libs; that can always happen later.

Please check with @mathomp4 on those three packages. Matt has a draft PR that he's been working on for a while on the various geos dependencies, best to coordinate when it is a good time to move the packages from the jcsda-emc "repo" (i.e. directory in our spack fork) to the "builtin" repo and then push them upstream.

@climbfuji I'm working on an update for the ufs-weather-model package in main spack which will allow users to install UFS WM based on the develop branch. The only packages not currently in main spack that will be needed are mapl, yafyaml, and gftl-shared. Would you consider those ready for prime time? If so, I can include them in my upcoming PR for main spack once I work through one or two residual issues with the UFS build. For that PR I'm not planning to worry about including static libs; that can always happen later.

Please check with @mathomp4 on those three packages. Matt has a draft PR that he's been working on for a while on the various geos dependencies, best to coordinate when it is a good time to move the packages from the jcsda-emc "repo" (i.e. directory in our spack fork) to the "builtin" repo and then push them upstream.

Yes, I have a draft PR here:
https://github.com/NOAA-EMC/spack/pull/174
and to be "safe" I put all the packages I was working on in the jcsda-emc repo. But, there is no reason I couldn't move them to builtin.
But I might need @climbfuji to help me here. I just tried moving them and:
$ spack spec -IL<EMAIL_ADDRESS>==> Error: Package 'gftl' not found.
You may need to run 'spack clean -m'.

I have run spack clean -m and even spack clean -a and spack still is not happy I've moved some things around. @climbfuji do you know if there is any way to have spack be happy when I move things between repos?

Have you rerun the concretization step? Not sure if that makes any difference. I can try to test your code changes if you get stuck.

On Nov 30, 2022, at 6:54 AM, Matthew Thompson @.***> wrote:
@climbfuji https://github.com/climbfuji I'm working on an update for the ufs-weather-model package in main spack which will allow users to install UFS WM based on the develop branch. The only packages not currently in main spack that will be needed are mapl, yafyaml, and gftl-shared. Would you consider those ready for prime time? If so, I can include them in my upcoming PR for main spack once I work through one or two residual issues with the UFS build. For that PR I'm not planning to worry about including static libs; that can always happen later.
Please check with @mathomp4 https://github.com/mathomp4 on those three packages. Matt has a draft PR that he's been working on for a while on the various geos dependencies, best to coordinate when it is a good time to move the packages from the jcsda-emc "repo" (i.e. directory in our spack fork) to the "builtin" repo and then push them upstream.
Yes, I have a draft PR here:
NOAA-EMC/spack#174 https://github.com/NOAA-EMC/spack/pull/174
and to be "safe" I put all the packages I was working on in the jcsda-emc repo. But, there is no reason I couldn't move them to builtin.
But I might need @climbfuji https://github.com/climbfuji to help me here. I just tried moving them and:
$ spack spec -IL @.***+extdata2g+flap+pflogger+pfunit+fargparse
==> Error: Package 'gftl' not found.
You may need to run 'spack clean -m'.
I have run spack clean -m and even spack clean -a and spack still is not happy I've moved some things around. @climbfuji https://github.com/climbfuji do you know if there is any way to have spack be happy when I move things between repos?
—
Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/spack-stack/issues/377#issuecomment-1332186114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5C2RPZDSSG4GCV4JBC5WDWK5MCXANCNFSM6AAAAAAQ7ZYJO4.
You are receiving this because you were mentioned.

@climbfuji I just tried:
spack concretize -Uf

and still the same error.
I'm guessing there is some "memory" somewhere? I also just tried spack install gftl and it installed again (even though I'd already done it), and it still won't see it.
I'm going to nuke my env and start from scratch. Back in...a couple hours!

Also, fair warning to @climbfuji I'm not exactly pure in my testing because I'm not as good as you at all this.
For example, since I'm not too smart at spack-stack yet, I did:
spack stack create env --site discover --template empty --name geosgcm.discover

and then in my envs/geosgcm.discover/common/packages.yaml I made some hacks to support the versions I wanted (removed yaFyaml, moved ESMF to 8.4.0, etc.). spack kept wanting to use older versions for things and this was the only way I knew how to fix it. I'm sure you can help me do things The Right Way™ in the future. 😄

@AlexanderRichert-NOAA Sounds like you'd like MAPL in mainline spack sooner rather than later? Okay. I can work on that. I'll try and get a "good" package soon that you can test.

@mathomp4 Awesome thank you!

@AlexanderRichert-NOAA Where are we with this issue, have you updated/fixed the ufs-weather-model package in the authoritative repository?

Just waiting on MAPL to be in main repo, then I'll put in the PR.

@AlexanderRichert-NOAA What are we going to with this issue?

It's almost in main spack (https://github.com/spack/spack/pull/39265), just waiting on final review.

https://github.com/spack/spack/pull/39265 merged


FastAPI shows shutting down while inferencing using pytorch models

I tried to load and inference from a pytorch model using fastAPI(with uvicorn).
But while predicting time it shows like this
INFO: Shutting down
INFO: Waiting for connections to close. (CTRL+C to force quit)
I tried the same method using flask and worked fine within milliseconds.
Here is the code for pretrained model prediction using fastapi

But While predicting with fastAPI it shows like this

(Since it is a pytorch RoBERTA based huge pretrained model, the model size is around 600MB)

I can't see what is the issue in here?

@ycd During the inference time it shows like this
INFO: Shutting down
INFO: Waiting for connections to close. (CTRL+C to force quit)                                                                                so model prediction not happening in fastAPI(same method working fine with flask)

FastAPI has no idea about the running process and how you are running it, checkout your ASGI server.

@ycd  okay. So could you tell me how can I check the ASGI?

HI @pradeepdev-1995 , I've managed to replicate the issue that you are facing, it looks like the Uvicorn gets Signal#15, which makes it close the server.
Try this  ClassificationModel('roberta','outputs', num_labels = total_classes,use_cuda=False, args = {"use_multiprocessing":False}), it is good if it works, else it looks like it has no immediate fix as of now, you can have a look at an interesting discussion here:

https://github.com/cortexlabs/cortex/issues/1346
https://github.com/ThilinaRajapakse/simpletransformers/issues/705

@santosh-gokul  Thanks a lot. The solution worked for me.


arguments not working

I tried docopt.c for the first time today.
Running the example doesn't work, for example, see the following output:
$ ./example ship test move 4 5 --speed=20
Commands
    mine == false
    move == true
    create == false
    remove == false
    set == false
    ship == true
    shoot == false
Arguments
    x == (null)
    y == (null)
Flags
    --drifting == false
    --help == false
    --moored == false
    --version == false
Options
    --speed == 20

As you can see, the move command and the --speed option were read correctly, but the <x> and <y> arguments were NOT populated.

I noticed that same problem.

As stated in README.md, only options are supported at the moment.
<x> and <y> are positional arguments.
README.md:

Note, at this point the code generator handles only options (positional arguments, commands and pattern matching will follow).

Example of program execution in my fork.  Of course, my python experience is lacking so it's probably not the cleanest solution.  My fork also support options before or after positional arguments.
$ ./example -h
Naval Fate.


Feature/remove entry italy

@astagi, a recent commit of the decoder repository (this one to be precise) caused the App + SDK projects to break up, so I had to make these edits. Neither the app nor the SDK can build without the modifications involved in these PRs.

Thanks for the explanation @nicola-95


Keep local logs in their default places when using module without parameters

Just set log_local to true if you want local logging.


Trouble configuring webpack to add flexbox

I'm having a hard time adding a new css loader to support flexbox. Here's what I have in my base webpack configuration file:
{
test: /.css$/,
loader: 'style!css?modules',
include: /flexboxgrid/,
}, {
// Transform our own .css files with PostCSS and CSS-modules
test: /.css$/,
exclude: [/node_modules/,/flexboxgrid/],
loader: ''style-loader!css-loader?localIdentName=[local][path][name][hash:base64:5]&modules&importLoaders=1&sourceMap!postcss-loader',
}, {
// Do not transform vendor's CSS with CSS-modules
// The point is that they remain in global scope.
// Since we require these CSS files in our JS or CSS files,
// they will be a part of our compilation either way.
// So, no need for ExtractTextPlugin here.
test: /.css$/,
include: /node_modules/,
exclude: /flexboxgrid/,
loaders: ['style-loader', 'css-loader'],
},
And here's the error I get in the console:
"Dynamic page loading failed Error: Module build failed: Unknown word (5:1)"

Any ideas?

@meilers Do you have a repository you could share demonstrating the problem? This would be rather difficult to debug without seeing the code!

@samit4me Never mind. I followed the instructions on their page and it turns out I didn't need to exclude flexbox from my css loaders after all. Now everything works :) Thanks!


90 - dev-deps - Downgraded typescript version down to '3.5.3'.

Test PR (do not merge)..

Removed unrequired (unused) dev-dependencies.
Downgraded '@types/resolve' minimum version (to match 'resolve' dep. min. version).

Test performed:
Github actions seems to have issues when re-running the same gh action from the same pull request gh actions trigger - Ensuring the action doesn't run more than once per node version instance resolves the issue (performing update in  PR #91 ).


Fixed MD4 issue

On an engagement, I was getting an issue with MD4 hashes when running pre2k. The error was:
╭────────────────────────── Traceback (most recent call last) ───────────────────────────╮
│ /root/.cache/pypoetry/virtualenvs/pre2k-9e8O7A7j-py3.10/lib/python3.10/site-packages/l │
│ dap3/utils/ntlm.py:509 in ntowf_v2                                                     │
│                                                                                │
│   506 │   │   │   │   password_digest = hashlib.new('MD4', self._password.encode('utf- │
│   507 │   │   │   except ValueError as e:                                              │
│   508 │   │   │   │   try:                                                             │
│ ❱ 509 │   │   │   │   │   from Crypto.Hash import MD4  # try with the Crypto library i │
│   510 │   │   │   │   │   password_digest = MD4.new(self._password.encode('utf-16-le') │
│   511 │   │   │   │   except ImportError:                                              │
│   512 │   │   │   │   │   raise e  # raise original exception                          │
╰────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'Crypto'

I tracked it down and found that the Crypto library uses an underlying OpenSSL for its hashing, and OpenSSL may have removed MD4 support in my build. In other projects, such as https://github.com/cannatag/ldap3/issues/1038 it was recommended to install pycryptodome which can handle the MD4 itself.
After adding it to the poetry dependency list and reinstalling, the application ran as expected.

Dope, thanks!


feat(lesson): Add execute python code lessons

@lwasser @sneakers-the-rat these reviews are great!! I don't think I managed to get to all your points, but the lesson is looking better already!

Agreed @lwasser, I was planning to merge today even with some outstanding feedback. I think the lessons are in at least a complete state. As always, nothing is ever totally finished, and I would be happy to look at further suggestions in new PRs, even if they came tomorrow.
Thanks @sneakers-the-rat @lwasser @willingc for the thoughtful feedback! 💜

Thank you so much for all of the work that you did on this @ucodery
My plan for 2025 is to promote more of this lesson content on our socials!! And we can then incorporate it into future workshops!! 🚀
i'm glad this is now merged!!


System-tests: brokerred address space transaction on queue

https://github.com/EnMasseProject/enmasse/commit/5443d664e0830ecee73c05cb4009a6ed554ce578


Modified no.of arguments for getForceSyncCheck,setForceSyncCheck,getS…

…yncCheckOK API

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.skolip200 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


add a link URL in the image

add-Media
Image-based media
Will neSpecc be able to add a link URL in the image?
This is helpful.
thank you.

Maybe it's more direct to use this image tool with custom URL handling?


Improve the console

Make the following changes to the console window:
(1) Use fixed-width font
(2) The default console window size should be able to show 80x25 characters.
(3) [BUG] The messages are shown on the same line - not CR & LF-ed to new line for each message.
(4) [OPTIONAL] Support setting "Console Verbosity Level" in the tray menu.
Possible levels:

Minimal - Only Show Warnings/Errors
Normal - Show Normal Messages (DEFAULT)
Debug - Maximum Verbosity

The "Normal" level (or whatever it is called) should include "Found 3 printers" and similar messages. The idea is that, by default, we can see the detected/configured printers in the default console.
NOTE: Changing the verbosity level should be saved to the config and applied to the running instance immediately.

80 x 25 is too small, we will use 120 x 30, like cmd.exe windows default.
Normal default mode will be used, when user wants less or more info, can alter appsettings.json Logging Level.

(3) CR & LF is not well implemented. If I resize the console, the text inside it still wraps on the first line.
New sub-task:
(5) The console window should have vertical scroll bar.


fix: Set price and Set size are made as links instead of buttons

…ore' and 'Set price'
https://artsyproduct.atlassian.net/browse/FX-2846
Before

After

As discussed in Jira, we're going to keep the existing design of the buttons for now instead of swapping for links.
Sorry for the change of direction @anastasiapyzhik!


Add quote to inspire.json file

Create a new PR @dipankarmaharana

@PrafulAnand the labeler didn't work here?

when was this PR opened ?

main branch and not v1.1.0

Yeah observed it!


Sake - When which command is required, php related message is thrown.

Affected Version
All versions.
Description
If have php-cli installed and don't have the which command you cannot run any sake commands and it complains about the php not the which command.
Steps to Reproduce
Using docker -> centos:7 (it doesn't have the which command installed)
Installing php7.2-cli run ./vendor/bin/sake will throw "Can't find any php library"
https://github.com/silverstripe/silverstripe-framework/blob/909723f8e709a5d1720d84739a80e6a9cfa14b17/sake#L40 is using which in order to find the binary.
Proposal
Show that which command was not found and it should be installed on the server. Discussion on slack channel https://silverstripe-users.slack.com/archives/C36U3BDHN/p1574765686497600
PR:
#9339

I've merged the associated PR for this issue.  I'll close this one now.


SummaryConstraints: Distributional Measures Constraints

Description
Implemented  parametrizedKSTestPValueGreaterThanConstraint
Implemented columnKLDivergenceLessThanConstraint
KllFloatsSketchMessage in messages.proto
ReferenceDistributionContinuousMessage and ReferenceDistributionDiscreteMessage in constraints.proto
Summary converters for KS test and KL Divergence calculation
General Checklist

[ ] Tests added for this feature/bug
if it was a bug, test must cover it.
[ ] Conform by the style guides, by using formatter
[ ] Documentation updated
[ ] (optional) Please add a label to your PR

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

224 of 241 (92.95%)  changed or added relevant lines in 3 files are covered.
31 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.5%) to 81.882%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/whylogs/core/statistics/constraints.py
150
158
94.94%

src/whylogs/core/summaryconverters.py
66
75
88.0%

Files with Coverage Reduction
New Missed Lines
%

src/whylogs/proto/messages_pb2.py
10
56.98%

src/whylogs/proto/constraints_pb2.py
21
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
4312

Relevant Lines:
5137

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

224 of 241 (92.95%)  changed or added relevant lines in 3 files are covered.
31 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.5%) to 81.882%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/whylogs/core/statistics/constraints.py
150
158
94.94%

src/whylogs/core/summaryconverters.py
66
75
88.0%

Files with Coverage Reduction
New Missed Lines
%

src/whylogs/proto/messages_pb2.py
10
56.98%

src/whylogs/proto/constraints_pb2.py
21
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
4312

Relevant Lines:
5137

💛  - Coveralls


Add method to copy current user's tags to taggable object

method can be used on places  where when ems or any object
is created by tag-restricted user - bug was about that
that such newly created object was hidden for current user

so this fix will copy tags from current user's current group
to ems or any passed object.

When we have more then one tags from same category assigned to
group then it will copy only first.(Object can have only one tag from
one category)
scenario from UI PR:
Before/After
User's group have 3 tags:

Before

After

@miq-bot assign @gtanzillo
@miq-bot add_label bug

@Ladas it is after_create any concerns during creating object in refresh?  (Which user is current in refresh ? )

@lpichler Is there a BZ associated with this?

@gtanzillo https://bugzilla.redhat.com/show_bug.cgi?id=1552681

PM don't think that this is a bug, closing.


[mbed] ERROR: Unable to write build ignore file

hi,guys, when I compile the example project "image_recognition_experimental", a mbed error occurs.
salt@ubuntu:/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed$ sudo mbed compile -m auto -t GCC_ARM --profile release
[sudo] password for salt:
[mbed] Working path "/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed" (program)
[mbed] Detected "DISCO_F746NG" connected to "/media/salt/DIS_F746NG" and using com port "/dev/ttyACM0"
[mbed] ERROR: Unable to write build ignore file in "/usr/local/project/tensorflow/BUILD/.mbedignore"
---
But the "BUILD" is not a folder, and does have write permission, just as follows,

root@ubuntu:/usr/local/project/tensorflow# ll
total 580
drwxr-xr-x  8 root root   4096 Nov 30 17:08 ./
drwxr-xr-x  3 root root   4096 Nov 30 17:02 ../
-rw-r--r--  1 root root   2219 Nov 30 17:02 ACKNOWLEDGMENTS
-rw-r--r--  1 root root   1174 Nov 30 17:02 arm_compiler.BUILD
-rw-r--r--  1 root root    349 Nov 30 17:02 AUTHORS
-rw-r--r--  1 root root  32964 Nov 30 17:02 .bazelrc
-rw-r--r--  1 root root      6 Nov 30 17:02 .bazelversion
-rw-rw-rw-  1 root root    122 Nov 30 17:02 BUILD
-rw-r--r--  1 root root   5360 Nov 30 17:02 CODE_OF_CONDUCT.md
-rw-r--r--  1 root root    573 Nov 30 17:02 CODEOWNERS
-rwxr-xr-x  1 root root    285 Nov 30 17:02 configure*
-rw-r--r--  1 root root    782 Nov 30 17:02 configure.cmd
-rw-r--r--  1 root root  53321 Nov 30 17:02 configure.py
-rw-r--r--  1 root root   9906 Nov 30 17:02 CONTRIBUTING.md
drwxrwxrwx  8 root root   4096 Nov 30 17:08 .git/
drwxr-xr-x  4 root root   4096 Nov 30 17:02 .github/
-rw-r--r--  1 root root    896 Nov 30 17:02 .gitignore
-rw-r--r--  1 root root    606 Nov 30 17:02 ISSUES.md
-rw-r--r--  1 root root   2232 Nov 30 17:02 ISSUE_TEMPLATE.md
-rw-r--r--  1 root root  11419 Nov 30 17:02 LICENSE
-rw-r--r--  1 root root      7 Nov 30 17:10 .mbed
drwxr-xr-x 19 root root   4096 Nov 30 17:07 mbed-os/
-rw-r--r--  1 root root     77 Nov 30 17:07 mbed-os.lib
-rw-r--r--  1 root root   1339 Nov 30 17:08 mbed_settings.py
-rw-r--r--  1 root root    328 Nov 30 17:02 models.BUILD
-rw-r--r--  1 root root     34 Nov 30 17:02 .pylintrc
-rw-r--r--  1 root root  21169 Nov 30 17:02 README.md
-rw-r--r--  1 root root 319193 Nov 30 17:02 RELEASE.md
-rw-r--r--  1 root root  13158 Nov 30 17:02 SECURITY.md
drwxr-xr-x 16 root root   4096 Nov 30 17:02 tensorflow/
drwxr-xr-x 46 root root   4096 Nov 30 17:02 third_party/
drwxr-xr-x  2 root root   4096 Nov 30 17:02 tools/
-rw-r--r--  1 root root   4246 Nov 30 17:02 WORKSPACE
root@ubuntu:/usr/local/project/tensorflow# cd BUILD
bash: cd: BUILD: Not a directory

The content of BUILD is

exports_files(
    [
        "LICENSE",
        "ACKNOWLEDGEMENTS",
        "configure",
        "configure.py",
    ],
)

So I really don't know why this error occurs, and how to solve it. I hope someone of you have a good idea about this,
Thanks a lot!

Did you install the prerequisites as mentioned in the tutorial?

hi ymodak,
Thank you very much for your answering,
I installed just as that, I can show you what I have installed.
salt@ubuntu:/usr$ python --version
Python 2.7.17 (Python 3.8.0) I tryed both;
salt@ubuntu:/usr/local3$ pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
salt@ubuntu:/usr/local$ mbed-cli --version
1.10.5
mbed-os  and tensorflow  are same root addr.
salt@ubuntu:/usr/local/project/tensorflow$ ls
ACKNOWLEDGMENTS     CODEOWNERS       ISSUE_TEMPLATE.md   pycache   tools
arm_compiler.BUILD  configure        LICENSE            README.md    WORKSPACE
AUTHORS             configure.cmd    mbed-os RELEASE.md
BUILD               configure.py     mbed-os.lib        SECURITY.md CONTRIBUTING.md  mbed_settings.py   tensorflow
CODE_OF_CONDUCT.md  ISSUES.md        models.BUILD       third_party
salt@ubuntu:/usr/local$ ls
bin  games    icetea_lib  lib  project  share
etc  gcc-arm-none-eabi-9-2020-q2-update  include     man  sbin     src
salt@ubuntu:/usr/local/project/tensorflow$ mbed config --list
[mbed] Global config:
GCC_ARM_PATH=/usr/local/gcc-arm-none-eabi-9-2020-q2-update/bin
[mbed] Local config (/usr/local/project/tensorflow):
No local configuration is set
Building and Compiling
salt@ubuntu:/usr/local/project/tensorflow$ sudo make -f tensorflow/lite/micro/tools/make/Makefile TAGS=disco_f746ng generate_image_recognition_mbed_project
tensorflow/lite/micro/tools/make/downloads/flatbuffers already exists, skipping the download.
tensorflow/lite/micro/tools/make/Makefile:476: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
tensorflow/lite/micro/tools/make/Makefile:476: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
salt@ubuntu:/usr/local/project/tensorflow$ cd tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed/
salt@ubuntu:/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed$  mbed config root .
[mbed] WARNING: Unable to write config file /usr/local/project/tensorflow/.mbed
salt@ubuntu:/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed$ sudo  mbed config root .
[mbed] . now set as default root in program "tensorflow"
salt@ubuntu:/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed$ sudo mbed deploy
[mbed] Working path "/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed" (program)
[mbed] Updating library "" to rev #4e0d07d50fdf
[mbed] Updating library "BSP_DISCO_F746NG" to rev #df2ea349c37a
[mbed] Updating library "mbed-os" to rev #4e0d07d50fdf
[mbed] Updating library "LCD_DISCO_F746NG" to rev #d44525b1de98 (tag: tip)
salt@ubuntu:/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed$ sudo mbed compile -m auto -t GCC_ARM --profile release
[mbed] Working path "/usr/local/project/tensorflow/tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/image_recognition/mbed" (program)
[mbed] Detected "DISCO_F746NG" connected to "/media/salt/DIS_F746NG" and using com port "/dev/ttyACM0"
[mbed] ERROR: Unable to write build ignore file in "/usr/local/project/tensorflow/BUILD/.mbedignore"

Can you try and compile with DISCO_F746NG flag?
mbed compile -m DISCO_F746NG -t GCC_ARM --profile release

ometimes git does not exclude files/folders added .gitignore especially if you had commited them before. Here is how to fix it. I am ignoring node_modules from Angular project as an example
Update .gitignore with the folder/file name you want to ignore. You can use anyone of the formats mentioned below (prefer format1)
Format1
node_modules/
node/
Format2
/frontend/node_modules/
/frontend/node/
Commit all the changes to git. Exclude the folder/files you don't want commit, in my case node_modules
Execute the following command to clear the cache
git rm -r --cached .
Execute git status command and it should output node_modules and sub directories marked for deletion
Now execute
git add .
git commit -m "fixed untracked files"


Web chat unresponsive; API fine, other channels fine

Rasa version: 1.3.2
Rasa X version: 0.21.0
Operating system: OSX. Tested in Chrome, Safari, and Firefox; same result.
Issue: "Talk to your bot" doesn't respond to anything; not even "Restart". Just a pulsing ellipsis appears. ("Interactive Learning" works just fine, but it uses different API calls). The API seems to be returning a result, but that result doesn't render to webchat. See short screencast to see the problem in action: https://www.dropbox.com/s/6ofz8gyn558gurk/screen recording 2019-09-17 at 4.34.54 pm.mov?dl=0
Error: There are no errors in the Chrome developers' console.
Content of configuration file (config.yml) (if relevant):
pipeline: supervised_embeddings
language: en
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy

Content of domain file (domain.yml) (if relevant):
intents:
  - greeting
  - insurance-car
  - insurance-home
  - insurance-business
templates:
  utter_greeting:
    - text: Hi there!
  utter_insurance-type:
    - text: What kind of insruance do you need?
  utter_start-car:
    - text: What kind of car?
  utter_start-business:
    - text: Is your business incorporated?
  utter_start-home:
    - text: What year was your house built?
  utter_start_car2:
    - text: 'Ooh, nice car!'
actions:
  - utter_insurance-type
  - utter_greeting
  - utter_start-car
  - utter_start-business
  - utter_start-home
  - utter_start_car2

Thanks for raising this issue, @Ghostvv will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

I'm experiencing the same issue when deploying RasaX on a remote server and attempting to use the UI using SSH port forwarding

Thanks for the bug report. We're looking into it!
@santteegt Sorry, that isn't possible at the moment.

I updated the version numbers in the issue description. Issue is unchanged with Rasa X 0.21.0 and Rasa 1.3.2. API continues to respond but response does not output to Rasa X webchat. Works fine on Messenger channel.

Hi Chris - we've been trying to reproduce this issue and it doesn't seem to appear with any particular pattern. It'll happen on one machine and then not another with identical configuration.
One thing we have noticed is that the same configuration can start / stop exhibiting this behaviour when Rasa X is restarted. Are you running Rasa X continuously between changes to your model?

@eibhleag Yes, we are usually running Rasa X continuously between model changes. It's not natural to restart it, as the people working on the model do not have access to the server command line.

@erohmensing , any update on this bug? I are facing same issue and we have to shot down bot for users. We have also reported it in Rasa community:
https://forum.rasa.com/t/problem-with-dispatcher-utter-message/22396/9

@amirva from what i'm seeing on the forum, your issue looks like it could be caused by a number of problems in your action server and setup. I'm not convinced that is the same issue; you should continue to debug it with Tobias on the forum.
@tangochris are you still running into this issue on newer versions? If so, perhaps we can do a screenshare debugging.

@erohmensing We still have this issue. As of this moment, webchat does not work in our staging or production environment (1.8.1 / 0.26.0). Happy to do a screenshare.
@amirva We don't have a workaround for this specific issue. Becauses chat works fine in Messenger and via Rasa webchat (socket.io channel), we can live with it.

Hey @tangochris, I sent you an email a few days ago -- let me know if you didn't get it. :)

This issue is resolved for us (thanks for the help @erohmensing!).
The key to resolution was understanding that chat in Rasa X relies on the event broker RabbitMQ (as illustrated in this architecture diagram). We thought the API calls by Rasa X to Rasa OSS were used for chat, but they are a red herring.
With this understanding, we traced an error in our Rasa X files, Could not configure valid event consumer. Our developers introduced this error when configuring Rabbit MQ for Dashbot analytics. We returned to the default event broker settings, restarted, and everything's fine. (Now we just need to figure out how to get Dashbot working again...)

Oh man, how lovely it feels to close an issue from September 😄

This issue is resolved for us (thanks for the help @erohmensing!).
The key to resolution was understanding that chat in Rasa X relies on the event broker RabbitMQ (as illustrated in this architecture diagram). We thought the API calls by Rasa X to Rasa OSS were used for chat, but they are a red herring.
With this understanding, we traced an error in our Rasa X files, Could not configure valid event consumer. Our developers introduced this error when configuring Rabbit MQ for Dashbot analytics. We returned to the default event broker settings, restarted, and everything's fine. (Now we just need to figure out how to get Dashbot working again...)

@tangochris  Did you manage to fix implementation of Dashbot with RASA X ? if yes, could you please help with some sample code. Thanks


tweak(StorageImplant): Allow the UI to be closed using the action

Why
having to click the X instead of just pressing the action key is annoying
Technical Details
Doesn't have a useDelay
might fix the two open issues idk, couldn't reproduce them
should I rename the event from Open to Toggle?

Tried adding the useDelay and it doesn't work for whatever reason.
Do I even need it?

This needs the UseDelay to stop sound spamming. I think to get it working you have to add UseDelayComponent to the implant and then do the same as here

should just remove the storage implant sound, people probably metagame it by hearing the rummaging sound and assuming they are using a storage implant to pull out a hypopen or something

This needs the UseDelay to stop sound spamming. I think to get it working you have to add UseDelayComponent to the implant prototype and then do the same as here

Already did that, didnt work

I finished this PR by adding the use delay in #31381
Thank you for your contribution.


Option to auto-refresh served page when sources have changed

Serve your app using pub serve.
Hit the page at localhost.
Change some source file.
Manually refresh the page to see your changes.

We should have a way for step 4 to be automatic. When we serve a page, we can push down a little extra code that talks back to the server to tell when it's built some changes.

This issue has been moved to dart-lang/pub#649.


Updating private registry support to handle private dockerhub images

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[X] PR title is ready for changelog and subsystem label(s) applied

This PR adds support for private docker hub images to kubectl-build-deploy-dind, as this support is non functional at the moment due to a hardcoded dependency on the imagecache
Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

Have done some testing with the environment reporting the issue using the latest image built by jenkins
testlagoon/kubectl-build-deploy-dind:pr-2516@sha256:020e5623c7e4eff8bde590b2aa2cc0953bee100864c149f2e5978fdb69f46aeb

The environment was able to successfully pull the image from private registry and push to harbor using skopeo, where before it would fail due to imagecache.
We also ran it through a drupal example site in another cluster and it completed successfully, with no private registries defined, it used the imagecache as it was supposed to.

@cdchris12  - if this needs to make it to Lagoon in the next few weeks, this PR will need to be repointed to the master branch instead of main before we release 1.14 (as 1.14 is a Lagoon 1-only release)

@tobybellwood I've actually already backported this, I just tagged the wrong PR for release in 1.14 :(
You'll want to merge https://github.com/amazeeio/lagoon/pull/2517 instead. It's the same code, just applied to the master branch instead of the main branch

Sorry; this is my mistake. :( I'll push up a fix for 1.x so we can at least get this sorted

adds to the list of things we should probably have tests for, but don't :grimacing:


Correction for raw affiliation Nantes Université, Centre Atlantique de Philosophie.

Correction needed for raw affiliation Nantes Université, Centre Atlantique de Philosophie.
raw_affiliation_name: Nantes Université, Centre Atlantique de Philosophie.
new_rors: 03gnr7b55;059ynac98
previous_rors: 03gnr7b55
works_examples: W4386558549
contact: d8137399bcd668bb0fa345f45a85a47c:b7477a689e22400d71c2b01800bd7b @ univ-nantes.fr

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


代码块显示不正常bug:

是什么 Halo 版本出现了此问题？
2.9
使用的 Dream 版本是多少？
1.1.1
在线博客地址
No response
BUG 内容

具体代码为
import os
from paraview.simple import *
# 定义新文件夹的名称
folder_name = "cPlaneTime"

# 获取当前工作目录
current_directory = os.getcwd()

# Print the current working directory using the specified encoding
print("Current working directory:", current_directory.encode('utf-8', errors='replace').decode('utf-8'))

# Build the full file path
file_path = os.path.join(current_directory, 'case.foam')
# 检查文件是否存在
if not os.path.exists(file_path):
    # 如果文件不存在，创建一个空的 case.foam 文件
    with open(file_path, 'w') as file:
        pass
    print(f"File 'case.foam' has been created in the current directory.")
else:
    print(f"File 'case.foam' already exists in the current directory.")

# Print the full file path
print("Full file path:", file_path)

# 构建 postProcessing 文件夹的完整路径
postprocessing_directory = os.path.join(current_directory, "postProcessing")

# 创建 test 文件夹的完整路径
new_folder_path = os.path.join(postprocessing_directory, folder_name)

# 检查文件夹是否已经存在，如果不存在则创建
if not os.path.exists(new_folder_path):
    os.mkdir(new_folder_path)
    print(f"Folder '{folder_name}' has been created in the current directory.")
else:
    print(f"Folder '{folder_name}' already exists in the current directory.")

casefoam = OpenFOAMReader(registrationName='case.foam', FileName=file_path)
casefoam.MeshRegions = ['internalMesh']
casefoam.CellArrays = ['Q', 'U', 'UMean', 'UPrime2Mean', 'alpha.water', 'force', 'k', 'moment', 'nut', 'omega', 'p', 'pMean', 'pPrime2Mean', 'p_rgh', 'surfaceTension', 'vorticity']

# Properties modified on casefoam
casefoam.CellArrays = ['U', 'alpha.water', 'vorticity']
casefoam.Decomposepolyhedra = 0

# create a new 'Slice'
slice1 = Slice(registrationName='Slice1', Input=casefoam)
slice1.SliceType = 'Plane'
slice1.HyperTreeGridSlicer = 'Plane'
slice1.SliceOffsetValues = [0.0]

# init the 'Plane' selected for 'SliceType'
slice1.SliceType.Origin = [-9.080395102500916e-08, -1.30385160446167e-08, 0.05999999865889549]

# init the 'Plane' selected for 'HyperTreeGridSlicer'
slice1.HyperTreeGridSlicer.Origin = [-9.080395102500916e-08, -1.30385160446167e-08, 0.05999999865889549]

# Properties modified on slice1.SliceType
slice1.SliceType.Origin = [0.0, 0.0, 0.06]
slice1.SliceType.Normal = [0.0, 1.0, 0.0]

# toggle 3D widget visibility (only when running from the GUI)
Hide3DWidgets(proxy=slice1.SliceType)
file_path = os.path.join(new_folder_path,'plane.csv')

# save data
SaveData(file_path, proxy=slice1, WriteTimeSteps=1,
    ChooseArraysToWrite=1,
    PointDataArrays=['U', 'alpha.water', 'vorticity'],
    UseScientificNotation=1,
    AddTime=1)

相关 Console 日志输出
No response
附加信息
No response

未能成功复现该问题

好神奇，咱们版本相同吗？
发送自 Outlook for Androidhttps://aka.ms/AAb9ysg

From: 玖涯 @.>
Sent: Monday, October 9, 2023 9:50:26 AM
To: nineya/halo-theme-dream2.0 @.>
Cc: winswe @.>; Author @.>
Subject: Re: [nineya/halo-theme-dream2.0] 代码块显示不正常bug: (Issue #50)
未能成功复现该问题
―
Reply to this email directly, view it on GitHubhttps://github.com/nineya/halo-theme-dream2.0/issues/50#issuecomment-1752249050, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIN2IR5JW5QWP5C6NJ4CFRLX6NJ6FAVCNFSM6AAAAAA5YC5AUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGI2DSMBVGA.
You are receiving this because you authored the thread.Message ID: @.***>

提供下这个问题页面地址看看

好的哈
https://halo.winswe.com/archives/1696813918473
On Mon, 9 Oct 2023 at 10:08, 玖涯 @.***> wrote:

提供下这个问题页面地址看看
—
Reply to this email directly, view it on GitHub
https://github.com/nineya/halo-theme-dream2.0/issues/50#issuecomment-1752257714,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIN2IR2B6S64OKCDSNCZGCLX6NMBLAVCNFSM6AAAAAA5YC5AUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGI2TONZRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

就是编辑器内部显示是正常的，但是预览结果出现了问题。
[image: image.png]
[image: image.png]
On Mon, 9 Oct 2023 at 10:08, 玖涯 @.***> wrote:

提供下这个问题页面地址看看
—
Reply to this email directly, view it on GitHub
https://github.com/nineya/halo-theme-dream2.0/issues/50#issuecomment-1752257714,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIN2IR2B6S64OKCDSNCZGCLX6NMBLAVCNFSM6AAAAAA5YC5AUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGI2TONZRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

文档渲染的html结果已经错了，问题与主题无关，检查一下编辑器和插件吧

好的，谢谢啦。估计插件可能有冲突
发送自 Outlook for Androidhttps://aka.ms/AAb9ysg

From: 玖涯 @.>
Sent: Monday, October 9, 2023 10:46:12 AM
To: nineya/halo-theme-dream2.0 @.>
Cc: winswe @.>; Author @.>
Subject: Re: [nineya/halo-theme-dream2.0] 代码块显示不正常bug: (Issue #50)
[image]https://user-images.githubusercontent.com/58282918/273489495-fa74fdbe-4b7b-4806-b259-1e798dc232e4.png
文档渲染的html结果已经错了，问题与主题无关，检查一下编辑器和插件吧
―
Reply to this email directly, view it on GitHubhttps://github.com/nineya/halo-theme-dream2.0/issues/50#issuecomment-1752275572, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIN2IR24VOGUHAXMNLVDW4DX6NQPJAVCNFSM6AAAAAA5YC5AUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGI3TKNJXGI.
You are receiving this because you authored the thread.Message ID: @.***>

找到问题了，是插件ToolBench  的问题。
On Mon, 9 Oct 2023 at 10:49, 齐 雪宇 @.***> wrote:

好的，谢谢啦。估计插件可能有冲突
发送自 Outlook for Android https://aka.ms/AAb9ysg
From: 玖涯 @.>
Sent: Monday, October 9, 2023 10:46:12 AM
To: nineya/halo-theme-dream2.0 @.>
Cc: winswe @.>; Author @.>
Subject: Re: [nineya/halo-theme-dream2.0] 代码块显示不正常bug: (Issue #50)
[image: image]
https://user-images.githubusercontent.com/58282918/273489495-fa74fdbe-4b7b-4806-b259-1e798dc232e4.png
文档渲染的html结果已经错了，问题与主题无关，检查一下编辑器和插件吧
—
Reply to this email directly, view it on GitHub
https://github.com/nineya/halo-theme-dream2.0/issues/50#issuecomment-1752275572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIN2IR24VOGUHAXMNLVDW4DX6NQPJAVCNFSM6AAAAAA5YC5AUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGI3TKNJXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


New flaky test failling with test timeout

We have a new flaky test: https://github.com/FuelLabs/fuels-ts/actions/runs/8248315155/job/22558365399?pr=1861#step:9:547
Maybe it is just a matter of increasing the test timeout

Should this mention go as a comment on https://github.com/FuelLabs/fuels-ts/issues/1755?


Custom deployments, instance logs, and more

A big caveat to this release: Custom deployments are still a WIP. The
reason for merging now is to introduce a bunch of new changes needed in
master.

Set ImagePullPolicy Always on container Images (should maybe be an
option in the near future)
Add CA certs to Dockerfile
Add instance log route
Accept "current" and "target" as ID param in Release show route
change Port preserve_number(bool) to external_number(int) for more
flexibility (i.e. different container / loadbalancer ports)
Add optional Name to Containers
Add deploy route to Component, and do not deploy when creating a
Release
Add update routes for most Resources
Add debug logging to client

Coverage remained the same at 64.754% when pulling 5291c24223b4ed0e9b3d2d0f3f4bb0e41f5597bf on release-0.4 into 94d51ea7c310c37714dc1e4e21143710d4b18551 on master.


createAccount failed with "Transaction has expired"

Describe the bug
Received the error "Transaction has expired" when createAccount, but don't know what to do to fix this.
const result = await account.createAccount(
	name, // new account name
	publicKey, // public key for new account
	parseNearAmount('0.25') // initial balance for new account in yoctoNEAR
);

To Reproduce
We don't have a stable way of reproducing the issue, but it indeed happens randomly when executing the script above.
Expected behavior
The error message might need to provide more details about how to fix the error if possible.
But I think the error probably comes from the blockchain, so might not be easier to be handled at JS API level.
Desktop (please complete the following information):

OS: MacOS
Version: 10.15.7

Additional context
After retrying createAccount with the same parameters and it works well.

well, this may be caused by the TestNet issue today. the TestNet RPC node cannot be connected.


installation fails on cygwin

~ $ pip install legit
Downloading/unpacking legit
Downloading legit-0.1.1.tar.gz
Running setup.py egg_info for package legit
Downloading/unpacking clint>=0.2.4 (from legit)
Downloading clint-0.3.1.tar.gz
Running setup.py egg_info for package clint
Downloading/unpacking gitpython>=0.3.0 (from legit)
Downloading GitPython-0.3.2.RC1.tar.gz (313Kb): 313Kb downloaded
Running setup.py egg_info for package gitpython
warning: no files found matching 'README'
Downloading/unpacking gitdb>=0.5.1 (from gitpython>=0.3.0->legit)
Downloading gitdb-0.5.4.tar.gz (50Kb): 50Kb downloaded
Running setup.py egg_info for package gitdb
Downloading/unpacking async>=0.6.1 (from gitdb>=0.5.1->gitpython>=0.3.0->legit)
Downloading async-0.6.1.tar.gz
Running setup.py egg_info for package async
Downloading/unpacking smmap>=0.8.0 (from gitdb>=0.5.1->gitpython>=0.3.0->legit)
Downloading smmap-0.8.2.tar.gz
Running setup.py egg_info for package smmap
Installing collected packages: legit, clint, gitpython, gitdb, async, smmap
Running setup.py install for legit
Installing legit script to /usr/bin
Running setup.py install for clint
warning: install_data: setup script did not provide a directory for 'README.rst' -- installing right in '/usr'
warning: install_data: setup script did not provide a directory for 'HISTORY.rst' -- installing right in '/usr'
Complete output from command /usr/bin/python2.6 -c "import setuptools;file='/home/Admin/build/clint/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-k2VYT5-record/install-record.txt:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/clint
copying clint/arguments.py -> build/lib/clint
copying clint/eng.py -> build/lib/clint
copying clint/pipes.py -> build/lib/clint
copying clint/resources.py -> build/lib/clint
copying clint/utils.py -> build/lib/clint
copying clint/init.py -> build/lib/clint
creating build/lib/clint/textui
copying clint/textui/colored.py -> build/lib/clint/textui
copying clint/textui/cols.py -> build/lib/clint/textui
copying clint/textui/core.py -> build/lib/clint/textui
copying clint/textui/formatters.py -> build/lib/clint/textui
copying clint/textui/progress.py -> build/lib/clint/textui
copying clint/textui/init.py -> build/lib/clint/textui
creating build/lib/clint/packages
copying clint/packages/appdirs.py -> build/lib/clint/packages
copying clint/packages/ordereddict.py -> build/lib/clint/packages
copying clint/packages/init.py -> build/lib/clint/packages
creating build/lib/clint/packages/colorama
copying clint/packages/colorama/ansi.py -> build/lib/clint/packages/colorama
copying clint/packages/colorama/ansitowin32.py -> build/lib/clint/packages/colorama
copying clint/packages/colorama/initialise.py -> build/lib/clint/packages/colorama
copying clint/packages/colorama/win32.py -> build/lib/clint/packages/colorama
copying clint/packages/colorama/winterm.py -> build/lib/clint/packages/colorama
copying clint/packages/colorama/init.py -> build/lib/clint/packages/colorama
running install_lib
creating /usr/lib/python2.6/site-packages/clint
copying build/lib/clint/arguments.py -> /usr/lib/python2.6/site-packages/clint
copying build/lib/clint/eng.py -> /usr/lib/python2.6/site-packages/clint
creating /usr/lib/python2.6/site-packages/clint/packages
copying build/lib/clint/packages/appdirs.py -> /usr/lib/python2.6/site-packages/clint/packages
creating /usr/lib/python2.6/site-packages/clint/packages/colorama
copying build/lib/clint/packages/colorama/ansi.py -> /usr/lib/python2.6/site-packages/clint/packages/colorama
copying build/lib/clint/packages/colorama/ansitowin32.py -> /usr/lib/python2.6/site-packages/clint/packages/colorama
copying build/lib/clint/packages/colorama/initialise.py -> /usr/lib/python2.6/site-packages/clint/packages/colorama
copying build/lib/clint/packages/colorama/win32.py -> /usr/lib/python2.6/site-packages/clint/packages/colorama
copying build/lib/clint/packages/colorama/winterm.py -> /usr/lib/python2.6/site-packages/clint/packages/colorama
copying build/lib/clint/packages/colorama/init.py -> /usr/lib/python2.6/site-packages/clint/packages/colorama
copying build/lib/clint/packages/ordereddict.py -> /usr/lib/python2.6/site-packages/clint/packages
copying build/lib/clint/packages/init.py -> /usr/lib/python2.6/site-packages/clint/packages
copying build/lib/clint/pipes.py -> /usr/lib/python2.6/site-packages/clint
copying build/lib/clint/resources.py -> /usr/lib/python2.6/site-packages/clint
creating /usr/lib/python2.6/site-packages/clint/textui
copying build/lib/clint/textui/colored.py -> /usr/lib/python2.6/site-packages/clint/textui
copying build/lib/clint/textui/cols.py -> /usr/lib/python2.6/site-packages/clint/textui
copying build/lib/clint/textui/core.py -> /usr/lib/python2.6/site-packages/clint/textui
copying build/lib/clint/textui/formatters.py -> /usr/lib/python2.6/site-packages/clint/textui
copying build/lib/clint/textui/progress.py -> /usr/lib/python2.6/site-packages/clint/textui
copying build/lib/clint/textui/init.py -> /usr/lib/python2.6/site-packages/clint/textui
copying build/lib/clint/utils.py -> /usr/lib/python2.6/site-packages/clint
copying build/lib/clint/init.py -> /usr/lib/python2.6/site-packages/clint
byte-compiling /usr/lib/python2.6/site-packages/clint/arguments.py to arguments.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/eng.py to eng.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/appdirs.py to appdirs.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/colorama/ansi.py to ansi.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/colorama/ansitowin32.py to ansitowin32.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/colorama/initialise.py to initialise.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/colorama/win32.py to win32.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/colorama/winterm.py to winterm.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/colorama/init.py to init.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/ordereddict.py to ordereddict.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/packages/init.py to init.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/pipes.py to pipes.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/resources.py to resources.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/textui/colored.py to colored.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/textui/cols.py to cols.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/textui/core.py to core.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/textui/formatters.py to formatters.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/textui/progress.py to progress.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/textui/init.py to init.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/utils.py to utils.pyc
byte-compiling /usr/lib/python2.6/site-packages/clint/init.py to init.pyc
running install_data
warning: install_data: setup script did not provide a directory for 'README.rst' -- installing right in '/usr'
copying README.rst -> /usr
warning: install_data: setup script did not provide a directory for 'HISTORY.rst' -- installing right in '/usr'
copying HISTORY.rst -> /usr
running install_egg_info
running egg_info
creating clint.egg-info
writing clint.egg-info/PKG-INFO
writing top-level names to clint.egg-info/top_level.txt
writing dependency_links to clint.egg-info/dependency_links.txt
writing manifest file 'clint.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'clint.egg-info/SOURCES.txt'
writing manifest file 'clint.egg-info/SOURCES.txt'
Copying clint.egg-info to /usr/lib/python2.6/site-packages/clint-0.3.1-py2.6.egg-info
running install_scripts
writing list of installed files to '/tmp/pip-k2VYT5-record/install-record.txt'

Command /usr/bin/python2.6 -c "import setuptools;file='/home/Admin/build/clint/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-k2VYT5-record/install-record.txt failed with error code -6 in /home/Admin/build/clint
Storing complete log in /home/Admin/.pip/pip.log

If anyone still has this problem, try the legit.exe file which has Python packaged in on the releases page.