fix: validate session with remote

Before, we did not check whether the local session was still valid with the
remote, which lead to 401 errors.
Now validate the session and only grant offline login if we know so.
Note, we may still see 401 errors when the user comes back online if the session
has expired in the meantime. Consumers should call canActivate after verifying
the user has come back online and act accordingly.
Closes #11.

Reviewing..

They way I've tested:

open the dashboard for a particular user
go to couchdb and log out the user
refresh the dashboard

The fix redirects the user on refresh to NAV login page (:tada:) but I noticed something funny: if instead of entering username and password for nav I try to log in through the URL (with  /login?username=xxx&token=xxx) JS throws and I am redirected again to NAV login page.

That's weird. Does re-logging-in from the NAV client work?

Yes, you'll need https://github.com/fielded/nav-integrated-state-dashboard/pull/836 to test this.

I guess that means this is a breaking change; my bad.

Yep, I tested it together with fielded/nav-integrated-state-dashboard#836, still breaks the login with query params for me (with user "abdul")

@patriciagarcia I just fixed some further edge cases in this. Could you try now? Note to test this, you'll need to update your local branch, run npm run build and bower link, then in the state dashboard run bower link angular-nav-login.


Feat/github934

Adds support for passing keyword arguments to the fingerprinting functions in the SimilarityMaps code

I get the utility of this, but it looks like something really hard to document.  I think we can merge it, but it may require some carefulness.  It looks like this makes all fingerprints behave the same, however adding the keyword args to the wrong generator will cause errors.

yeah, that's a legit concern.
The fingerprinting API is unfortunately confusing and scattered.
@NadineSchneider and I have talked about cleaning it up a few times, but it's real work.


Add support to Aurora network

Motivation
Missing support of Aurora in Foundry.

Solution
Added Aurora and Aurora Testnet to the list of known chains.
Documentation about aurora: https://doc.aurora.dev/getting-started/network-endpoints

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[x] Updated the changelog

@mattsse done!


Revert "Move UseLinkedListsInLogs from Settings to Variables"

Reverts Epix-Incorporated/Adonis#1251

Why?


refactor(routes): use optional chaining for file type result object

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1118

Relevant Lines:
1118

💛  - Coveralls


Changing pointer semantics to std::unique_ptr

Changed all occurrences of vector<float> * to std::unique_ptr<vector<float>> to avoid memory leaks.

Just throw away my previous pull request. This is much cleaner and less hassle and does exactly what it claims to do ... :)

Well, at least now it's dropping. This is from our Kubernetes cluster on a deployment with one POD having the lib and roughly 15,000 vectors from OpenAI's text-embedding-ada-002 (1,500+dimensions). The peak is after a delete operation.
Before my fix it didn't even drop at all after deleting 8,000 indexes. Now at least it goes down. I'll work more on this in the weekend, but already I suspect 75% of the leaks are mostly gone. Which for us (running in a Kubernetes cluster) is kind of a big deal ...
I'll weed out the rest of the leaks tomorrow or Sunday. If somebody with more knowledge about SQLite's API can run through that part of the code it would be nice. However, I suspect you did a good job on this part. It was only the C++ parts that was a little bit "challenging" ...

This last drop is after a re-index operation (deleting everything in vss_ virtual table and re-creating records) - Still some work to be done, bu at least now it is dropping (which it didn't do at all before I started) ...

Thank you @polterguy for this PR! I'll be taking a closer look soon.
One thing I want to call out: memory when writing to a vss0 table (either inserting or deleting) gets a little wonky. Write only happen on a COMMIT, in which the following occurs:

Any deleted vectors are "deleted" in the in-memory faiss index
Any inserted vectors are "added" to the in-memory faiss index
The entire Faiss in-memory index is copied again into memory and written to the sqlite DB

All to say: Any INSERT/DELETE on a vss0 table will copy the Faiss index in-memory , temporarily until it's safely saved into the sqlite DB.
This is mostly due to the limitations of Faiss's write_index method. It can be improved with a custom IOWriter, which I'm tracking in #1
But in general, yeah sqlite-vss and sqilte-vector has some significant memory problem. I'll make a "tracking" issue for this shortly.

Tracking in #59

@polterguy let me know when you'd like me to review this!

Thx, give me a couple of more days, I'm still trying to wrap my head around SQLite C/++ API ... :/

No problem, let me know if you need any help with any parts of that.
In general, small quick PRs > larger more encompassing changes, so even if you just wanna merge a few std::unique_ptr changes I'd be more than happy to do so

You OK if I apply some consistent coding standard, and some slightly longer variable names? I'll be a bit "dramatic", but I'll try to keep the spirit of the library ...

Just letting you know I haven't flunked on you. Creating a PR tomorrow. I've 100% perfectly stabilised memory usage, plugged some 10 to 20 leaks, apprx. 98% of the leaks are gone in my code base now, and code is higher quality, better naming conventions, and coding std (used clan-format) ...

@polterguy Appreciate it!


iphone pro update

choosing camera in order TrueDepth > DualCamera > WideAngle
this is resolving #297

Odd I'm pretty sure I added this (seems the Files Changed isn't showing all the changes), Had to go through the commits to find more changes.  But I'm still not getting any focus to happen :(

Got it working but I had to add what you had with a little tweak to get the right sense to get proper auto focus
let deviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInTripleCamera, .builtInDualWideCamera, .builtInWideAngleCamera], mediaType: AVMediaType.video, position: .back)

and to make this happen you need to add
s.ios.deployment_target = '13.0'

to the flutter_barcode_scanner.podspec file

@AlexLX2 do you know how to move a plugin to be local to the project?
Cause you'll have to do that first to add mods to it.  But those lines all go into the plugin isn't self, they just don't work until you move it to be local.
I used this to learn how https://stackoverflow.com/questions/47296617/how-to-modify-plugins-dart-code-flutter
Hope this helps you.  I really wish this would get accepted as it really is required.


After a time, my airship stops working.

You see if i create a airship it works well, however after a time, while i'm driving, the steering wheel stops working and i can't pilot the airship. I lost hours of work because of this issue and it's happening since the firsts versions. It never got fixed.

are you sure you aren't pressing the cruise controll button on accident

The physics engine might have also crashed, try reloading the world.

is this SP or MP
because if it is MP and only happening to you, it would probally be CruiseControll (or align)
if it is SP, it is a major bug that no one has found

what's that?
El vie, 3 feb 2023 a las 22:26, Walker Fowlkes @.***>)
escribió:

are you sure you aren't pressing the cruise controll button on accident
—
Reply to this email directly, view it on GitHub
https://github.com/ValkyrienSkies/Eureka/issues/134#issuecomment-1416419603,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVHMKA7QS37UPB6Q6HVG4Q3WVVZYFANCNFSM6AAAAAAUQVSHDE
.
You are receiving this because you authored the thread.Message ID:
@.***>

How i do that?
El sáb, 4 feb 2023 a las 2:08, creare @.***>)
escribió:

The physics engine might have also crashed, try reloading the world.
—
Reply to this email directly, view it on GitHub
https://github.com/ValkyrienSkies/Eureka/issues/134#issuecomment-1416573559,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVHMKA3ZOEC5MTZCTTSUA2TWVWTZPANCNFSM6AAAAAAUQVSHDE
.
You are receiving this because you authored the thread.Message ID:
@.***>

it's multiplayer aternos
El sáb, 4 feb 2023 a las 2:28, Walker Fowlkes @.***>)
escribió:

is this SP or MP
because if it is MP and only happening to you, it would probally be
CruiseControll (or align)
if it is SP, it is a major bug that no one has found
—
Reply to this email directly, view it on GitHub
https://github.com/ValkyrienSkies/Eureka/issues/134#issuecomment-1416591813,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVHMKA2W5WDOOGRWWEB3KHLWVWWEFANCNFSM6AAAAAAUQVSHDE
.
You are receiving this because you authored the thread.Message ID:
@.***>

nevermind it was cruise controll, thanks for making me know, an airship was
saved.
El vie, 3 feb 2023 a las 22:26, Walker Fowlkes @.***>)
escribió:

are you sure you aren't pressing the cruise controll button on accident
—
Reply to this email directly, view it on GitHub
https://github.com/ValkyrienSkies/Eureka/issues/134#issuecomment-1416419603,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVHMKA7QS37UPB6Q6HVG4Q3WVVZYFANCNFSM6AAAAAAUQVSHDE
.
You are receiving this because you authored the thread.Message ID:
@.***>


HDDS-2891. Apache NiFi PutFile processor is failing with secure Ozone S3G

What changes were proposed in this pull request?
Multipart upload is not working in secure environment as the OzoneClientProducer might create the the OzoneClient after executing the HeaderPreprocessor filter. HeaderPreprocessor modifies the header and the AWS signature check is not possible after executing this filter. It should be done before.
Hard to detect the problem, but if you debug both the AWS SDK under NiFi and the signature check of Ozone (OM + S3G) you can see that the canonical message (the base of the signature) contains a wrong content type (ozone/mpu) instead of the original one.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2891
How was this patch tested?
I started a local NiFi and created a flow with PutS3 processor. It worked
What has been changed in this patch?
Over the time it become a bigger patch, so here is an overview:
deleted:    hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/header/AuthenticationHeaderParser.java
renamed:    hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/AWSAuthParser.java -> hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/SignatureProcessor.java
renamed:    hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/AWSV4AuthParser.java -> hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/AWSV4SignatureProcessor.java

The main idea is to remove the duplicated code and use only one single class to process the signature. (Renamed to SignatureProcessor as we already have a header parser to parse the header entry).
The other big modification is to do a snapshot in the SignatureProcessor from the HTTP headers. Earlier it was a writable reference which made it very fragile as the HeaderPreprocessor modifies the header.
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/OzoneClientProducer.java

Just use the one single header parser instead of the other, old one.
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/HeaderPreprocessor.java

To make it more safe, I save the original header and the SignatureProcessor can restore the original Contant-Type.-
new file:   hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestAWSV4SignatureProcessor.java

A new unit test to make sure the Content-Type restore is working
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/util/OzoneS3Util.java

That's a tricky bug. We need to use toLowerCase as it's already used on the server side. Without that we can get very cryptic error. (For example during the createBucket the bucket is created but during the check at the end of the call the acl check is failing....
modified:   hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientAbstract.java
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/VirtualHostStyleFilter.java
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/EndpointBase.java
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/header/AuthorizationHeaderV4.java
modified:   hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestOzoneClientProducer.java
modified:   hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/TestVirtualHostStyleFilter.java
modified:   hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestBucketPut.java
modified:   hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestRootList.java
modified:   hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/header/TestAuthorizationHeaderV4.java

The remaining modifications just test updated / clarifications.
modified:   hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/RootEndpoint.java

This one thing what I couldn't save. The automatic redirect to the S3 browser is removed. (Earlier if you put the s3 bucket URL to the browser it worked. We need a bigger refactor to save it.
~
~

@bharatviswa504 @arp7 Any more comments? Can we commit it, please?

Thanks a lot the review and commit @bharatviswa504 (I know it's very time consuming this kind of very low-level changes...)


Update tools

Update init-tools scripts.
Move to 2.0.0 CLI - Not sure if this is going to work yet but I'm using CI as a testing bed for it.
@eerhardt

Sorry I missed this somehow. LGTM


Correct is-module check

fixes https://github.com/microsoft/pxt-microbit/issues/2653
are there any python tests running on build?

@darzu do Python tests run on build?


CDK textfield example has too much vertical space

What is the expected behavior?
Focused textfield should display the content input by user properly
What is the current behavior?
There's an issue when positioning the input text content
What are the steps to reproduce?
Open that page https://material.angular.io/cdk/text-field/overview gain focus on the first textfield and input text , the rendering is not good
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
It's in the current angular demo

The example has too much vertical space for some reason, so the floating label looks weird:

So the vertical space is because of  cdkAutosizeMinRows="2" which determines the minimum height of the text-area. If you were to set this value to 1 it would allow for a single row and would look like a regular input field that would be able to expand to show the value of cdkAutosizeMaxRows

We can probably set the example to 1 so that it doesn't look weird at first glance

https://github.com/angular/components/pull/16021


Inject error

How to fix it?

Are you using latest commit?

Never mind i fixed this. I just dowload up to date version

🤌🤌🤌🤌


Add progress bar for MCMC runs

This adds a progress bar for HMC / NUTS, using the lightweight tqdm library that has no other dependencies.
This has become increasingly important for a few reasons:

Making sure that HMC is making progress (and checking for diagnostic information like acceptance rate) without cluttering the console or notebooks with logging statements. This has been an issue that has been brought up multiple times on the forums.
The problem of cluttered (and descynchronized) output will become worse with parallel sampling. The logging module for MCMC has been designed so that with minor modifications, we can reuse this for parallel samplers initialized via multiprocessing, and get synchronized output.

Verified (and made appropriate changes) so that the output works for the terminal, pycharm console, as well as jupyter notebook / console. Child loggers also work as expected. Addresses #1137.

Example output:
  $ python examples/eight_schools/mcmc.py
Warmup:  45%|██████████████▎                 | 894/2000 [00:15<00:16, 68.22it/s, Step size=0.408, Acceptance rate=0.947]

Build failing due to https://github.com/travis-ci/travis-ci/issues/1337; will have a work-around for travis.

lgtm - this is pretty cool if it actually can synchronize across parallel sampling. so for my benefit in case i want to suppress output, the logger by default logs to stdout and the progbar is stderr is that correct?

Actually, the logger by default logs to stderr and so does the progress bar. This is because a lot of other tools rely on stdout for their functioning like doctest. So if you want to disable logs, you can set the handler lever to error, or change the handler to a NullHandler when you initialize the logger. We can also have a separate argument to MCMC that disables logging, if there's a need for it.


Update security-assessment-unsecure-account-attributes.md

@batamig
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @danaim1 please recreate the PR in the private repo (atadocs-pr) and sign off there. The public repo is intended for contributions external to Microsoft
Thanks!

#sign-off
Thanks,
Daniel

From: Batami Gold @.>
Sent: Sunday, June 25, 2023 8:38:15 PM
To: MicrosoftDocs/ATADocs @.>
Cc: Daniel Naim @.>; Mention @.>
Subject: Re: [MicrosoftDocs/ATADocs] Update security-assessment-unsecure-account-attributes.md (PR #634)
@batamig approved this pull request.
The PR was approved. When you're ready to publish, please type #sign-off in a new comment box, and click Comment.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/ATADocs/pull/634#pullrequestreview-1497143717, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJV6ULDJJMAFHZJPIQRATCTXNBZQPANCNFSM6AAAAAAZQK5Z7Q.
You are receiving this because you were mentioned.Message ID: @.***>

@Batami @.***>
Thanks,
Daniel

From: prmerger-automator[bot] @.>
Sent: Sunday, June 25, 2023 9:43:43 PM
To: MicrosoftDocs/ATADocs @.>
Cc: Daniel Naim @.>; Mention @.>
Subject: Re: [MicrosoftDocs/ATADocs] Update security-assessment-unsecure-account-attributes.md (PR #634)
Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @batamighttps://github.com/batamig
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/ATADocs/pull/634#issuecomment-1606214358, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJV6ULACAYNRZADOGCL7ZMLXNCBF7ANCNFSM6AAAAAAZQK5Z7Q.
You are receiving this because you were mentioned.Message ID: @.***>


Question: does tone.js work well on React Native?

Hello guys,
I haven't really tried this yet.
Is there anyone using Tone.js on React Native android / iOS?
React Native is fully based on javascript.. and I think it may work with tone.js without any issue.
Thanks,

@jamesharvey2 Did you ever try this and if so, how did it go?

@jamesharvey2 A working example on this would be amazing!

I am experimenting with Tone.js inside WebView using a WebView bridge solution to create two way communication and serialize-deserialize commands. Will keep you updated if still interested in a solution.

Used this static html, and a custom hook to dispatch functions in ToneJS via a webview.  Just keep it here, if anyone wants to setup a quick demo.
`

`
`
export type ToneJS = {
attack: (number) => {};
release: (number) => {};
};
export const useToneJS = () => {
const webViewRef = useRef();
const webView = (
<WebView
source={{ html: bridgeSite }}
originWhitelist={["*"]}
style={{
flex: 0
}}
javaScriptEnabled={true}
ref={webViewRef}
/>
);
const attack = (hz: number) => {
webViewRef.current.injectJavaScript(      synth.triggerAttack("${hz}");    );
};
const release = (hz: number) => {
webViewRef.current.injectJavaScript(      synth.triggerRelease("${hz}");    );
};
return [{ attack, release }, webView];
};`

has anyone tried this webview approach recently or has any news regarding the usage of Tone.js on React Native?


Update all references of SMPS to SMP

Description
This PR fixes #80
Notes for Reviewers

This repo has yet to change names, so the old references were untouched.

Signed commits

[x] Yes, I signed my commits.

@JubayerJoy given all the work you've done, let's give your PR a shot first, before mine.

Adding the pr/on hold label so that we might consider @JubayerJoy's in place of this PR.

@leecalcote, you have covered almost everything I had on my PR, thanks for giving it a shot!
I have submitted a new PR as previous PRs commits were not signed-off.

@leecalcote, you have covered almost everything I had on my PR, thanks for giving it a shot!
I have submitted a new PR as previous PRs commits were not signed-off.

Very good! I consider it more important that we get you engaged and your work recognized. My feeble commits are easily set aside here. 😉

Good to close this PR thanks to the efforts of @JubayerJoy.


amtctrl: Allow to bypass the database

Storing plaintext passwords is insecure. Prompt for a password or
read it from a pipe, if no entry was found in hostdb.

Thanks for this, Andreas.  The host db thing should really not be built into this at all.  I am looking for a functional replacement for amttool to use in scripts that operate on lists of nameless IP addresses and all my nodes have the same password, so having to script around the hostdb feature was cumbersome.  I installed your branch and it is much closer to what I need.  I preferred way that amttool does auth with the env var $AMT_PASSWORD, but now I can get the same thing like:
echo $AMT_PASSWORD | amtctrl <IP_ADDRESS> status
rix

How about https://github.com/sdague/amt/tree/prompt as a solution?

From a broad view I would like amtctrl to fill the need for a minimalistic tool to perform a narrowly focused task and let the user script the handling of input and output.  It should not impose unnecessary constraints that are peripheral to that task, by forcing you to do auth using a particular ad-hoc database scheme.  As for prompting, that is not friendly to scripted applications.  Looking at how this is handled by various command line apps, I'd use openldap clients as an example, e.g. man (1) ldapsearch.  Ldapsearch command line options give you many ways to auth, including: a clear text password entered on the command line, a (protected) password file containing passwords, or prompting interactively for a password.   At least for my scripted use, the pipe feature works well.  I don't know if a piped password could be visible in the process list, but my script would run on a system with no untrusted users, so that is not necessarily an issue.

Sean, I looked at your "prompt" branch, and if I understand correctly, you are still including the pipe option:
passwd = sys.stdin.readline().rstrip('\r\n')
I didn't figure what else you had changed, but the pipe gives me a way to use it in a script, which is my main concern.
Thanks

Yeh, my intent was to still give the pipe option as well. It's possible to secure that path, but the echo example will make it world readable when it is run. I'd rather not fall back to the prompt, because it defies the expectation that you can run it and it will not block for input.
I put the hostdb into this code when I wrote it because with 4 systems I ended up either remembering things poorly, or embedding it in an export for .bashrc when using amttool. Storing the state seemed nice so that it was just "amtctl os3 status"
Anyway, if this works for you, I'll do some light testing tomorrow and push out a release.

On Tue, 21 Mar 2017 17:44:44 -0700
Sean Dague<EMAIL_ADDRESS>wrote:

Yeh, my intent was to still give the pipe option as well. It's possible to secure that path, but the echo example will make it world readable when it is run. I'd rather not fall back to the prompt, because it defies the expectation that you can run it and it will not block for input.
I put the hostdb into this code when I wrote it because with 4 systems I ended up either remembering things poorly, or embedding it in an export for .bashrc when using amttool. Storing the state seemed nice so that it was just "amtctl os3 status"
Anyway, if this works for you, I'll do some light testing tomorrow and push out a release.

Adding the -p parameter is fine, thanks!
Regarding the pipe, a user should of course choose a secure source like a
password manager, e.g. http://www.passwordstore.org/.
FWIW, "echo" itself is not problematic, unless invoked as /bin/echo, because
it's a shell-builtin (at least in bash, dash and busybox ash). That being said,
using echo alone for anything else than an example is pointless anyway, as it
offers no benefit over using the prompt directly.
Regards,
Andreas

I tested the "prompt" branch with piped password input and it solves my problem.
Thank you.
rix

Andreas,
Regarding your comment about the use of echo, I am calling amtctrl from a perl script, as
$status = echo $AMT_PASSWD | amtctrl -p 10.0.0.x status
Since all of my nodes have the same password, a password database would be overkill.
There are, no doubt, more complicated ways call an external program and handle stdin and stdout in perl, but is there a better way?
Thank you.
rix

Ok, merged into master now, local testing seems to go fine. I'll do a release shortly.


Generating multiple stylesheets on save

Is your feature request related to a problem? Please describe.
Since WP introduced the block editor, there is now a need to carry frontend styles into the admin. However, since we don't want to style ALL of the admin controls and just the editor, this requires generating a separate stylesheet where you are able to include/exclude certain styles which may cause issues in the admin.
Describe the solution you'd like
An easy way to add additional stylesheets to be compiled with style.css, and being able to define which SASS master file to compile.
This issue is related and has some details and progress: https://github.com/ahmadawais/WPGulp/issues/103
This PR has been built to compile them into separate directories which is also cool: https://github.com/ahmadawais/WPGulp/pull/125
Describe alternatives you've considered
I've set up my own solution manually but it was not the most efficient. Subsequent node/npm updates broke my implementation. It would be awesome to have official WPGulp support for this feature!

I'd love to see this too.


When pasting telephone links, drop tel:// prefix

Description
It'd be nice if, when pasting a telephone number copied from a telephone link, which starts with tel://, that initial part be already dropped off so you don't have to manually erase it.
Screenshots

@nighto  Can you tell me where exactly you are adding this telephone so that I can reproduce the issue and work for possible solutions.:-)

Any POIs that would take telephone numbers, usually (but not only) shop=*.
By the way I just learned with this example that phones not always have tel://, they can also be only tel:.
https://davidwalsh.name/demo/phone-link-protocol.php


data become `data` in generated code

please replace &#x60 to `

Hey @klaszlo8207
I'm sorry but the information you provide is too little to help me even understand what the issue is about. Can you provide a sample Swagger file and a snippet of how the generated code looks like?

Hey @klaszlo8207
I'm sorry but the information you provide is too little to help me even understand what the issue is about. Can you provide a sample Swagger file and a snippet of how the generated code looks like?

sample:
good code:
@POST("signin")
suspend fun SigninUsingPOST( @retrofit2.http.Body `data`: SigninRequest): SignInResponse

**generated code:**

@POST("signin")
suspend fun SigninUsingPOST( @retrofit2.http.Body &#x60data&#x60: SigninRequest): SignInResponse

sample:
good code:
@POST("signin")
suspend fun SigninUsingPOST( @retrofit2.http.Body `data`: SigninRequest): SignInResponse

**generated code:**

@POST("signin")
suspend fun SigninUsingPOST( @retrofit2.http.Body &#x60data&#x60: SigninRequest): SignInResponse

Can you provide also your Swagger file (or the fragment that generated this code)?

Can you provide also your Swagger file (or the fragment that generated this code)?

Sorry it is a private swagger

Sorry it is a private swagger

Sorry it is a private swagger

Can I ask you to create a reproducer (i.e. extract only the fields that are producing the problem and redact the names if needed).

Sorry it is a private swagger

Can I ask you to create a reproducer (i.e. extract only the fields that are producing the problem and redact the names if needed).

echoing @cortinico here ... having a sample spec that is able to trigger the issue helps us more to identify the bug, ensure that it get fixed and have a test that ensures that no regressions would be present in upcoming releases.
Still by trying to create specs that would create such type of API seems that something like the following might represent a minimal spec
swagger: '2.0'
info:
  title: Reproduce https://github.com/Yelp/swagger-gradle-codegen/issues/147
  version: 0.0.0
paths:
  /signin:
    post:
      operationId: SigninUsingPOST
      parameters:
        - in: body
          name: data
          schema:
            type: object
            x-model: SigninRequest
            properties:
              p:
                type: integer
          required: true
      responses:
        default:
          description: ''
          schema:
            type: object
            properties:
              p:
                type: string
            x-model: SignInResponse

as it would generate (with the kotlin generator) the following API file
/**
 * NOTE: This class is auto generated by the Swagger Gradle Codegen for the following API: JUnit Tests
 *
 * More info on this tool is available on https://github.com/Yelp/swagger-gradle-codegen
 */

package com.yelp.codegen.generatecodesamples.apis

import com.yelp.codegen.generatecodesamples.models.SignInResponse
import com.yelp.codegen.generatecodesamples.models.SigninRequest
import io.reactivex.Single
import retrofit2.http.Headers
import retrofit2.http.POST

@JvmSuppressWildcards
interface DefaultApi {
    /**
     * The endpoint is owned by junittests service owner
     * @param `data` (required)
     */
    @Headers(
        "X-Operation-ID: SigninUsingPOST"
    )
    @POST("/signin")
    fun signinUsingPOST(
        @retrofit2.http.Body `data`: SigninRequest
    ): Single<SignInResponse>
}

echoing @cortinico here ... having a sample spec that is able to trigger the issue helps us more to identify the bug, ensure that it get fixed and have a test that ensures that no regressions would be present in upcoming releases.
Still by trying to create specs that would create such type of API seems that something like the following might represent a minimal spec
swagger: '2.0'
info:
  title: Reproduce https://github.com/Yelp/swagger-gradle-codegen/issues/147
  version: 0.0.0
paths:
  /signin:
    post:
      operationId: SigninUsingPOST
      parameters:
        - in: body
          name: data
          schema:
            type: object
            x-model: SigninRequest
            properties:
              p:
                type: integer
          required: true
      responses:
        default:
          description: ''
          schema:
            type: object
            properties:
              p:
                type: string
            x-model: SignInResponse

as it would generate (with the kotlin generator) the following API file
/**
 * NOTE: This class is auto generated by the Swagger Gradle Codegen for the following API: JUnit Tests
 *
 * More info on this tool is available on https://github.com/Yelp/swagger-gradle-codegen
 */

package com.yelp.codegen.generatecodesamples.apis

import com.yelp.codegen.generatecodesamples.models.SignInResponse
import com.yelp.codegen.generatecodesamples.models.SigninRequest
import io.reactivex.Single
import retrofit2.http.Headers
import retrofit2.http.POST

@JvmSuppressWildcards
interface DefaultApi {
    /**
     * The endpoint is owned by junittests service owner
     * @param `data` (required)
     */
    @Headers(
        "X-Operation-ID: SigninUsingPOST"
    )
    @POST("/signin")
    fun signinUsingPOST(
        @retrofit2.http.Body `data`: SigninRequest
    ): Single<SignInResponse>
}

Is it now fixed? Can I use the new code somehow from maven new version?

Is it now fixed? Can I use the new code somehow from maven new version?

It's fixed but will be available in the upcoming version 👍

It's fixed but will be available in the upcoming version 👍

It's fixed but will be available in the upcoming version 👍

When will be this available? Thanks

It's fixed but will be available in the upcoming version 👍

When will be this available? Thanks

When will be this available? Thanks

We can't really commit on a timeline, but I'm getting @macisamuele onboard to finalize 2.0.0. Ideally we should merge those PRs first #110 #114 #104 (there might be a couple more).

When will be this available? Thanks

We can't really commit on a timeline, but I'm getting @macisamuele onboard to finalize 2.0.0. Ideally we should merge those PRs first #110 #114 #104 (there might be a couple more).


feature: poro matchers to dry for the future rspec matchers

Pull Request Test Coverage Report for Build 123

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.945%

Totals

Change from base Build 122:
0.0%

Covered Lines:
375

Relevant Lines:
379

💛  - Coveralls


Feat: I would like to scrape contest page of atcoder

Describe the feature
I would like to scrape contest page of atcoder
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

Hello @nikhil25803. I would like to scrape contest page of atcoder. I am already scraping few websites and want to learn more about it. Kindly please assign this issue to me under Gssoc'2024.

@nikhil25803 could you please assign the issue to me

Go ahead @agastya3636
Note

Please create a separate module for this, as in the folder and project structure (if it is already created, just add your features as functions in the same module).
Do not use the `selenium web driver as it is incompatible with all devices and cloud platforms.
Before making any changes, please check whether the module you want to add exists. If yes, then you can add your functionality as a method only make a separate module and class for it.

All the best 👨💻


Classic WotLK - Dressing room not working properly when auction house is open

I've noticed the dressing room is working properly when the auction house is open with this addon active.
I will control click on an item in the AH, the dressing room will display properly, but if I close the dressing room and the AH, then reopen the AH and control click an item the dressing room will not display correctly. The reset button is blank and you can't move your character from side to side.
If I disable the Drift addons the dressing room w/AH open work perfectly fine.

Thanks for letting me know.

I have an idea of what is causing this issue. Can you test with this attached version of Drift and let me know if the issue still shows up?
drift-v2.2.12-wc.zip

I've got to start work pretty soon. I'll give it a try later today and report back.

The issue seems to be fixed using the newer version you linked.

Fixed in v2.2.13.


missing documentation

Page: /setup/ci/travis/
Feedback: this page is not very helpful since it has not information

#1096

Fair enough.


[Request/Suggestion]

Just a couple thoughts. Looks like you plan on changing the way asteroid missions work. Requesting a few config options to add types of asteroids. Distance modifier, density so they wont last forever, Chance to find the type and multiple ores per type with spawn chance.  Ruff Example - Asteroid type X is common takes Y amount of time to reach, has 10k to 5k ore and contains 60% iron 30% copper 9% coal 1% diamonds. Would like to use asteroid missions in a modpack to limit the ways/amount of resources available to a player. Asteroid chip types as loot could be fun.
Planets: any chance of a tier or unlock method for new planets? Just a slot in the planet selector or warp controller to allow access to a planet. Example place item x in slot click button(consumed, returned to player, required for travel ect..) now a new planet is available or something complex involving the astrobody data processor. Again for modpacks It would be cool to travel to say abysalcraft dimensions but if all the player needs is a warp drive it breaks abysalcraft progression. Could fit in if you plan on fuel/engine types.
And the long shot, Abit more flexibility with multiblock  machines for custom recipes. liquid/item import/export on more machines. not sure if thats a realistic option as it would be a gui nightmare. Example needing a coolant to cut tuff metals in the lathe.

Lot of this stuff is coming as I type so it may seem like a bit of a dump..
The suggesting with the asteroids looks very similar to #300, though my plan to prevent a single asteroid from lasting forever was making it a one-shot thing, so once a mission goes there and returns that particular asteroid is gone for good and what you got from it is what you get.  What I'd like to do to prevent people just spamming asteroid missions though is to generate a list that changes every X number of minutes (configurable) sometimes nothing may be there, other times you'd get a selection from a preconfigured list of types with a random (also pre-configured) variation where what types of asteroids displayed are  function of the probability of that type of asteroid and the tier (more than one telescope/ levels of telescope?) of your equipment.
I really would like to bring back unlockable planets (I gave it a shot a while back but it was just tedious to play with...) because you have to use a station to get from one planet to another this does allow for more options on how to determine what planets are accessible.  I'd really like to avoid doing some make-a-chip for every planet deal.  Though now I can probably link what planets are allowed to the warpship itself so players can do the research or whatever on the warpship to gain access to those other planets.  I would like to add impulse and other types of engines to the ship and this would be a great excuse to fit that in.  It would also be cool if some item required for travel to a planet be specified in the XML config too and the warpship has some kind of "insert key here" thing.
It wouldn't actually be too bad to add stuff to machines like that as the UIs I make are modular (adding data IO bar/slots is a one line call for instance) so there's no reason that couldn't be done.  I'll just have to see how i can modify the machines to allowed this.  That actually was my original plan but I kinda got a bit off that (is a bit more evident in earlier machines like the observetory, precision assembler, arc furnace) but I kinda moved away from that design philosophy... I'll definitely bring it back though!


Do not include trailing / in url if it's not included in path

This fixes an issue where you have something like:
const App = () => {
  return (

      Go to foo
      <Route path="/foo" component={Foo} />

  );
};
const Foo = ({match: {url, path}}) => {
  return (

      Go to bar
      <Route path={path + '/bar'} component={Bar} />

  );
};
const Bar = () =>
Hello World
;

If you load this app and click on the link to "foo" it seems to work fine, except that because it's not strict, it has allowed you to add a trailing / to the path.  The "Go to bar" link then has a double // in it, causing the app to break when you attempt to click that link.
The easiest fix is to never include a trailing / in the url if there wasn't one in the path.

Did this ever actually get resolved?


Add PM2.5 dataset

This PR adds scripts to import the Surface PM2.5 dataset from the Atmospheric Composition Analysis Group at Washington University in St. Louis.
These scripts were originally written by @cmhwang. I've made a few changes:

Files are now automatically downloaded from Box
Optional Prefect integration with @sgoodm's run_tasks script
Add README.md, with instructions for setting up Box application authentication
Add conda environment, both a script for creating one and a pre-built .yaml
Export cloud-optimized GeoTIFFs
Removed option to only process certain months

@sgoodm, this latest commit 098c8f9 includes your task runner script. Should it live outside of this directory?

Awesome work. Going to merge this now.


origin column filter broken after v1.5.1

self-explanatory

Hello @AllenFang ,
I did a quick fix before you merged my pull request in v.1.5.1 so that it supports the old filtering.
But it seems I was not quick enough since I saw now it is not part of v.1.5.1.
You can see in [here] (https://github.com/dana2208/react-bootstrap-table/commit/3cb6f7002c73ddf7c1a82c0313371110751fb29f#diff-29) that TableDataStore.js contain the following code that is not in your own version (lines 208 to 211):
// support old filter
              if (filterVal === undefined) {
                filterVal = filterObj[key].toLowerCase();
              }
This way the old filtering way is not broken.
I can make a new PR with these 4 lines if you want.
Let me know.
Thanks

if your solution is work for both origin and new column filter, just open a PR :0
Thanks !

My PR: support old filter #296
Thanks!

Thanks your contribution, I've merge and released on v1.5.3


Latest RN Version Support

Hi,
Is there any upcoming release, so as to support latest versions of RN and Gradle Plugins?

@privateOmega Hey! - Do you the latest master or the version on npm? I have a branch on my fork that updates RN on the library side (peerDependencies), but on master we also bootstrap an example. Which version do you think of?

@maicki Thanks. I will definitely look into your fork, but then again, Is there a scope for breaking? Also do you have any resource on building a library from scratch?

@privateOmega Just to clarify which version would you like to update? The version we are using as peerDependendency in a new library?

I guess it might be the peerDependendency version, since it points to 0.41.2 as for 5 minutes ago (I just installed the cli and create a test lib) while the current stable is 0.55.0.
I didn't really made any search for what were the breaking changes, however I think it would be good to have the version updated.

I thought about upgrading the peerDependencies and for now I have a branch out with updating it to 0.52: https://github.com/maicki/react-native-create-library/commit/b90beb2f06773fffe3d29795e216278fd4b65dd8
The reason I'm not pretty sure if we should update always to the latest is that we know updating React Native is not so easy in some circumstances. So the peerDependency should rely define which version you should have at least as peer. If the library uses APIs that are only starting with 0.52+ you should manually update the peerDependency of the library. That said I think 0.52 should be a good next update step for a default library.

@maicki if the change is as simple as in your branch I guess it won't hurt to have it merged to the master. Anyway, I think it is nice to update it and do the necessary changes every once in a while.

@wregis I totally agree, cause the older dependency prevents developers from using updated features of RN, hence limiting them.


gpg signed commits and releases

I hereby suggest to sign all commits and releases with gpg.
Especially in a security related project this course of action ensures the integrity of the code.

Dupe of #1703


Sort by Severity

Sorting on the effect column of variant.xhtml should sort by severity.

Sorting is now down by comparing the "impact" property of the Category class.


Compatability with TypeScript

Thanks for this library!
Just created a new project with React 18.2.0 and TypeScript 5.3.3.
Upon creating a component with the sample provided in the Readme, I get the following type error:
Type '{ children: Element; renderer: string; width: number; height: number; }' is not assignable to type 'IntrinsicAttributes & object'.
  Property 'children' does not exist on type 'IntrinsicAttributes & object'.ts(2322)

Is that as expected?

@fsefidabi I have a fix for this (along with some minor rollup fixes).
Can you grant me access to creating a branch and PR ?
Thanks!


Add support and tests for reference only builds

Related issue
Closes: #71

There are build warnings in src/Analysis/Codelyzer.Analysis.Model/InvocationExpression.cs:
'InvocationExpression.Parameters' is obsolete: 'Use Argument property instead. This property will be removed in a later version.'
src/Analysis/Codelyzer.Analysis.CSharp/SemanticHelper.cs : Is also getting unused variable warning in case we wanted to add those errors to logging.

We added these warnings to warn users using "Parameters" that this will be removed in the future and replaced with Arguments because it contains more data.

Could you please resolve all the warnings?

We will remove the warnings in a later version. These are meant to warn users to stop using Parameters and start using Arguments (breaking change).

Sounds good
On Tue, May 25, 2021 at 4:31 PM Mark Fawaz @.***> wrote:

Could you please resolve all the warnings?
We will remove the warnings in a later version. These are meant to warn
users to stop using Parameters and start using Arguments (breaking change).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws/codelyzer/pull/72#issuecomment-848337197, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQC4ONHRG5EULOBMZBTRXTDTPQXNHANCNFSM44XNHKGQ
.


If connection with ES fails, it will be retried this number of attemps, increasing on 5 seconds each waiting time

2021-01-07 18:42:38.013 INFO osde2e-wrapper - _index_result: Attempting to upload (Attempt: 1) information to ES server with index osde2e-install-timings
2021-01-07 18:42:38.109 ERROR osde2e-wrapper - _index_result: Failed to upload to ES, waiting 5 seconds for next upload retry
2021-01-07 18:42:38.013 INFO osde2e-wrapper - _index_result: Attempting to upload (Attempt: 2) information to ES server with index osde2e-install-timings
2021-01-07 18:42:38.109 ERROR osde2e-wrapper - _index_result: Failed to upload to ES, waiting 10 seconds for next upload retry
2021-01-07 18:42:38.013 INFO osde2e-wrapper - _index_result: Attempting to upload (Attempt: 3) information to ES server with index osde2e-install-timings
2021-01-07 18:42:38.109 ERROR osde2e-wrapper - _index_result: Failed to upload to ES, waiting 15 seconds for next upload retry
2021-01-07 18:42:38.109 ERROR osde2e-wrapper - _index_result: Reached the maximun number of retries: 3, ES upload failed for 1i2avn1ap7242l7i44b7rmu7chpi6osu

Exception dump is also included in the log, but I have omitted it from the example
It could be something like:
2021-01-07 18:42:38.013 INFO osde2e-wrapper - _index_result: Attempting to upload (Attempt: 3) information to ES server with index osde2e-install-timings
2021-01-07 18:42:38.090 WARNING base - log_request_fail: POST http://search-cloud-perf-lqrf3jjtaqo7727m7ynd2xyt4y.us-west-2.es.amazonaws.com:80/osde2e-install-timings/_doc [status:N/A request:0.076s]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 156, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib64/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/morenod/.local/lib/python3.9/site-packages/elasticsearch/connection/http_urllib3.py", line 245, in perform_request
    response = self.pool.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 376, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3.9/site-packages/urllib3/packages/six.py", line 703, in reraise
    raise value
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib64/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 184, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 168, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89dcb704c0>: Failed to establish a new connection: [Errno -2] Name or service not known
2021-01-07 18:42:38.095 WARNING base - log_request_fail: POST http://search-cloud-perf-lqrf3jjtaqo7727m7ynd2xyt4y.us-west-2.es.amazonaws.com:80/osde2e-install-timings/_doc [status:N/A request:0.004s]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 156, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib64/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/morenod/.local/lib/python3.9/site-packages/elasticsearch/connection/http_urllib3.py", line 245, in perform_request
    response = self.pool.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 376, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3.9/site-packages/urllib3/packages/six.py", line 703, in reraise
    raise value
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib64/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 184, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 168, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89dcb70d30>: Failed to establish a new connection: [Errno -2] Name or service not known
2021-01-07 18:42:38.102 WARNING base - log_request_fail: POST http://search-cloud-perf-lqrf3jjtaqo7727m7ynd2xyt4y.us-west-2.es.amazonaws.com:80/osde2e-install-timings/_doc [status:N/A request:0.005s]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 156, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib64/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/morenod/.local/lib/python3.9/site-packages/elasticsearch/connection/http_urllib3.py", line 245, in perform_request
    response = self.pool.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 376, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3.9/site-packages/urllib3/packages/six.py", line 703, in reraise
    raise value
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib64/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 184, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 168, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89dcb70760>: Failed to establish a new connection: [Errno -2] Name or service not known
2021-01-07 18:42:38.108 WARNING base - log_request_fail: POST http://search-cloud-perf-lqrf3jjtaqo7727m7ynd2xyt4y.us-west-2.es.amazonaws.com:80/osde2e-install-timings/_doc [status:N/A request:0.004s]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 156, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib64/python3.9/socket.py", line 953, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/morenod/.local/lib/python3.9/site-packages/elasticsearch/connection/http_urllib3.py", line 245, in perform_request
    response = self.pool.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 376, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3.9/site-packages/urllib3/packages/six.py", line 703, in reraise
    raise value
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib64/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 184, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 168, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89dccdebe0>: Failed to establish a new connection: [Errno -2] Name or service not known
2021-01-07 18:42:38.109 ERROR osde2e-wrapper - _index_result: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f89dccdebe0>: Failed to establish a new connection: [Errno -2] Name or service not known) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f89dccdebe0>: Failed to establish a new connection: [Errno -2] Name or service not known)

Hold untils https://github.com/cloud-bulldozer/osde2e-scale-wrapper/pull/33 is merged, as it uses its commits

Hold untils https://github.com/cloud-bulldozer/osde2e-scale-wrapper/pull/33 is merged, as it uses its commits

@dry923 ready to merge

@dry923 ready to merge


pty.Start seems to close the terminal too early

Thanks for writing this package! I've been using it successfully for some time to test a shell interpreter over at https://github.com/mvdan/sh :)
I've been running into sporadic flakes with pty.Start for some time; see https://github.com/mvdan/sh/issues/513. It stumped me for a long time, but today it just clicked why it's happening: https://github.com/mvdan/sh/issues/513#issuecomment-927674507
The culprit seems to be this line:
https://github.com/creack/pty/blob/8ac0cc1360706eb8e5bcd8c0127c63fbdd9d338a/run.go#L50
As proof, see how swapping pty.Start with a more manual pty.Open that closes after cmd.Wait() never fails: https://github.com/mvdan/sh/commit/f7684ecdfcfdb92dc32103f132d5cc1d311afdff
I'm not sure why the deferred close is there, or why I'm the only one running into this issue. But given that the API is called pty.Start, not pty.Run, it feels wrong to close the terminal as soon as the function returns.
Would you accept a patch with the fix? That is, removing line 50, and relying on the caller to close the primary/master terminal (pty) after they have done cmd.Wait(), just like in my updated test.

@myitcv @leitzer I actually wonder if this affects you too, because some of your https://github.com/govim/govim tests also use pty.Start. I seem to recall you mentioned some CI flakes involving pseudo-terminals as well, though I was unable to find any mention of signal: hangup in your issue tracker.

I'll try to take a look this week.

That is, removing line 50, and relying on the caller to close the primary/master terminal (pty) after they have done cmd.Wait(),

I'm not sure if there is a bug or not, but note that line 50 closes the tty, not the pty. The client package is already responsible for closing the pty when it's done with the terminal.
Line 50 exists because only the child process uses the tty;  the parent process doesn't need an open fd for the tty, it only needs the pty.
At least that is my understanding.

@kr I personally went with primary and secondary in my code, to remind myself of their roles. It seems like the upstream Linux docs say master and slave, but that feels a bit extra :)
As for your mention that the tty (secondary) is only used by the child process - intuitively, that makes sense. In practice, though, it seems to flake predictably, at least with -race. Perhaps that's a bug in our understanding of how the forking happens.
If @creack arrives at the same conclusion as you, that the code seems correct, then I might try to provide a small isolated reproducer for the error. I already did provide a reproducer test in the original post, but it's in a test within a third party module, so I get that there are more moving pieces.

@mvdan,
As @kr mentioned, closing the tty in the defer is quite intentional. If there is some unexpected behavior, it would be interesting to not discard the error (currently stamped "best effort") and see if there is some kind of failure.
The idea behind primary/secondary is that the kernel entangles the two so what happens on one side happens on the other.
The pty/tty pair is initialized before the fork. When forking, all FDs are duplicated, in the child, we use the tty FD, so in the parent, we don't need it anymore. In other words, as soon as c.Start l70 returns, the tty is "garbage" for the parent, if it was not closed in the defer, it would be a memory leak (unless maybe, although unlikely, Go's Garbage collection would be able to detect it is an unused FD and close it)
That being said, looking at the stdlib code, it is quite different than when @kr initially created this library, and I see some new logic around the descriptor closing, which may be related to the issue. Looks like changes are from 2013 and 2016, which is quite old, but maybe nobody tried what you are doing as people tend to skip tests when dealing with terminal.
For context, forking in Go is a bit more tricky than in other languages because of the runtime and how it handles threads/goroutine, the initial "fix" to get it working was the global ForkLock, but as some new logic has been added which, to be honest, I don't fully understand yet, we may need to revisit how we deal with our pty/tty pair.
Unfortunately, I have not been able to reproduce, if you have a self-contained snippet that would showcase the error, I can investigate further and find a way to fix it.
Naming is tricky, I am not a fan of "primary" / "secondary" as it implies it is a 1-1 relation, while there is only one primary with many secondaries, but it may be my own bias due to not being a native speaker. On the other hand, I don't have a better idea, and even if not perfect, it may be clearer than pty/tty.
The idea for pty/tty was that from the parent's perspective, the important piece is the pty to be able to control the child's terminal, and because it is indeed a pseudo-terminal, it made sense to keep it as pty.
From the child's perspective, the "secondary", for all intent and purpose, is the tty.
Open to suggestions / PRs to change the naming :)

Thank you for the detailed reply! It could well be that the forking and FD duplication is more subtle than you and I assume. I haven't looked into it myself yet.

Naming is tricky, I am not a fan of "primary" / "secondary" as it implies it is a 1-1 relation

I don't have a strong opinion here, but I did want some way to remember which one is the parent and which is the child.

if you have a self-contained snippet that would showcase the error, I can investigate further and find a way to fix it.

I'll try to put one together then :)

In the process of writing a minimal reproducer that was reliable, I think I've nailed what's happening. Here's the reproducer: https://play.golang.org/p/QK7kD4elAA1
And here's my output:
$ go run main.go
signal: hangup
signal: hangup
signal: hangup
[...]

Note that I needed that runtime.GC call to deterministically reproduce the error nearly every time.
Assuming that possible GC run happens, here's what leads to the error:

pty.Start calls os.OpenFile("/dev/ptmx", os.O_RDWR, 0)
OpenFile sets up a finalizer, so that when the *os.File gets GCed, it gets automatically closed
The child process starts.
My code does not hold onto the primary/pty file for long. The GC run thus calls the finalizer, closing the parent terminal.
The child process attempts to use its other end of the terminal to print something. That gets an error, as the parent terminal has been closed.

So my original fix suggestion was wrong, as you both pointed out. However, I still think there's a bug in the pty library: pty.Start should always, always ensure that the parent/primary/pty remains alive until the child process (i.e. the command) has finished executing. In my sample code above, you can see that I can manually accomplish that via runtime.KeepAlive, which makes the error never appear.
It's unclear to me where or how the "keep alive" fix would fit into the pty library - I'll leave that to you two :) A potential fix might be in the form of the following at the end of StartWithAttrs:
go func() {
    // Keep pty alive until the child process has finished.
    // Otherwise, a GC run might call pty's finalizer, closing the file too early.
    c.Process.Wait()
    runtime.KeepAlive(pty)
}

I'm happy to send a patch if that sounds good. I could also massage the demo above into a small test.

The explanation above also seems to explain why my downstream commit, https://github.com/mvdan/sh/commit/f7684ecdfcfdb92dc32103f132d5cc1d311afdff, seemed to remove the test flakes. Note how I now keep primary alive right until I call cmd.Wait, for the sake of closing the file. The child process has already printed all it needs to by that point. So my change happened to fix the flake by keeping the parent file alive for long enough.

Thank you for digging into this and for the snippet!
I think your diagnostic is correct indeed. However, I am not sure I agree with

pty.Start should always, always ensure that the parent/primary/pty remains alive until the child process (i.e. the command) has finished executing

At the moment, it is just a gut feeling, I will dig into this today or tomorrow and get back to you with a more concrete reasoning.
When the parent terminal closes, it may be better to leave it up to the child to decide whether to die or to detach, or maybe it would make sense to kill the child, as if the parent doesn't have a reference to it's terminal, then it is a dangling orphan (may even be zombie).
In any case, what you did is incredibly helpful and a great way to dig deeper

I think I'm on the right track with the diagnostic, but perhaps my conclusion and proposed fix are wrong.

I'll check on a mac as well.
Note that from the snippet, replacing the KeepAlive with a defer primary.Close() also 'fixes' the issue as it would keep a reference to the primary and prevent the gc to close it.

Random side note, looking into your package made me think of this, in case you are curious to see the most complete and awesome shell in go: https://github.com/creack/goshell :)

I did reproduce on OSX, and while I didn't find anything conclusive just yet, I am more and more thinking it is localized to the testing scenario and is unlikely to cause issues in a "real world" scenario, even for large supervisors like Docker.
Monitoring the goroutines and memory, it doesn't seem to be a leak.
Verified your solution using pty.Open directly and not closing the secondary, it gets properly closed by the finalizer, so it is indeed a viable solution.
Looking back at the self-contained snippet to reproduce, it is actually not the same use-case. In the snippet, the hangup is indeed expected, even if not obvious. When closing the primary before the end of 'Wait', it may or may not have been completed so getting a hangup signal is to be expected sometimes.
It would be the same in C or in other languages, it is a bad usage of the lib. To mitigate this, we could indeed improve the documentation to highlight this gotcha.
Thinking more about the idea of having a KeepAlive or something to ensure the parent stays alive, it would cause some unexpected / unintended behaviors as it is something existing code might depend on.
If the caller "looses" the reference to the child, then there is nothing actionable on this side, if the caller decides it is expected, then it would be up to it to call the KeepAlive or to maintain a reference to the files.
On the child side, SIGHUP is the expected signal when the controlling terminal is closed, so the child has the option to handle it and detach itself, or just die.
I guess it circles back to just being an obscure corner of unix and adding more docs would help.
I suspect it may be related to the stdlib ForkExec race, or it could be a bug in ioctl call, or maybe a bug in the kernel. As mentioned earlier, there is only one "primary", which is a device, not a regular file. It looks like that closing one of the opened "primary" results in closing another and/or the wrong "secondary".
I will keep digging tomorrow.

Closing with #167


Adds minor instructions on how to build #99

I had issues getting the project compiling because I didn't realize there was a submodule.

Merged in d6d00e5259b5fecc50f9a8c291803e33195cfb3b, I slightly changed the commit message (I'm planning to use commit messages for automatic releases, so they need to follow a structure).
Thanks for the PR! Also: Yey, issue #100! :tada:


In Xcode7.2 , has failed :(

all proj run in Xcode7.2 is failed;
img show like this:
http://i4.tietuku.com/627513ed7ceba0ed.jpg

@git-lt Did this work in a previous version of Xcode. I don't see how that could be the issue though.
Can you double check that test is the same value used in registerComponent ?

react-natve  Version : 0.1.7
xcode Version:  7.2 (7C68)
@christopherdro
Just happen at that Upgrade Xcode to 7.2
new proj create like this:
react-native init test
index.ios.js
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */
'use strict';

var React = require('react-native');
var {
  AppRegistry,
  StyleSheet,
  Text,
  View,
} = React;

var test = React.createClass({
  render: function() {
    return (
      <View style={styles.container}>
        <Text style={styles.welcome}>
          Welcome to React Native!
        </Text>
        <Text style={styles.instructions}>
          To get started, edit index.ios.js
        </Text>
        <Text style={styles.instructions}>
          Press Cmd+R to reload,{'\n'}
          Cmd+D or shake for dev menu
        </Text>
      </View>
    );
  }
});

var styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F5FCFF',
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginBottom: 5,
  },
});

AppRegistry.registerComponent('test', () => test);

I has same problem, it was because I have cache from another project with different name and XCode use it's main.jsbundle (https://github.com/facebook/react-native/issues/4289).
I kill all processes, delete everything in TMPDIR and then start my build with --resetCache true

Running rm -rf $TMPDIR/react-*, now is working!  Thks!!!!!!!

I am also getting an error with XCode 7.2 - app builds and run just fine, but the Simulator doesn't show anything!


Publish 7.0 to NPM

Looks like 6.3.0 is the latest version that's been published to the official NPM registry:

Are there any plans to publish 7.x soon?

I got v7 using:
npm install --save react-google-maps@next


Map named ASP.NET target manifest property to the corresponding file path

Handle "ASP.NET/2.0.0" TargetManifest values from the project file, and map them to the path of the corresponding manifest file.

The "big" metapackage should have a new .targets file in it that auto-enables the project referencing it to use the included target manifest file (which lists all the packages that are in the cache) when the app is published. The .targets file should have an optional switch PublishWithAspNetCoreTargetManifest to turn the feature off.
When PublishWithAspNetCoreTargetManifest is enabled, the targets file will determine the path to the enclosed target manifest file and set it on the <TargetManifest> MSBuild property, which will get used by the publishing process. We need to figure out the right MSBuild target in which this should run - something like BeforePublish (don't know the exact name).

We could start out with an empty manifest file just to get the MSBuild authoring complete in the .targets file.
Then when the package cache is done and publishing to the feed, we can put real XML in the manifest and have it work end-to-end.

Note that it is possible from the CLI's publish command to specify multiple target manifests. The TargetManifest tag in the project file should probably also support multiple manifests, which means that this feature should be able to handle "ASP.NET/2.0.0" even when it's not the whole value.

Targets have been added, will modify the build to add the manifests to the package.


Fixed missing parents and humanised missing file errors

Some additional files were created, not sure what this is about?

Fixes: #56 , #69

Final notes:
Fixes #56, #69,
Fixes DAG Errors:

Incorrect formatting for dag tasks
Providing empty tasks
Python task invalid path, class parameter, missing class
Copy task missing parameters

Documentation Changes:

Python task path example made clearer
Fixed list formatting
Added a warning for python task return requirements
Added collapsable warning functionality (pymdownx.details)


Use statsd format for the data

See details in https://github.com/criblio/appscope/issues/1517

Merging since https://github.com/criblio/appscope/issues/1517 was merged


⚠ Bofrost.at has degraded performance

In 1a875e5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1481 ms

Resolved: Bofrost.at performance has improved in 3033654 after 6 minutes.


Add Octopus.do to README

Checklist

[x] I made something good today 💐.
[x] I put links in the correct format: [Tool](link) — description.
[x] My description starts with the lower-case letter and ends with the full stop.
[x] I put the tool in the alphabetical order.

Optional

[ ] I added the appropriate labels: free, open-source or mac.
[x] I put the tool only to one category.
[x] I followed Contribution Guidelines.

@losteden1 many thanks for contributing 🙏🏻


[event-hubs] Fixing flaky tests.

There were two sets of tests that were failing:

A createBatch() test suddenly had diagnostic IDs populated. Looks like we were replacing the global tracer in tests that had activated tracing and that state was propagating to other tests. Most tests don't bother checking the event properties so it's gone unnoticed.
A set of random tests for array sending that were using date that were probably failing because of clock skew.


Cell level assay based filtering

Need

To safely filter out cells generated by the wrong assay type when a dataset contains multiple assays

In prod!


Merge code for Slicer extension

This includes the code at the repository https://github.com/loic-michoud/MFSDA_Extension that was created separately for the Slicer extension

Thank you so much!
@vicory can you please test?


Add grammars module

Fixes https://github.com/outlines-dev/outlines/issues/543
Based on @benlipkin's PR https://github.com/outlines-dev/outlines/pull/544 because without it the example JSON grammar doesn't work. His needs to be merged before this one.
Makes it easy to add grammars to the module, define a lark file in outlines/lark, reference it in grammars.py.
Work

[x] allow grammar Path to be passed to CFGFSM and reference outlines/lark as lark importables
[x] Introduce grammars.py and minimal example, outlines.grammars.json
[x] test outlines.grammars.json with CFGFSM
[ ] Add to docs
[ ] Awaiting https://github.com/outlines-dev/outlines/pull/544 merge

Out of scope

Fixing escaped_string per https://github.com/outlines-dev/outlines/issues/456
Adding SQL, Python, etc grammars

I think we could rename outlines.lark to outlines.grammars? Otherwise this requires user to know what lark is and add cognitive overhead.

Now that #544 has been merged you will need to rebase your brain on main and fix the merge conflicts. It would also be nice to have some documentation :) This can go in the "Utiltities" section under "Docs".

Good to merge, thank you!


add internal fargmant

Please add internal fragment because it is a vital and important feature in China and Iran.
You can also set the amount of packet division.

You can add fragment settings in your json config


docs: added static site adapter

Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

@manucorporat i was testing for static site and found that we cannot use useSignal, useStore and useRouteAction however, useTask is working just fine, so should i mention which API we can use with adapter?

@the-r3aper7 thanks for your help. are you still on this PR? which part is missing?

yes last time i check some APIs were not working at build time

🤔 the SSG integration is working well. server APIs can't work because there is no active server.

🤔 the SSG integration is working well. server APIs can't work because there is no active server.

so, useStore and useSignal is part of server or client and how can a user a say simple counter app?

🤔 the SSG integration is working well. server APIs can't work because there is no active server.

so, useStore and useSignal is part of server or client and how can a user a say simple counter app?

useStore and useSignal are working fine with SSG

it was not working 4 months ago 😅


Unable to connect BLE Server again after disconnecting.

In BLE server, callback,
else if(operation == LE_DISCONNECT) {
    // clientnode has just disconnected
    // uncomment next line to stop LE server when client disconnects
    // return(SERVER_EXIT);
    // otherwise LE server will continue and wait for another connection
    // or operations from other clients that are still connected
    printf("Disconnected\n");
    // return(SERVER_EXIT);
}

on commenting return(SERVER_EXIT), the server shows disconnected
but it doesn't connect again.
To connect again, binary needs restart.

I have not been able to reproduce your error. If I connect to the server, then disconnect, the server goes back into waiting mode and I can re-connect with no problem.  Can you supply more details, it might be a problem with the client.


Sensors not updating, unless home assistant is restarted

This needs to be fixed to update every hour.

This has been fixed.


feat(core): assertions cli support

Thanks for this @sujankota . Would you please add an e2e test like this one? https://github.com/opentdf/otdfctl/blob/main/e2e/encrypt-decrypt.bats#L60

Guidance from @strantalis is that we will not be merging this yet due to the release freeze. @sujankota what are your thoughts on adding a --no-verify-assertions flag on decrypt to make them optional?

Let's do the no-verify in a separate pr so we have cleaner rollbacks

https://github.com/opentdf/otdfctl/pull/419 -- draft to add --no-verify-assertions flag on decrypt


test-branch/execute-job/comment-from-wrong-user-on-pr/f3d74481-d28b-4868-b0ee-ba456b2bf321

PR for testing cd60920d097a85aa1ba700c71adc0ab084ee3e36

/canonical/self-hosted-runners/run-workflows cd60920d097a85aa1ba700c71adc0ab084ee3e36


feat: Add Post Crud

added post crud for create,read,update,delete
used mongoose to define the model src/models/PostSchema
defined routes in routes/ folder Post.ts

@devimalka possible improvements:

mdb variable (delete/leave? It doesn't do anything atm)
we are using MongoDB so createdAt and updatedAt are added automatically to the Schema, we can leave them if we want to be descriptive but overall they are not necessary since they are added automatically
commented out code in src/library/db.ts, do we need it?
Post schema needs more fields, please check the wireframes:

Hi @devimalka, I've adjusted routes structure a bit for better management. Also a few points: Consider to make the post apis asynchronous as we don't wanna time users out. You can refer to Lei's auth branch as a good example to follow. Additionally, it would be beneficial to improve the error handling in those endpoints.


restart count not meaningful to users

I'm debugging a job right now that I would describe as having been 'restarted' many times, but our restart count is still at zero.
If I search the logs for this job, I'll see a handful of pairs of received request, downloading input log messages ... suggesting that this job has been restarted. These are not running in parallel, its a single datum. Something happens during download phase, and the work gets reassigned somehow. I'm still debugging the mechanism behind the bug (why the restarts are happening), but my point here is that to a user, this is a restart. It sounds like a 'restart' has a very technical meaning to us (that the jobmanager retries the job), but that's not a helpful definition to end users.
I can see how for a job w many datums this line gets blurry. What if one datum was 'restarted' a bunch but the others weren't ... would you say the job was restarted? Probably not. But as a user, I'd want to know which datums were getting re-processed.
This may be another reason why we want to expose the datums on the pachctl API interface. I think it could be helpful in many scenarios to be able to debug at the datum level. Some examples would include:

seeing if a datum has been 'restarted' / 'reprocessed'
listing the datums for a job (its interesting just to see the number of datums)
inspecting the datum

to see its contents ... especially if your 'job' keeps crashing on a particular datum ... it's helpful to know which files are causing your code to err ... and it's not always going to be practical to just 'dump' the datum in the pachd logs as we do now w the failed to process datum ... message ... but it would be great to be able to do pachctl get-datum <datum_id>
to see which worker (and therefore which node) processed this datum ... very helpful for debugging resourcing issues

I think this is clearer now that we have logs per datum


Not compatible with latest version of nuxt 3.8.0

Reproduction link
https://stackblitz.com/edit/github-5d7cdq?file=app.vue,components%2FSwiperControls.vue
It gives an issue when you to try to use Navigation or Pagination modules

You should use SwiperPagination and SwiperPagination.


Switch signup and clear buttons on waiver page and de-emphasize clear

Is your feature request related to a problem? Please describe.
When signing the waiver, students tend to hit the clear button instead of the sign up button. They automatically go they automatically go to the right side for some reason.
Describe the solution you'd like
Can we switch the 2 buttons and also change the clear button from a large button to just a gray text link?

Buttons switched, clear button changed to outline button


[New]: Want to Add Marketplace UI Page

Framework/code-stack
React
Description
I want to add  NFT marketplace UI frotnend which has features of typical NFT marketplace
Similar challenges
All other Challenges are realted to the tradtional Web2 related projects . This challenge is related mostly to the web3 stack so
Screenshots

Additional Context
No response

FMC is only for mini-challenges and not for full end-to-end websites as of now.

Ok I Will try to add another mini challenge is it fine then ??


npx ps5bot - error

I am running node 12.9 as per instructions-
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/ps5bot - Not found
npm ERR! 404
npm ERR! 404  'ps5bot@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

I got the same error as above

getting the same error when trying to run PS5 bot

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/ps5bot - Not found
npm ERR! 404
npm ERR! 404  'ps5bot@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404

follow steps if you are facing issues
first of all go to this website : https://github.com/VVNoodle/PS5bot
1- after downloading node,git, and the code files (zip) and installing (node and git) and unzip the (PS5bot-master)
2- go to start on windows and type: cmd
3- click the black icon
4- this line will be different for each because it is the location for the file (PS5bot-master). type:   cd C:\Users\gg\OneDrive\Desktop\ps5 bot\ps5bot-main
5- type: git clone https://github.com/VVNoodle/PS5bot
5- type: npm install
6- type: npm i -g yarn
7- type: yarn
8- type: yarn link
9- type: cd C:\Users\gg\OneDrive\Desktop\ps5 bot\ps5bot-main\bin       (notice the {bin} in the end its important)
10- type: node ps5bot
Do you want to run ps5bot immediately, or in a specific time and date? · immediate
√ Enter your first name. · your first name
√ Enter your last name. · your last name
√ Enter your phone number. · your phone number
√ Enter your email. · your email
√ Enter your state. · your state
√ Enter your city. · your city
√ Enter your address. · street number and name
√ Enter your zip code. · your zip code
√ Enter your credit card number. · your credit card number
√ Enter your expiration month. · the two digits month
√ Enter your expiration year. · four digits year
√ Enter your cvv. · number in the back of your card
√ Do you want to scrape Target? (y/N) · true     (press y)
√ Enter your Target email. Defaults to email if no input ·    (email associated with your target accout to login)
√ Enter your Target password. · target account password
11- type:  node ps5bot scrape
12- when the website opens wait a little and watch the magic happens it will login for you and start refreshing


oauth_version 1.0a is invalid

In this code, the oauth_version parameter is set to 1.0a in the requests. However, the specification for OAuth 1 says that if present, the value MUST be 1.0 (even for OAuth 1.0a). I'm guessing there's a reason it was set to 1.0a and that some servers accept that value.
I would suggest changing it to be 1.0 as all servers should be able to handle that, but otherwise making it possible to choose between 1.0 and 1.0a as the value might be an option.

I think allowing it to be 1.0 or 1.0a is the best option. I don't remember a reason to have it be 1.0

The only reason I can think of for keeping the existing behavior (sending 1.0a) is for back-compat.

I changed this to be 1.0 as the default in the 1.5 release.


Error when using Zenithplot with faint stars

When changing the example code to a limiting_magnitude of e.g. 10, the hip_main data is downloaded but then a crash happens.
I know it's probably not a good idea to make a zenithplot with mag 10 but wanted to report it anyway.
Env: on a mac, installed homebrew dependencies and starplot itself using poetry - installing shapely from source failed. Testing was done in a jupyter notebook.
Note: the default example did produce a nice plot. Also having trouble with the standard Orion example, maybe it's install related?
from datetime import datetime
from pytz import timezone
from starplot import ZenithPlot
from starplot.styles import PlotStyle, extensions

tz = timezone("America/Los_Angeles")
dt = datetime(2023, 7, 13, 22, 0, tzinfo=tz)  # July 13, 2023 at 10pm PT

p = ZenithPlot(
    lat=33.363484,
    lon=-116.836394,
    dt=dt,
    limiting_magnitude=10,
    style=PlotStyle().extend(
        extensions.BLUE_MEDIUM,
        extensions.ZENITH,
    ),
    resolution=2000,
    adjust_text=True,
)
p.export("01_star_chart.png")

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[13], line 9
      6 tz = timezone("America/Los_Angeles")
      7 dt = datetime(2023, 7, 13, 22, 0, tzinfo=tz)  # July 13, 2023 at 10pm PT
----> 9 p = ZenithPlot(
     10     lat=33.363484,
     11     lon=-116.836394,
     12     dt=dt,
     13     limiting_magnitude=10,
     14     style=PlotStyle().extend(
     15         extensions.BLUE_MEDIUM,
     16         extensions.ZENITH,
     17     ),
     18     resolution=2000,
     19     adjust_text=True,
     20 )
     21 p.export("01_star_chart.png")

File ~/Library/Caches/pypoetry/virtualenvs/py-asterisms-TlaOFCju-py3.11/lib/python3.11/site-packages/starplot/zenith.py:102, in ZenithPlot.__init__(self, lat, lon, include_info_text, dt, limiting_magnitude, limiting_magnitude_labels, ephemeris, include_planets, style, resolution, hide_colliding_labels, adjust_text, *args, **kwargs)
     99 self._calc_position()
    100 self.project_fn = build_stereographic_projection(self.position)
--> 102 self._init_plot()

File ~/Library/Caches/pypoetry/virtualenvs/py-asterisms-TlaOFCju-py3.11/lib/python3.11/site-packages/starplot/zenith.py:322, in ZenithPlot._init_plot(self)
    319 self.ax.axis("off")
    321 self._plot_border()
--> 322 self._plot_stars()
    323 self._plot_constellation_lines()
    324 self._plot_constellation_labels()

File ~/Library/Caches/pypoetry/virtualenvs/py-asterisms-TlaOFCju-py3.11/lib/python3.11/site-packages/starplot/zenith.py:174, in ZenithPlot._plot_stars(self)
    172 # Draw stars
    173 if self.style.star.marker.visible:
--> 174     self._plotted_stars = self.ax.scatter(
    175         stardata["x"][bright_stars],
    176         stardata["y"][bright_stars],
    177         sizes,
    178         color=self.style.star.marker.color.as_hex(),
    179         clip_path=self.background_circle,
    180     )
    182 starpos_x = []
    183 starpos_y = []

File ~/Library/Caches/pypoetry/virtualenvs/py-asterisms-TlaOFCju-py3.11/lib/python3.11/site-packages/matplotlib/__init__.py:1465, in _preprocess_data.<locals>.inner(ax, data, *args, **kwargs)
   1462 @functools.wraps(func)
   1463 def inner(ax, *args, data=None, **kwargs):
   1464     if data is None:
-> 1465         return func(ax, *map(sanitize_sequence, args), **kwargs)
   1467     bound = new_sig.bind(ax, *args, **kwargs)
   1468     auto_label = (bound.arguments.get(label_namer)
   1469                   or bound.kwargs.get(label_namer))

File ~/Library/Caches/pypoetry/virtualenvs/py-asterisms-TlaOFCju-py3.11/lib/python3.11/site-packages/matplotlib/axes/_axes.py:4661, in Axes.scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, edgecolors, plotnonfinite, **kwargs)
   4657 s = np.ma.ravel(s)
   4658 if (len(s) not in (1, x.size) or
   4659         (not np.issubdtype(s.dtype, np.floating) and
   4660          not np.issubdtype(s.dtype, np.integer))):
-> 4661     raise ValueError(
   4662         "s must be a scalar, "
   4663         "or float array-like with the same size as x and y")
   4665 # get the original edgecolor the user passed before we normalize
   4666 orig_edgecolor = edgecolors

ValueError: s must be a scalar, or float array-like with the same size as x and y

@mrosseel thanks for reporting this, I was able to reproduce the issue. It looks like starplot is calculating the size of a star marker in a format that matplotlib doesn't like. I'll do some more digging and fix this in an upcoming release :)
What issue are you running into with the Orion map plot? Feel free to open another GH issue, and I'll try to help!
Thanks again!
Steve

thx for the quick response, I've added #28 for the Orion issue

@mrosseel just fixed this in the latest release -- let me know if you still get that error, thanks!


Lambda expressions

Allright, i've got an initial version of my library for writing animation expressions as lambdas! Check it over at https://github.com/aL3891/CompositionAnimationToolkit
I'd love any feedback you might have!
cc @pgills @patsiu
Using it you can for instance write something like this
var propertySet = new
{
    Rotation = 0,
    CenterPointOffset = new Vector3(redSprite.Size.X / 2 - blueSprite.Size.X / 2, redSprite.Size.Y / 2 - blueSprite.Size.Y / 2, 0)
};

expressionAnimation.ExpressionLambda(c => redSprite.Offset + propertySet.CenterPointOffset
    + c.Vector3(c.Cos(c.ToRadians(propertySet.Rotation)) * 150, c.Sin(c.ToRadians(propertySet.Rotation)) * 75, 0));

Good work.
I am working on a similar concept of creating Expression animation using ExpressionTrees and Lambdas.

@aL3891 Interesting. We'll have some folks take a look!

Cool!
Its now also on nuget:
Install-Package CompositionAnimationToolkit -Pre

@aL3891
cc @pgills @patsiu
Check out my project CompositionExpressionToolkit. I have optimized part of your code and added a Expression visitor which optimizes the parsing of the Lambda expression.

Interesting @ratishphilip, i'll check it out. When you say optimized, are you referring to speed or expressiveness or something else?

@aL3891
In CompositionPropertySetExtensions
Instead of checking for each type specifically, I have used reflection to invoke the appropriate CompositionPropertySet method. This reduces the number of lines of code and also adapts automatically to future additions of Insertxxx or TryGetxxx methods in CompositionPropertySet for additional types. (Similar implementation has been incorporated for CompositionAnimationExtensions)
The CompositionExpressionEngine is based on the ExpressionToken class by Joseph Albahari. It provides a better method of visiting Expression Trees than the standard ExpressionVisitor. (It powers the expression visiting part in LinqPad!)

I see, I've actually avoided reflection to make things easier for .net native :) I've been thinking about reducing allocations by using more stringbuilder but since i don't anticipate these methods to be call that frequently because of the reusability of animations, so its lower prio for me at the moment.
I've got some new updated coming that will also make using property sets a little easier, its in the repo but not up on nuget yet,

Added to Feedback milestone and cleaning up issues.


Improve handling of giant AppMaps in AppMaps webview

Closes https://github.com/getappmap/appmap-intellij-plugin/issues/663
This PR

always adds the stats property to the JSON, which is passed to the AppMap webview. If the CLI failed to return the stats, then an empty array is used for stats
does not pass AppMap property findings to the AppMap webview for giant AppMaps, but only for regular and large AppMap files. Previously, findings were always attached

Although the old code already added stats, it wasn't always added.
This PR now follows the VSCode plugin's code more closely.
This is what I'm seeing for large AppMaps (tested locally by changing the threshold, I don't have a giant AppMap file available here):

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

v0.68.0
GitHub release

Your semantic-release bot :package::rocket: