new Map(Iterable[K, V]) with complex value type V can have arbitrary extra properties on each V

Bug Report

🔎 Search Terms

map from iterable
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about "map". The issue exhibits on the nightly playground.

⏯ Playground Link

Playground link with relevant code
💻 Code

interface Foo {
  bar: string,
  baz: number
}

// no error, even though qux is not a valid property of Foo
let fooMap: Map<string, Foo> = new Map([["foo", {bar: "bar", baz: 1, qux: "qux"}]]);
// the subtractive case is caught
fooMap = new Map([["foo", {bar: "bar", qux: "qux"}]]);
// if the iterable is pulled out and typed, the error is caught. could
// also achieve this with a suffix of `as [string, Foo][]` above
let fooIterable: [string, Foo][] = [["foo", {bar: "bar", baz: 1, qux: "qux"}]]
// setting with invalid values is also caught
fooMap.set("bar", {bar: "bar", baz: 1, qux: "qux"})
// it's worth noting that primitive value types are checked as expected
let stringMap: Map<string, string> = new Map([["foo", 1]])

🙁 Actual behavior

identifier: Map<K, V> = new Map(Iterable[K, V]) allows each V in the iterable to have arbitrary extra properties.
🙂 Expected behavior

identifier: Map<K, V> = new Map(Iterable[K, V]) should check that each value in the iterable is a valid V.

Objects are not sealed. They're allowed to have arbitrary extra properties. This is unrelated to Map<>.
You want #12936, but don't expect it to happen any time soon.

Right, I think I've understood. Basically, it boils down to I can do this
interface Foo {
  bar: string,
  baz: number
}

const fooLike = { bar: "bar", baz: 1, qux: 1 };
const foo: Foo = fooLike;

But not this:
const badFooLiteral: Foo = { bar: "bar", baz: 1, qux: 1 };

The Object literal may only specify known properties... error was pushing me in the wrong direction on a still fuzzy (but now quite clear) point about structural typing.
If I may, do the docs cover this well? I would expect to see something highlighting the object literal case e.g. on the Type Compatiblity page, but I only see two step examples.

I think I've understood. Basically, it boils down to I can do this

Yep, exactly.

The Object literal may only specify known properties... error was pushing me in the wrong direction on a still fuzzy (but now quite clear) point about structural typing.

It very often leads to this kind of misunderstanding. It should be considered more of a linter feature, not a type-safety feature.

If I may, do the docs cover this well? I would expect to see something highlighting the object literal case e.g. on the Type Compatiblity page, but I only see two step examples.

It's shown under "Starting out", the basic rule is mentioned there.
Otherwise:

Great, thanks for your help. I see some stuff on e.g. TypeScript for JS Programmers that deals with misspelling of properties, but I'm not sure that properly nails home the point about extra properties when the required ones are already properly specified. I'll think on where a note about this might fit on the Type Compatibility page and submit a PR.

Your example with "Foo" is literally the the second example on that page: https://www.typescriptlang.org/docs/handbook/type-compatibility.html#starting-out
interface Foo {
  bar: string,
  baz: number
}

const fooLike = { bar: "bar", baz: 1, qux: 1 };
const foo: Foo = fooLike;

interface Pet {
  name: string;
}
let pet: Pet;
// dog's inferred type is { name: string; owner: string; }
let dog = { name: "Lassie", owner: "Rudd Weatherwax" };
pet = dog;

No, I see that. My point was that
// Object literal may only specify known properties, and 'qux' does not exist in type 'Foo'
const badFooLiteral: Foo = { bar: "bar", baz: 1, qux: 1 };

was not highlighted. The example
interface User {
  name: string;
  id: number;
}

const user: User = {
  username: "Hayes",
  // Type '{ username: string; id: number; }' is not assignable to type 'User'.
  // Object literal may only specify known properties, and 'username' does not exist in type 'User'.
  id: 0,
};

here is basically the same thing, but that may not be obvious to new users learning the core concepts, since a misspelled property doesn't necessarily feel the same as an extra property.
Here's what happened to me:

I thought I understood that an object is assignable to a type as long as the object is a weak structural superset of the type (or any).
The Object literal may only specify known properties... error made me second-guess myself, because naively, it seemed the same as (1).
I was unable to understand why let fooMap: Map<string, Foo> = new Map([["foo", {bar: "bar", baz: 1, qux: "qux"}]]); was fine because the logic of assignability had gotten fuzzed.

Hence, I want to highlight the object literal assignment case somewhere clearly in the docs. If that's already done and I somehow missed it, please point it out, but the example you highlighted was absorbed on reading on didn't help to keep me from confusing myself here.


Dependencies with a slash (foo/bar) do not work

When putting a package with a slash into the shared-deps.conf.mjs file (like @company/my-lib), the tool crashes with an exception, since it does not create subdirectories recursively. It needs to create first @company and then my-lib as a subdirectory, but this won't happen because the recursive option of the command fs.mkdir is not used.

Fixed by PR #9

Released in https://github.com/single-spa/self-hosted-shared-dependencies/releases/tag/v1.0.4


Allow query matcher to use repeated query string parameters

Pretty self explanatory PR.
fetchMock.mock({
  query: {
    a: ["b", "c"]
  }
}....

which will match:
http://my.domain.url/api?a=b&a=c
But not
http://my.domain.url/api?a=b
http://my.domain.url/api?a=b&a=c&a=d

Interesting. Question - what should be the behaviour for http://my.domain.url/api?a[]=b&a[]=c&a[]=d ?

Are you asking if  http://my.domain.url/api?a[]=b&a[]=c&a[]=d
would be accepted for matcher
fetchMock.mock({
  query: {
    a: ["b", "c", "d"]
  }
}....

Right now it is not, I think PHP would accept it right?
As far as a mocking framework goes you could always use
fetchMock.mock({
  query: {
    "a[]": ["b", "c", "d"]
  }
}....

Yeah quite right - just been reading up on the lack of any spec on multi-value query strings, so keeping the behaviour simple and just treating all keys as strings is right.

I believe #555 covers this also.

@ayZagen I think I will merge this PR as the tests cover an interesting edge case, and I think the object comparison is nicer - hopefully it is not too much work to rebase onto it
@lodrantl  - thanks for the changes. Will release as v9.7.0

@wheresrhys This would fail with query params containing null and boolean values


This Is Issue 24

This Is Issue 24
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688285600317739

Proposal
This is test proposal for https://expensify.slack.com/archives/C049HHMV9SM/p1688285600317739


Fix scientific notation.

RAP-4318 JacksonUtil.prettify is really inefficient

I would like to try and test this locally. Pulling from Dave's github and testing

I tested this and it seems to be working; the small numbers are now written out in full to the blobs


Make presto to compile with latest nim-chronos updates

This should already be solved by https://github.com/status-im/nim-chronos/pull/481 - check that you're on latest chronos master!


universe: finish multi-verse database, start to use for proof distribution

relevant bip parts
https://github.com/lightninglabs/taproot-assets/blob/main/docs/bip-tap-universe.mediawiki#user-content-Asset_Multiverses

This is the tracking issue for the OKR:
"Key Result 3:  Extend existing universe RPCs to support multi-verses"

Worth noting that this is basically the start of it: https://github.com/lightninglabs/taproot-assets/blob/main/tapdb/universe_forest.go
You'd then need to refactor the base universe stuff a bit (allow the methods to pass in the interface), then call those from the multi-verse method. The above obtains all the roots, which then needs to be inserted into a tree. That tree then needs to be updated each time things are inserted in any of the main asset roots.
Users ideally can have more filtering flags to track basically everything, or just those for a given asset that they care about.
We'd then want to make a courier implementation, and potentially also a proof archive backed by the new db logic.

Questions for @Roasbeef:
I think the RPC endpoints should just call into MintingArchive which will then make use of universe.BaseBackend and MintingArchive.cfg.UniverseForest. Does that sound correct?
As a first step, I'm going to extend the universe.BaseForest interface with a RegisterIssuance method. Let me know if that's not right.
In this commit I rename the BaseUniverse in the RPC server to MintingArchive: https://github.com/lightninglabs/taproot-assets/pull/340/commits/680ce67c01359169ce3dbab0ea4adc6c4a1335ab

New issue for tracking the proof distribution aspect of this work: https://github.com/lightninglabs/taproot-assets/issues/344


Run failed: gen-site - master

For a while we are getting these messages from Github: Building and deploying website: Some jobs were not successful
@HenkKalkwater, would you mind to take a look? Example https://github.com/sailfishos-chum/sailfishos-chum.github.io/actions/runs/7676137078

For some reasons I do not get notifications from failed workflows, perhaps since workflows triggered from the schedule are attached to your user account? I can't find any settings to change that, however.
By the way, it should be fixed now. It only happened under the specific condition that an app with a Markdown description would be recently updated, which is why I probably did not catch it before.
PS: I should have noticed it earlier that there had been a lack of app updates in my RSS reader, I found it suspiciously inactively lately :)

No problem, I will then open an issue if it happens again. :)


Consider publishing a new version of btfdump on crates.io

https://github.com/anakryiko/btfdump/issues/3 is fixed, but the changes haven't been published to crates.io.
Crates.io requires that any packages uploaded have to specify packages by version, not by git repo and rev. Since the changes of https://github.com/anakryiko/btfdump/pull/4 haven't been published to crates.io, any crates that dependends on btfdump = "0.0.1" will still suffer from the bug.

Pushed v0.0.2 to crates.io.


Issue with resolving JSON file with vue-tsc

When I try to import .json files into .vue files with declared JSON file data as a module, vue-tsc doesn't understand the type of data being exported
Here is my TypeScript config:
{
  "compilerOptions": {
    "types": ["node"],
    "forceConsistentCasingInFileNames": true,
    "importsNotUsedAsValues": "error",
    "moduleResolution": "nodenext",
    "preserveValueImports": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "module": "esnext",
    "target": "es2020",
    "jsx": "preserve",
    "allowJs": true,
    "strict": true,
    "baseUrl": ".",
    "noEmit": true,
  }
}

Also I have "type": "module" in my package.json file. My vue-tsc version is 0.40.13.

Thanks!

Looks like the problem persists in v1.0.0-alpha.5

@azat-io could you provide minimal reproduction?


The leaderboard is missing in https://paperswithcode.com/sota/speech-recognition-on-common-voice-7-0-21

We found the leaderboard is removed recently by the official, thus we choose to close this issue for now.


Convert the HuggingFace version back to the original LLaMA checkpoint with "xxx.pth" file.

Are there any ways to save the model with the HuggingFace version back to the original LLaMA checkpoint with "xxx.pth" file? I tried to use torch.save(model.state_dict(), "xxx.pth") but the generated "xxx.pth" file is different from the original LLaMA checkpoint.

@hduanac not sure if we have such a converter, you might be able to use the Meta to HF converter logics and write your own. The original Meta Llama weights are being saved using FairScale FSDP checkpoints.

Thanks for your response, Hamid. Much appreciated for your suggestions.

Hi! It seems that a solution has been provided to the issue and there has not been a follow up conversation for a long time. I will close this issue for now and feel free to reopen it if you have any questions!


Bug Fix: Issue #66 Not able to publish metrics with values from edge node (For all datatypes)

Issue #66
Resolve the issue by taking older code from version 1.2.0
@SeppPenner Please review

Sorry, I didn't see this one. This is now already fixed...


Vizabi component templates are spilling to an external page #1362

This is already a lot better.
However, these templates don't have to be inserted in the DOM at all I think.
We can just modify the templates as DOM objects in JS without inserting them in the DOM.
Only then when we actually need to use an instantiation of the template we need to insert them in the DOM.


bash: curl: command not found

Could we add the the curl command to the cloudhealth container image?
While troubleshooting a recent deployment of cloudhealth-collector-2.0.2, I attempted to first validate my apiToken from my local system, and then replicate from the cloudhealth pod.
These steps (Validate Collector Agent Connectivity; pasted below for more convenient reference), instruct users to use the curl tool to test the cloudhealthtech API. However, the curl command is not available in the cloudhealth container image.
The related support case has been open for nearly a month. Any additional attention you can share to help resolve this is greatly appreciated.
Validate Collector Agent Connectivity
To validate collector agent connectivity to our own collection endpoint, run the following commands:
Use nmap or netcat to ping port 443
nmap -p 443 api.cloudhealthtech.com
nc -zv api.cloudhealthtech.com 443
Run CURL commands against the collection endpoint manually:
curl -v -X GET https://containers-api.edge.cloudhealthtech.com/api/v1/health to request the collection health endpoint.
The expected response: {"status":"healthy","time":"Fri, 29 Jan 2021 22:48:10 GMT"}
curl --header "Content-Type: application/json" --request POST --data '{"auth_token":"INSERT_AUTHENTICATION_TOKEN_HERE","cluster_id":"INSERT_CLUSTER_ID_HERE"}' https://containers-api.edge.cloudhealthtech.com/v1/containers/kubernetes/state to mock the exact request made by the collector agent (except without any k8s data cache payload). Replace the auth_token and the cluster_id as necessary.
The expected response (since we sent no payload): {"result":null}

Thank you @kscherme. I see you also added/included the dnsutils. Thank you!
I've provided more detailed feedback in the related support case (75266). It's frustrating though to hear that this is now being chalked up as an environment/configuration issue in our cluster. We have hundreds of other helm deployments running on our 5 clusters, and the CloudHealth Collector is the only image/chart that's showing any networking symptoms.


Add AI tools in the list

Add various AI based tools in the website.

@code-architects could you please assign this to me ? i can do this

@jaydeepkhatri  please review


As a preservation administrator, I would like to have the functionality of using the control and shift buttons to select ranges of files or specific files, so that I can save time by dragging multiple files at once.

Just realized you could do that via the add files button, but it would be nice to have directly in the app.  Nice to have, but not essential.

This is no longer relevant since we removed the load files interface.


Can't hide header

Hi there,
I want to hide header for my app. I couldn't find anything on that part in documentation.
Is that possible?

It's kind of tricky to allow this behavior AND support navigation (imagine transitioning from view A to view B and the view B doesn't have a header, the user would be stuck there with no way to come back to view A).
But one workaround is to make the header transparent by setting the header's style.background to rgba(0,0,0,0). Hope this helps.


CPLAT-9079: Update built_redux to follow new lint rules

Problem/Solution
Current PR updates built_redux to follow new lint rules, so we wouldn't have to ignore generated files in other repos.
Testing instructions

[ ] CI should be sufficient

with current update we don't need to ignore generated **.g.dart files, tested in https://github.com/Workiva/w_comments/pull/782 CI passing


Synthesizers stopped working after Windows KB5018418 update

The tasks are failing with this output: "USP error: timeout waiting for the first audio chunk".
There's a bug in the Microsoft's SDK: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1692

I am having this issue Microsoft Windows [versão 10.0.22000.1098].
CANCELED: Reason=Error CANCELED: ErrorCode=ServiceTimeout CANCELED: ErrorDetails=[USP error: timeout waiting for the first audio chunk]
Is there a way to remove the KB5018418 update, while they release a fix for the Speech SDK Nuget Packages?

if using win11,update 22h2, 22621.755  all is ok ,this ms bug


Upgrade AVIF library

Source: GoogleChromeLabs/squoosh#1381Source: GoogleChromeLabs/squoosh#1381

Thanks for the great libs - just wanted to check if you'd possibly missed publishing this AVIF update to npm?

Great question @CaptainCodeman. No, I intentionally hadn't published this as I wanted to release two breaking changes at the same time, however that has since been delayed. I'll look into publishing this soon 👍

Ah, cool - thought it was worth checking just in case you happened to be as disorganised as I am :)
Happy to wait if there are other breaking changes to include. It just tripped me up trying to set options based on the code in the repo until I realized it wasn't the code that was published.


blog: add blog post on the affect of containerization on databases

This is a blog talking about containerization and its influence on databases.

/hold
pending assignment of publication date


Adding support for webpack-dev-server

I was wanting to add some instructions or an example of how to use webpack-dev-server with pyramid_webpack.  I am not sure if you want to use two webpack config files, or set an environment variable.  I usually use a single config that parses the environment for my stuff.  Nevertheless, it seems that a local webpack build needs to be run first to generate the manifest file (I was using chunk-manifest-plugin to track the bundles before using pyramid_webpack).  Unless entries are added to the webpack config, once those initial files are made, webpack-dev-server works very well and more efficiently than rebuilding every time, plus you get the added benefits of using the dev server.
I use different build paths for dev.ini and prod.ini.  In dev mode, I prepend "http://localhost:$wdsport/" to the output.publicPath.

Hey if you want to add docs or examples, be my guest! I have no strong feelings for different configs vs environment variable, so whatever you prefer.


KEC Lite page added

Don't merge before this:

Number of participants needs to be changed

In recent events:

The page:

Added option to design entire page manually if desired.

Number of participants was updated in latest commit.

Refactored code based on suggestions in latest commit.


Sai test

Updated Analytics Admin Permissions PDF

@v-sambati : Thanks for your contribution! The author(s) have been notified to review your proposed change. @nikotha

Docs Build status updates of commit 7ae8ce8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-community-training/analytics/analytics-overview.md
:white_check_mark:Succeeded
View

microsoft-community-training/media/Analytics Admin Permission.jpg
:white_check_mark:Succeeded
View

microsoft-community-training/media/Analytics_Admin Permission_V2.pdf
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added or Deleted File(s)
This PR contains added or deleted file(s).

Unapproved file extension(s)
This PR contains file types that are not supported in the repo. The only supported file types are jpg, gif, png, json, svg and md.

Image File
This PR contains an image file(s).

Are both the jpg and pdf file required?

Both files not needed, actually testing on VS code on how we can upload PDF and image, looks like for PDF upload I did a work around by editing in Github rather than VS code, and for images we can link then directly in VS code

@v-sambati : Thanks for your contribution! The author(s) have been notified to review your proposed change. @nikotha

PRMerger Results

Issue
Description

Added or Deleted File(s)
This PR contains added or deleted file(s).

Unapproved file extension(s)
This PR contains file types that are not supported in the repo. The only supported file types are jpg, gif, png, json, svg and md.

Image File
This PR contains an image file(s).


The searched performance under this proxy data setting only achieve 95.869998

Above all, thank you for your open source.
First, I executed DARTS with proxy data via running the command provided by you (“python train_search_proxy_data.py --gpu 0 --histogram --histogram_type 1”).
Then, I train the searched architecture. However, the test error after retraining is 4.13, which is far away from ~3.0 reported in the paper.
The output log is as following:
"11/02 08:04:40 AM valid_acc 95.789998, best_acc 95.869998 (at epoch 589)"
It seems that this performance gap is too big to be attributed to the randomness of the original DARTS. Does this means the proxy data selection method proposed in your paper is inrobust？ Have you observed such low search performance in your experiments?

Thank you for your interest in our research.
In the previous experiments we had, we conducted the search process with three different seeds,
and we did not encounter results with such large performance gap like your search result.
Does the search result include many skip connection?
I'm also curious about what causes the performance drop in your result.
I'll perform the search process using this code with the default seed and share the result ASAP (not now, because I'm busily preparing other works for conferences).

Thank you for your reply! @nabk89
The searched result does not include many skip connection, which is as following:
my_do = Genotype(normal=[('dil_conv_3x3', 0), ('sep_conv_3x3', 1), ('dil_conv_5x5', 2), ('sep_conv_5x5', 1), ('dil_conv_3x3', 1), ('sep_conv_3x3', 0), ('dil_conv_5x5', 4), ('dil_conv_5x5', 2)], normal_concat=range(2, 6), reduce=[('max_pool_3x3', 0), ('sep_conv_5x5', 1), ('max_pool_3x3', 0), ('skip_connect', 2), ('max_pool_3x3', 0), ('dil_conv_3x3', 2), ('dil_conv_5x5', 4), ('dil_conv_5x5', 2)], reduce_concat=range(2, 6))
Could you please provide the seeds used in your experiments? I realy appreciate your idea of proxy data selection, and want to observe the impressive results in my own experiments.
In addition, if there are some other experiments configuration not provided in this repository, could you please inform me for my further try?

I trained your searched architecture ("my_do") with cutout and auxiliary loss, as in "cifar10-eval" in script.sh.
In my case, your architecture achieves 97.05% for test accuracy.
Did you train your architecture with cutout and auxiliary loss?

You are right. When I trained this architecture again with cutout and aux, the acc reached 97.19.
Thank you very much!


[move-prover] Updated diagen

added the script to generate .svg files
adapted to the address change for the stdlib (i.e., from 0x0 to 0x1)

Motivation
To fix the discrepancy in the stdlib address
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
cargo test

@bors-libra r=wrwg

:pushpin: Commit 606c6ba has been approved by wrwg

:hourglass: Testing commit 606c6ba8c54a7832b1b14cab8bb84bd18f2ef114 with merge e0dc4877a665edf3aa89c0b6ac0d165a963f850a...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: wrwg
Pushing e0dc4877a665edf3aa89c0b6ac0d165a963f850a to master...


No error if you set incorrect image id in verify endpoint

Describe the bug
If a user sends a request with an incorrect image id, he expects to get an error. Instead, he receives success but with zero similarity
To Reproduce

Create recognition service
Save one image
Send a request to verify endpoint, use incorrect image id
Actual result:
subject": "",   "similarity": 0.0,

Expected behavior
Expected result: "Image id is incorrect" error
Screenshots

@pospielov Hi, I'd like to work on this issue, can you assign this to me? Also can you point me to the file where the verify endpoint logic is defined?

Hi, thanks for the interest in our repository, I assigned the issue to you
https://github.com/exadel-inc/CompreFace/blob/master/java/api/src/main/java/com/exadel/frs/core/trainservice/controller/EmbeddingController.java#L141
Here is the line where you should start the investigation. But the problem is probably somewhere in SubjectService.java file


check by default in tests

This is a bit subjective, but I feel like the default testing should do type checking, this will make it work in the ci as well.
Also another note there is --parrallel flag we can use, it make things faster and I'm not sure but it might also exposes multi-threading bugs? right now it also passes

You're right, objectively.
I was supposed to create check task to run deno check as well and add it in CI, but too lazy to do it.
I haven't been used --parallel flag cause I often write order-dependent tests, but as long as it passes at this moment let's use the flag for this module.

I added parallel.

Thanks!

seems like one test failed after the commit https://github.com/hasundue/deno-molt/actions/runs/6370219113/job/17291125358 maybe parallel flaky after all

Yeah wasm could be problematic but It didn't fail after that one. Let's see how it is stable a little bit more.


how to use in the nether and the end

I noticed that in creation mode, I can freely tp in the nether to nether, nether to the overworld, how do I configure this in the survival mode?

I noticed that in creation mode, I can freely tp in the nether to nether, nether to the overworld,  how do I configure this in the survival mode?

You can teleport between dimensions in survival mode as well, you just need to have the required cost (items, xp, health, etc., whatever it is set to in configs)

emm,In the new world, I don't have a level of experience, so it is invalid, thank you


rocky version fixed from 9.0 to 9

I've updated the rocky linux api link as requested in issue #103, I would like to know your thoughts on this @arshPratap @pleia2.

Lgtm

Open Mainframe Project projects require DCO sign-off in the commit message, there are instructions on how to fix it here: https://github.com/openmainframeproject/software-discovery-tool/pull/112/checks?check_run_id=13464348220
And to avoid it in the future, when you commit your code you should use: git commit -a --signoff

Oops, looks like it got a bit tangled up with the z/OS open tools work. You might want to create branches in git for each issue you're working on (for example: git checkout -b issue/103).
Can you re-create this pull request with just the Rocky Linux 9 change?

Yeah, actually, I forgot to switch the branch for the new issue and committed to this branch. I will re-create the PR.

@arshPratap @pleia2 I've corrected the pull requested. PTAL. I think the changes are right now.

LGTM !
Thanks @aashish-khatri


Strange failure of pg regress

For unrelated PR pg regress has failed.
CI job https://app.circleci.com/pipelines/github/zenithdb/zenith/5050/workflows/6f566fa8-6db3-4950-adf9-d6d826d7c83d/jobs/49023/artifacts
In regress.diff I see a lot of errors about missing relation.
e g
ERROR:  relation "indtoasttest" does not exist
@dhammika is it the same issue that you've reproduced locally? cc @hlinnaka

The first error here seems to be this:
 CREATE TABLE indtoasttest(descr text, cnt int DEFAULT 0, f1 text, f2 text);
+ERROR:  cache lookup failed for attribute 2 of relation 28360

All the subsequent relation "indtoasttest" does not exist are because the CREATE TABLE failed.
I don't know what caused the "cache lookup failed" error.

@dhammika is it the same issue that you've reproduced locally? cc @hlinnaka

Don't think they're identical. I probably had a bad build. Vendored pg submod was pointing to main branch's head.

@LizardWizzard should we keep this ?


Does adding the domain(s) in O365 suffice for these steps?

I added the domains (hosted in GODADDY) in the O365 Admin Portal.  I believe that validates these steps.

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

ID: 1c4822cc-fffd-de33-f7c7-54abc198e896
Version Independent ID: 8b0e044c-02ce-c623-32b4-095dbfe2c459
Content
Content Source
Service: active-directory

Changing your name servers with GoDaddy to Office 365 will allow Office 365 to manage your DNS rather than GoDaddy.
However, you can logon on to your registrar, which in our example is http://godaddy.com, and after logging in, select the drop-down menu from under your login name, choosing Manage Domains and under manage DNS copy the Host value and the TXT Value exactly from the verify screen in your Azure AD. Once the records are saved, switch back to the Azure AD Domain names page and select the VERIFY button.


Investigate roundtrip test

to verify both import and export work for different providers

This issue would need more of a detailed plan or even sketch of exactly what it would achieve in order to be actionable.  Closing "not planned".


eTag is provided in the example but not in the endpoint

eTag is shown in example on https://learn.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0&tabs=http but when hitting the postman endpoint for this, it does not show up

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

ID: ccfedc34-43c1-d07a-249f-a105967a7730
Version Independent ID: 3af5bde5-0179-4cd7-eacd-a903f3cb106b
Content: Get a driveItem resource - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/driveitem-get.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @spgraph-docs-team
Microsoft Alias: MSGraphDocsVteam

for extra clarity here, I'm using a non-delegated auth flow and me/drives/root is not available/possible.
calling with root gives me the following keys:
https://graph.microsoft.com/v1.0/drives/{{DRIVE_ID}}/items/root

<EMAIL_ADDRESS>"createdDateTime"
"id"
"lastModifiedDateTime"
"name"
"webUrl"
etc.

while calling the same endpoint but with an item id that is not root gives me more data, in particular the eTag which is what I'm looking for:
https://graph.microsoft.com/v1.0/drives/{{DRIVE_ID}}/items/{{ITEM_ID}}

<EMAIL_ADDRESS>"createdDateTime"
"eTag"
"id"
"lastModifiedDateTime"
"name"
"webUrl"
"cTag"
etc.

Hi,
Thanks for your feedback. We are currently working on improving docs and we'll do our best to keep your feedback into account while doing that. In the meantime, I'm going to close this item. Thanks for your understanding.


chore(litmus-portal): Added Input Validation + Modified InputField + Updated Login

Proposed changes

Input Fields have been modified to resemble the design system (includes, focus, onHover, onSelected, onDisabled, etc)
Welcome Modal Form Validation taken care of
Created abstracted validation utility with validation functions like Email Validation, Empty Text Validation, Only Alphabet Validation, Password Validation, Confirm Password Validation and Invalid Text Validation
Welcome Modal would not move forward if the user input is not validated -> this would also disable the Continue and Let's Start Buttons
Upon successfully comparing the passwords if correct InputField would show success state (Turn green)
Updated the theme to add disabled color
Updated Login Page Design
Username Validation updated in Login Page
Password Validation intentionally skipped for Login Page since the current password doesn't fit the validation requirement

Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[ ] New feature (non-breaking change which adds functionality)
[X] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[X] I have read the CONTRIBUTING doc
[X] I have signed the commit for DCO to be passed.
[X] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[X] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

/preview 10

/run-unit

Thanks for this PR

/preview 10

/preview 10


Update wrapper to 8.5 RC3

#27074 accidentally targeted our main branch instead of release

I've triggered a build for you. Click here to see all failures if there's any.


Ac sdconnect2

Proposed changes
https://csc-guide-preview.rahtiapp.fi/origin/ac-sdconnect2/data/sensitive-data/sd_connect/
Checklist before requesting a review

[ ] I have followed the instructions in the Contributing and Styleguide documents.
[ ] My pull request passes the automated tests. If not, visit pull requests at Travis CI and have a look at the job log.
[ ] I have included a link to the appropriate preview page (select your branch from the list).

We tried to fix the link in the what's new section,  but for some reason it just not working.


upgrade PureScript and Purty

Purty fails in a few cases when using PS 0.12.* as it's designed to work with PS 0.13.* so we should upgrade PS and at the same time upgrade Purty then we can format files that were previously broken by purty.

This happened, I think.


[New Feature][Roadmap requested]Do you have a roadmap right now?

Is your feature request related to a problem? Please describe.
I am very interested in this project, you guys did a great job. And I wonder if there is a roadmap provided?
For instance:

Is there a plan to implement the following functionalities in this project:  model compression, quantization, and pruning
Is there a plan to support other fine-tuning algorithms, such as QLORA、freeze、p-tuning?
...

Describe the solution you'd like
A clear and concise roadmap should be helpful.

I have created a PR for support for QLoRA (Added QLoRA support for Decoder transformers with tune_strategy "Normal" #613)
Once it is reviewed hopefully it get's merged.

Hi,
Here are some important features we are going to implement:
Efficient fine-tuning: e.g., p-tuning, and other adapters
Efficient inference: e.g., speculaitve decoding, vllm
Tool and Agent: e.g., ToolLLM
Model compression: quantization, distillation, pruning
Welcome to contribute to LMFlow! Thanks!


bazel: Remove uses of depset.to_list where possible

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Use of depsets, and to_list are recomended against unless actually necessary (https://docs.bazel.build/versions/main/skylark/performance.html)
The recommended advice to simulate a set in starlark is to use dictionary keys (https://docs.bazel.build/versions/main/skylark/lib/depset.html)

The elements of a depset must be hashable and all of the same type (as defined by the built-in type(x) function), but depsets are not simply hash sets and do not support fast membership tests. If you need a general set datatype, you can simulate one using a dictionary where all keys map to True.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @kyessenov

/lgtm deps

i think the depset itself is not so efficient to use as a set - the to_list part is generally bad because it explodes eg cli arg lists that would otherwise be created lazily and gobbles ram
in this case the to_list part is probably not making that much of a difference, altho its hard to tell - the code is hit a lot and does create large lists, but its basically still doing that just slightly more efficently


ES6+

Add request-promise-native
Translate callback error signature to promise chain + catching
Using arrow functions whenever possible
Add ESLint and Editor Config to keep code quality

Hi! Just out of curiosity, why did you decide to close this PR? :)


withExposedPort also exposes port in OCI image config

A small fix so that withExposedPort actually sets the EXPOSE equivalent config in the resulting container.

Nice! What about WithoutExposedPort? Can we remove it there?

@helderco Whoops, great catch! Done


⚠ Bofrost.at has degraded performance

In 886f960, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 5461 ms

Resolved: Bofrost.at performance has improved in dd4382b after 1 hour, 11 minutes.


feat(cart): make cart clear API return the new cart

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Depends on #572
What is the current behavior?
Currently, when you clear, you're left without a new cart object to work with.
What is the new behavior?
This returns a new cart object when you clear the cart.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Why do we want a new cart instead of just an old, empty cart? To remove the selected shipping address and payment method? I would think we'd want to keep those.

Why do we want a new cart instead of just an old, empty cart? To remove the selected shipping address and payment method? I would think we'd want to keep those.

This implementation will be dependent on each platform driver. This merely updates the interface so that end users don't have to make additional driver calls after clearing, they'll get back SOME new cart, depending on what the platform does behind the scenes.

ok sure. lgtm

@lderrickable needs re-review

I'm not 100% sure why codeclimate doesn't like this code.

lgtm


Use just

Use just to run project specific commands easily and also make use of just in the ci.
Closes #76

@dewert99 I have split your suggested pre-commit into a pre-commit and pre-push hook. Since you recently started a pr: Is there anything else you would like to add to the Justfile?


Add metadata container on ovn-standalone role

@averdagu hi there! Can you fix the linting errors? They're just EOF missing new lines.
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook

Fixing edpm_ansible/roles/edpm_ovn/tasks/configure.yml
Fixing edpm_ansible/roles/edpm_ovn/defaults/main.yml```

recheck

The error is:
Couldn't resolve module/action 'config_template'. This often indicates a misspelling, missing collection, or incorrect module path
I thought that this was fixed with this change

recheck


Build warning: Ignoring deprecated java.level property

Steps to reproduce
Run mvn clean verify -DskipTests as of HEAD (at the time of current writing, commit afa4de2).
Expected Results
The build completes with no warnings.
Actual Results
The build completes with the following warning:
[…]
[INFO] --- maven-hpi-plugin:3.27:validate (default-validate) @ commons-lang3-api ---
[WARNING] Ignoring deprecated java.level property. This property should be removed from your plugin's POM. In the future this warning will be changed to an error and will break the build.
[…]

Evaluation
Commit bb7726b was integrated without reading release notes: jenkinsci/plugin-pom#522. As the warning states, this property now has no effect and should be removed from the plugin's POM.
Solution
Remove the unused property from the plugin's POM.
Testing done
Reproduced the problem as described above. Before this PR, the problem could be reproduced as described above. After this PR, the problem can no longer be reproduced.
CC @nhojpatrick

@nhojpatrick ?

@nhojpatrick Gentle ping

Cheers @basil spotted after I merged #15


Rails/Blank false positive (or incorrect suggestion)

When both &. (safe navigation operator) and blank? are used:
def foo
  awesome_stuff unless @cart&.items.present?
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Use `if @cart&.items.blank?` instead of `unless @cart&.items.present?`.
end

Suggested if @cart&.items.blank? is not equivalent to the original code.
Rails/Blank should not be detected - or - suggested code should be if @cart.nil? || @cart.items.blank?.
RuboCop version
$ [bundle exec] rubocop -V
1.35.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.19.1, running on ruby 3.1.2 x86_64-linux)
  - rubocop-rails 2.15.2

@Tietew What exactly are the values of these variables? Can you provide an executable repro case before and after autocorrection?

@koic Sorry, but I was wrong last month. I cannot remember where the original code is...
cart = nil
p cart&.items # => nil
p cart&.items.blank? # => true
p cart&.items.present? # => false

cart = Struct.new(:items).new([])
p cart&.items # => []
p cart&.items.blank? # => true
p cart&.items.present? # => false

cart = Struct.new(:items).new([1,2,3])
p cart&.items # => [1,2,3]
p cart&.items.blank? # => false
p cart&.items.present? # => true

Everything is correct 🤔
It seems to be confused with ECMAScript/TypeScript (optional chain operator ?. is short-circuit, unlike Ruby's)

@Tietew OK, can we close this issue?

@koic Yes. Thank you.


I keep getting confused between similar files from different projects

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

VS Code Version:
OS Version:

For instance I might be working on bear/settings.js and around the same time I'm working with bird/settings.js
I get confused and start editing the wrong file.
This is a problem both when selecting the file through the palette and on the file itself.

Make the palette a lot more obvious of what project it belongs to
The path is a bit small and not very obvious.

Make it obvious when editing the file of the project it belongs.

I highly suggest the usage of jdenticon.
https://jdenticon.com/
It creates unique icons from a seed, the seed can be any string (like a root path).
You can use this to give projects unique/different icons.
And then use the icons in the palette and other places.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


v0.9.3 Release

Hi All,
I need to figure out how to automatically generate a changelog, but for now I'd like to make a v0.9.3 release this weekend. It will definitely include:

Memory Leak Fix #40 ( via #39 )
Babel error Fix ( via #47 ) (thanks @reharik)
More stable test runner #33 ( via #46 )
Dropping a Catch Up Subscription is now async, it was causing subscription to not properly update it's last processed event
Subscription Operations now verify a connection is writable before attempting to send a request to the server

I will try to get to the connection retry, or at least raising the connection event. However, if I cannot get to it I would still like to get a release out. Anyone have any thoughts?

After thinking about this a bit, changing drop of Catch Up Subscription is probably a breaking change, so I am going to release this as v0.10.0. If anyone is interested in a v0.9.3 with the non-breaking changes, I can do one separately.


Enable build on wasm32-wasi

For https://github.com/vgteam/sequenceTubeMap/issues/379 I'm trying to get gbz-base to build for WebAssembly. But it doesn't at the moment, because simple-sds can't. Here's the first 8 errors it throws up:
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:59:14
   |
59 | use std::os::unix::io::AsRawFd;
   |              ^^^^ could not find `unix` in `os`

error[E0425]: cannot find value `PROT_READ` in crate `libc`
   --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:430:44
    |
430 |             MappingMode::ReadOnly => libc::PROT_READ,
    |                                            ^^^^^^^^^ not found in `libc`

error[E0425]: cannot find value `PROT_READ` in crate `libc`
   --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:431:43
    |
431 |             MappingMode::Mutable => libc::PROT_READ | libc::PROT_WRITE,
    |                                           ^^^^^^^^^ not found in `libc`

error[E0425]: cannot find value `PROT_WRITE` in crate `libc`
   --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:431:61
    |
431 |             MappingMode::Mutable => libc::PROT_READ | libc::PROT_WRITE,
    |                                                             ^^^^^^^^^^ not found in `libc`

error[E0425]: cannot find function `mmap` in crate `libc`
   --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:433:34
    |
433 |         let ptr = unsafe { libc::mmap(ptr::null_mut(), len, prot, libc::MAP_SHARED, file.as_raw_fd(), 0) };
    |                                  ^^^^ not found in `libc`

error[E0425]: cannot find value `MAP_SHARED` in crate `libc`
   --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:433:73
    |
433 |         let ptr = unsafe { libc::mmap(ptr::null_mut(), len, prot, libc::MAP_SHARED, file.as_raw_fd(), 0) };
    |                                                                         ^^^^^^^^^^ not found in `libc`

error[E0425]: cannot find function `munmap` in crate `libc`
   --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:491:27
    |
491 |             let _ = libc::munmap(self.ptr.cast::<libc::c_void>(), self.len);
    |                           ^^^^^^ not found in `libc`

   Compiling rusqlite v0.29.0
error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope
   --> /Users/anovak/.cargo/git/checkouts/simple-sds-95484d45b95fb50d/c2f8637/src/serialize.rs:433:90
    |
433 |         let ptr = unsafe { libc::mmap(ptr::null_mut(), len, prot, libc::MAP_SHARED, file.as_raw_fd(), 0) };
    |                                                                                ^^^^^^^^^ method not found in `File`
   --> /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/std/src/os/fd/raw.rs:65:8
    |
    = note: the method is available for `File` here
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
53  + use std::os::fd::AsRawFd;
    |

I think I need to:

[ ] Replace any std::os::unix-isms that can be replaced with things just in std::os, and make any other ones optional somehow.
[ ] Enable building without memory mapping support.

I could make memory mapping a feature that is enabled by default but can be disabled. However, the bigger issue is that simple-sds leans heavily on the assumption that usize and u64 are the same. Many low-level things will probably break with 32-bit integers.
Additionally, Rust uses usize for array indexing, which means that it's difficult to use arrays larger than 2^32 in a 32-bit environment. We can't import GBZs with more than ~4.29 Gbp of sequence, such as human graphs built with PGGB or full Minigraph–Cactus graphs. We also can't import GBZs where the run-length encoded BWT is larger than 4 GB, such as 1000GP graphs (and possibly final HPRC graphs with 700+ haplotypes).

We might be able to get away with the max size limitations. I was thinking we'd convert from GBZ to database outside the browser, so all we really need is to be able to properly decode the blobs in the database files.
And if we want to use the databases in the browser, and if we need simple-sds to decode the blobs in the databases, then I don't know if there's an alternative to painstakingly unwinding the assumption that usize is u64 in the code that actually implements the data structures.
I managed to get simple-sds to build for wasm32-wasi with liberal use of #[cfg(not(target_family = "wasm"))]. Hopefully once I can get the full gbz-base binaries to link and load right I can start identifying places where the two builds can't agree on serialized representations.

I don't think gbz-base will need anything from simple-sds once the database has been built. The sizes and identifiers of individual objects should fit in 32 bits, because we often do that in vg as well. The blobs are encoded either using gbwt::support::ByteCode / gbwt::support::RLE, which don't care about the size of usize as long as the numbers fit in it, or an internal encoding that packs three bases in a byte.

I think PR #18 also resolved this.


GENERATE SQL > INSERT with custom values

Hello,
Is it possible to generate INSERT with custom values?
For example: SELECT client_code + 1, client_name from CLIENT;
Then, selecting the resulting rows, right click and: Generate SQL > INSERT
What I get is:

DBeaver version: 4.3.4, with PostgreSQL 10.1

Got it! I needed to name the column. By default, when I changed its value, it was named as "?column?". If I use "SELECT client_code + 1 as client_code" it works.
Closing the issue.


Organism Example Update

Noticed that example the organism field says "Severe acute respiratory coronavirus 2" but that is no longer an acceptable input. It appears to have been changed to "Severe acute respiratory syndrome coronavirus 2". Have updated to vocab sheet and the SOP example to the new label.
I think people might get very frustrated if we don't get this updated quickly because it's a field everyone has to use and there isn't any source telling them what it's actually supposed to be (from what I can tell).

Then again, since there is the drop-down menu there isn't as much urgency.

@cmrn-rhi Can you confirm if this is still an issue?

I think the problem was in the test datasets and now those values are adjusted to match the menu items.  Seems that way on http://genepio.org/DataHarmonizer/main.html at any rate.

@ivansg44 It's no longer a problem on the current master branch.
I agree with @ddooley that the issue was most probably resolved when the values were updated.


how to edit an existing Service?

How to edit an existing Service? There is no way to edit Service? just look Service detail,

browser: Chrome   69.0.3497.81
the docker image of kong version: 0.14.1-alpine
the docker image of konga version: 0.12.2
the db : postgresql
so, konga is only add service , but can't edit it ?

resolv!!!


Can't unlock Golemancy (BETA 3)

When I open the golemancy tab in the thaumonomicon and hover over the beginning icon it is called "research.BASEGOLEMANCY.title". If I open the entry it shows the title as "research.BASEGOLEMANCY.title" and instead of an entry it just says "research.BASEGOLEMANCY.stage1".
I have done the tasks to unlock the golemancy tab (incl scanning an iron golem). I cannot make anything else in the golemancy tab because it says I am missing the required research.
I can still add progress to golemancy through the theory table.
Is this a bug or have I missed something? Thanks :)
Edit: I have completed the hedge alchemy tab but I still cannot see the materials branch or unlock clockwork minds. Can anyone else help?

it's BETA 4 about a week i guess already and this was fixed

Nothing about this changed in beta4, but if you mouseover unobtainable researches in beta4 it will tell you what you are missing to unlock that research.

You are missing Hedge Alchemy in the Alchemy Tab, I believe.  You need to know how to make magical wax.

I have completed the hedge alchemy tab but I still cannot see the materials branch or unlock clockwork minds. Can anyone else help?

Mouseover it. In BETA4 the Thaumonomicon basically spoonfeeds you...


[0.49] Stop logging error messages to fluidErrorCode property

backport #7788 to 0.49

Abandoning this backport.  Looking at the data, the largest volume of these is socket.io errors, which I can normalize using a regex like (.*(socket.io|OdspSocketError)..+?) .* in queries.


Transfer User Reputation

I have been a user for a long time I am an insider but my personal membership information does not seem to transfer to my work id.

@mfstanton - can you clarify what reputation are you referring to?

I am talking about all the traffic that I generated with my Personal Id (this one) versus my company required Id.  Is there no way to associate the two releative to feedback?
From: docs<EMAIL_ADDRESS>Sent: Tuesday, February 4, 2020 7:01 PM
To: MicrosoftDocs/feedback<EMAIL_ADDRESS>Cc: mfstanton<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/feedback] Transfer User Reputation (#2432)
@mfstanton https://github.com/mfstanton  - can you clarify what reputation are you referring to?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/feedback/issues/2432?email_source=notifications&email_token=AFP6E7M4J5ROTGPURMF3CS3RBIFUDA5CNFSM4KLN2IK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZYSHQ#issuecomment-582191390 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFP6E7PL3N3JENIK5EN6WW3RBIFUDANCNFSM4KLN2IKQ .  https://github.com/notifications/beacon/AFP6E7O7JP2M65CX4JUAWT3RBIFUDA5CNFSM4KLN2IK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZYSHQ.gif

@mfstanton System generated, not that I'm aware of. Short of tagging your other account wherever you want to call attention to yourself in a thread on your other persona. You can always search both of your Git aliases for repos, issues and mentions etc. however any kind of auto-combining of your Git user aliases is out of the scope of the docs.microsoft.com platform.
I'm closing this issue for now, but feel free to continue to comment here if/as needed in the future.  Thanks again for taking the time to contribute to our community.


Create find by and find by attributes

Current coverage is 98.63% (diff: 100%)

Merging #2 into master will increase coverage by 0.12%

@@             master         #2   diff @@
==========================================
  Files            17         19     +2
  Lines           336        366    +30
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            331        361    +30
  Misses            5          5
  Partials          0          0

Powered by Codecov. Last update e7ee219...901db6d


TypeError: TypeError: oTab is undefined. if using  in tab content

Hi.
If you have ul>li in tab content than there is an js error "TypeError: oTab is undefined". It works but it breaks other scripts.
Thanks.

I'm closing the issue since there has been no activity for a while. Feel free to reopen if you feel this is still unresolved.


import sign_language_translator as slt throws error

I installed sign-language-translator using pip install sign-language-translator
but when I try to import - - >
import sign_language_translator as slt
This throws error -
Python 3.9.18 (main, Sep 11 2023, 08:38:23)
[Clang 14.0.6 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.

import sign_language_translator as slt
Traceback (most recent call last):
File "", line 1, in
File "/Users/abhinav/sign/sign-language-translator/sign_language_translator/init.py", line 66, in
from sign_language_translator import config, languages, models, text, utils, vision
File "/Users/abhinav/sign/sign-language-translator/sign_language_translator/config/init.py", line 10, in
from sign_language_translator.config import enums, utils
File "/Users/abhinav/sign/sign-language-translator/sign_language_translator/config/enums.py", line 22, in
from sign_language_translator.utils import (
File "/Users/abhinav/sign/sign-language-translator/sign_language_translator/utils/init.py", line 21, in
from sign_language_translator.utils.archive import Archive
File "/Users/abhinav/sign/sign-language-translator/sign_language_translator/utils/archive.py", line 18, in
from sign_language_translator.utils.utils import is_regex
File "/Users/abhinav/sign/sign-language-translator/sign_language_translator/utils/utils.py", line 191, in
def is_regex(string: str | re.Pattern) -> bool:
TypeError: unsupported operand type(s) for |: 'type' and 'type'

Hey,
Thanks a lot for bringing this to my attention.
Seems to be an issue with python version and type unions. I thought support was added for this after python 3.8 but seems i was wrong.
For now, you may use python >=3.10 and I'll patch this in the next release (v0.7.2) asap and add appropriate tests for it.
Let me know if you face any other issues or have some suggestions. Appreciated 👍.

Hi,
I appreciate your quick response on this matter.
I works!!

Thank you


Streaming API can't find my account

I have a list of accounts I'm following.
I'm using the same method for each account (ie, pulling 1 tweet from each, then getting the ['user']['id'] json object). The system can find every other account and get their tweets but they can't find mine.

Code looks like this:
myStreamListener = MyStreamListener()   myStream = tweepy.Stream(auth = word.auth, listener=myStreamListener)  myStream.filter(follow=people_id, is_async=False)
where people_id is a list generated from the following:
for i in listOfPeopleAts:  response = word.user_timeline(id=i, count=1)  people_id.append(str(response[0]._json['user']['id']))  print(people_at)  print(people_id)
It gets me the correct user ID ('1235370767048740864') but it does not stream correctly. It works properly for other IDs ('25073877', '939091', '432895323') but not mine. seems kind of weird.

NVM, I just have a bug somewhere.

For code block usage, see https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks.


Add barbtail harpoon to wieldable fish equipment

Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

Closing in favour of #5342 as that one contains better fix


Reduce references to [project] within cargo

There was an issue (#11129) with [project] being put in the docs but nothing else stating what [project] is. This was an oversight by me when writing the docs as [project] is still supported in cargo. Back in 2014 [project] was renamed to [package], since then it has kinda sat as something that exists and is supported but not really. I brought this up in a zulip thread, and it was suggested that we could show a warning when [project] is used in a manifest of a top-level crate.
To go slightly further than this I tried to change as many references from [project] to [package] as possible. This should hopefully help with confusion between [project] and [package] in the future.
This PR also includes a cherry-picked commit from #11131 as it was having issues with bors and fits well with the changes that are being made in this PR.
This should ideally be reviewed commit by commit

r? @epage
(rust-highfive has picked a reviewer for you, use r? to override)

r? @weihanglo

@bors r+

:pushpin: Commit 8625d7274a6b9da2a1f525cbaffb1abfb41bd19a has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 8625d7274a6b9da2a1f525cbaffb1abfb41bd19a with merge 928561a0c539c1f96cbe72ca5f8c52d026221e98...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 928561a0c539c1f96cbe72ca5f8c52d026221e98 to master...


Move Network XRD into Cluster

Description of your changes
Changes made to follow platform-ref-azure and incorporate the network fabric in to the creation of the cluster.
Fixes #25

I have:

[x] Read and followed Upbound's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested
Tested on local cluster and creating the cluster and rds instances.

@garreeoke I updated the title to better capture the intent of this PR for a public repo/audience, then added a link to the issue that this PR addresses into the body :)

@upbound/customers-community-squad I have tested this following the README. What additional steps would need to be done to test in UBC?


submodule update requires --init the first time

Looks like some CI validation is failing, I can't imagine such a simple PR is actually causing any trouble!

thanks!

@psifertex

Looks like some CI validation is failing, I can't imagine such a simple PR is actually causing any trouble!

No, it is not related to this PR. Tests in master are broken 😭


mgmt: smp: shell: refactor to use net_buf and allow to use multiple receive buffers

Refactor SMP fragment receive implementation to use net_buf for storing received data. This allows to have multiple buffers simulatenously and move those buffers between 3 different stages:

waiting for use in net_buf pool,
in use by interrupt handler, with partly received data in it,
waiting for processing in thread.

 This PR basically solves highly probably race condition between filling up whole received fragment and processing it. So far there was no mechanism that prevented overwriting already received fragment with new bytes. The only reason why this was not reproducible so far is the 20ms sleep in mcumgr implementation here: https://github.com/apache/mynewt-newtmgr/blob/11e8797b2df44c21ccca4fe9a9a35169ac19aec7/nmxact/nmserial/serial_xport.go#L279. After playing a bit with timeouts it seems like with 10ms and nrf52840 based board there is a big problem to transfer big files (e.g. ~200k with image upload command). First of all this means that on another platform 20ms might not be enough. Second thing is that removing this 20ms timeout completely from mcumgr (which is possible after this PR) will roughly double data transfer speed (e.g. during firmware upgrade).

@Mierunski @de-nordic could you please take a look?

@Mierunski @de-nordic could you please take a look?

I am already looking at this.

Please move commit mgmt: smp: shell: remove useless data->end member  to separate PR, because I am willing to approve it already, but I need to look at the other two commits a little more.

@mniestroj Please move commit mgmt: smp: shell: remove useless data->end member (8f04912) to separate PR, because I am willing to approve it already, but I need to look at the other two commits a little more.

Done

Some RAM/ROM stats for non-net buf solution:
Memory region         Used Size  Region Size  %age Used
           FLASH:      188456 B       412 KB     44.67%
            SRAM:       36692 B       256 KB     14.00%
        IDT_LIST:         152 B         2 KB      7.42%

and for net buf based:
Memory region         Used Size  Region Size  %age Used
           FLASH:      188580 B       412 KB     44.70%
            SRAM:       36930 B       256 KB     14.09%
        IDT_LIST:         152 B         2 KB      7.42%

Build prepared for nrf52840dk, all Kconf default for both. Shell enabled.
The increase in RAM usage has been rated at 0.09% points ~236 bytes. Not really bad.

Just resolved merge conflicts.

@nordic-krch @jakub-uC could you revisit this PR?


Bugfix/tensor plotly range incorrect default

Codecov Report

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

@@           Coverage Diff           @@
##           master     #151   +/-   ##
=======================================
  Coverage   83.37%   83.37%
=======================================
  Files          81       81
  Lines        2635     2635
  Branches      466      466
=======================================
  Hits         2197     2197
  Misses        431      431
  Partials        7        7

Impacted Files
Coverage Δ

src/component/chart/PlotlyChart.tsx
95.23% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Doc changes

adds mac anaconda setup
more details to network setup for pi

@tawnkramer  Not sure why but your pull requests how a more commits than you've actually made. Try starting from a fresh master branch or use rebase. This is merged.


ProfileClient should throw exception on invalid input

See https://github.com/php-http/HttplugBundle/pull/209#discussion_r153747517

we do throw an exception in the flexible client. but it would be better DX if this would be explicit. will do a PR

hm, actually the exception is quite explicit. i don't know what else i would put in the profile client.
if we want to handle misconfiguration, we should maybe rather check the service to know if whats configured is a proper client.

Im closing this. The exception is clear at it is. And this is only used by our configuration.
https://github.com/php-http/HttplugBundle/blob/1.8.1/DependencyInjection/HttplugExtension.php#L292
https://github.com/php-http/HttplugBundle/blob/1.8.1/DependencyInjection/HttplugExtension.php#L300


Make WebViewDatabase dependency lazy

Task/Issue URL: https://app.asana.com/0/414730916066338/1201472407198060/f
Description
This makes the WebViewDatabase dependency lazy which should address some related ANRs and crashes.
Steps to test this PR

[ ] Verify that the app opens without error.

Thanks for the review @CDRussell!


[SPARK-45694][SPARK-45695][SQL] Clean up deprecated API usage View.force and ScalaNumberProxy.signum

What changes were proposed in this pull request?
Clean up deprecated API usage:

ScalaNumberProxy.signum -> use sign instead;
View.force -> call toIndexedSeq directly which is equivalent;

Why are the changes needed?
Eliminate compile warnings and no longer use deprecated scala APIs.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.

Could you re-trigger the failed test pipeline, @ivoson ?

@ivoson Please update the pr description.

Could you re-trigger the failed test pipeline, @ivoson ?

Hi @dongjoon-hyun done, the test passed now.

@ivoson Please update the pr description.

Thanks, @LuciferYang . done

Merged into master for Spark 4.0. Thanks @ivoson and @dongjoon-hyun ~


Selection Sort

It a c++ program for sorting using Selection Sort

@AllenCompSci
Please check new PR.


Mac db

for #7949, include hardware manufacturer information in leases table

@cpalv thanks, merged in https://github.com/opnsense/core/commit/a94e08ec66162b2e99be3fdba4003461cf4c8fa5


Why does https://buildingenvelopedata.org/ ask for credentials?

It should redirect to the sub-domain www. Only the sub-domain staging should ask for credentials.

Closed by https://github.com/ise621/machine/commit/5bc491b93c74db5db56cd4f8d7b3eb76193d4026


Az Cli Task fails with no error before executing the inline script

Required Information
This is a bug.
Error Logs

Agent Pool => Azure Pipelines Hosted Ubuntu 16.04
Az Cli Task Version 1

The az path seems incorrect. I looked at other executions, and they use the path [command]/usr/bin/az  instead of [command]/home/vsts/work/r1/a/bin/az. Why is this execution of the task using a different path?

@govenkat-ms As discussed here: https://developercommunity.visualstudio.com/content/problem/1012413/az-cli-task-for-release-fails-before-execution-of.html
This must have been because of the "Setup Agent" script that was part of the pipeline. I see that you've resolved the issue by yourself. I'm closing this ticket as this is a duplicate for the above linked one.
Please update how you've managed to resolve, for future reference. If you're still facing the issue, feel free to re-open this ticket.


How to import a third-party nodejs library

I imported the ethers library. I need to use the ethers library in my js code to access the smart contract of the blockchain. How should I do it?

you can try using the import command with a specific path to use it. Alternatively, place it in the modules folder.


Remove butter knife

Remove ButterKnife from dependency to decrease method count and remove annotationProcessor to fasten build

hey @pchmn
you've got a great lib!
Accepting this MR would be very helpful - butterknife is causing some issues for our App...
Thanks in advance


koalas.DataFrame()

based on a conversation with Brooke, we should have a function called pyspark.DataFrame that takes the same arguments as pandas.DataFrame https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L378 but returns a Spark dataframe. It should be a simple wrapper that calls pyspark.createDataFrame

The documentation for the function to wrap:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html#pandas.DataFrame

I renamed this to koalas.DataFrame.

@thunterdb @rxin Could we do somethings similar for pd.Series too? Tony and I are trying to port over some example pandas documentation code to Koalas, and this is a blocker.

It works fine against refactoring branch.
>>> from databricks import koalas
>>> import pandas as pd
>>> koalas.Series(pd.Series([1, 2, 3]))
0    1
1    2
2    3
Name: 0, dtype: int64

>>> from databricks import koalas
>>>
>>> df = koalas.DataFrame({'x': [1, 2], 'y': [3, 4], 'z': [5, 6]}) # A Spark dataframe
>>>
>>>
>>> # Rename columns
... df.columns = ['x', 'y', 'z1']
>>>
>>> # Do some operations in place
... df['x2'] = df.x * df.x
>>>
>>> df.toPandas()
   x  y  z1  x2
0  1  3   5   1
1  2  4   6   4

>>> import pandas as pd
>>>
>>> df = pd.DataFrame({'x': [1, 2], 'y': [3, 4], 'z': [5, 6]}) # A Pandas dataframe
>>>
>>>
>>> # Rename columns
... df.columns = ['x', 'y', 'z1']
>>>
>>> # Do some operations in place
... df['x2'] = df.x * df.x
>>>
>>> df
   x  y  z1  x2
0  1  3   5   1
1  2  4   6   4

These tickets will be closed once https://github.com/databricks/koalas/pull/134 is merged.


500 Oops, server error!

Describe the bug
After deploying the container, the page shows an error 500
To Reproduce
Steps to reproduce the behavior:

load the website

Expected behavior
not a 500 error :)
Environment (please complete the following information):

OS: debian
Architecture: amd64
Browser: Chrome, Firefox

Screenshots

Logs
██╗     ███████╗██╗ ██████╗
██║     ██╔════╝██║██╔═══██╗
██║     ███████╗██║██║   ██║
██║     ╚════██║██║██║   ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v0.21.4-ls49
Build-date: 2024-10-10T00:44:21+00:00
───────────────────────────────────────
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Additional context
I set APP_DEBUG=true but it won't show any usable issue.
Thanks for assistance!

Same here, deploying in a container on Synology (x86) NAS:
My log keeps repeating (Cannot change the log sort direction on the NAS!):
2024/10/13 11:46:22	stdout	  Context: {"exception":{"errorInfo":null,"connectionName":"sqlite"}}
2024/10/13 11:46:22	stdout	  "key" in (laravel_cache_illuminate:queue:restart))
2024/10/13 11:46:22	stdout	  ath to the database. (Connection: sqlite, SQL: select * from "cache" where
2024/10/13 11:46:22	stdout	  /www/database/database.sqlite] does not exist. Ensure this is an absolute p
2024/10/13 11:46:22	stdout	  The exception occurred while attempting to log: Database file at path [/app
2024/10/13 11:46:22	stdout	  in append mode: Failed to open stream: Permission denied
2024/10/13 11:46:22	stdout	  The stream or file "/app/www/storage/logs/laravel.log" could not be opened
2024/10/13 11:46:22	stdout
2024/10/13 11:46:22	stdout	In StreamHandler.php line 140:

Hi @Roycinger
Which error is shown on the webpage when you turn on APP_DEBUG and restart the container?
--
Hi @FearNaBoinne
How does your compose looks? Seems that some path are not existing. Sqlite DB should be made automatically when starting the container for the first time.

Compose.yml:
    speedtest-tracker:
        container_name: speedtest-tracker
        ports:
            - 6080:80
            - 6443:443
        environment:
            - PUID=1000
            - PGID=1000
            - APP_KEY=base64:BxSP5IAXtG2EY0XiwxYh2g6kh5U0L11Z97E7A5tu5og=
            - APP_URL=https://<IP_ADDRESS>:6443/
            - APP_DEBUG=1
            - DB_CONNECTION=sqlite
        volumes:
            - /volume2/SSD-Share/Speedtest/config:/config
        image: lscr.io/linuxserver/speedtest-tracker:latest
        restart: unless-stopped```

From CLI:
```[FNB-user]@SynoNAS:/volume2/SSD-Share/Speedtest/config$ pwd
/volume2/SSD-Share/Speedtest/config
[FNB-user]@SynoNAS:/volume2/SSD-Share/Speedtest/config$ ll
total 4
drwxrwxrwx+ 1     1000  1000  88 Oct 13 12:19 .
drwxrwxrwx+ 1 [FNB-user] users  36 Oct 13 11:41 ..
-rwxrwxrwx+ 1     1000  1000   0 Oct 13 12:16 database.sqlite
drwxrwxrwx+ 1     1000  1000  32 Oct 13 11:46 keys
drwxrwxrwx+ 1     1000  1000  38 Oct 13 11:46 log
-rwxrwxrwx+ 1     1000  1000  28 Oct 13 11:46 .migrations
d----w----  1     1000  1000 212 Oct 13 12:16 nginx
drwxrwxrwx+ 1     1000  1000  44 Oct 13 11:46 php
drwxrwxrwx+ 1     1000  1000  36 Oct 13 11:57 www```

Hi @Roycinger
Which error is shown on the webpage when you turn on APP_DEBUG and restart the container?
--
Hi @FearNaBoinne
How does your compose looks? Seems that some path are not existing. Sqlite DB should be made automatically when starting the container for the first time.

Basically the same as before I added APP_DEBUG=true:

Basically the same as before I added APP_DEBUG=true:

Try 'APP_DEBUG=1'

Basically the same as before I added APP_DEBUG=true:

Try 'APP_DEBUG=1'

same result

Fixed it for my situation by adding 'everyone' to the config folder with +RW in filemanager on Synology... May be a bit too much, but I'll work on finding the correct user to 'allow' eventually!

Hi @Roycinger
Which error is shown on the webpage when you turn on APP_DEBUG and restart the container?
Hi @FearNaBoinne
How does your compose looks? Seems that some path are not existing. Sqlite DB should be made automatically when starting the container for the first time.

Basically the same as before I added APP_DEBUG=true:

Did you restart / redeploy the container there should be something in blue page showing up with the more details error.

Hi @Roycinger
Which error is shown on the webpage when you turn on APP_DEBUG and restart the container?
Hi @FearNaBoinne
How does your compose looks? Seems that some path are not existing. Sqlite DB should be made automatically when starting the container for the first time.

Basically the same as before I added APP_DEBUG=true:

Did you restart / redeploy the container there should be something in blue page showing up with the more details error.

Yes, several times.
I put the APP_DEBUG=true here, I hope that's the right place:

Do you have the full app key set in environment value?
Make sure it contains the base64 at the start and the = at the end.

Do you have the full app key set in environment value? Make sure it contains the base64 at the start and the = at the end. And no additional spaces etc.

Yes sir:
https://github.com/alexjustesen/speedtest-tracker/issues/1758#issuecomment-2409121022

issue solved


About :bash <(curl -L -s https://install.direct/go.sh)

Hello, I'd like to suggest a few problems with your official one-click script:
1·Using tar seems better than zip/unzip.
2·Some environment do not have bash.only support curl https.
bash <(curl -L -s https://install.direct/go.sh)
curl https://install.direct/go.sh | sudo bash

Hello ntgeralt.
The reason for this script to use zip/unzip is that currently the released content of V2Ray is still in zip format.
The way the script is executed is independent of the content of the script itself.

Since I tried to run the V2Ray official code on BSD system, I found it would not work.But the precompiled files work fine.
Thank you for your reply.

Since I tried to run the V2Ray official code on BSD system, I found it would not work.But the precompiled files work fine.
Thank you for your reply.

Here is a Bash script written for OpenBSD:
https://github.com/v2fly/openbsd-install-v2ray


docs(Dialog): Fix closing of dialog in header action example

Use proper callbacks to allow outside click and Esc to close the dialog.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


sudo or not sudo

The detection of Windows Boot Manager with os-prober requires admin rights (sudo), thus running
mdd --dry-run

without sudo does not work. On the other hand, running
sudo mdd --dry-run

works well for the detection of Windows Boot Manager, but it struggles detecting the Display Manager with following error message and output
xset:  unable to open display ""
…
    "desktop": {
        "cli": "/usr/bin/bash",
        "gui": "i3",
        "dm": "",
        "wm": null,
        "display": "unspecified",
        "display_with": "Xwayland"
    }

instead of "display": "x11".
What kind of works, is running any command with sudo before. Then, mdd calls sudo -n os-prober within the timeout of sudo (15 min). But this should not be intended to be used like this.

MDD has code to try to use sudo internally if no password is needed to use os-prober, so that should still work even when running the script as user.
In case that doesn't work it should fall back to a partition analysis and hopefully this way find out about Windows dual boot systems.
Can you try to run mdd --dry-run --log DEBUG to get more info on this?
If you run the script as root indeed some data about X11 session might be not available. But this is a different issue.

Here, the debug messages:
mdd --dry-run --log DEBUG
[2024-11-07T13:59:40] INFO ...get system info
[2024-11-07T13:59:40] INFO ...get boot info
[2024-11-07T13:59:40] INFO ...get cpu info
[2024-11-07T13:59:40] INFO ...get memory info
[2024-11-07T13:59:40] INFO ...get graphics info
[2024-11-07T13:59:40] INFO ...get audio info
[2024-11-07T13:59:40] INFO ...get disk info
[2024-11-07T13:59:40] INFO ...check for Windows dualboot
[2024-11-07T13:59:40] INFO Attempting to use os-prober...
[2024-11-07T13:59:40] INFO ...check for Windows with os-prober
[2024-11-07T13:59:40] INFO os-prober call failed, trying elevated
[2024-11-07T13:59:40] INFO os-prober failed: can not elevate os-prober call
[2024-11-07T13:59:40] INFO Falling back to partition analysis...
[2024-11-07T13:59:40] INFO ...check for Windows dualboot with lsblk
[2024-11-07T13:59:40] INFO No partition found with Windows characteristics. Assuming single-boot system.
[2024-11-07T13:59:40] INFO ...get locale info
[2024-11-07T13:59:40] DEBUG /etc/timezone found, contents:
 Europe/Rome

[2024-11-07T13:59:40] DEBUG /etc/localtime found
[2024-11-07T13:59:40] DEBUG 2 found:
 {'/etc/timezone': 'Europe/Rome', '/etc/localtime is a symlink to': 'Europe/Rome'}
[2024-11-07T13:59:40] INFO ...get package info
[2024-11-07T13:59:47] INFO ...get pacman-mirrors info
[2024-11-07T13:59:48] INFO ...get desktop info

sudo mdd --dry-run --log DEBUG
[2024-11-07T14:04:46] INFO ...get system info
[2024-11-07T14:04:46] INFO ...get boot info
[2024-11-07T14:04:46] INFO ...get cpu info
[2024-11-07T14:04:46] INFO ...get memory info
[2024-11-07T14:04:46] INFO ...get graphics info
[2024-11-07T14:04:46] INFO ...get audio info
xset:  unable to open display ""
xset:  unable to open display ""
xset:  unable to open display ""
[2024-11-07T14:04:46] INFO ...get disk info
[2024-11-07T14:04:46] INFO ...check for Windows dualboot
[2024-11-07T14:04:46] INFO Attempting to use os-prober...
[2024-11-07T14:04:46] INFO ...check for Windows with os-prober
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.12/logging/__init__.py", line 1160, in emit
    msg = self.format(record)
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 999, in format
    return fmt.format(record)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 703, in format
    record.message = record.getMessage()
                     ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 392, in getMessage
    msg = msg % self.args
          ~~~~^~~~~~~~~~~
TypeError: not all arguments converted during string formatting
Call stack:
  File "/usr/bin/mdd", line 843, in <module>
    main()
  File "/usr/bin/mdd", line 808, in main
    data = get_device_data(args.telemetry)
  File "/usr/bin/mdd", line 754, in get_device_data
    "disk": get_disk_info(),
  File "/usr/bin/mdd", line 597, in get_disk_info
    "windows": check_windows_dualboot(),
  File "/usr/bin/mdd", line 187, in check_windows_dualboot
    return dualboot_os_prober_check()
  File "/usr/bin/mdd", line 126, in dualboot_os_prober_check
    logging.info("Found Windows with os-prober:", line)
Message: 'Found Windows with os-prober:'
Arguments: ('/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi',)
[2024-11-07T14:04:48] INFO ...get locale info
[2024-11-07T14:04:48] DEBUG /etc/timezone found, contents:
 Europe/Rome

[2024-11-07T14:04:48] DEBUG /etc/localtime found
[2024-11-07T14:04:48] DEBUG 2 found:
 {'/etc/timezone': 'Europe/Rome', '/etc/localtime is a symlink to': 'Europe/Rome'}
[2024-11-07T14:04:48] INFO ...get package info
[2024-11-07T14:04:54] INFO ...get pacman-mirrors info
[2024-11-07T14:04:56] INFO ...get desktop info

mdd --dry-run --log DEBUG(again without sudo, but within sudo timeout)
[2024-11-07T14:07:37] INFO ...get system info
[2024-11-07T14:07:37] INFO ...get boot info
[2024-11-07T14:07:37] INFO ...get cpu info
[2024-11-07T14:07:37] INFO ...get memory info
[2024-11-07T14:07:37] INFO ...get graphics info
[2024-11-07T14:07:38] INFO ...get audio info
[2024-11-07T14:07:38] INFO ...get disk info
[2024-11-07T14:07:38] INFO ...check for Windows dualboot
[2024-11-07T14:07:38] INFO Attempting to use os-prober...
[2024-11-07T14:07:38] INFO ...check for Windows with os-prober
[2024-11-07T14:07:38] INFO os-prober call failed, trying elevated
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.12/logging/__init__.py", line 1160, in emit
    msg = self.format(record)
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 999, in format
    return fmt.format(record)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 703, in format
    record.message = record.getMessage()
                     ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/logging/__init__.py", line 392, in getMessage
    msg = msg % self.args
          ~~~~^~~~~~~~~~~
TypeError: not all arguments converted during string formatting
Call stack:
  File "/usr/bin/mdd", line 843, in <module>
    main()
  File "/usr/bin/mdd", line 808, in main
    data = get_device_data(args.telemetry)
  File "/usr/bin/mdd", line 754, in get_device_data
    "disk": get_disk_info(),
  File "/usr/bin/mdd", line 597, in get_disk_info
    "windows": check_windows_dualboot(),
  File "/usr/bin/mdd", line 187, in check_windows_dualboot
    return dualboot_os_prober_check()
  File "/usr/bin/mdd", line 126, in dualboot_os_prober_check
    logging.info("Found Windows with os-prober:", line)
Message: 'Found Windows with os-prober:'
Arguments: ('/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi',)
[2024-11-07T14:07:39] INFO ...get locale info
[2024-11-07T14:07:39] DEBUG /etc/timezone found, contents:
 Europe/Rome

[2024-11-07T14:07:39] DEBUG /etc/localtime found
[2024-11-07T14:07:39] DEBUG 2 found:
 {'/etc/timezone': 'Europe/Rome', '/etc/localtime is a symlink to': 'Europe/Rome'}
[2024-11-07T14:07:39] INFO ...get package info
[2024-11-07T14:07:45] INFO ...get pacman-mirrors info
[2024-11-07T14:07:46] INFO ...get desktop info

Fyi, actually, indeed I have still the Windows boot manager entry but the partition with windows deleted, so it makes sense that lsblk does not detect Windows, while os-prober does.

I have still the Windows boot manager entry but the partition with windows deleted

Ok, then this seems to be a very special case and the outcome is to be expected. I don't think there are many people with this kind of setup, so we can probably ignore it.
There is still this traceback in the log though. We should look into that.


Add UnionPay 62

Yes.

#106

Please read contributing guidelines before creating a merge request.

Also, don’t edit the JS file directly. The main source file is the CoffeeScript file. Edit that, compile and push both JS and CS files.


Swicon

Swicon - Use 1600+ icons (and more!) from FontAwesome and Google Material Icons in your swift/iOS project in an easy and space-efficient way! :large_orange_diamond:

@UglyTroLL do you know on what category we could add Swicon?

Closed due inactivity

Shit, sorry I didn't see the first message you sent last year :(
It should be under 'Text/Font' if it's still OK to put it in


Support "serve" and "run" like the Webpack module?

Question: Would it be good to add things like the "serve" and "run" function from Webpack?
I need to test things locally, and this might be a good way to go if we can't integrate natively with other modules like serverless-simulate or serverless-local. It's not a complete solution but might be a simpler option then running one of these other modules and supporting them directly.

I'd definitely favour a solution where we could re-use other existing best practises. I'm not familiar with the webpack plugin. Would be great to hear @pmuens opinion as well!

Would be great to hear @pmuens opinion as well!

Thanks for mentioning 👍
Adding a serve option sounds like a nice addition and big DX win!
Just to be clear. The idea is to add an option like it's done in the webpack plugin but not an integration with the webpack plugin, correct?

Yes, the plan here is to just add something like ts serve as a command directly, just borrowing from what the webpack module did.
I originally was trying out the webpack module but it wasn't nearly as good as this module (even as simple as this module is!) but I loved the local invocation and serve capabilities.
Functions like "serverless-simulate" are too heavy for me (I'm running an old iMac), so something simple like this would be ideal for my dev situation.

@kopertop gotcha! Yes, such a simple and lightweight addition sounds like a good plan! 👍

@kopertop webpack-serverless are going to deprecate server in favor of using serverless-offline.
Latest version 1.0.0 of serverless integrates very well with serverless-offline.
As for run functionality you can use sls invoke local -f <FnNam>. serverless-plugin-typescript also supports it + it supports --watch mode
I would close the issue in favor of using serverless-offline + serverless invoke local
@schickling, @kopertop what do you think?

Let's re-open this if the DX turns out to be not good enough.


Create aws-auth-guide-self-hosted.md

Status
Ready
Related Issues
https://github.com/demisto/etc/issues/27179
Description
Provide documentation the following deployment scenario: Cortex XSOAR server self-hosted outside the AWS environment in a remote network. When this is approved and added to the dev-hub, we need to add a comment in https://xsoar.pan.dev/docs/reference/articles/aws-integrations---authentication with a link to this article.
Screenshots
Paste here any images that will help the reviewer

@ShirleyDenkberg @kirbles19 why not unite this with the other article about AWS auth? It seems that there is some overlap here.

@glicht We decided to make this a different topic because it relates to a different use case.  From a user's perspective, I want to see information for my specific use case.  I do not want to sift through information that I do not need.e

Let's discuss this with @kirbles19

Combine content in this PR with https://xsoar.pan.dev/docs/reference/articles/aws-integrations---authentication

I combined the content in this PR with https://xsoar.pan.dev/docs/reference/articles/aws-integrations---authentication.

Closing. Was replaced by: https://github.com/demisto/content-docs/pull/270


Undefined method error with when reading the cache with Rails 5.2.

I'm running an application with Rails 5.2.4 and Dalli on the master branch.
Rails.application.config.cache_store is returning :
[:mem_cache_store,
 "memcache",
 {:namespace=>"cache:application:development:v2",
  :expires_in=>1 hour,
  :compress=>true}]

When I do
Rails.cache.read('test')

NoMethodError: undefined method 'with' is raised.
This is because the method with has been removed in this commit but it still used in ActiveSupport::Cache::MemCacheStore.
The method with is required until MemCacheStore is fixed for compatibility issue.

@ryanb @GCorbel  I put in a PR that I believe resolves this issue.  If you have a minute to run a test locally against the master branch and confirm, that would be helpful.  I expect to release a new gem version tonight.

I don't have time to test tonight but will tomorrow. Feel free to release if you want. Thanks @petergoldstein!

For the record, this works for me too. Thanks!


What does "Daily count" on the figures "Test results - PCR tests" and "Test results - Rapid antigen tests" on the analysis page mean?

Your Question

Website URL Path: https://www.coronawarn.app/en/analysis/
Line / Paragraph: "Test results" and then "Test results - PCR tests" and/or "Test results - Rapid antigen tests"

What "Daily count" mean? It is shown above the positive tests and I would guess that this means that on this date x persons were tested positive. But why isn't "Daily count" shown above "Invalid" and "Negative" too? This does not really make sense to me, as all the data shown there is the "Daily count", or?
When I switch to the "Sorted by calendar week" view this makes even less sense to me.
Here's a screenshot:

@Ein-Tim
It's a formatting and labelling bug.
Steps to reproduce

Open https://www.coronawarn.app/en/analysis/
View "Transmitted and registered test results" graph using default selections (Last 28 days, Daily)
Click on "PCR tests"
Hover with the mouse over the graph
Note the data formatting

The label "Daily count" is below a separating line and above the value and label for "Positive"
Expected display
The "Daily count" label should not be displayed.
The Positive value should be directly below the Negative value without any separating line.

@MikeMcC399
I also thought that this might be a bug! Thanks for confirming.
@dsarkar Please, take a look at this. Thanks.

This is an area that @brifemu has worked on in the past.  He probably has a public holiday today though.

@Ein-Tim
FYI https://github.com/corona-warn-app/cwa-website/pull/2290

@Ein-Tim
It's up to you if you want to change the description, but now the bug has been identified, a title such as:
Wrong "Daily count" label on Analysis / Test result page
would be closer to describing the real issue.

@MikeMcC399 I changed the title, thanks.
I can confirm that this issue has been fixed, so closing this.


controller: use the work queue

This PR introduces support for using a work queue to distribute work among a number of worker threads (goroutines). This allows us to align with the guidelines for writing a controller by transitioning between the following two models:
Current (master):

New (rework):

By transitioning between these models, we reduce the number of goroutines required to handle NatsCluster resources from N (one per cluster) to a constant value C (currently 2), and also reduce the load on the Kubernetes API by reducing the number of requests issued against it.
A key part of this transition involves switching from a model in which we do a "unit of work" (e.g. create a single pod) every 5s to a model where a worker goroutine does all the work required at the moment (e.g. create two pods to achieve a total size of five), becoming available for working on other NatsCluster resources until the "current" NatsCluster needs to be reconciled again. The fact that a NatsCluster needs to be reconciled is signaled by its namespace/name being added to the workqueue. In its turn, this happens whenever one of the following situations occurs:

The NatsCluster resource is seen (e.g. created, or listed when the application starts);
The NatsCluster resource is modified.
A pod, service, secret or NatsServiceRole associated with the NatsCluster is seen, modified or deleted.
The full resync period of the shared informer factories (currently set to 24h) elapses. This may be disabled in the future.

To allow for this change, we now wait for a pod to be ready after creating it, as well as for a pod to be effectively deleted after it is deleted. The order and naming strategy for pods is kept, even though createPod and removePod are being reworked to play nicely with listers - speaking of which, we now also use listers instead of directly querying the API to know the current state of a given resource. This also helps greatly reduce our request footprint.
For more info on edge vs level triggered reconciliation, please read this article.

Great that it is using more informers and listers 👍  will take a look further tomorrow.

@wallyqs please, re-review as I've added 6cbe8d8.

The test suites will be reworked after this PR is merged.

I've agreed with @wallyqs to merge this since it's not going to master and we discuss later.


[HOTFIX] Include pedagogy page in yml file

This little PR includes the changes implemented in #231 in the config.yml file. Otherwise the page won't show up.

thanks for noticing and fixing this, @musicEnfanthen

Thanks, @musicEnfanthen! it seems I missed pushing that file. Thank you for catching that!

You are welcome, @martha-thomae . Thanks for adding the page to the website.