Ro sent

Movies reviews dataset for Romanian language.

Hi @iliemihai, it looks like this PR holds changes from your previous PR #1493 .
Would you mind removing them from the branch please ?

@SBrandeis I am sorry. Yes I will remove them. Thank you :D

Hi @lhoestq @SBrandeis @iliemihai
Is this still in progress or can I take over this one?
Thanks,
Gunjan

Hi,
While trying to add this dataset, I found some potential issues.
The homepage mentioned is : https://github.com/katakonst/sentiment-analysis-tensorflow/tree/master/datasets/ro/, where the dataset is different from the URLs: https://raw.githubusercontent.com/dumitrescustefan/Romanian-Transformers/examples/examples/sentiment_analysis/ro/train.csv. It is unclear which dataset is "correct". I checked the total examples (train+test) in both places and they do not match.

We should use the data from dumitrescustefan and set the homepage to his repo IMO, since he's first author of the paper of the dataset.

Hi @lhoestq,
Well, that makes sense. But, while the dataset link works, it is not present on their repo and I don't understand how or why that is the case.

Hi @lhoestq,
Cool, I'll get working on it.
Thanks

Hi @lhoestq,
This PR can be closed.

Closing in favor of #2011
Thanks again for adding it !


Add Velero supporting CRDs

Added setup task for addition of supporting velero CRDs

We need to figure out travis running kind so not exposing OCP APIs.

Will follow up in a different PR.


run concurrent selfplay without bazel

Hello i am working on my thesis and my job is to implement the concurrent selfplay code to an fpga via vivado hls. I wanted to ask you if there is a way that i can run concurrent selfplay via a compiler ide without using bazel or the terminal. Sorry if my question doesn't make sense and thanks for any help.

Sorry for the delay replying.
I don't think there's much that prevents the C++ selfplay code from being compiled using a different toolchain, though that's not something we actively support. The C++ model code doesn't compile in any support for TensorFlow models by default (you have to define MG_ENABLE_TF_DUAL_NET) so I strongly recommend trying to compile the simple_example first.
How are you planning to run the model? Do you need TensorFlow support? That will be a whole separate problem.


Update keyboard shortcuts to meet the new GitHub content style guide

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://github.com/github/docs/blob/main/components/playground/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-project-for-codespaces/dotnet.tsx
What part(s) of the article would you like to see updated?
Keyboard shortcuts in this document are outdated. Refer to Keyboard Shortcuts section in the content style guide on how to correctly present keyboard shortcuts in GitHub docs.
Additional information
For example
commandk should be Command+K
commandshift7 should be Command+Shift+7
This issue is for the Campus Experts + GitHub Docs program and is not available to be assigned.

not stale

This one appears to have been fixed. I'm going to close the issue now 💛


Calendar.List example does not work

Hi,
I am trying to implement Calendar.List in my app using the example on the marceloprado.github.io website but I receive a render error. The error indicates: "requireNativeComponent:AutoLayoutView was not found in the UIManager". Am I doing something wrong or is there a bug in the latest version? I am using the expo-dev client.
Package versions:
"expo": "~50.0.14"
"@marceloterreiro/flash-calendar": "^0.0.9"
"react": "18.2.0",
"react-native": "0.73.6",

HI! Make sure you've followed the Installation guides here. You also need Flash List installed.


Redefine htlc intercept and processing spec

Improve upon GatewayLightning subscribe_intercept_htlcs by defining a bi-directional rpc pattern for subscribing to intercept htlcs and responding after complete htlc processing by the client.

For every new federation connected, the gateway sends a request for HTLC interception:

// example
let request = InterceptHtlcsRequest { action: Some(Action::Subscribe(Subscribe { short_channel_id: u64 })) };
let stream = client.intercept_htlcs(request).await?;

For every HTLC intercepted and processed by the gateway:

Use this RPC to send a request to settle the HTLC if HTLC processing was successful

// example
let request = InterceptHtlcsRequest { action: Some(Action::Settle(Settle { preimage: [] })) };
let stream = client.intercept_htlcs(request).await?;

Use this RPC to send a request to cancel the HTLC if HTLC processing failed, timed-out or was rejected for some other reason

// example
let request = InterceptHtlcsRequest { action: Some(Action::Cancel(Cancel { reason: "" })) };
let stream = client.intercept_htlcs(request).await?;

The RPC action types applied here are defined in protobuf message types as InterceptHtlcsRequest

@elsirion, @m1sterc001guy , I'm almost convinced we should have  two RPC functions instead of this proposal for a single bi-directional streaming RPC named intercept_htlcs. My new finding when implementing this spec is a client can send multiple messages to the server over a single request, but the RPC api does not clarify the following:

Can a client initiate multiple htlc subscriptions at the same time?
Can a client initiate a htlc subscription over the same request which also responds to some earlier intercepted htlcs?

As an alternative, we can have:

subscribe_intercept_htlc for opening new htlc intercept subscriptions
complete_processed_htlc for sending Settle or Cancel messages to complete intercepted and processed htlcs

Abandoned in favor of #1240


Make the queue module available on no_std

The crossbeam_queue crate is no_std compatible since #455.

Thanks!
bors r+
P.S. I'm really enjoying your blog on OS.  Thank you for great posts.

P.S. I'm really enjoying your blog on OS. Thank you for great posts.

Thanks a lot, great to hear that! This change is related to the upcoming post about async/await: I plan to use the SeqQueue/ArrayQueue types for my executor implementation. So thank you for your work on this crate!

It seems like the travis build with --no-default-features failed. I will look into it.

The problem was that the crossbeam_queue dependency is only enabled with either the std or alloc feature, so that the build without both features failed. There are two ways to fix this: Either make crossbeam_queue non-optional or only make the queue module available if at least the alloc feature is enabled. I tried both variants and decided for the latter because it leads to cleaner code and the queue module would be empty anyway without the alloc/std features.
Sorry about the churn!

bors r+

One more fix was needed because travis still failed: The dependency was missing default-features = false so that the std feature was still enabled for no_std.

Oh wow, this change is more difficult than I thought :sweat_smile:. Travis fails again, this time because atomics are not available on thumbv6m-none-eabi. I will push a fix in a moment, but I recommend that we wait until travis succeeds before giving it to bors, in case there are other platform-specific requirements that I did not think of.

It seems like there is no good solution for this at the moment. The problem is that the atomic compare-and-swap operations are not available on all devices. The thumbv6m-none-eabi architecture is an example for a device without this feature. (Note that this issue was already present in the crossbeam-queue sub-crate before my PR, it just wasn't caught by the CI.)
Unfortunately, I can't find a way to disable the queue module for such architectures. The #[cfg(target_has_atomic = ...)] attribute would be the best approach, but it is not stable yet and thus only works on nightly. There also seems to be no way to disable the module explicitly for the thumbv6m-none-eabi as a workaround.
So it is not clear to me how we should proceed with this. What do you think?

I needed to move the cfg to the crossbeam-queue crate because it is compiled as a dependency before the cfg in crossbeam itself applies.

Ok, travis is finally green, so this is ready for review again!

bors r+

Thanks for merging this! Any chance we can get a crates.io release for this soon or do you prefer to bundle more changes into the next version? I'm asking because I'm currently working on a blog post that uses the ArrayQueue type and am currently using the crossbeam-queue subcrate for this, but would like to use the main crossbeam crate if possible.

@stjepang would you please give me an access to crates.io for the crossbeam-queue crate?  I happen to have access to the other crates, but not for this one.


The README's Slack url should be permanent (it currently expires every 30 days)

Hi @SnirShechter
I would like to be assigne to this

@shay123g
Sounds great.
It's not an easy task, though.
You're free to plan it yourself, however, here's what I had in mind when opening it:

In case there's a way to create a permanent link, that's great. Just use that.
In case there isn't, there are two ways to go:

We can use a scheduled Github action to run every month and renew the link. The new link can be replaced in the docs etc.
We can create a permanent link of our own (given the current temporary link https://miniservices.snir.sh, we can use https://slack.miniservices.snir.sh). That link will be routed to our own server or lambda function which will request an invitation link and redirect to there.

What do you think?

@SnirShechter
there isnt option in Slack to generate permanent invitation link, however:

there is a way we can try to create permanent link using the Slack worspace management. you can see it here:
https://www.reddit.com/r/Slack/comments/e26mn8/automating_slack_invites
I would like to try that. any chance to get permission to Slack admin page?
if the first way will not work, I think working with Github actions will be better. only thing we need to do afterwards is to create
a script that replace the url in the file

@shay123g
Granted.

@shay123g
Granted.
cred? (pm me)

I sent you an invitation on email.
However, seems like I solved the issue. Since you didn't manage to login, I created an invitation link and followed the instructions in the link you posted.
This link is set to never expire:
https://join.slack.com/t/mini-services/shared_invite/zt-lu0mqw8n-HVk1Aq6yUODvJXZ6ikIA9w
Issue is solved. You want to do the honors and create the PR to replace the link? 🙂

its OK, create &merge your PR 😃 👍
I'm sure I will have another oppurtunities.. wait for the workshop on wensday


"Failed to get transaction from daemon"

Expected Behavior
Everything was going smoothly, all Swaps and Locks were fine.
I was in the final step 4 to receive the swap.
But an error starter to prompt:

1."level":"WARN","fields":{"message":"monero-wallet-rpc failed to fetch transaction, may need to be restarted"
2."level":"DEBUG","fields":{"message":"Failed to get transaction from daemon","data":"None"}}
3.Error: Failed to complete swap
Caused by:
0: JSON-RPC request failed with code -38: no connection to daemon
1: JSON-RPC request failed with code -38: no connection to daemon
MY ENV

Node version : v20.1.0
Operating System and version : macOS Catalina 10.15.7 19H2026 x86_64
Host: MacBookPro9,2
Kernel: 19.6.0

Done! Finally, the Transaction went through with some Retry's

Hello, how did you retry? The only option is "Done"


crypt: check for maximum length before decrypting filename

What is the purpose of this change?

The EME Transform() method will panic if the input data is larger than 2048 bytes.
Was the change discussed in an issue or in the forum before?

Fixes #2826
Checklist

[x] I have read the contribution guidelines.
[x] I have added tests for all changes in this PR if appropriate.
[ ] I have added documentation for the changes if appropriate.

[x] I'm done, this Pull Request is ready for review :-)

Nice one - thank you :-)


List of Open Source programs in the Readme file

The Readme file can be enhanced by adding a list of all the Open Source programs in whcih this project has been listed in. Alos there are a lot of grammatical errors in the Readme file that needs correction.

Hi! Please assign this issue to me under GSSOC.

Sure Go Ahead @anirudhsai20


weekly goal sop update

can we have an example block at the bottom to see how this would look like


Added Mongo DB

What
Added mongoDB to legacy cache API. The app has two endpoints to test we can make GET and POST calls. Those endpoints will be removed from the API later.
How to review

Follow steps in README to get app running. You need to install the docker desktop to follow the commands in the readme.

Using postman or similar, POST a json message to endpoint localhost:29100/mongocheck first to write one record.  Containing a field "message"
{  "message":"hello"  }

Using postman or similar, check endpoints listed in api.go. Please note: Making a GET request before a POST to /mongocheck will return null. This is because the docker mongoDB instance won't contain any data until you have inserted some.

Who can review
A member of AND.

@lindenmckenzie addressed your comments, thanks for taking the time to look through. Please let me know if there's any further changes you require.

@lindenmckenzie should both be fixed now.


WIP Rewrite sample stats to use apache arrow

This adds a new optional dependency to arrow and if it is enabled, sample stats can be collected in arrow arrays. This makes it easier for other libraries to collect the sampler stats into a trace.
The old custom system that uses an enum to describe the different datatypes is removed, so this is a breaking change.
TODO: Add back in divergance meta information.

Codecov Report
Patch coverage: 85.01% and project coverage change: +1.60 :tada:

Comparison is base (b5054ca) 88.70% compared to head (37161ba) 90.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   88.70%   90.31%   +1.60%
==========================================
  Files           9        8       -1
  Lines        1620     1703      +83
==========================================
+ Hits         1437     1538     +101
+ Misses        183      165      -18

Impacted Files
Coverage Δ

src/math.rs
99.06% <ø> (ø)

src/adapt_strategy.rs
87.20% <66.34%> (-6.41%)
:arrow_down:

src/cpu_state.rs
80.29% <66.66%> (-0.29%)
:arrow_down:

src/nuts.rs
89.45% <95.40%> (+5.08%)
:arrow_up:

src/cpu_potential.rs
97.79% <100.00%> (+22.79%)
:arrow_up:

src/cpu_sampler.rs
91.74% <100.00%> (+0.24%)
:arrow_up:

src/mass_matrix.rs
97.61% <100.00%> (+1.19%)
:arrow_up:

src/stepsize.rs
88.75% <100.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update cargo_metadata, allow feature selection, misc improvements.

This PR extends some of cargo_metadata's arguments into cargo-license like --features, --all-features, --no-deps, --manifest-path and --current-dir.
This PR also includes improvements from other PRs.
https://github.com/onur/cargo-license/pull/19 @dnaka91 I included a minor bump for this change.
https://github.com/onur/cargo-license/pull/17 & https://github.com/onur/cargo-license/pull/16 @ErichDonGubler
@onur

This looks great. Thanks!


Apply FloatingPortal and higher z-index on Popover

We should use Floating UI's portal component to avoid display issues with Popover. It should also have a large enough z-index value.

This will be addressed in #932


Mouse.hoverViewport may return wrong value when screen is rotated

Need to calculate if point of mouse is within rotated screen bounds. See
https://stackoverflow.com/questions/17136084/checking-if-a-point-is-inside-a-rotated-rectangle

Procrasteinate this bug because this is really a crazy edge case. I cannot imagine a scenario right now where you have to use mouse control while screen is splitted.


How do I use api to trigger actions

I want to use api to trigger undo/redo actions, what should I do?

@chf-gh Thank you for reporting the issue. To trigger undo or redo actions through the API you could assign a variable to the 'Undo' instance within the onReady() callback. Then, you can employ this variable anywhere within your code and do Undo.undo or Undo.redo. For a practical example, please refer to the CodeSandbox demonstration provided.
code sandbox example


Server 2016 only has IE, can't login into portal

server 2016 only has IE so the learner will need to download another browser to log into the portal for this lab when remoted into the sync server
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

This does not appear to be a PR - did you mean to submit an issue?
rgds
Marcin

Sorry, yes, was multitasking apologies!
Get Outlook for iOShttps://aka.ms/o0ukef

From: polichtm @.>
Sent: Monday, May 17, 2021 1:34:29 PM
To: MicrosoftLearning/AZ500-AzureSecurityTechnologies @.>
Cc: Tori Fuller @.>; Author @.>
Subject: Re: [MicrosoftLearning/AZ500-AzureSecurityTechnologies] Server 2016 only has IE, can't login into portal (#125)
This does not appear to be a PR - did you mean to submit an issue?
rgds
Marcin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftLearning%2FAZ500-AzureSecurityTechnologies%2Fpull%2F125%23issuecomment-842542572&data=04|01|Tori.Fuller%40microsoft.com|5e60e80d351548f04f9e08d919626874|72f988bf86f141af91ab2d7cd011db47|1|0|637568732727555058|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=GnvOUHlepGYyRZRGlPJC2Ny1%2Bo7jlQ0KwQes989aBxw%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHRTCKMMBSN7Q27H5NWMTJLTOFOTLANCNFSM45A7IIQA&data=04|01|Tori.Fuller%40microsoft.com|5e60e80d351548f04f9e08d919626874|72f988bf86f141af91ab2d7cd011db47|1|0|637568732727565014|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hL1XTkLAeZGnXUfFmREoqSYMrl3liqhII9tkDP4RnMo%3D&reserved=0.

updated
rgds
Marcin


fix: Button icon hover delay

Types of Changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Description
[Place a meaningful description here.]

:tada: This PR is included in version 6.17.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Paying bonuses does not work when hosting on Heroku

Paying bonuses does not work because the participant list is on the remote DB (on Heroku) but not available locally. Since one is not supposed to upload their AWS secrets to Heroku, this makes it very awkward to pay bonuses (need to get a database dump from Heroku just to figure out which participants to pay, and then update the database at Heroku).

Hmmm... it's been a long time since I've used this (and I have a terribly memory), so I can't remember the details. But I don't recall this being an issue.

That is possible, but it would require storing AMT secrets on Heroku. I'm
solving it by setting DATABASE_URL on the local computer to match the
database URI from Heroku. There are still some other minor issues that I'm
trying to track now but if there's a correct way of doing it I would
appreciate it, as following the documentation as it is currently does not
work.
--
João Felipe Santos
On Thu, 21 Jun 2018 at 15:10, Mark Cartwright<EMAIL_ADDRESS>wrote:

Hmmm... it's been a long time since I've used this (and I have a terribly
memory), so I can't remember the details. But I don't recall this being an
issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/interactiveaudiolab/CAQE/issues/33#issuecomment-399211949,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAWZT3HrDiT2u95XCgUU6SG8REpG2fXks5t---sgaJpZM4UylpJ
.

What about a getpass prompt for the secret key if it isn't in the file?

Setting DATABASE_URL to Heroku's URL works and does not require keeping secrets on the remote, but there was actually an issue on the code that made paying bonuses not work. The API call to create_participant was expecting arguments assignmentId and hitId, but was called with crowd_assignment_id and crowd_assignment_type instead.
I also improved the code by adding a bonus_paid column to the Participant class, and using that to track whether bonuses were paid to a person or not. I'll eventually clean up my code (it's full of debug messages now) and submit a PR.


Non-linear regression

I'm not skilled with machine learning and i'm trying to study its practical applications.
I'm trying to use an ANN for non-linear regression of function sin(x) with analitical points and i have found some problems.
Creating an ANN with 10 hidden layer and 4 neurons, running a for-cycle 1 million times over 100 points maked with x values evenly distributed between 0 and 2pi i obtain this:

with this specs once created the ANN: ann->activation_output = genann_act_linear;
and the output doesn't change trying to make different ANN.
Someone can help me to understand where i'm wrong (also teoretically)?
I've seen that sigmoid activation function is not the best choice for this purpose like relu, but it's just this?

Here a piece of code more relevant:
`    // allocating ANN
genann *ann = genann_init(INPUT,LAYER,NEURONS,OUTPUT);
checkPtr(ann);
ann->activation_output = genann_act_linear;

// training
unsigned long long int progress = 0, work = EPOCH*lenfile;
for(i=0; i<EPOCH; i++){
    for(j=0; j<lenfile; j++){
        genann_train(ann,input,output,RATE);
    }

    // status progress
    fprintf(stderr,"\rTraining -> %.2lf%%",(progress*100/(double)(work))*100);
    progress++;
}

printf("\n\n");

// first NUMTEST values of dataset
printf("Test on dataset values:\n");
for(i=0; i<NUMTEST; i++){
    printf("f(%lf) = %lf \tresidue = %lf\n",input[i],*genann_run(ann,input + i),output[i] - *genann_run(ann,input + i));
}`

Following the examples of repository my implementation is:
(the most relevant piece of code)
genann *ann = genann_init(INPUT,LAYER,NEURONS,OUTPUT);
ann->activation_output = genann_act_linear;
// training
for(i=0; i<EPOCH; i++){
for(j=0; j<lenfile; j++){
genann_train(ann,input+j,output+j,RATE);
}
}
// first NUMTEST values of dataset
printf("Test on dataset values:\n");
for(i=0; i<NUMTEST; i++){
printf("f(%lf) = %lf \tresidue = %lf\n",input[i],*genann_run(ann,input + i),output[i] - *genann_run(ann,input + i));
}

Following the examples of repository my implementation is (most relevant piece of code):
genann *ann = genann_init(INPUT,LAYER,NEURONS,OUTPUT);
ann->activation_output = genann_act_linear;

// training
for(i=0; i<EPOCH; i++){
    for(j=0; j<lenfile; j++){
        genann_train(ann,input+j,output+j,RATE);
    }
}

// first NUMTEST values of dataset
printf("Test on dataset values:\n");
for(i=0; i<NUMTEST; i++){
    printf("f(%lf) = %lf \tresidue = %lf\n",input[i],*genann_run(ann,input + i),output[i] - *genann_run(ann,input + i));
}


Ca api

@raphael can you please review. Please be brutal as
I have tested this against cobalt-403 (ca1), moo (moo-analytics) and my (analytics) and all working well!!!!
@alikhajeh1 I know you will also be interested in this.

Rebase just broke all the things fixing up

Looks like the API for an authenticator has changed completely. Closing until I fix this up


3 NNs Launched on startup

I'm thinking there is something wrong when a task is added to the state machine.
11:40:45.358 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.2.z-SNAPSHOT
11:40:45.457 [main] INFO  o.e.jetty.server.ServerConnector - Started ServerConnector@6e38323f{HTTP/1.1}{<IP_ADDRESS>:8765}
11:40:45.457 [main] INFO  org.eclipse.jetty.server.Server - Started @2540ms
11:40:50.563 [Thread-23] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:40:50.563 [Thread-23] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:50.563 [Thread-23] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:50.564 [Thread-23] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:50.564 [Thread-23] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:50.564 [Thread-23] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:55.570 [Thread-24] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:40:55.570 [Thread-24] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:55.570 [Thread-24] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:55.570 [Thread-24] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:55.570 [Thread-24] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:40:55.570 [Thread-24] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:00.577 [Thread-25] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:41:00.577 [Thread-25] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:00.577 [Thread-25] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:00.577 [Thread-25] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:00.577 [Thread-25] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:00.578 [Thread-25] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:06.583 [Thread-26] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:41:06.584 [Thread-26] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:06.584 [Thread-26] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:06.584 [Thread-26] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:06.584 [Thread-26] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:06.584 [Thread-26] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:11.588 [Thread-27] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
11:41:11.588 [Thread-27] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:11.588 [Thread-27] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:11.588 [Thread-27] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:12.592 [Thread-28] INFO  org.apache.mesos.hdfs.Scheduler - Received 2 offers
11:41:12.592 [Thread-28] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:12.592 [Thread-28] INFO  org.apache.mesos.hdfs.Scheduler - Declining offers while reconciling tasks
11:41:15.172 [Timer-0] INFO  org.apache.mesos.hdfs.Scheduler - Current persistent state:
11:41:15.175 [Timer-0] INFO  org.apache.mesos.hdfs.Scheduler - JournalNodes: {}
11:41:15.177 [Timer-0] INFO  org.apache.mesos.hdfs.Scheduler - NameNodes: {}
11:41:15.180 [Timer-0] INFO  org.apache.mesos.hdfs.Scheduler - DataNodes: {}
11:41:16.598 [Thread-29] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
11:41:16.629 [Thread-29] INFO  org.apache.mesos.hdfs.Scheduler - []
11:41:16.633 [Thread-29] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type journalnode with tasks [journalnode]
11:41:17.599 [Thread-30] INFO  org.apache.mesos.hdfs.Scheduler - Received 2 offers
11:41:17.606 [Thread-30] INFO  org.apache.mesos.hdfs.Scheduler - []
11:41:17.622 [Thread-30] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type journalnode with tasks [journalnode]
11:41:20.991 [Thread-31] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.journalnode.journalnode.NodeExecutor.1426524076633 state=TASK_RUNNING message='' stagingTasks.size=2
11:41:20.992 [Thread-31] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: JOURNAL_NODES
11:41:21.774 [Thread-32] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.journalnode.journalnode.NodeExecutor.1426524077622 state=TASK_RUNNING message='' stagingTasks.size=1
11:41:21.775 [Thread-32] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: JOURNAL_NODES
11:41:22.610 [Thread-33] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
11:41:22.612 [Thread-33] INFO  org.apache.mesos.hdfs.Scheduler - []
11:41:22.617 [Thread-33] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type journalnode with tasks [journalnode]
11:41:23.608 [Thread-34] INFO  org.apache.mesos.hdfs.Scheduler - Received 2 offers
11:41:23.612 [Thread-34] INFO  org.apache.mesos.hdfs.Scheduler - []
11:41:23.624 [Thread-34] INFO  org.apache.mesos.hdfs.Scheduler - Already running journalnode on mesos-slave2
11:41:23.629 [Thread-34] INFO  org.apache.mesos.hdfs.Scheduler - []
11:41:23.637 [Thread-34] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type journalnode with tasks [journalnode]
11:41:27.385 [Thread-35] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.journalnode.journalnode.NodeExecutor.1426524082617 state=TASK_RUNNING message='' stagingTasks.size=2
11:41:27.388 [Thread-35] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: JOURNAL_NODES
11:41:27.388 [Thread-35] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426524076633, slaveId=20150313-131626-169978048-5050-5712-S0
11:41:27.389 [Thread-35] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426524077622, slaveId=20150313-131701-169978048-5050-5742-S1
11:41:27.389 [Thread-35] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426524082617, slaveId=20150311-133327-169978048-5050-2699-S2
11:41:28.616 [Thread-36] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
11:41:28.629 [Thread-36] INFO  org.apache.mesos.hdfs.Scheduler - We need to coloate the namenode with a journalnode and there isno journalnode running on this host. mesos-slave1
11:41:28.639 [Thread-36] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type namenode with tasks [namenode, zkfc]
Saving the name node mesos-slave3 task.namenode.namenode.NameNodeExecutor.1426524088640
11:41:28.897 [Thread-37] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.journalnode.journalnode.NodeExecutor.1426524083637 state=TASK_RUNNING message='' stagingTasks.size=3
11:41:28.898 [Thread-37] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: START_NAME_NODES
11:41:29.619 [Thread-38] INFO  org.apache.mesos.hdfs.Scheduler - Received 2 offers
11:41:29.640 [Thread-38] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type namenode with tasks [namenode, zkfc]
Saving the name node mesos-slave2 task.namenode.namenode.NameNodeExecutor.1426524089640
11:41:34.397 [Thread-39] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426524088640 state=TASK_RUNNING message='' stagingTasks.size=4
11:41:34.406 [Thread-39] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: START_NAME_NODES
11:41:34.407 [Thread-40] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.zkfc.namenode.NameNodeExecutor.1426524088640 state=TASK_RUNNING message='' stagingTasks.size=3
11:41:34.408 [Thread-40] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: START_NAME_NODES
11:41:34.629 [Thread-41] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
11:41:34.642 [Thread-41] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type namenode with tasks [namenode, zkfc]
Saving the name node mesos-slave4 task.namenode.namenode.NameNodeExecutor.1426524094643
11:41:35.079 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426524089640 state=TASK_RUNNING message='' stagingTasks.size=4
11:41:35.080 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: START_NAME_NODES
11:41:35.081 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426524076633, slaveId=20150313-131626-169978048-5050-5712-S0
11:41:35.086 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426524077622, slaveId=20150313-131701-169978048-5050-5742-S1
11:41:35.087 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426524082617, slaveId=20150311-133327-169978048-5050-2699-S2
11:41:35.087 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426524083637, slaveId=20150313-131701-169978048-5050-5742-S0
11:41:35.088 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.namenode.namenode.NameNodeExecutor.1426524088640, slaveId=20150311-133327-169978048-5050-2699-S2
11:41:35.089 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.zkfc.namenode.NameNodeExecutor.1426524088640, slaveId=20150311-133327-169978048-5050-2699-S2
11:41:35.092 [Thread-42] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.namenode.namenode.NameNodeExecutor.1426524089640, slaveId=20150313-131701-169978048-5050-5742-S1
11:41:35.094 [Thread-43] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.zkfc.namenode.NameNodeExecutor.1426524089640 state=TASK_RUNNING message='' stagingTasks.size=3
11:41:35.094 [Thread-43] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: FORMAT_NAME_NODES
11:41:35.095 [Thread-43] INFO  org.apache.mesos.hdfs.Scheduler - Sending message '-i' to taskId=task.namenode.namenode.NameNodeExecutor.1426524088640, slaveId=20150311-133327-169978048-5050-2699-S2
11:41:35.630 [Thread-46] INFO  org.apache.mesos.hdfs.Scheduler - Received 2 offers
11:41:38.538 [Thread-47] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426524094643 state=TASK_RUNNING message='' stagingTasks.size=2
11:41:38.539 [Thread-47] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: FORMAT_NAME_NODES
11:41:38.539 [Thread-47] INFO  org.apache.mesos.hdfs.Scheduler - Sending message '-i' to taskId=task.namenode.namenode.NameNodeExecutor.1426524088640, slaveId=20150311-133327-169978048-5050-2699-S2
11:41:38.544 [Thread-48] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.zkfc.namenode.NameNodeExecutor.1426524094643 state=TASK_RUNNING message='' stagingTasks.size=1
11:41:38.545 [Thread-48] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: FORMAT_NAME_NODES
11:41:38.545 [Thread-48] INFO  org.apache.mesos.hdfs.Scheduler - Sending message '-i' to taskId=task.namenode.namenode.NameNodeExecutor.1426524088640, slaveId=20150311-133327-169978048-5050-2699-S2
11:41:40.645 [Thread-49] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:41:45.657 [Thread-50] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:41:50.664 [Thread-51] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:41:54.058 [Thread-52] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426524088640 state=TASK_RUNNING message='-i' stagingTasks.size=0
11:41:54.060 [Thread-52] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: FORMAT_NAME_NODES
11:41:54.061 [Thread-52] INFO  org.apache.mesos.hdfs.Scheduler - Sending message '-b' to taskId=task.namenode.namenode.NameNodeExecutor.1426524089640, slaveId=20150313-131701-169978048-5050-5742-S1
11:41:55.675 [Thread-53] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:42:00.687 [Thread-54] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:42:04.996 [Thread-55] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426524089640 state=TASK_RUNNING message='-b' stagingTasks.size=0
11:42:04.997 [Thread-55] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: FORMAT_NAME_NODES
11:42:05.698 [Thread-56] INFO  org.apache.mesos.hdfs.Scheduler - Received 5 offers
11:42:05.707 [Thread-56] INFO  org.apache.mesos.hdfs.Scheduler - Already running hdfs task on mesos-slave3
11:42:05.717 [Thread-56] INFO  org.apache.mesos.hdfs.Scheduler - Already running hdfs task on mesos-slave2
11:42:05.726 [Thread-56] INFO  org.apache.mesos.hdfs.Scheduler - Already running hdfs task on mesos-slave4
11:42:05.740 [Thread-56] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type datanode with tasks [datanode]
^Croot@mesos-master:/hdfs/hdfs-mesos-0.0.2# ./bin/hdfs-mesos

Talked to @nicgrayson and he's having trouble reproducing. I will try to reproduce it as well.

This is fixed with the mesos-dns changes, which will only ever stage a maximum of two namenodes.

@nicgrayson, let us know if you are able to reproduce it in the latest code. If not, I think we can close it.

Ah I see that now.


Alert, Confirm, Prompt window not showing

Electron does not support alerts, though it might be possible to implement a custom alert shim that overrides the default behaviour, as done in the http login support


CDK-927: Use requested type as reader schema in MapReduce jobs.

If a Dataset is loaded with a specific Avro type provided by the caller, that type is effectively the reader schema and should be honored by MapReduce jobs. This PR simply sets the reader schema appropriately in the input format and includes a test to ensure it is used.

Just realized we'll need to make a similar update for Parquet support, so this PR isn't complete. I'm not as familiar with the Parquet flow but will take a look.

Updated PR to handle this for Parquet inputs as well

This looks good to me. It seems to have broken a unit test though.

Actually the broken test may have been from https://issues.cloudera.org/browse/CDK-934

Yes, master is failing with this error as well, so I don't think it's this pull request that triggered that failure.

+1 assuming tests pass.


PC Instructions & Sian's portion

I've added in a bunch of the PC instructions as well as instructions for getting the instance running. I've also added Sian's instructions into a separate directory so that things are nicely organized. Issues that persist: GATK

Merged


update StrongVPN

without this change I get:
Error: Checksum for Cask 'strongvpn-client' does not match.

Expected: 060b0a22a180866df18ba8771b3110d8e790ede7dfb980253bbfbc4af8409b88
Actual:   4b50f4f330394f141ffe9417eccdb86eaef9a595c2e5da238d7fee17b818fdb2
File:     /Users/safareli/Library/Caches/Homebrew/Cask/strongvpn-client--1.1.8.zip

Have not done any of this yet:

After making all changes to the cask:

[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} reports no offenses.
[ ] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked the cask was not already refused in closed issues.
[ ] Checked the cask is submitted to the correct repo.

Made the changes to what should have been done. Feel free to ask about any of the changes,

Thanks!


Accept column names in TSx.describe().

This PR solves https://github.com/xKDR/TSx.jl/issues/50. I've added two additional arguments in TSx.describe:

A keyword argument cols, used to specify for which column the summary is to be printed.
stats, to specify what summary stats to print.

So now, one can do something like (please see the docstring for the whole code)
describe(ts, cols=:Index)
describe(ts, :min, :max, cols=:x1)

It seems like I'll have to change a relevant test as well.


Flatten legacy preset charts

CATEGORY

[x] Refactor

SUMMARY

Refactor CommonChartPreset, HierarchyChartPreset, and MapChartPreset charts into LegacyChartPreset class since they are all legacy chart types.
ADDITIONAL INFORMATION

REVIEWERS
@kristw

Codecov Report

Merging #7500 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7500      +/-   ##
==========================================
+ Coverage   65.42%   65.43%   +0.01%
==========================================
  Files         435      432       -3
  Lines       21325    21319       -6
  Branches     2347     2347
==========================================
  Hits        13951    13951
+ Misses       7258     7252       -6
  Partials      116      116

Impacted Files
Coverage Δ

...ts/src/visualizations/presets/LegacyChartPreset.js
0% <ø> (ø)
: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 a4392c8...9eceb15. Read the comment docs.

Codecov Report

Merging #7500 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7500      +/-   ##
==========================================
+ Coverage   65.42%   65.43%   +0.01%
==========================================
  Files         435      432       -3
  Lines       21325    21319       -6
  Branches     2347     2347
==========================================
  Hits        13951    13951
+ Misses       7258     7252       -6
  Partials      116      116

Impacted Files
Coverage Δ

...ts/src/visualizations/presets/LegacyChartPreset.js
0% <ø> (ø)
: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 a4392c8...9eceb15. Read the comment docs.

Let's rename LegacyChartPreset into MainPreset


Suggest: Add Favicon.ico

If I can set up a Favicon, I will see Favicon instead of a Notion icon when I paste the site.
https://{domain}/favicon.ico
[YouTube Channel]

[Site Status]

https://github.com/splitbee/favicon-resolver

You can set up a favicon using the following line of code in your worker:
const FAVICON_URL = "[the URL of your favicon here]";
You could upload your Favicon to Imgur or any other service, and It will work just fine.
Hope that helps!


Check if adapter is null and let it print errors

I had entire sections in the package.json missing and the errors I was getting were not helpful at all, it just said "e.adapter.variables undefined". Well it's undefined because the adapter is null!
If we work around that null we can get actually helpful messages here.

Hi @Meai1, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@Meai1 thanks for the PR! Please squash your commits to be one and by our code style convention we do not use the var keyword, please use let instead.
Also did you build vscode off your changes and quickly verify that debugging works?

i dont really know how git works, i just edited the file on github. I tested this by editing the unminified version of the workspace javascript file because I couldnt get the build to work, i made a separate issue for that. (https://github.com/Microsoft/vscode/issues/9961)

Then please address my other concern that you are using var instead of let if you would like this PR to be merged. Then I can test it.

Looks good to me, I merged it in.
Thanks 🍻


Pass W3C Trace Context test suite at strictness 1

Which problem is this PR solving?
This fixes STRICT_LEVEL=1 failures surfaced by the test server PR: https://github.com/open-telemetry/opentelemetry-js/pull/1380.

No longer allows extra parts for version 00 of trace parent.
This is one of those implicit requirements that is not clearly stated out in the spec. Extra parts should only be allowed for future versions (grabbing what we support) but version 00 only has the 4 parts.

Tracestate Header list members now handle/strip optional whitespace (OWS).

W3C Trace Context spec: https://www.w3.org/TR/trace-context/
Validation test repo: https://github.com/w3c/trace-context/tree/master/test
Short description of the changes

Instead of a single-catch regex attempting to validate all potential versions, split into validators for each part.
Start by splitting and verifying correct # of parts for version before moving on.
Trim list members from trace state prior to grabbing key/value pairs

Prior to fix
======================================================================
ERROR: test_tracestate_multiple_headers_different_keys (__main__.TraceContextTest)
harness sends a request with multiple tracestate headers, each contains different set of keys
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 531, in test_tracestate_multiple_headers_different_keys
    self.assertTrue(str(tracestate).index('bar=2') < str(tracestate).index('rojo=1'))
ValueError: substring not found

======================================================================
ERROR: test_tracestate_ows_handling (__main__.TraceContextTest)
harness sends a request with a valid tracestate header with OWS
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 612, in test_tracestate_ows_handling
    self.assertEqual(tracestate['foo'], '1')
  File "/Users/mgoin/Documents/development/srjames90/opentelemetry-js/integration-tests/target/trace-context/test/tracecontext/tracestate.py", line 32, in __getitem__
    return self._traits[key]
KeyError: 'foo'

======================================================================
FAIL: test_traceparent_version_0x00 (__main__.TraceContextTest)
harness sends an invalid traceparent with extra trailing characters
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 194, in test_traceparent_version_0x00
    self.assertNotEqual(traceparent.trace_id.hex(), '12345678901234567890123456789012')
AssertionError: '12345678901234567890123456789012' == '12345678901234567890123456789012'

----------------------------------------------------------------------
Ran 40 tests in 0.608s

FAILED (failures=1, errors=3, skipped=6)

After Fix
----------------------------------------------------------------------
Ran 40 tests in 0.609s

OK (skipped=6)

@open-telemetry/javascript-approvers looking for a couple more approvals here. Now that we've merged the test suite, the build is failing every time until this is merged.


[$250] Chat – “Hmm... ” page appears briefly when navigate to IOU link while logout

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.10-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4751670
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:
Precondition: use slow 3G network

Go to https://staging.new.expensify.com/
Log in with Gmail account
Create a IOU in a conversation
Navigate to the IOU report (conversation)
Copy the URL
Log out of the app
Navigate to the IOU URL
Log in with the same account

Expected Result:
You're redirected to the correct IOU report after login
Actual Result:
“Hmm... it's not here” page appears briefly then IOU report opens
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/4caaef22-4376-48c7-9139-dede2ca9471e
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0145c59ed1d52e3830
Upwork Job ID:<PHONE_NUMBER>322000546
Last Price Increase: 2024-07-22

Issue OwnerCurrent Issue Owner: @abdulrahuman5196

We think that this bug might be related to #vip-vsp

This seems to be a minor UX issue not blocking the user from using the app so I have demoted it.
Maybe its related to this navigation change https://github.com/Expensify/App/pull/44531 @Kicu in case you could look

Hey! I’m Wojtek from Software Mansion, an expert agency, and I’d like to work on this issue.

I took a look at it and I found a root cause of this issue.
I checked an old commit before merging this PR and this issue still occured. It's connected with changes introduced in this one:
https://github.com/Expensify/App/blob/main/src/pages/home/ReportScreen.tsx#L449-L451
  const shouldShowNotFoundPage = useMemo((): boolean => {
        // Wait until we're sure the app is done loading (needs to be a strict equality check since it's undefined initially)
        if (isLoadingApp !== false) {
            return false;
        }

        // If we just finished loading the app, we still need to try fetching the report. Wait until that's done before
        // showing the Not Found page
        if (finishedLoadingApp) {
            return false;
        }

        if (!wasReportAccessibleRef.current && !firstRenderRef.current && !report.reportID && !isOptimisticDelete && !reportMetadata?.isLoadingInitialReportActions && !userLeavingStatus) {
            return true;
        }

        if (shouldHideReport) {
            return true;
        }
        return !!currentReportIDFormRoute && !ReportUtils.isValidReportIDFromPath(currentReportIDFormRoute);
    }, [isLoadingApp, finishedLoadingApp, report.reportID, isOptimisticDelete, reportMetadata?.isLoadingInitialReportActions, userLeavingStatus, shouldHideReport, currentReportIDFormRoute]);

This check returns true which causes showing the not found page:
        if (!wasReportAccessibleRef.current && !firstRenderRef.current && !report.reportID && !isOptimisticDelete && !reportMetadata?.isLoadingInitialReportActions && !userLeavingStatus) {
            return true;
        }

I'd like to make sure why it works this way. @arosiclair Could you take a look at it?
https://github.com/user-attachments/assets/11d0fc91-e613-4761-97b8-184a1d30652f

I'd like to make sure why it works this way. @arosiclair Could you take a look at it?

Unfortunately I don't really know what those checks are for I just moved them 😅. From what I can guess, it is checking if report is empty but with many caveats like if the report is being loaded for the first time (reportMetadata?.isLoadingInitialReportActions).

Issue not reproducible during KI retests. (First week)

@madmax330 I think we can close this issue.
Reference: https://github.com/Expensify/App/pull/46112#issuecomment-2270697233

This issue should already be resolved, I see that Report Screen has been migrated to use useOnyx in this https://github.com/Expensify/App/pull/45711. If this error no longer appears, I'll close this PR. Could you check if it works for you on the main branch?

And issue is not reproducible anymore.

Issue not reproducible during KI retests. (Second week)

Issue not reproducible during KI retests. (Third week)

Issue not reproducible during KI retests. (4th week)

@madmax330 I think we can close this issue

Thanks for posting in #contributor-plus @abdulrahuman5196 , closing


table of contents option

Simple functionality to support table of contents creation as README.md in output root.

@clemlak what do you think?

@clemlak Does look good for merge?

Would be quite interested by this feature too @clemlak


feat: add events

Adds events discussed in DRAFT client PR, and OFEPs. Note that this PR also contains the initialization/shutdown changes. To view only the delta between that and this PR, see here.
There's a few non-functional changes here (fixes to formatting and minor enhancements to the parser).
Be sure to review specification.json for the net changes.
Most of this is implemented in the web-sdk already. Some conforming (demo) providers can be found in the playground:

cloudbees
flagsmith
harness
launchdarkly
split

I wonder if there might be need for an event type named something like PROVIDER_STALE.
Flagsmith server-side SDKs can run in a mode (local evaluation mode we call it) where it polls the API for the entire environment flag configuration and then runs the flag evaluation engine locally within the SDK runtime. By default this poll occurs every 60 seconds. If the SDK does not receive a response from the API it will fall back to the most recent configuration.
At some point this flag configuration could/should be considered stale, which would trigger the PROVIDER_STALE event. This would probably then be bubbled up to some logging/alerting system to let administrators know that something isnt right/stale flags are being served.
This event could also be used on application startup if the SDK is not able to make an initial connection to the API. This is generally a worse state to be in as you would generally be serving hard-coded defaults at this point.
I think several other providers work on a similar basis; some stream changes over websockets/server sent events.

@dabeeeenster I think that the pattern and mode of operation you describe certainly makes sense. Can you explain how you might expect an application author to react to this event type? What sort of handler would I attach for PROVIDER_STALE events that would be distinct from PROVIDER_ERROR?

PROVIDER_ERROR would generally be very bad, and would normally mean the application is running on either default flag values if provided, or someting like false|0|"" for all flag values. PROVIDER_ERROR would most likely cause immediate "This service is broken" alerts and require immediate operational assistance.
PROVIDER_STALE would communicate that flags are being served, and the engine is running, but the values themselves might well have drifted from the flag/provider dashboard. I would expect these errors could be ignored if they were on something like the 99.99% percentile.

I think I'm convinced of the value of adding PROVIDER_STALE (especially after the community meeting today). I will do that.


Add person to mail subject in new confirmation mail

refs #249

Coverage remained the same at 68.884% when pulling 543b42c6c29f7261c4ce6b14ad7667fef0338afc on 249-add-mail-subject into ad7edc66ee07e75c1d108b168fabedeb56a4d6b4 on master.


move to newer version of fritzconnection library

Currently only working with version 0.7.3
latest currently available version 1.3.3: https://github.com/kbr/fritzconnection

adopted 1.3.3 and set version in requirements.txt


Edit profile

This PR closes #313
In this I have created a new component that let the user edit their whole profile and I have also added some extra fields such as bio and country. It also shows preview of image so that it become easy for user to select and user do not need to reload the page for checking the changes.

I'm not sure, if this should be level 2 or 3 ;-;

I think it should be level3 cause adding a bio feature only is level2 and previewing image is also level2. Apart from that I added an extra field of location and also made all of them editable.
What is your views on it @narayan954 ?

I think it should be level3 cause adding a bio feature only is level2 and previewing image is also level2. Apart from that I added an extra field of location and also made all of them editable.
What is your views on it @narayan954 ?

fair enough :)


Predefined subtasks lists

It would be nice to have predefined templates of subtasks. It would allow to create task with set of subtasks instead of manual creation of subtasks. Predefined subtasks lists should be associated with project and have a possibility to choose one at task creation.

I was just thinking about this. Often I break down huge tasks into smaller batches to improve my workflow, and I like to create tasks like "content development batch" with several related subtasks that represent the chunk I want to accomplish. It would be great to either have the option to make template tasks that know they will have 3 subtasks, or even better a way to easily add subtasks from the main task creation screen.
Thanks for a great product.

This would be very handy for me too ... it'd be nice to automatically add something like 'write documentation' and 'do testing' for any new software development task I have, so that it doesn't get sidelined at any point

I would like to see that feature too.

Yeah, good idea :-) :+1:

you can already done it by creat a task and his subtask, let it on the side of you project (or in a dedicate project name for exemple "template")
then you just duplicate teh task each time you need.
I use it very often and it's work great

This issue has been closed automatically for inactivity after 2 years. If you still need this feature, you should consider contributing to this open-source project.


remote_api client not setup to use App Engine search

Hi,
I'm looking to run a local version of gddo to point at a private github organisation.
I have followed the dev env setup in the wikki however each time I run the command to launch ./godo-server I get the following error:
2018/01/04 13:30:56 remote_api client not setup to use App Engine search

The server does start but if I search for a package I get the following:
2018/01/04 13:31:44 Error serving /?q=test: remote_api client not setup to use App Engine search

What have I missed in the setup? Any help would be great.

@shantuo Can you elaborate the process? How can I able to use "App Search Engine". Any doc available?

Did anyone figure this out?
I got this far
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 65 files to Google Cloud Storage               ═╣
╚════════════════════════════════════════════════════════════╝
File upload done.
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The first service (module) you upload to a new application must be the 'default' service (module). Please upload a version of the 'default' service (module) before uploading a version for the 'serviceproxy' service (module). See the documentation for more information.
I have set up the proxy, and given its url to the godoc server, but I am getting a "Must be logged in as an administrator" error when attempting to start the godoc sever, even though the service account I am using has admin rights. Did any of you get the same error?

you likely have not granted the appropriate permissions to your caller: https://cloud.google.com/appengine/docs/admin-api/access-control


Corrected dutch translations (Issue #28)

Thank you for the merge, could you add the hacktoberfest label? :)

Done.


files.include setting OR a [^] "not" character class in files.exclude setting

My use case is that VS Code is great for markdown. I want to be able to open a root folder and only show markdown or image files, but ignore everything else.
Currently, with project settings, you can exclude certain files, but I essentially want the opposite: a setting that will only show files that matter for editing w/in VS Code (in this case, the markdown files).
As an example, imagine wanting to document your 'My Documents' folders, or your Dropbox folder, etc. with markdown, but not actually wanting to open all files at the root of 'My Documents' in the context of VS Code. You just want to see the overlayed markdown  as use it as a "local wiki", which may or may not contain links to those files.

Duplicate of #869


user credentials overwritten in request

The lines
@user = args[:user]
@password = args[:password]

in Request.initalize override the values previously obtained from parse_url_with_auth!, even if the arguments don't exist. Perhaps they should be replaced with
@user = args[:user] if args.has_key?(:user)
@password = args[:password] if args.has_key?(:password)

Dang, good catch. Looks like the relevant tests break abstraction barriers in a way that caused them to miss this.


Changes to support Keys and Certs stored in a database

Hey,
I'm using your library in a project of mine (its great, thanks!), and I need to pass in the keys and certs instead of reading them in from the file system.  Basically I work for a large company with multiple apps that will send notifications to Apple and Google and whoever else and we need support for these keys in a database rather than a file system.  So I changed your library to support this, really it was a very simple change, but I also fixed up a bunch of issues brought up my jslint during my testing.  Just syntax things, like missing semi-colons, or missing "var" declarations.  Also I Capitalized the exports that are new'd when instantiated as thats sort of a defacto standard javascript thing (ref: http://javascript.crockford.com/code.html).  So now "device" would be "Device", I did leave the non-capitalized exports to make sure its backwards compatible.  So the long and the short of it is, the changes I made should not affect current use of the library, you'd only notice the changes if you want to take advantage of them.
Anyway, I've love it if you could include these changes in your library, and if so, I'd also love to help you write some tests cases etc. for the library.
Cheers,
Keith.

Apparently the file ran through my auto formater fixer upper thing, and looks like every line is changed... but its not, it just replaces "tabs" with "spaces" and stuff like that... sorry, I didn't realize that happened, its automated.

Thanks for this, I've been following your updates to it, what prompted you to abandon your changes to make it follow a different module loading paradigm?
I will pull these changes in and revert the tab formatting before committing to tidy things up.

That module pattern is something they call the "revealing module pattern" at Yahoo.  I decided I'd just try to simplify my changes down to what I needed and try to submit them.  I figured if you were receptive that I might try suggesting a few changes later... let me know if your interested in a few suggestions, I'd love to help out.


Allow official plugins to be searchable in IITC Mobile

When I want to enable a plugin in IITCM, say bookmarks or draw links, I generally don't know what category they are in, so I could be spending as much as a minute to find the plugin just to enable it.
What if there was a search bar where one could start typing the beginning of a plugin name, and there would be search suggestions with matching plugins that could be toggled when clicked?
I have been working on this actually (will create a fork with the necessary changes) so here's one possible implementation (for Android):

Declare a new menu icon in the plugin preferences activity
Create a new searchable XML file
Create a database and content provider that could handle the plugin search suggestions
Adding the XML file name and the provider to the app manifest
handling clicking of search suggestions

Closed the PR and I may as well close this one to reduce a tiny bit of clutter


Add OpenBSD support

This PR allows lmdb-rs to be built on OpenBSD systems. Without this update, compiling on OpenBSD fails with error[E0432]: unresolved import self::os

Thanks!


Fix confusing naming

Signed-off-by: Hu Keping<EMAIL_ADDRESS>

Current coverage is 78.91% (diff: 100%)

Merging #963 into master will increase coverage by <.01%

@@             master       #963   diff @@
==========================================
  Files            83         83
  Lines         11145      11145
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           8794       8795     +1
+ Misses         1813       1812     -1
  Partials        538        538

Powered by Codecov. Last update 65070eb...fba0c71


correctly report memory needed

Reported by ansley b manke on 21 Jan 2016 17:43 UTC
When Ferret finds it has too little memory allocated, the number it reports is too low.
yes? use etopo2
yes? sho dat
     currently SET data sets:
    1> /home/users/tmap/ferret/linux/fer_dsets/data/etopo2.nc  (default)
 name     title                             I         J         K         L         M         N
 ROSE     Relief Of the Surface of the Ea  1:10800   1:5400    ...       ...       ...       ...

yes? load rose
 **ERROR: request exceeds memory setting: 58 Mwords were requested.
           *** NOTE: You can use SET MEMORY/SIZE=xxx to increase memory.
           *** NOTE: The "Memory use" section of the FERRET Users Guide has further tips.

yes? set mem/siz=60
 Cached data cleared from memory

yes? load rose
 **ERROR: request exceeds memory setting: 58 Mwords were requested.
           *** NOTE: You can use SET MEMORY/SIZE=xxx to increase memory.
           *** NOTE: The "Memory use" section of the FERRET Users Guide has further tips.
yes? set mem/siz=120
 Cached data cleared from memory
yes? load rose

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2354

Comment by ansley.b.manke on 21 Jan 2016 19:57 UTC
In recent years we'd changed this output to show the number of Mwords rather than words requested, so that the user can just plug in the same number.  In much-older Ferret versions, this would have said, "58320000  words were requested".
But we never seem to have changed the reported number for double precision Ferret. Multiply by 2, and then also round up the number, so when we need 58.32 double Mwords, we tell them "117 Mwords were requested", and they could use that to set the memory accordingly.


BugFix issue #2652

Description (required)
Querying on ContrubutionsDao with null bookmarks used to crash the app. Added a fix for the same
Fixes #2652 NPE on bookmark while pic from explore still loading (slow internet)
What changes did you make and why?

Added null check on bookmark before operating on it

Tests performed (required)
Tested { ProdDebug} on {Pixel 2} with API level 27.

Codecov Report

Merging #2706 into 2.10-release will decrease coverage by <.01%.
The diff coverage is 0%.

@@               Coverage Diff               @@
##           2.10-release   #2706      +/-   ##
===============================================
- Coverage          5.79%   5.79%   -0.01%
===============================================
  Files               256     256
  Lines             12242   12244       +2
  Branches           1099    1099
===============================================
  Hits                710     710
- Misses            11475   11477       +2
  Partials             57      57

Impacted Files
Coverage Δ

...ommons/bookmarks/pictures/BookmarkPicturesDao.java
0% <0%> (ø)
: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 fbf7cd5...8f37658. Read the comment docs.


Is there a way to stop flutter web resizing.

Right now if we decrease the height or width of the flutter web app it affects the content is there a way to stop the resize effect?

@kjawadDeveloper1
I am not sure if there's a way to disable or restrict web window resizing, but what's the behavior are you seeing upon resizing ?
Thers's this similar issue open that you can track: https://github.com/flutter/flutter/issues/94429


Fixes #22697

Changed name of section, which seemed to imply that all the following operators were overloadable, which isn't the case. Added note to point the user to check more details on each operator's page, and a reminder to check the example code. I still believe the table text could be less verbose, and maybe move some of it to numbered notes below, as is the case for the binary operators.
Fixes #22697

edit by @billwagner Add the "fixes" tag for automation and linking.

Hi 👋  @rafcon-dev
I don't think this change addresses the issue very well.
I'd recommend a different set of changes:

Add text for the rules for all overloaded operator definitions. For example, that one of the operands must be the type in which the overloaded operator is defined).
Split the table into two tables.
The first lists only the operators that can be overloaded. The right column can explain any restrictions (like overloading == and != as a pair).
The second lists only the operators that can't be overloaded. There, the right column explains alternatives to overloading the operator.

Finally, by changing the header, all anchors need to be updated. There are build issues with the current changes.
What do you think?

@BillWagner Yeah, I believe that's a good way of tidying up this page. I'll get to it when I get some time, hopefully in the next couple days!
When you say all anchors need to be updated, you are referring to other pages that could reference this one table right? So I should grep the rest of the docs to get the references to the table and update those, is that it?

@rafcon-dev

When you say all anchors need to be updated, you are referring to other pages that could reference this one table right? So I should grep the rest of the docs to get the references to the table and update those, is that it?

Yes, that's correct. The build report shows only these two anchor:

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/operators/operator-overloading.md?plain=1#L14
https://github.com/dotnet/docs/blob/main/docs/csharp/misc/cs1020.md?plain=1#L15

closing and reopening for a fresh build

@rafcon-dev I would be glad to update this article as well according to the suggestion of @BillWagner
please let me know if you're overwhelmed and fine with me continuing this work

@pkulikov . Hey. Actually I have the changes locally, haven't got the time to upload them indeed, but I'll get to it on the next days as I'll have some free time to do so. Cheers, thank you for the heads up.

@BillWagner Let me know if this is more in line with what you had in mind. Ended up overhauling the text making it less verbose. Also, the tables are smaller so I believe the example above should be more visible, I don't believe there's a need to again point the user to it tbh.


Channel Divinity: Harness Divine Power

This feature should consume two different things.  It should consume its own charge, but also be set to consume a resource as well, that resource should be either the Channel Divinity feature's charges or a resource box on the sheet.  This is because the feature uses Channel Divinity, but also has a daily limit of how many times it can be used as well.  As it is now, you have it just set to consume itself.

Urrrrgh


PostgreSQL Compatibility: add note about INTEGER type width

In PostgreSQL the INTEGER type (or INT type) is 4 bytes wide, and has a min and max of -2147483648 and +2147483647, respectively. In CockroachDB the INTEGER / INT type is 8 bytes wide, and has a min and max of -9223372036854775807 and +9223372036854775807, respectively.
The ranges of the integer types are already covered in int.html but I think it would help to also spell out this difference from PostgreSQL in postgresql-compatibility.html#features-that-differ-from-postgresql.
Demonstration, on PostgreSQL 14.2:
michae2=# SELECT<PHONE_NUMBER>::INT;
2022-03-29 15:42:54.876 PDT [57108] ERROR:  integer out of range
2022-03-29 15:42:54.876 PDT [57108] STATEMENT:  SELECT<PHONE_NUMBER>::INT;
ERROR:  integer out of range

And CockroachDB 22.1:
demo@<IP_ADDRESS>:26257/defaultdb> SELECT<PHONE_NUMBER>::INT;
     int8
--------------
<PHONE_NUMBER>
(1 row)

Time: 1ms total (execution 0ms / network 0ms)

I see, this is discussed more in int.html#considerations-for-64-bit-signed-integers. Maybe there could be a link from postgresql-compatibility.html#features-that-differ-from-postgresql?
Feel free to close this if invalid.

I guess this ultimately depends on https://github.com/cockroachdb/cockroach/issues/26925


UI XSS injection to takeover accounts

We need to update swagger-ui to version > 4.13 to mitigate this attack.
It is quite severe in my opinion.
More information about this can be found in https://www.vidocsecurity.com/blog/hacking-swagger-ui-from-xss-to-account-takeovers/

Hi @mmalyska
What's the solution for this issue?
I upgraded Swashbuckle.AspNetCore to latest Version=6.4.0 but still facing the issue


@NTBond and MultiCheckBox not rendering very well

When I use MultiCheckBox with @NTBond the result is not super pretty because the text is forced on the right. Is it possible to display the check boxes at the center?
Thanks

So this is not super straightforward as it would require some CSS (and some knowedge).
I am also going through a refactor/rewrite of the package so I might see if there is a way to make this easier in the refactor.
The current structure is that each bond will translate into an html item with the following items:
<field-html class=*actual_fieldname*'>
  <field-description class=*actual_fieldname*'>...</field-description>
  <field-bond class='*actual_fieldname*'>...</field-bond>
</field-html>

The table is organized in a CSS grid with two columns, the first for the description and the second for the bond value.
The best way (that I can think of) to modify a single row is to change the field-html of that bond to display: flex; and play with the flex value of the bond and description in a way that makes the display look as you'd expect.
Here is an example for you specific usecase

And here is the corresponding code
# ╔═╡ d069f493-0ab4-4632-a8f3-399f198d2f67
nn = [
	"asd"
	"lol"
	"boh"
	"mah"
]

# ╔═╡ 43d59027-01eb-4e7f-8f56-3123b537bdb7
@bind lol @NTBond "Magic" begin
	estimator_idx = (MultiCheckBox([i => n for (i,n) in enumerate(nn)], select_all = true, orientation = :column, default = [1,2,4,5]))
	other_bond = (Slider(1:10))
end

# ╔═╡ 676bbc11-7954-43b2-8205-5cd30e011eb2
html"""
<style>
field-html.estimator_idx {
	display: flex;
	grid-column: 1 / span 2;
	place-self: stretch;
}
field-html.estimator_idx field-description {
	flex: 1;
}
field-html.estimator_idx field-bond {
	flex: 1.5;
}
</style>
"""

You can play with the flex value of field-description and field-bond to have the desired effect.
Here are some very useful reference guides on how grid and flex work in CSS for reference (I think it's very useful to learn a bit of CSS for customizing how things appear on Pluto):
https://css-tricks.com/snippets/css/complete-guide-grid/
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
At the moment unfortunately there is no very simple solution like changing a kwarg to have this effect

Thank you!
BTW thanks for the great package. I just discovered that confirm button is naturally compatible with your NTBond.
This is amazing (and much needed when playing with different parameters).

Hooo! I did not understand what it was doing the first time I saw it, and then forgot about it!
Perfect!


Creating type named str in default confuses edgedb

EdgeDB Version: 1.0-a3

Steps to reproduce:
db> CREATE TYPE str;
OK: CREATE
db> SELECT "x";
ERROR: InternalServerError: insufficient data left in message

Compiled query assumes it's uuid for some reason:

        (SELECT/*<pg.SelectStmt at 0x7fe5da5545e0>*/
                    ($1)::uuid AS "expr~1_identity~1"
            ) AS "expr-1~2"
            INNER JOIN "edgedb_8e7140a2-a409-11ea-8bbb-dbade5f70ff0"."e779608c-a409-11ea-9ca9-e5640d314547" AS "str~1"
                ON ("expr-1~2"."expr~1_identity~1" = "str~1".id)

Explicit variables crash like this:
db> SELECT <str>$0;
ERROR: InternalServerError: cannot describe type default::str
  Hint: This is most likely a bug in EdgeDB. Please consider opening an issue ticket at https://github.com/edgedb/edgedb/issues/new?template=bug_report.md
  Server traceback:
      Traceback (most recent call last):
        File "/work/edb/server/procpool/worker.py", line 75, in worker
          res = await meth(*args)
        File "/work/edb/server/compiler/compiler.py", line 1480, in compile_eql_tokens
          return self._compile(ctx=ctx, tokens=eql_tokens)
        File "/work/edb/server/compiler/compiler.py", line 1141, in _compile
          comp: dbstate.BaseQuery = self._compile_dispatch_ql(ctx, stmt)
        File "/work/edb/server/compiler/compiler.py", line 1104, in _compile_dispatch_ql
          return self._compile_ql_query(ctx, ql)
        File "/work/edb/server/compiler/compiler.py", line 637, in _compile_ql_query
          in_type_data, in_type_id = sertypes.TypeSerializer.describe(
        File "/work/edb/server/compiler/sertypes.py", line 335, in describe
          type_id = builder._describe_type(
        File "/work/edb/server/compiler/sertypes.py", line 133, in _describe_type
          subtypes = [self._describe_type(st, view_shapes,
        File "/work/edb/server/compiler/sertypes.py", line 133, in <listcomp>
          subtypes = [self._describe_type(st, view_shapes,
        File "/work/edb/server/compiler/sertypes.py", line 328, in _describe_type
          raise errors.InternalServerError(
      edb.errors.InternalServerError: cannot describe type default::str

Which is almost fine, but error should be more helpful, using std helps:
db> SELECT <std::str>$0;
Parameter <str>$0: xxx
{'xxx'}

Note to myself: probably should use std:: for all extracted variables.

Note to myself: probably should use std:: for all extracted variables.

I've just seen this -- could have saved me 10 minutes debugging :) Yes, we need to prefix with std:: types of extracted constants.

Explicit variables crash like this:

That's a separate issue, I think.

todo:

[ ] Add __std__ alias
[ ] Investigate @tailhook's "Explicit variables crash like this:"

Explicit variables crash like this:

That's a separate issue, I think.

Yes. Any object type works this way. Which is still weird, but different issue.
Assigned issue to you, because not sure how to want to do __std__ alias.

I think it might be related to #1439 - essentially this is our unqualified name resolution acting up if things of the same name exist in the default module. Although for types the correct solution would still be using the fully qualified name as it's 100% unambiguous.

I think it might be related to #1439 - essentially this is our unqualified name resolution acting up if things of the same name exist in the default module. Although for types the correct solution would still be using the fully qualified name as it's 100% unambiguous.

This issue is unrelated to #1439. Here the problem is that the compiler sometimes inlines references to things std implicitly, and those should continue to work even if std is shadowed.

This is fixed.


Feature: Add move rows up and down

Hi,
It would be handy to be able to move the rows up and down as it seems to be blocked in the layer pannel.
I added this to my row component as I was already extending it, the code should work ok in the menu added to the cells.
function moveRowUp(row) {
    const table = row.parent();
    const items = table.components();
    const index = table.components().indexOf( row );

    if ( index !== -1 && index > 0 )
    {
        const _row = items.at( index );
        items.remove( _row );
        items.add( _row, { at: index -1 });
    }
}

function moveRowDown(row) {
    const table = row.parent();
    const items = table.components();
    const index = items.indexOf( row );

    if ( index !== -1 && index < items.length -1 )
    {
        const _row = items.at( index );
        items.remove( _row );
        items.add( _row, { at: index +1 });
    }
}

// I used these icons move up =>  move down =>

Hi,
that does seem useful. I am currenlty busy with different project but hopefully will look into this by the end of this week.

Not sure if you'll find it useful, but in the table component I added a trait to add text to all the empty cells, so I can see them quickly as cells without a width disappear as soon as one cell has some text.
 function addTextToEmptyCells(table) {
        table.components().forEach(row => {
            row.components().forEach(cell => {
                const comps = cell.components();

                if (!comps.length) {
                    comps.add(
                        {
                            type: 'text',
                            content: 'Add some text!',
                        }
                    )
                }
            });
        });
    }

domc.addType('customTable',
        {
            extend: 'customTable',
            model: {
                defaults: {
                    traits: [
                        ...parentTraits,
                        {
                            type: 'button',
                            label: false,
                            name: 'addTextToEmptyCells',
                            text: 'Add a text to all empty cells',
                            command: editor => addTextToEmptyCells(editor.getSelected()),
                        }
                    ],
                },
 ....

New release with the option to move the rows up/down is up v1.3.0. Please let me know if something does not work.
I considered adding the option to auto-fill the cells bud did not add it. Based on my testing the cells did not shrink enough for the double click that adds text element to not be possible. If there are more request for this feature in the future I will reconsider it.

Works great, thanks!


Database is not created with the installation

Hello Everyone,
I have an issue with the creation of the osticket-app. Looks like the system does not create the database when I run the first time the docker-composer.
Does anyone know what should be the possible issue?
Kind Regards

It seems that it does not use the root user of mariadb so you should probably create the database and a local user first.

Specify an environment variable of MARIADB_DATABASE and set it to the name of the database which should be automatically created.
For example: MARIADB_DATABASE=osticket


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

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

@@          Coverage Diff          @@
##           master   #488   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          29     29
=====================================
  Hits           29     29

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 c0a5199...04bc34f. Read the comment docs.

Codecov Report

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

@@          Coverage Diff          @@
##           master   #488   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          29     29
=====================================
  Hits           29     29

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 c0a5199...04bc34f. Read the comment docs.

Coverage remained the same at 97.619% when pulling 04bc34ff53a80c02f0bab9c8588e422b4c959bcc on template-sync-1 into c0a51996105d3b1b2c5a16bb749db6c7e9f56ca4 on master.


Override command line background colour

This is a fix for #893.
While it works cleanly, there's probably a better way of dealing with this. I'm open to discussion either in this Pull Request or in the original issue. As it stands however, this does fix the issue!

@JugglerShu have you had chance to look at this? You can see the result below:
Before

After

@squarefrog
Sorry for the late response. I'm thinking merging this but I usually hesitate to merge visual related PR without my confirmation. The reason is because visual related fix can't have test cases. I have been merging a lot of PRs but PRs often lead other bugs and that makes me work more hours on the new bugs.
Anyway I'll see what I can do with this issue and handle it soon.

@JugglerShu that is completely understandable. I didn't want to pressure you but I wasn't sure if I'd given the impression that it was a work in progress when I opened the Pull Request.
I've been using this fork daily for the past month without any unintended behaviour, if that helps!


Remove Privacy Policy update at header

Is is time yet to remove this reminder?

Yes, thank you!

Done!


Allow for final embeddable class

Fixes #215

Perfect, thank you!

https://github.com/phpstan/phpstan-doctrine/releases/tag/1.3.8

Impressive response time, great! :)


Signed URLs for images not generated in Firebase database?

How to reproduce these conditions
Sample name or URL where you found the bug
Failing Function code used (including require/import commands at the top)
Steps to set up and reproduce

Sample data pasted or attached as JSON (not an image)

Security rules used

Debug output
Errors in the console logs
Screenshots
Expected behavior

Actual behavior

Closing for not following the issue template. @Abdul-Aziz-Kamboh please open a new issue with more context if you'd still like help.


broadcom_sta still fails to build (again, again) on kernel 5.18

Describe the bug
Building broadcom_sta fails when rebuilding system configuration.
Steps To Reproduce
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
Expected behavior
System configuration should build successfully with broadcom_sta on kernel 5.18
Screenshots
err.txt
[...]
error: builder for '/nix/store/i2nsm53ln23dllrmxgf6cn3zrpan0h6y-broadcom-sta-<IP_ADDRESS>1-5.18.3.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/qms8zvindb6d6i5ssavjw4zwswynl7sj-kernel-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q2wll0bn3xys3z807d1c5dzbhkh559ss-linux-5.18.3-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0kzp40rnjf1lrixm5jqz9y7szfnwgx0s-nixos-system-Niels-NixOS-22.05.915.9ff91ce2e4c.drv' failed to build

Additional context
This appears to be a repetition of #177480 and #166035.
#177243 doesn't seem to be enough ?
I'm still on 21.11, can upgrade cleanly with its channel, but this happens when I try to rebuild after switching to 22.05 channel
(I did sudo nix-channel --update multiple times)
I'm still on kernel 5.17, but in my configuration.nix, I use the latest one, so I'm trying to upgrade to 5.18
I tried to use the arch patch (for 5.18, not for 5.17) talked about on #177480 but it still doesn't work, didn't checked if the error is the same though
Notify maintainers
There are no current maintainers.
Metadata
- system: `"x86_64-linux"`
 - host os: `Linux 5.17.11, NixOS, 21.11 (Porcupine), 21.11.337851.9227bbe4315`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-22.05.915.9ff91ce2e4c"`
 - channels(niels): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Sorry but I can't reproduce the issue on my system. On both 22.05 and unstable branch, using pkgs.linuxPackages_latest and config.boot.kernelPackages.broadcom_sta.

So in order to get my wifi up and running again, I ended up with boot.kernelPackages = pkgs.linuxPackages; instead of pkgs.linuxPackages_latest and using boot.blacklistedKernelModules = [ "b43" "bcma" ]; in order to block these modules from loading. Because otherwise I had to unload those and then reload wl get wifi going again. I have no idea why I now all of a sudden had to do this blacklisting, but it is what it is...

I ended up with boot.kernelPackages = pkgs.linuxPackages; instead of pkgs.linuxPackages_latest and using boot.blacklistedKernelModules = [ "b43" "bcma" ];

Thanks for the workaround, broadcom interface is visible now.
but unable to scan anything
$ lsmod | awk '/wl/'

wl                   6471680  0
cfg80211             1048576  1 wl

$ ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: wlp6s0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT group default qlen 1000
    link/ether 90:48:9a:f6:ae:8b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::9248:9aff:fef6:ae8b/64 scope link
       valid_lft forever preferred_lft forever
3: enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether b8:2a:72:c4:5c:8c brd ff:ff:ff:ff:ff:ff
4: enp0s20u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether ca:47:dd:21:68:a2 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic noprefixroute enp0s20u1
       valid_lft 3261sec preferred_lft 2811sec
    inet6 fe80::c847:ddff:fe21:68a2/64 scope link
       valid_lft forever preferred_lft forever

$ wpa_cli

Selected interface 'wlp6s0'

Interactive mode

<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
<3>CTRL-EVENT-SCAN-FAILED ret=-22 retry=1

{
  boot.kernelModules = [ "wl" ];
  boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
}

This is the only thing I have for wifi and it builds correctly with boot.kernelPackages = pkgs.linuxPackages_latest;
I'm sorry but I still can't reproduce.

{
  boot.kernelModules = [ "wl" ];
  boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
}

This is the only thing I have for wifi and it builds correctly with boot.kernelPackages = pkgs.linuxPackages_latest; I'm sorry but I still can't reproduce the issue that you guys are experiencing.

indeed, that works
but still can't scan anything

UPDATE:
network manager is working with wpa supplicant as backend.
Weirdly, On replacing wpa supplicant with iwd the wireless card isn't even detected.

I think I fixed it in #321134. Please take a look.


Please provide more details on how to query the serviceprincipal in Graph

[Enter feedback here]
Please provide more details on how to query the serviceprincipal in Graph

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

ID: 195c79a3-ccc5-8c6a-233e-95e344a9b4df
Version Independent ID: 401c7557-5817-bbd3-5bd8-8c97ef5a28cc
Content: Customize Azure AD tenant app claims (PowerShell) - Microsoft identity platform
Content Source: articles/active-directory/develop/active-directory-claims-mapping.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Please find detailed Graph API way to manage claimsMappingPolicy.  Hope this helpful. Please tag me if you have any queries. Thanks.
#please-close


Use different visual styling for Integers and Floats

Refine attempts to present a unified numeric datatype to the user while using two different internal datatypes as an attempt to balance execution efficiency with a simpler user experience.
However, this isn't 100% successful and it's sometimes important to know what the actual underlying type is. Different rendering styles are already used for numbers (green) and strings (black), but both integers and floats use the same visual styling (green).
Proposed solution
Consider adding an additional visual style which distinguishes between integers and floats.
Alternatives considered
Other possible solutions include:

adding addition type checking & conversion functions (e.g. isInteger, toFloat)
papering over additional cracks in the facade so improve the illusion of a single unified numeric type

Very supportive of this. One plea would be to ensure that if we use some additional styling we consider accessibility in the implementation. The current colour based differentiation of string vs dates/numbers can be hard to perceive and we should consider:

Ensuring colour based differentiation has an appropriate contrast ratio (WCAG recommendations on minimum contrast)
Considering additional textual or visual cues to communicate the information (WCAG on use of colour)

Some potential visual clues:

Could we include a decimal for all floats? e.g. 1.0 instead of 1 -> this has the advantage of reflecting what the outcome of exporting the data to a simple tabular format would result in)
Could we use alignment within the cell (as is common in spreadsheets to differentiate numbers from strings)

34.567  =
0.[mantissa] x [exponent]
0.34567 x 102
Scientific notation, I think, is entirely an optional style, but probably not what we're discussing here. :-)
Regardless, for differentiating between float and integer, I'd probably use a different cell rendering style.  Likely modify the div class itself for data-table-cell-content-numeric or better yet, create 2 more, one for float and integer.
Dunno, just put a small F or I in the corner of each cell?  But maybe that would confuse more, and isn't translatable (latinized).  And full words of Float or Integer that can be translated will be too large to squeeze into each cell corner.

I like @ostephens idea of alignment, but it can't be subtle and extra padding will help.
Perhaps both the alignment, and a font-family: monospace might help all around?

I like the idea of always using a decimal separator for floats. It's simple and more intuitive than (kind of) emulating Excel's "General" style.

I like the idea of always using a decimal separator for floats.

Unfortunately, it's technically a little challenging because Javascript doesn't have floats and ints, just numbers, and it truncates "1.0" received in JSON to just "1" after parsing. Removing SerializationFilters.DoubleSerializer() on the server gets the JSON generated correctly for the front end, but would require a custom JSON parser client side to preserve the floating point nature of the numbers.

@tfmorris would JSON5 help?

Custom JSON serialization similar to what is discussed here might be a possibility.


Gateway model "not specified" in community map

This is a {bug report} for {the community website}.
Despite I set a "model" for my gateway eui-b827ebfffe0ca4a4 in the console, in the community map, the tooltip entry for model says "Not specified".
Brand and antenna are correct.
I quickly checked other gateways, none of them show a model in the community map tooltip. I guess the model entry is not read from the gateway meta data at all.

Confirmed

Fixed https://www.thethingsnetwork.org/map?gateway=487

Thanks. Also works in community page now!


[FR] Night modus

It would be nice, if it's possible to change the motion detection or object detection for the night time (Change per MQTT?). For example to change the threshold value or zone information in night.

Yes this is a great idea actually. Will add to the todo list