Fix not able to run on windows XP

Add CLion build files to .gitignore
Use runtime loading of unavailable (on windows XP) function.
Fix not compiling with XP support (versionhelpers.h is not available there)
Fix not able to select anything in folder dialog on windows XP.
Fix crash when using non existent folder as default.
Remark
I've removed code that was adding status text, new style and edit box to folder select dialog. With these flags folder selection dialog hanged on windows XP and I was not able to select anything. Without these flags example app runs great on windows XP.

I had to push to master so not to lose my changes on other PC
Last commit adds support for new visual style via #pragma comment (that can be disabled with define)
Adds new notification helper class (internal) to display notifications on windows. Notifications use app icon if it available or default app icon.
You can pull this changes if you're okay with them.
I think that could be an okay temporary solution to use #pragma until we find out how this can be achieved without it.

Thanks for all the changes! I did not merge the notification part because it may need some discussion first. Maybe you can rebase your changes with the current master branch so that the diff is clean, but I’m OK with manually cherry-picking the changes too.


[kwokctl] support all feature-gates

What type of PR is this?
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

None

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/ok-to-test

done


The token was issued in the future

I'm trying to create website using Laravel Framework with Firebase Admin SDK. I'm stuck with verifying user's token when trying to log in.
I'm getting this message
The value 'eyJhbGciOiJSUzI...' is not a verified ID token: - The token was issued in the future
I have set my laravel datetimezone to my timezone which is Asia/Kuala_Lumpur on AppServiceProvider, ENV , config/app.php and the time is working as expected but the problem still occurred.
Here is my login function
public function loginUser(Request $request)
{
    $email = $request->email;
    $clearTextPassword = $request->password;

    try {
        $user = $this->auth->getUserByEmail($email);

        try {
            $signInResult = $this->auth->signInWithEmailAndPassword($email, $clearTextPassword);
            $idTokenString = $signInResult->idToken();

            //THE PROBLEM STARTS AT THIS TRY CATCH
            try {
                $verifiedIdToken = $this->auth->verifyIdToken($idTokenString);
            } catch (FailedToVerifyToken $e) {
                session(['status' => 'Token Expired/Invalid']);
                return back();
            }

            $uid = $verifiedIdToken->claims()->get('sub');
            $claims = $this->auth->getUser($uid)->customClaims;
            $displayName = $user->displayName;

            if ($claims != null) {
                if ($claims['admin'] == true) {
                    session([
                        'verified_admin' => true,
                        'verified_user_id' => $uid,
                        'idToken' => $idTokenString,
                        'displayName' => $displayName,
                        'status' => 'Login Successfully',
                    ]);
                } else {
                    session([
                        'verified_admin' => false,
                        'verified_user_id' => $uid,
                        'idToken' => $idTokenString,
                        'displayName' => $displayName,
                        'status' => 'Login Successfully',
                    ]);
                }
            } else {
                session([
                    'verified_admin' => false,
                    'verified_user_id' => $uid,
                    'idToken' => $idTokenString,
                    'displayName' => $displayName,
                    'status' => 'Login Successfully',
                ]);
            }

            return redirect()->route('home');

        } catch (Exception $e) {
            session(['status' => 'Wrong Password']);
            return back();
        }
    } catch (UserNotFound $e) {
        session(['status' => 'Invalid Email Address']);
        return back();
    }
}

Sometimes it can logged in properly, and sometimes it doesn't. I have to send this command php artisan cache:clear and it will work again.

When the clock in the environment your app is running lags behind (as the message suggests) you can add a leeway parameter to the verifyIdToken method: https://firebase-php.readthedocs.io/en/stable/authentication.html#verify-a-firebase-id-token
On another note: you already signed in a user with email and password, that means the authentication has already been done and you don't have to verify the ID Token again, and you can get the Firebase UID of the user with $signinResult->firebaseUserId() (https://firebase-php.readthedocs.io/en/stable/authentication.html#custom-authentication-flows)


update pg.development.sql

Update the development database to include all existing migrations.
@pkdash - this catches the development database up with all existing migrations. Might help to alleviate some of the migration issues you've been running into.

@mjstealey I assume this updated sql file gets generated using DB shell command. In that case +1. I have not yet been able to resolve the migration issue as it doesn't show any error but just hangs. Hope, this updated sql file resolves it.


finetuning support for pytorch version

Will you release the finetuning code for pytorch version?

Not in our roadmap at this moment. That said you'd need a data loader and a training loop and that should be it. The data loader needs to be customized to work on your own datasets, and that's one of the reasons we don't have off-the-shelf ft code.

@siriuz42 thank for your return. I want to check that the finetuning can not be run in pytorch?


Support gRPC sync grouped dynamic configurations.

Support gRPC sync grouped dynamic configurations.

[ ] If this is non-trivial feature, paste the links/URLs to the design doc.

[X] Update the documentation to include this new feature.

[X] Tests(including UT, IT, E2E) are added to verify the new feature.

[ ] If it's UI related, attach the screenshots below.

[X] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #7081.

[X] Update the CHANGES log.

Please format the new files

Please fix the UT.


protected virtual methods not shown in documentation

protected virtual methods such as Loaded or Install on ExtendedPluginBase do not show up in the documentation.
This makes it very hard for people to find those events and implement them.

Fixed in next version.


Docker image entry point

get Docker image to work with entry point so we can use it for DE

Docker image testing on atmo instance <IP_ADDRESS>
Docker image originally built from /home/agladstein/docker_test/SimPrily
/home/agladstein/docker_test/SimPrily is cloned github repo
example input parameter and model files (not related to real data) are included in the github repo, and can be found in /home/agladstein/docker_test/SimPrily/examples
example array template files are included in the github repo, and can be found in /home/agladstein/docker_test/SimPrily/array_template
example genetic map files are included in the github repo, and can be found in /home/agladstein/docker_test/SimPrily/genetic_map_b37
examples based on real data for brassica and HapMap are in /home/agladstein/real_examples. This includes input files and real data in uncompressed tped format.
docker image version1 can be run from /home/agladstein/docker_test/SimPrily:
docker run -t -i --mount type=bind,src=/home/agladstein/docker_test/SimPrily,dst=/app agladstein/simprily:version1 python /app/simprily.py examples/eg1/param_file_eg1.txt examples/eg1/model_file_eg1.csv 111 /app/out_dir

This runs eg1 from examples, defines job id as 111 and outputs results to out_dir. You can see the results in out_dir/results/results_111.txt

Docker image version1 was built from the Dockerfile:
# Use an official Python runtime as a parent image
FROM python:2.7

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
ADD . /app

# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt

# Create directory for OSG
RUN mkdir -p /cvmfs

# Make port 80 available to the world outside this container
EXPOSE 80

# Run simprily.py when the container launches
CMD ["python", "simprily.py"]

Docker image latest was built from the Dockerfile:
# Use an official Python runtime as a parent image
FROM python:2.7

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
ADD . /app

# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt

# Create directory for OSG
RUN mkdir -p /cvmfs

# Make port 80 available to the world outside this container
EXPOSE 80

# Define entry point
#ENTRYPOINT ["/usr/bin/"]
ENTRYPOINT ["/app/simprily.py"]

# Run simprily.py when the container launches
CMD ["python", "simprily.py"]

Mount confuses me...
Errors I get when I try to run it with input files in different directories:
Running in /home/agladstein/real_examples/HapMap
run -t -i --mount type=bind,src=/home/agladstein/real_examples/HapMap,dst=/app agladstein/simprily:version1 python /app/simprily.py param_file_HapMap.txt model_file_HapMap.csv hapmap1 /app/out_dir
python: can't open file '/app/simprily.py': [Errno 2] No such file or directory

Entrypoint
Errors I get when changing ENTRYPOINT
When latest docker image built with line
ENTRYPOINT ["/bin/bash"]

Error:
docker run -t -i --mount type=bind,src=/home/agladstein/docker_test/SimPrily,dst=/app agladstein/simprily python /app/simprily.py examples/eg1/param_file_eg1.txt examples/eg1/model_file_eg1.csv 111 /app/out_dir
/usr/local/bin/python: /usr/local/bin/python: cannot execute binary file

CMD will append to the end of ENTRYPOINT when both as specified. However, if you add additional arguments to the docker run when a CMD and an ENTRYPOINT are specified, the CMD section is dropped and the arguments are used instead. Here, adding the mount and other stuff basically drops out the CMD python simprily.py and that's why errors happen (I think).

Worked
# Use an official Python runtime as a parent image
FROM python:2.7

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
ADD . /app

# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt

# Create directory for OSG
RUN mkdir -p /cvmfs

# Make port 80 available to the world outside this container
EXPOSE 80

# Define entry point
ENTRYPOINT ["python", "/app/simprily.py"]

docker run -t -i --mount type=bind,src=/home/agladstein/docker_test/SimPrily,dst=/app agladstein/simprily examples/eg1/param_file_eg1.txt examples/eg1/model_file_eg1.csv 1111 /app/out_dir


The tls  certificate has expired

because of this(quic.clemente.io，Valid until 2  Mar 2019), between the  chrome  and  server , we  can not use QUIC to transport, please  help  me, thanks a lot.

@lucas-clemente

@marten-seemann

Please use your own cert.


🎉 release: v8.1.0

Description
This is a release PR.

:tada: This PR is included in version 8.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


relative_train_NCEV.txt

hi，author，with the help of your article and questions, I successfully reproduced the results, but I encountered this file missing in the process of fine-tuning. I want to ask if this file is the same as the relative_test3_NCEV.txt in the previous question. If not, can you request to provide this file? I would appreciate it if you helped me.

I'm not sure which dataset you are using for instruction tuning. If you are tuning on your own dataset, you need to create a file in the format of relative_train_NCEV.txt based on your dataset. If you are tuning on the MER2023 dataset, you need to apply to use the dataset from the MER2023 official source and then create the relative_train_NCEV.txt file based on the annotation files within the dataset.
Please note that in the file name relative_test3_NCEV, N stands for the name of the video sample (e.g., samplenew_00006611), C represents the count of video frames (125, this variable is used elsewhere for hierarchical frame extraction. For instance, when extracting VideoMAE features, this project sets an input of 16 images. The 125 video frames are sequentially divided into eight parts, and two frames are randomly selected from each part as input), and E and V represent the emotion labels (sad and -10). In this project, C and V values are not actually used. You can create your training data file with just the name and label. Then, modify the corresponding dataset reading code to use this file.

Thank you for your help in asking me questions. Now I am tuning the MER2023 data set, and I am currently in the application stage. I look forward to contacting and communicating with you if I have any questions.

Thank you for your help in my questions. Now I am tuning the MER2023 data set, and I am currently in the application stage. I look forward to contacting and communicating with you if I have any questions.


Remove version: ImageLine.FLStudio version <IP_ADDRESS>39

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


Rerun thompson sampling experiment

https://getpocket.atlassian.net/browse/DIS-658

@mmiermans please take a look again. I've done a small refactoring to pass the experiment to the snowplow tracker.


[C++] TSAN error in s3 (maybe false positive?)

Describe the bug, including details regarding any error messages, version, and platform.
I encountered this while stress testing #35440 with TSAN enabled but I believe it's not related to #35440 and, indeed, not a bug at all.  I'm attaching the log from TSAN here but I'll give a summary.
tsan_out.txt
There are three locks involved and so it is quite confusing.
M0: The holder lock (std::mutex S3ClientHolder::mutex_)
M1: The finalizer lock (std::shared_mutex S3ClientFinalizer::mutex_)
M2: The upload state lock (std::mutex UploadState::mutex)
TSAN reports Cycle in lock order graph: M0 => M1 => M2 => M0
The task is "creating a bunch of files in parallel".
In the main thread we are calling create dir.  This all happens in arrow::fs::S3FileSystem::Impl::CreateBucket.  As part of this process we:

Obtain Exclusive Lock M0
Obtain Shared Lock M1

In a CPU thread we are closing a file, which causes us to upload the final part.  This all happens as part of arrow::fs::(anonymous namespace)::ObjectOutputStream::UploadPart.  As part of this process we:

Obtain Shared Lock M1
Obtain Exclusive Lock M2

In an I/O thread we are handling the upload outcome which causes us to call close on the file.  This all happens as part of arrow::fs::(anonymous namespace)::ObjectOutputStream::HandleUploadOutcome.  As part of this process we:

Obtain Exclusive Lock M2
Obtain Exclusive Lock M0

However, given that M1 is a shared lock, I'm not sure this deadlock that TSAN is reporting is possible.
Unfortunately, I think there is actually a potential deadlock here, just not the one that TSAN is reporting.  As part of HandleUploadOutcome it seems we are first locking the upload state and then locking the client holder (M2 then M0).  As part of UploadPart we are first locking the client holder and then locking the upload state (M0 then M2).  TSAN is reporting this latter operation as M1 then M2 which is also true, but not as interesting.
A good fix would probably be to release the upload state lock in HandleUploadOutcome before marking pending_parts_completed finished (in general it's not a good idea to mark futures finished when holding locks).  I want to reproduce and confirm this is actually a problem and this fix actually works.
Component(s)
C++

I'm not able to reproduce.  I think, by the time the HandleUploadOutcome thread is launched, we can know that the CloseAsync thread has already obtained the upload_state lock, and so it isn't actually possible to trigger this deadlock.

CC @pitrou for a second opinion but I will look at this further tomorrow too.

Hmm, so what seems to happen is that there are three different threads:

MT: M0 (ex) => M1 (sh) in S3ClientHolder::Lock
T8: M1 (sh) => M2 (ex) in ObjectOutputStream::UploadPart
T21: M2 (ex) => M0 (ex) in ObjectOutputStream::UploadPart

M0 is S3ClientHolder::mutex_.
M1 is S3ClientFinalizer::mutex_.
M2 is UploadState::mutex_.
The complex part is T21: UploadPart calls HandlePartOutcome which marks the pending_parts_completed future finished, which invokes the callback added in CloseAsync, which in turns takes the client holder lock.
Like you, I'm skeptical there is a genuine risk, as M1 is taken shared.

Sorry, I just re-did the analysis you already did :-)

Unfortunately, I think there is actually a potential deadlock here, just not the one that TSAN is reporting. As part of HandleUploadOutcome it seems we are first locking the upload state and then locking the client holder (M2 then M0). As part of UploadPart we are first locking the client holder and then locking the upload state (M0 then M2).

A reasonable fix is to lock the client holder only as long as necessary. I should have done that from the first start:
diff --git a/cpp/src/arrow/filesystem/s3fs.cc b/cpp/src/arrow/filesystem/s3fs.cc
index f05d89963c..79b8716017 100644
--- a/cpp/src/arrow/filesystem/s3fs.cc
+++ b/cpp/src/arrow/filesystem/s3fs.cc
@@ -1527,8 +1527,6 @@ class ObjectOutputStream final : public io::OutputStream {

   Status UploadPart(const void* data, int64_t nbytes,
                     std::shared_ptr<Buffer> owned_buffer = nullptr) {
-    ARROW_ASSIGN_OR_RAISE(auto client_lock, holder_->Lock());
-
     S3Model::UploadPartRequest req;
     req.SetBucket(ToAwsString(path_.bucket));
     req.SetKey(ToAwsString(path_.key));
@@ -1538,7 +1536,8 @@ class ObjectOutputStream final : public io::OutputStream {

     if (!background_writes_) {
       req.SetBody(std::make_shared<StringViewStream>(data, nbytes));
-      auto outcome = client_lock->UploadPart(req);
+      ARROW_ASSIGN_OR_RAISE(auto client_lock, holder_->Lock());
+      auto outcome = std::move(client_lock)->UploadPart(req);
       if (!outcome.IsSuccess()) {
         return UploadPartError(req, outcome);
       } else {
@@ -1562,12 +1561,13 @@ class ObjectOutputStream final : public io::OutputStream {
           upload_state_->pending_parts_completed = Future<>::Make();
         }
       }
+      ARROW_ASSIGN_OR_RAISE(auto client_lock, holder_->Lock());
       // XXX This callback returns Aws::Utils::Outcome, it cannot easily call
       // `holder->Lock()` which returns arrow::Result.
       ARROW_ASSIGN_OR_RAISE(
           auto fut,
           SubmitIO(io_context_, [client_lock = std::move(client_lock), req]() mutable {
-            return client_lock->UploadPart(req);
+            return std::move(client_lock)->UploadPart(req);
           }));
       // The closure keeps the buffer and the upload state alive
       auto state = upload_state_;

By the way, it seems S3 is disabled in our TSAN CI job. Should we enable it?

 Should we enable it?

It would be nice.  We do a fair amount of thread management here.  However, it's mostly controlled by Future / AsyncTaskScheduler / etc. so perhaps not as critical.
Note that I did not actually end up finding any real bugs with TSAN once I quieted down the false positives.

A reasonable fix is to lock the client holder only as long as necessary. I should have done that from the start:

That seems fine. I think it would still be good to unlock the upload_state before marking the flush complete too.  It's not a bug but it will make it easier to reason about the code in the future.


Make slog-stdlog based on slog-scope.

slog-stdlog::scope should be backed by slog-scope::scope.
It seems the only sane way they should be working.
Should this require bumping slog-stdlog version to 2.0?

Actually I'll just make a fork slog-scope-stdlog.

Actually I'll just make a fork slog-scope-stdlog.

Done. https://crates.io/crates/slog-scope-stdlog.

Done. https://crates.io/crates/slog-scope-stdlog.


[refactor]: Remove the unused import statements in vue-scanner.ts.

Overview
I have identified that certain import statements are not being used in any part of the file. This can cause confusion in the future.
https://github.com/logicspark/berryjam/blob/aec7ac576375faf5f3b5fdbe8709ba81cf771aa7/src/vue-scanner.ts#L4
https://github.com/logicspark/berryjam/blob/aec7ac576375faf5f3b5fdbe8709ba81cf771aa7/src/vue-scanner.ts#L6
Expected Behavior
Remove both of them

Hi @ravut8,
I've been interested in working on open-source projects for quite a while now, Hacktoberfest seems to my starting point in this journey ahead, being new to open-source I feel your issue is a good first contribution for me to start with.
I would like the opportunity to contribute to this issue.

Hey @k7kaushal,
Thanks for the interest. You are more than welcome to try. To get started, please review our contributing guideline.
If you have any questions, please let us know.


Rethink ProductPartitioner method design, as it has an issue on AbstractSpatialFunctionPartitioner type

GeoStatsBase ProductPartitioner method (from product.jl) is not working properly when two objects of type AbstractSpatialFunctionPartitioner are multiplied.
The result is an AbstractFunctionPartitioner object, when it should also be AbstractSpatialFunctionPartitioner.

This is fixed by https://github.com/JuliaEarth/GeoStatsBase.jl/commit/aff77bccf17607f74590267580d4a18200cd7f68


[LSM] Slash Query Callbacks

Closes: #XXX
Purpose
For LSM, at intermediate checkpoints, we have to issue slash queries in the middle of LSM liquid stake transactions. This PR implements the callbacks for those queries.
Context

We issue slash ICQs in a daisy chained fashion
The first query is for the Validator Exchange Rate, the second is for the Delegator Shares. Then the shares are multiplied by the exchange rate to get the number of delegated tokens
We only allow slashes in the last 20% of the epoch
Every X amount of LSM liquid stake that flows into a validator, we need to issue an ICQ to ensure the validator was not slashed

Assumptions

The motivation for the ICQ window being limited to the last 20% of the epoch was due to the fact that an accounting error could occur if the protocol's delegation changed while the query was inflight
However, this only matters for the second of the two queries (delegator shares) as the first query (validator exchange rate) does not alter any delegation record keeping. The delegator shares query does touch the delegated totals in our record keeping and, thus, must still be separate from the ICAs
The validator exchange rate alone can indicate if a slash occurred. In other words, there's nothing besides a slash that can change the validator's exchange rate (this is a big assumption, someone double check me!)

Slash Query Flow

Nit Changelog

Updated validator proto:

Added slash_is_pending flag to block LSM liquid stakes
Updated internal exchange rate field to be an sdk.Dec instead of a struct

Moved LSMLiquidStake type to protos. This is the data structure that passes around info about the LSM liquid stake as we move throughout functions and into the callback
Added callback data types for ValidatorExchangeRate and DelegatorShares query
Added events for successful and failed LSM liquid stakes
Added events.go to add functions for event emissions

Logicial Changelog

Removed buffer window constraint for ICQs

Previously ICQs were limited to the last 20% of the epoch.
Now the validator exchange rate query can be issued at any time (since it is not impacted by ICAs)
And the delegator shares query checks if any ICAs have landed while it was in flight - and if so it retries the query

Updated validator exchange rate callback:

Checks the validator exchange rate from the query compared to what's stored on the host zone to determine if the validator was slashed
Checks if there's callback data which would indicate that this query is part of the LSM Liquid Stake flow (rather than a manual query issued by the admin)
If the validator was not slashed:

finish the LSM liquid stake successfully
no need to issue the delegator shares query

If the validator was slashed:

reject the LSM liquid stake
submit the delegator shares query
block new LSM liquid stakes

Updated delegator shares callback:

checks if the validator's delegation (as indicated on the host zone struct) has changed while the query was in flight - indicating that a delegation or unbonding ICA landed while the query was in flight
if the delegation changed, retry the query
otherwise, mark the slash query as resolved on the validator to unblock new LSM liquid stakes

Updated LSMLiquidStake:

Liquid stakes are now blocked while a query is in flight

Added unit test coverage for all the above

Detailed Logicial Changelog is incredibly helpful, thank you for writing that up


use of frequencies.txt ?

Hello,
I'm trying to use the lib on some GTFS that uses the frequencies.txt file but I only get 2 trips per route in the chart
My GTFS looks like that
trips.txt:
r10185142,Mo-Su,r10185123_Mo-Su,Mosquée Ado,0,r10185123
r10185142,Mo-Su,r10185122_Mo-Su,Gare Abobo Kennedy,1,r10185122

stops_times.txt:
r10185123_Mo-Su,06:00:00,06:00:00,n6903268820,0
r10185123_Mo-Su,06:10:39,06:10:39,n6903504058,1
r10185123_Mo-Su,06:12:52,06:12:52,n6903504060,2
r10185123_Mo-Su,06:14:04,06:14:04,n6903397407,3
r10185123_Mo-Su,06:16:21,06:16:21,n6903397406,4
r10185123_Mo-Su,06:17:19,06:17:19,n6903397405,5
r10185123_Mo-Su,06:18:36,06:18:36,n6903397404,6
r10185123_Mo-Su,06:19:59,06:19:59,n6903397403,7
r10185122_Mo-Su,06:00:00,06:00:00,n6903397403,0
r10185122_Mo-Su,06:05:19,06:05:19,n6903504062,1
r10185122_Mo-Su,06:08:42,06:08:42,n6903504061,2
r10185122_Mo-Su,06:10:09,06:10:09,n6903504059,3
r10185122_Mo-Su,06:13:30,06:13:30,n6903406998,4
r10185122_Mo-Su,06:15:54,06:15:54,n6903406997,5
r10185122_Mo-Su,06:27:06,06:27:06,n6902638988,6
r10185122_Mo-Su,06:30:00,06:30:00,n6903268819,7

I get exactly these hours in the chart
but I also have frequencies.txt to expand to the rest of the day:
frequencies.txt
r10185123_Mo-Su,05:00:00,22:00:00,3600
r10185122_Mo-Su,05:00:00,22:00:00,3600

In the log I get Importing - frequencies.txt - 1082 lines imported but it seems to ignore this file anyway.
Does the lib actually use the frequencies.txt file ?

The frequencies are getting imported, but this chart library isn't set up to use frequencies.txt.  Can you share the GTFS you are using with me and I'll see if it is easy to to add this.

Hello,
Here is an extract of the GTFS I'm trying to process: sample_gtfs_freq.zip


⚠ Bofrost.be has degraded performance

In 91d086d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1242 ms

Resolved: Bofrost.be performance has improved in 643753d after 23 minutes.


Add ability to specify days when looking up schedules/overrides

This adds the ability to specify days when looking up schedules and overrides:
Get the last 4 days of oncall schedule:
devbot> devbot pager schedule First UTC 4
* 2015-11-26T23:45:12+00:00 - 2015-11-27T00:59:00+00:00 user 1
* 2015-11-27T00:59:00+00:00 - 2015-11-27T12:59:00+00:00 user 2
* 2015-11-27T12:59:00+00:00 - 2015-11-28T00:59:00+00:00 user 1
* 2015-11-28T00:59:00+00:00 - 2015-11-30T12:59:00+00:00 user 2
* 2015-11-30T12:59:00+00:00 - 2015-12-01T00:59:00+00:00 user 3

Last 14 days of
devbot> devbot pager overrides First UTC 14
* (Q1GT8JQBWNDME7) 2015-11-26T12:59:00+00:00 - 2015-11-27T00:59:00+00:00 user 4

We have 12 hour shifts in our schedules spanning different timezones, so 30 days fills the scrollback.
I had to alter the pager me <schedule> <minutes> regex to disregard other commands that can now also end with digits, but this still works are normal.... providing your schedule is not specifically called schedule,schedules,override,overrides or my schedule. I'm keen to hear feedback on if there is a better way to do this.

I dig it (we have a lot of services and a daily rotation for on-call). :+1:

Released as part of v2.1.12

Awesome. Thanks for the fast turn around ! :)


App opens dynamic link content a second time following app uninstall

Xcode version: 9.3.1
Firebase SDK version: 5.0.1
Firebase Component: Dynamic Links
Component version: 3.0.0

I implemented Dynamic links in project. I have a problem, I don't know the behavior that is true. Could you help me resolve it?
Steps to reproduce:

Install App from App store.
Share a link for project.
Delete App on device.
Tap an link share at above (2)
Move to App store and install again app.
App receiver the content of link shared from Dynamic links.
Delete App on device.
Open App store and install again app, (Move to App store not via dynamic links)
App still receiver the content of link shared from Dynamic links.

The function

(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options
it's alway return the link for share when i removed and install app again.

At step 9 : "App still receiver the content of link shared. " , In my opinion, i think that is wrong.
Let me know your opinion and If it's wrong , please help me resolve this.

I temporarily resolved this problem but I not sure this is root core.
I used property "mathType" to check.
@property(nonatomic, assign, readonly) FIRDLMatchType matchType;
FIRDynamicLink *dynamicLink = [[FIRDynamicLinks dynamicLinks] dynamicLinkFromCustomSchemeURL:url];
if (dynamicLink) {
if (dynamicLink.url && dynamicLink.matchType == FIRDLMatchTypeUnique) {
// to check App install when tap an link shared.
}
if (dynamicLink.url && dynamicLink.matchType == FIRDLMatchTypeWeak) {
// to check App install via App store (not tap an link shared).
}
}

I'm having this issue as well. I didn't have this issue until recently though. Perhaps they're caching the IP for the tracking?
Any chance this could be related to this ticket?
https://github.com/firebase/firebase-ios-sdk/issues/1244

@morganchen12 @dmandar any update on this? Any drawback of checking if dynamicLink.matchType == FIRDLMatchTypeUnique ?
Thanks!

@richardliveraise  Thank you for reporting. I will try to reproduce this in my app.

@richardliveraise I reproduced to steps of you but i seen it still return matchType == FIRDLMatchTypeUnique.

This should be fixed in the backend now. Please reopen if still occuring.


Hi @Apache9 , could you please help review the code?

Thanks @wchevreuil and @Apache9 for your review. Could you please help merge the code if there are no other problems?


Python Setup Errors

I am trying to install ortools python and seeing the following issues.
System Info: Mac OSX 10.11.3 EI Capitan
I tried the following two eggs
ortools-2.3393-py2.7-macosx-10.11-intel.egg
ortools-3.3574-py2.7-macosx-10.11-intel.egg
I used sudo easy_install <egg_file_name>
Both the eggs showed error on following import
from ortools.constraint_solver import routing_enums_pb2
Also the second egg (3.3574) gives following error when running cvrptw.py
Traceback (most recent call last):
File "cvrptw.py", line 737, in
main()
File "cvrptw.py", line 628, in main
glob_param = pywrapcp.RoutingParameters()
AttributeError: 'module' object has no attribute 'RoutingParameters'
It seems the above issue of 'RoutingParameters' is resolved in https://github.com/google/or-tools/pull/119
but I can't seem to follow where the new API is, that has this issue resolved.
Then I uninstalled ortools using pip uninstall ortools.
Next I cloned the repository from git and ran following commands as described on webpage
make third_party
make python_modules
Tried with and without sudo both.
After running this command I can't seem to find where setup.py is located.
So I just tried to run cvrptw.py in or-tools/example/python directory I saw the following error.
Traceback (most recent call last):
File "cvrptw.py", line 42, in
from ortools.constraint_solver import pywrapcp
ImportError: No module named ortools.constraint_solver
I am using anaconda.
Please let me know what should I do to get or-tools for python set up properly and running.

OK, I have not debugged installation with anaconda. We will have a look.
setup.py
is in or-tools/temp/or-tools
I hope this helps.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2016-06-11 6:03 GMT+02:00 sagar81<EMAIL_ADDRESS>
I am trying to install ortools python and seeing the following issues.
System Info: Mac OSX 10.11.3 EI Capitan
I tried the following two eggs
ortools-2.3393-py2.7-macosx-10.11-intel.egg
ortools-3.3574-py2.7-macosx-10.11-intel.egg
I used sudo easy_install
Both the eggs showed error on following import
from ortools.constraint_solver import routing_enums_pb2
Also the second egg (3.3574) gives following error when running cvrptw.py
Traceback (most recent call last):
File "cvrptw.py", line 737, in
main()
File "cvrptw.py", line 628, in main
glob_param = pywrapcp.RoutingParameters()
AttributeError: 'module' object has no attribute 'RoutingParameters'
It seems the above issue of 'RoutingParameters' is resolved in #119
https://github.com/google/or-tools/pull/119
but I can't seem to follow where the new API is, that has this issue
resolved.
Then I uninstalled ortools using pip uninstall ortools.
Next I cloned the repository from git and ran following commands as
described on webpage
make third_party
make python_modules
Tried with and without sudo both.
After running this command I can't seem to find where setup.py is located.
So I just tried to run cvrptw.py in or-tools/example/python directory I
saw the following error.
Traceback (most recent call last):
File "cvrptw.py", line 42, in
from ortools.constraint_solver import pywrapcp
ImportError: No module named ortools.constraint_solver
I am using anaconda.
Please let me know what should I do to get or-tools for python set up
properly and running.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/192, or mute the thread
https://github.com/notifications/unsubscribe/AKj17Qz67CzjKyXNjh2_1Ch9aKUQTljKks5qKjOYgaJpZM4Izdsi
.

Actually, to create the pypi module (without uploading it), you need to type:
make third_party
make install_python_modules
make python
make pypi_archive
(you can also run make test_python)

There is no dir called temp after I cloned the repository, master branch. I got the setup.py in or-tools/tools/setup.py.  But when I ran it using
sudo python  setup.py install
it gave the following error:
File "setup.py", line 14
DELETEUNIX               extra_link_args=['/MANIFEST'],
^
SyntaxError: invalid syntax
Any idea why this is happening and what can I do to fix it.
Thanks,
Sagar

Him
have you seen my second post with full instructions to build the package?
Thanks

Ah right, I forgot one of the commands there. Thanks a lot.


fix(core/toggle): toggle disable style

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (yarn build) was run locally and any changes were pushed
[ ] Unit tests (yarn test) were run locally and passed
[ ] Visual Regression Tests (yarn visual-regression) were run locally and passed
[ ] Linting (npm lint) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

[x] Bug fix
[ ] Feature
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

GitHub Issue Number: #311
What is the new behavior?
Opacity changed to the requested 0.5
Border problem requested in the issue will automatically be fixed with the new Figma import, this problem is Figma related and not Toggle css code related.
Does this introduce a breaking change?

[ ] Yes
[x] No

Testing
Tested locally.
Other information

Border problem requested in the issue will automatically be fixed with the new Figma import, this problem is Figma related and not Toggle css code related.

Border problem is explained and resolved under "new behavior"

Added unit test
Improved visual regression test
merge latest main
update theme variables


Andrei's ANS Winter 2019 presentation added

Summary of changes

Adding a presentation on the website.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Associated Issues and PRs

Issue: #

Associated Developers

Dev: @

It works. Nothing breaks. Minor corrections made.


Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

Warning seen when installing the web client on Debian jessie.

Fixed by updating nodejs from nodesource.com:
curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
apt-get install nodejs


encoding/asn1: valid GeneralizedTime with UTC offset of +0000 not parsed

What version of Go are you using (go version)?

$ go version
go version go1.12.7 darwin/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
macOS 10.14.5
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/[user]/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/[user]/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.7/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.7/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/84/_6l41bt970l9fmsrwc_p1gv00000gn/T/go-build217266963=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Attempted to upgrade to TLS on a server I don't control.
It appears that the time format is valid, according to the documentation I've found (here, among other places).
Public cert from that server included in this failing test:
func TestUTCOffset(t *testing.T) {
	certPEM := []byte(`-----BEGIN CERTIFICATE-----
MIIDNzCCAqCgAwIBAgIJAOG5Q5oZboH9MA0GCSqGSIb3DQEBBAUAMHQxCzAJBgNV
BAYTAmNhMREwDwYDVQQHEwhJbm5pc2ZpbDENMAsGA1UEChMESkpFSTEZMBcGA1UE
AxMQSkpFSSBXZWJBZG1pbiBDQTEoMCYGCSqGSIb3DQEJARYZc3VwcG9ydEBwYWNl
dGVjaG5pY2FsLmNvbTAiFw0wODExMTIwMjE3NTJaFxEzNjAzMjkwMjE3MjkrMDAw
MDBFMQswCQYDVQQGEwJjYTERMA8GA1UEBxMISW5uaXNmaWwxDTALBgNVBAoTBEpK
RUkxFDASBgNVBAMTC2d3LmpqZWkuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
iQKBgQCpGszlFBX7X8t2ruSxDgmFHmunwbpbXlqT+Ekh/TBP/I4qwbepPY+nL9jo
0+ngO7cENWnXLc1B2N32uXakD0ygJzgN6ftbwX0nMWBOG5dcc+TQCl518q9aTAEx
R1LFXXvAM1uCknjYINnyzbs7xFxdhIVAZG6m/hcPPtiu6c1WnQIDAQABo4H7MIH4
MB0GA1UdDgQWBBRmqWzvNfSxFKPuGh1xRA6MPotYqjCBpgYDVR0jBIGeMIGbgBSH
ssHbNYjHbMAf3QJ9/EExdAbmTaF4pHYwdDELMAkGA1UEBhMCY2ExETAPBgNVBAcT
CElubmlzZmlsMQ0wCwYDVQQKEwRKSkVJMRkwFwYDVQQDExBKSkVJIFdlYkFkbWlu
IENBMSgwJgYJKoZIhvcNAQkBFhlzdXBwb3J0QHBhY2V0ZWNobmljYWwuY29tggkA
4blDmhlugfwwFgYDVR0RBA8wDYILZ3cuamplaS5jb20wCQYDVR0TBAIwADALBgNV
HQ8EBAMCBeAwDQYJKoZIhvcNAQEEBQADgYEAAsbIrUXDZ9bnPsauS/0iIZQhJWDc
gQg8UrWOHrdjh/bVG0Cgv5kx6EGE60Q5OuvyQU1wcAN8YgqgttrlLWjWIMV1/lZD
IovhMR42FRMpYtmW+YDVRY70fPqFAGox1r5/6fi7TCXKZmkNFQ0SoayW6xQmtqct
48cZbI2/iiwqeVE=
-----END CERTIFICATE-----`)

	certDERBlock, _ := pem.Decode(certPEM)
	_, err := x509.ParseCertificate(certDERBlock.Bytes)
	if err != nil {
		t.Fatal(err)
	}
}

What did you expect to see?
The certificate would get parsed.
What did you see instead?
asn1: time did not serialize back to the original value and may be invalid: given "360329021729+0000", but serialized as "360329021729Z"
The problem looks like it may be in the same area as #15842.

Issue appears to be a duplicate of #15842 . The patch appears to have been ready during the 1.11 time frame but hasn't made the cut since. I replied to the associated CL to see if someone can make a call.

FWIW I tested the reproducer here on the patch in #15842 and it doesn't seem to fix it, so the patch may fix #15842 but it's possibly not 100% complete.

Yeah, the patch for #15842 just makes it so encoding/asn1 will parse in a date with fractional seconds rather than dropping the fraction part. Then when the package formats the parsed date as a string to compare with the original it works for that case.
The problem here is that when encoding/asn1 formats the parsed date and compares it to the original string, that original +0000 offset gets formatted as Z, so it doesn't match the original string. That happens right here.

My patch for #15842 has the purpose to enable parsing of fractional digits in GeneralizedTime (From my understanding of X.690, p. 20, fractional digits are allowed in GeneralizedTime, but not in UTCTime).
This issue (33192), though, is related to UTCTime, not GeneralizedTime. (So the patch for #15842 won't fix this issue already for the reason that a different function is called for parsing).
If you list the ASN.1 data from the certificate above using
openssl x509 -in cert.pem -outform der | openssl asn1parse -inform der

the output will contain the line
174:d=3  hl=2 l=  17 prim: UTCTIME           :360329021729+0000

I wonder if the +0000 suffix is correct, since X.609 states that UTCTimes in DER encoding must end in Z. See https://forums.openvpn.net/viewtopic.php?t=21873#p62295 for a related discussion; RFC5820 (and RFC2459), which is referenced there, also requires UTCTime with a Z suffix.
One approach would be to make asn1.go:parseUTCTime conservatively accept a +0000 suffix. The if condition in asn1.go:345 could be extended by a test like
&& !(strings.HasSuffix(s, "+0000") && strings.HasSuffix(serialized, "Z"))

Since parseUTCTime already accepts non-standard time differentials like +0200, fixing the equality-test for +0000 and Z appears reasonable IMHO.
For completeness, please also see the fix for #19890, which could complement a fix for this issue, addressing the marshaling side.


[Improve]Improve support json with empty keys 2.0

Proposed changes
backpoint: https://github.com/apache/doris/pull/36762
Issue Number: close #xxx

run buildall

run p0


[Issue] regctl segfaults when configuration file is a directory

Current Behavior
regctl segfaults when ~/.regctl/config.json or REGCTL_CONFIG is a directory. This is obviously a user error (I stumbled across this because of a docker mount creating ~/.regctl/config.json as a directory), but regctl should probably give a proper error message instead of segfaulting (while regctl prints a warning, it seems there is still some error with dereferencing a null pointer).
Expected Behavior
regctl should print an error message instead of segfaulting.
Steps To Reproduce
$ cd $(mktemp -d)
$ mkdir foo
$ REGCTL_CONFIG=$(pwd)/foo regctl image copy docker.io/alpine ocidir://alpine
WARN[0000] Failed to load default config                 err="read /tmp/tmp.7HYeA15ho3/foo: is a directory"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8777f6]

goroutine 1 [running]:
main.(*rootCmd).newRegClient(0xc00028c000)
        github.com/regclient/regclient/cmd/regctl/root.go:138 +0x596
main.(*imageCmd).runImageCopy(0xc0002d0000, 0xc0002d2608, {0xc0002a4640, 0x0?, 0x0?})
        github.com/regclient/regclient/cmd/regctl/image.go:784 +0x1af
github.com/spf13/cobra.(*Command).execute(0xc0002d2608, {0xc0002a4600, 0x2, 0x2})
        github.com/spf13/cobra@v1.8.0/command.go:983 +0xaca
github.com/spf13/cobra.(*Command).ExecuteC(0xc00028e008)
        github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.8.0/command.go:1039
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        github.com/spf13/cobra@v1.8.0/command.go:1032
main.main()
        github.com/regclient/regclient/cmd/regctl/main.go:29 +0x14e

Version
VCSTag:     v0.5.7
VCSRef:     unknown
VCSCommit:  unknown
VCSState:   unknown
VCSDate:    unknown
Platform:   linux/amd64
GoVer:      go1.22.2
GoCompiler: gc

Environment

Running as binary or container: binary
Host platform: NixOS
Registry description: n/a

Thank you for the report @PigeonF. This should be resolved by #738. If you encounter any further issues, feel free to pass them along.


Wrong documentation of COPY: Currently account key is not supported for error file

Describe the bug
Wrong documentation.
Documentation says:

ERRORFILE_CREDENTIAL = (IDENTITY= ‘’, SECRET = ‘’)
ERRORFILE_CREDENTIAL only applies to CSV files. Supported data source and authentication methods are:

Azure Blob Storage  - SAS/SERVICE PRINCIPAL/KEY/AAD
Azure Data Lake Gen2 -   SAS/MSI/SERVICE PRINCIPAL/KEY/AAD

According to "Azure Synapse Engineering: " via emails:

Currently account key is not supported for error file. Customer can use SAS key as workaround. We are working on supporting account key for error file.
To use SAS key, customer can use below syntax
ERRORFILE_CREDENTIAL = (IDENTITY='Shared Access Signature', SECRET='your sas key here')
Make sure your SAS have these permissions
READ, LIST, WRITE, CREATE, DELETE

To Reproduce
Test ERRORFILE with account key credentials.
Expected behavior
Documentation is correct. Fix it.

@kashyap-bhatt-by Please move this issue to https://github.com/MicrosoftDocs/sql-docs/issues


Using preseed with Ubuntu installer, DHCP fails, how to specify static IP without manual interaction?

Hi,
I am using a preseed file, inside the ubuntu installer, how do I configure the ubuntu installer static IP? how do I get around the DHCP?
https://imgur.com/a/YRN1UIy
I would like this to be fully automated.
Thanks.

Because I had to configure the netboot IP in the beginning to get to the main menu, can the netboot pass the static ip information to the ubuntu installer?
Thanks.

Probably will need to add static support to Ubuntu, Debian:
Either it'll need to be in preseed format like this or:
isset ${dhcp-server} || set netcfg netcfg/get_ipaddress=${netX/ip} netcfg/get_netmask=${netX/netmask} netcfg/get_gateway=${netX/gateway} netcfg/get_nameservers=${dns} netcfg/disable_autoconfig=true
or ip= format for casper:
http://manpages.ubuntu.com/manpages/bionic/man7/casper.7.html
Would also need to find out how you can have it select interface to use by the mac address iPXE booted into. i.e. BOOTIF=${netX/mac}

Focal and Groovy now use the Subiquity installer.  I've added support to leverage an interactive fallback if DHCP is not found.  It does use the new auto install instead of typical Debian preseed though.
https://github.com/netbootxyz/netboot.xyz/commit/40d124473d0fd08a39187dc965809c83e51ac141


Documentation on authentication missing

In order to use authentication for URLs configured in resolvers, one needs to create a config file. By looking through the code[^easy] I found that https://github.com/dirs-dev/directories-jvm is used and that on my macOS machine I had to create a ~/Library/Application Support/build.bleep.bleep/config.yaml with the following contents:
authentications:
  <some-resolver-url>:
    user: <the-user>
    password: <the-password>

compileServerMode:
  mode: shared

It would be great if this was documented on the website to lower the barrier for people trying out Bleep.
[^easy]: Btw. I found it relatively easy to do, thanks for the clean code base!

Absolutely! linking this to #243 so I won't forget :)

The config file should not be put in ~/Library/Application Support/build.bleep/config.yaml

@olivierdeckers hmm, WDYM shouldn't be put there?
I notice that the instructions at the top here have the old path pattern for the config file @ngbinh, you can run bleep config file to see the expected path on your system. might that have caused the problems you were seeing in #347 ?

@oyvindberg that's a good point. I will try it again today. But to make sure I get it right, do you have a fully working configuration? I am not sure if I should put the https part in the url and should I use double quotes on the user and password.

authentications:
  https://artifactory.flaff.com:
    user: username
    password: password

I meant now instead of not, sorry for the unfortunate typo ;)

Another thing about this authentication: it's been my intention that people not edit this config file themselves, but use commands bleep config ... to change it. If any of you want an easy entrance into contributing this is a super place to start


[Feature request] Shadowfox support

Just got pywal setup and everything looks soooo god, exept for Firefox. I'm using Shadowfox, which is a universal dark theme for Firefox. Here is some information how to override the colorscheme of Shadowfox.
I have no idea how pywal works under the hood, so this might be an impossible thing to do, but just throwing this idea out there.

Thanks. I will see what I can scrape together


Streaming support

Describe the feature
Related: https://github.com/unjs/unhead/issues/27
Most SSR js frameworks are streamable, we should support the same functionality with Unhead.
There is workarounds available but we should have an official solution that is documented.
Additional information

[ ] Would you be willing to help implement this feature?

The problem is that the whole application has to be pre-processed. Since we can't know what hooks/components will be called. The DOM elements themselves can only be inserted at the end of  or make a buffer to insert in , which makes no sense in streaming. However, many web crawlers do not look beyond , which makes SSR meaningless for SEO.

Yes, the idea is most likely a sync API for v2 that does not support hooks. I need to investigate it more but I believe we could just push the raw tags as json and resolve them client-side.
The exact use case for this is a bit niche though and needs some more thought.


Add --base-git <repo> argument

With --rev, --tag, --branch flags so someone can compare the API against a repo
This would be exclusive with #50

When cargo loads git repos, it recursively walks the whole repo, identifying all Cargo.toml files.

I forgot that the person is already in the repo.  We don't need a --baseline-git flag, only --baseline-rev, etc


Parsing one log-file instead of multiple trade-pairs

Hi there,
I am running GB via supervisord and for each exchange (i.e. instances for Binance, Bitfinex etc).
In your code I noticed that you rely on log-files for markets with trade-pairs - i.e. filePath = ${pathToGunbot}${market}-${tradePair}-log.txt;.
Is there any way to make this work for filePath = ${pathToGunbot}${market}-log.txt;?

Hi, this project is not maintained anymore, since the layout of the log output has changed in gunbot v3.3.3
Feel free to fork this project and change the code to your liking.

Updated version supports Gunbot v9 now.


Hashie dependency and Travis-CI fixes.

I disabled warnings in Mash, and AFAIK any methods being redefined (eg. zip) will be handled as in old versions of hashie. I could be wrong. Maybe someone can help with a spec if that's the case.
Removed support for Ruby < 2.2. Wasn't trivial to fix and already retired.
Upgraded RuboCop, removed some old hacks.
Made the build actually work.
Closes #19

... fixing the build

💚

Someone wants to merge this?

I want someone to merge this, please 👀


"no internet connection detected"

Hello, I'm unable to update as I get the "no internet connection detected" error.  I do indeed have an internet connection.  Please let me know what other info you need.
Update: I did however notice that the cli tool I sometimes use also has this issue right now; with an error "service currently unavailable" so perhaps I simply have rotten timing.

This issue can be closed, there was some sort of issue going on in the backend that has been resolved now, the software works great! Thank you!


Are heavy crossbows and longbows supposed to be all equal?

I've noticed that all of the heavy crossbows and the longbows have the same stats (same damage, same charge up speed, same aiming speed and same range) no matter which material they're made of.
The only exception seems to be the lead and alumium versions which apply their respective material bonuses.
Edit: I forgot to mention it, but I noticed this on the 1.19 and 1.20 versions. I haven't tried any other version yet.

Hi,
If I recall correctly, I made a change in the 1.12.2 version (mod version 1.x) which added a few modifiers that adjusted the draw time and arrow velocity for Longbows and the load time, aim time and armor piercing modifier for Crossbows.
I've now just realized that I forgot to add this in the newer Minecraft versions 1.18.2-1.20.x (mod version 3.x).
I'm considering adding this back into the newer versions of this mod now that you've brought it up. Thanks!


message_events: Refresh is-followed narrow on topic visibility update.

This adds live update support for is-followed narrow. We need to render the narrow again instead of just adding the relevant messages from the updated topic since it not easy to determine which message we need to add based on the selected message of the user and which messages to ask from the server.

Merged after a small tweak to the comments, thanks @amanagr!


top 10 retweeted, favorited from 1 day, 1 week, 1 month

Is there any option to implement top 10 (or top x) from certain period of time (also can be variable or definied). This would look up followed by me. Thanks in advance for considering this feature.

Sounds interesting :+1: Will add this to my TODO list


dropdown button auto closes

Noticed this on the docs page and I did not have the time to test this on my own. (Is it possible to use ng2-bootstrap in plunker?) But when you open the Button Dropdown, it opens and immediately closes.
This occurs on both BS3 & 4 in the docs. The dropdown does work, but only if you use the "Toggle Button Dropdown" button.

Yeap, for some reason it started to auto close,
but strange things that Action dropdown works fine


pull request for e2e test at 12/09/2016 14:45:01

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


XML file not created

Describe the Issue
I am following the FAQ instructions to dump camera's XML file, but it does not work
To Reproduce
Steps to reproduce the behavior:
See the code below. After running it, there is nothing in /tmp/xml
Sample Code
I can show a piece of code that demonstrates the reported phenomenon:

[x] Yes
[ ] No

(venv38)$ HARVESTERS_XML_FILE_DIR=/tmp/xml ipython
Python 3.8.18 (default, Aug 25 2023, 13:20:30)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.12.2 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from harvesters.core import Harvester

In [2]: h = Harvester()

In [3]: h.add_file("/opt/mvIMPACT_Acquire/lib/x86_64/mvGenTLProducer.cti")

In [4]: h.update()

In [5]: h.device_info_list[1]
Out[5]: {'access_status': 1, 'display_name': 'Specim FX17e(70:f8:e7:b0:01:ae)', 'id_': 'FX17e(70:f8:e7:b0:01:ae)', 'model': 'FX17e', 'parent': <genicam.gentl.Interface; proxy of <Swig Object of type 'std::shared_ptr< GenTLCpp::TLInterface > *' at 0x7f85ec252570> >, 'serial_number': '076900035629', 'tl_type': 'GEV', 'user_defined_name': ' ', 'vendor': 'Specim', 'version': 'Version 0.3'}

In [6]: ia = h.create(1)

In [7]: ia.remote_device.node_map.DeviceTemperature.value
Out[7]: 45.4375

Expected Behavior
According to my understanding of the FAQ, an XML file should have been created in /tmp/xml
Screenshots
If applicable, add screenshots to help explain your problem; Note that it is not necessary to put everything as a screenshot! If the source is a text just paste the text because that is much helpful for us.
Configuration

OS: Debian (testing)
Python: 3.8
Harvester: 1.3.8
GenTL Producer: mvIMPACT
Camera: Specim FX17

Reproducibility
This phenomenon can be stably reproduced:

[x] Yes
[ ] No.

If applicable, please provide your observation about the reproducibility.
Actions You Have Taken

[ x] I've read the Harvester FAQ page.

Additional context
Add any other context about the problem here.

Update: after upgrading to Harvesters 1.4.2 the above folder is removed by harvesters...


Example Project Bug?

Hello, thank you for this masterpiece!
I just downloaded made a pod install, and getting this errors on runtime.
My device is 6s iOS 9.3.3. After I click the + button it works normal but if I select something the screen becomes like this:

This is happening 100% and the rest of the app is unaffected if I press + button again to close.
But if I click + button one more time then the screen is only white and the + button (meaning the icons don't float around anymore)
Is this a bug on your side?
Thank you.
2016-08-23 14:19:22.987 Example[3760:1600404] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
    "<NSLayoutConstraint:0x13d62b0f0 V:|-(687)-[UIView:0x13d5a5520]   (Names: '|':UIView:0x13d623520 )>",
    "<NSLayoutConstraint:0x13d62b240 UIView:0x13d5a5520.bottom == UIView:0x13d623520.bottom - 213.104>",
    "<NSLayoutConstraint:0x13d62cd10 'UIView-Encapsulated-Layout-Height' V:[UIView:0x13d623520(667)]>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x13d62b240 UIView:0x13d5a5520.bottom == UIView:0x13d623520.bottom - 213.104>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

I solved it with interchanging these two lines:
topConstraint.constant += view.bounds.height
bottomConstraint.constant += view.bounds.height
but wanted to post anyway, hope it helps!

hey,
i don't have this problem, are you update in the last version ?
and, maybe, try to clean project and compile again !

Im having this issue as well. Once you select an icon, constraints break and you get the above screen. I've update the pod as well in the project and the same issue occurs

I feel like SelectItem is missing a dismissviewcontrolleranimated call.. But obviously owners can inspect better!


Individual cops can be excluded for files

Pass the file's path into ProcessedSource initializer
This path is later used to determine if a specific Cop is applicable
https://github.com/thoughtbot/hound/issues/522

This is the line that does the check for the specific file: https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/commissioner.rb#L56.

Do you guys really want me to shorten those strings in the specs?

Ready to merge once the hound comments are handled!


[Frontend] Toast should Disappear after a while

Deliverable -

[ ] Currently, the toast remains there unless we explicitly close it, add a  timer (2-3 second maybe) after which the toast should disappear

i want to work on this


Really the Cuid2 algorithm?

Describe the bug
I am unsure if this implementation is the same algorithm as the original.
To Reproduce
The entropy is computed differently:
https://github.com/paralleldrive/cuid2/blob/53e246b0919c8123e492e6b6bbab41fe66f4b462/src/index.js#L7-L14
https://github.com/thibaultmeyer/cuid-java/blob/c55aa797b13348a01ad1a059fe88a5af1c613e8f/src/main/java/io/github/thibaultmeyer/cuid/CUID.java#L265-L275

The hash is computed differently:
https://github.com/paralleldrive/cuid2/blob/53e246b0919c8123e492e6b6bbab41fe66f4b462/src/index.js#L31-L35
https://github.com/thibaultmeyer/cuid-java/blob/c55aa797b13348a01ad1a059fe88a5af1c613e8f/src/main/java/io/github/thibaultmeyer/cuid/CUID.java#L283-L292

The alphabet is accessed differently:
https://github.com/paralleldrive/cuid2/blob/53e246b0919c8123e492e6b6bbab41fe66f4b462/src/index.js#L37-L39
https://github.com/thibaultmeyer/cuid-java/blob/c55aa797b13348a01ad1a059fe88a5af1c613e8f/src/main/java/io/github/thibaultmeyer/cuid/CUID.java#L69
https://github.com/ai/nanoid?tab=readme-ov-file

random % alphabet is a popular mistake [...] [t]he distribution will not be even; there will be a lower chance for some symbols to appear compared to others.

Time and machine influence the hash in your implementation whereas in the original they do not:
https://github.com/thibaultmeyer/cuid-java/blob/c55aa797b13348a01ad1a059fe88a5af1c613e8f/src/main/java/io/github/thibaultmeyer/cuid/CUID.java#L68
https://github.com/thibaultmeyer/cuid-java/blob/c55aa797b13348a01ad1a059fe88a5af1c613e8f/src/main/java/io/github/thibaultmeyer/cuid/CUID.java#L350
https://github.com/thibaultmeyer/cuid-java/blob/c55aa797b13348a01ad1a059fe88a5af1c613e8f/src/main/java/io/github/thibaultmeyer/cuid/CUID.java#L70

@ericelliott Maybe you could provide an authoritative assessment?

I opened this issue because I considered doing a 1:1 algorithm translation in a new repo but I think it would be better to update this project instead of creating a new one.

Correct that % is not a safe method to generate uniform random values.


Sample code that writes to an Azure Blob

Do you have any sample code where Storm writes out to an Azure blob, rather than HBase? We are having trouble getting any examples to work that do not write to HBase.

Hi Dave,
Yes, the IotSample shows how to write to Azure Blob Storage using the storm-hdfs project.
Thanks,
Shanyu
From: Dave Morris<EMAIL_ADDRESS>Sent: Monday, February 16, 2015 6:29 AM
To: hdinsight/hdinsight-storm-examples
Subject: [hdinsight-storm-examples] Sample code that writes to an Azure Blob (#1)
Do you have any sample code where Storm writes out to an Azure blob, rather than HBase? We are having trouble getting any examples to work that do not write to HBase.
—
Reply to this email directly or view it on GitHubhttps://github.com/hdinsight/hdinsight-storm-examples/issues/1.

Could you send me a URL to that sample code? I cannot find it on GitHub.

The code will be pushed out in a day or so. I appreciate your patience.
Thanks,
Shanyu
From: Dave Morris<EMAIL_ADDRESS>Sent: Monday, February 16, 2015 2:32 PM
To: hdinsight/hdinsight-storm-examples
Cc: Shanyu Zhao
Subject: Re: [hdinsight-storm-examples] Sample code that writes to an Azure Blob (#1)
Could you send me a URL to that sample code? I cannot find it on GitHub.
—
Reply to this email directly or view it on GitHubhttps://github.com/hdinsight/hdinsight-storm-examples/issues/1#issuecomment-74582654.

Sounds good. Looking forward to seeing the code!
On Mon, Feb 16, 2015 at 4:54 PM, Shanyu Zhao<EMAIL_ADDRESS>wrote:

The code will be pushed out in a day or so. I appreciate your patience.
Thanks,
Shanyu
From: Dave Morris<EMAIL_ADDRESS>Sent: Monday, February 16, 2015 2:32 PM
To: hdinsight/hdinsight-storm-examples
Cc: Shanyu Zhao
Subject: Re: [hdinsight-storm-examples] Sample code that writes to an
Azure Blob (#1)
Could you send me a URL to that sample code? I cannot find it on GitHub.
—
Reply to this email directly or view it on GitHub<
https://github.com/hdinsight/hdinsight-storm-examples/issues/1#issuecomment-74582654>.
—
Reply to this email directly or view it on GitHub
https://github.com/hdinsight/hdinsight-storm-examples/issues/1#issuecomment-74585189
.

Please take a look at: IotTopology.java in IotExample
https://github.com/hdinsight/hdinsight-storm-examples/blob/master/IotExample/iot/src/main/java/com/microsoft/hdinsight/storm/examples/IotTopology.java
    //Create HdfsBolt to store data to Windows Azure Blob Storage
    SyncPolicy syncPolicy = new CountSyncPolicy(1000);
    FileRotationPolicy rotationPolicy = new FileSizeRotationPolicy(1.0f, Units.MB);

    RecordFormat recordFormat = new DelimitedRecordFormat().withFieldDelimiter(",");
    FileNameFormat fileNameFormat = new DefaultFileNameFormat().withPath("/iotexampledata/");
    HdfsBolt wasbBolt = new HdfsBolt()
      .withFsUrl("wasb:///")
      .withRecordFormat(recordFormat)
      .withFileNameFormat(fileNameFormat)
      .withRotationPolicy(rotationPolicy)
      .withSyncPolicy(syncPolicy);

    topologyBuilder.setBolt("WasbStoreBolt", wasbBolt, 10)
      .fieldsGrouping("DataReferenceBolt", new Fields("model")).setNumTasks(10);


Allow to recognize expenses from a bill (in image, like a scan)

Ok, this one is crazy, but well :)
I just saw that, and feel jealous! http://www.smacc.io/index.php?lang=en
I want it too for my personal finance!
I know it would be really complicated to implement, but would be really nice :)

Nice! That's something I've been wanting for a few months, as a nice companion app on phones (and a possibility to have an OCR system provided by Cozy, not running under Kresus). Thanks for opening an issue about it.

A good mix, could be to allow to upload a file from a smartphone and direcltly link it to an operation (I use my smartphone to scan bills/invoices and get reinbursed)


Constantly calling updateLayer for  crashes viewer

Hello,
I'm running into an issue where having the updateLayer function for my  constantly called is crashing my viewer (it freezes on one frame, and becomes unable to interact with). The call I'm using to update the layer looks like this,
this.orbitPathLayer.update( this.orbitPaths[ 'mms1' ], '1' );
and this call lies inside an event listener.
The event listener runs through the clock's onTick function, and looks like,
const viewer = this.cesiumService.getViewer();
const clock = viewer.clock;
let toInertial = new Cesium.Matrix3();
let rotatingOrbitPath = new Cesium.Matrix4();

clock.onTick.addEventListener( () => {
            if ( !Cesium.defined( Cesium.Transforms.computeIcrfToFixedMatrix( clock.currentTime, toInertial ))) {
                Cesium.Matrix3.IDENTITY.clone( toInertial )
            }
            rotatingOrbitPath = Cesium.Matrix4.fromRotationTranslation(
                toInertial,
                Cesium.Cartesian3.ZERO,
                rotatingOrbitPath
            );
            this.orbitPaths[ 'mms1' ] = {
                width: 1,
                positions: this.ephemerisDataService.positions[ 'mms1' ],
                material: Cesium.Color.LIGHTSTEELBLUE,
                modelMatrix: rotatingOrbitPath
            };
            this.orbitPathLayer.update( this.orbitPaths[ 'mms1' ], '1' );
        });
});

The point of this event listener is to create a geo-to-inertial matrix4 based on the specific cesium clock time to apply to an orbit path as to make it appear in an inertial reference frame. This value is then set to the  modelMatrix attribute of the polyline entity. For reference, this is the HTML I'm using to create my orbit path.
<ac-layer #orbitPathLayer acFor="let orbitPath of orbitPaths$" [context]="this">
    <ac-polyline-desc props="{
          width: orbitPath.width,
          positions: orbitPath.positions,
          material: orbitPath.material,
          modelMatrix: orbitPath.modelMatrix
        }">
    </ac-polyline-desc>
</ac-layer>

Due to this, the call to update the orbit path (which is done by updating the layer itself) must lie in the event listener as it needs to be updated at every tick.
Since calling the updateLayer function every tick seems to crash the viewer entirely, is there another way to update the layer constantly that would in theory not crash the viewer?
Is there also maybe a different way I should be attempting to put the orbitPath polyline into an inertial reference frame entirely?
Thanks in advance for the help.
Version

<EMAIL_ADDRESS>

Hi,
Seems more as cesium issue and not angular-cesium.
any way,

modelMatrix isnt a known attribute of polyline https://cesiumjs.org/Cesium/Build/Documentation/PolylineGraphics.html
if you want to do update in high rates for an entity prop, then check out cesium callbackPropertiy - https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Callback Property.html.

Thanks for the response,
modelMatrix seems to be an attribute of Primitives, instead of polyline.
https://cesiumjs.org/Cesium/Build/Documentation/Primitive.html
Does this mean there is no way through angular-cesium calls itself to rotate an entity on a matrix4? As I'm assuming due to your answer the attributes defined in <ac-polyline-desc> or <ac-polyline-primitive-desc> for that matter won't support modelMatrix.
And in terms of the callbackProperty, that looks all well and good but wouldn't that still create the same problem I had before? The callback property would change the value at a high rate, but I would still have to call orbitPathLayer.update() at the same rate, which would crash the app again? This callbackProperty seems to really only work if I add the primitive through cesium itself, rather than calling an angular-cesium HTML method like <ac-polyline-primitive-desc>.

yes, creating Primitive isn't supported using an existing component,
ac-polyline-desc - wrapper for Entity and PolylineGraphics
polyline-primitive-desc - wrapper for primitive Polyline
about callback property, when you use callback property you dont need to call update().
for example, if you have position as callbackProperty then you just need to change your entity position and cesium will the callbackProperty by himself to update to the new value

Stale issue... closing


Add roman-numerals exercise

@bobahop The implementation does not seem to work. See anything wrong with the implementation?

Figured it out

Sorry! I did all of these fairly late at night and I did not fully test this one, as I think it only complained about the "Shared".  I'll see if there is some low-hanging fruit I can do today, now that I have a system down for toggling off the skipped tests to fully test.


creating secondary zone with Terraform

My apologies if this was discussed before...
Is it possible to create a secondary zone using terraform? Current documentation doesn't reveal this as an option: https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zone
If it is not yet possible can you add it as a feature request?
Thank you!

You current cannot. There is a feature request pending someone to pick it up in #605.
I'll close this off and we can chat about it in the one issue.


cargo update: repo updated twice

Problem
when running cargo update in the rustc or rls repo, it looks like the clippy repo inside the cache is updated twice. This seems redundant.
  Updating crates.io index
    Updating git repository `https://github.com/rust-lang/cargo`
    Updating git repository `https://github.com/rust-lang/rust-clippy`
    Updating git repository `https://github.com/rust-lang/rust-clippy`
      Adding addr2line v0.12.1
    Updating anyhow v1.0.28 -> v1.0.31

Steps

cargo update

Possible Solution(s)
Don't update the git repo two times back-to-back.
Notes
Output of cargo version:
cargo 1.45.0-nightly (cb06cb269 2020-05-08)
Note: It doesn't look like cargo update -vvvvv has any additional effect :/

This looks to be a duplicate of #6921, closing in favor of that.  If there is something I missed, let us know!


kubelet: skipping registration when not needed

In order to avoid creation of a new Node entity at every kubelet restart (information loss), the registration is perfomed only when the node is not found.

/cc @roberthbailey @bgrant0607

The code already handles this case by checking for an error on the create call (see https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/kubelet/kubelet.go#L733-L747). I even added a unit test for it.
I wouldn't be opposed to doing the check prior to calling create, but it should have the same checks that I had before (the returned node must not be null and the returned node should have the expected external ID).

@roberthbailey my problem is that initialNodeStatus calls:
   ...
   if err := kl.setNodeStatus(node); err != nil {
           return nil, err
   }
   ...

which is generating spurious NodeReady events (at each kubelet restart).
A possible solution would be to skip setNodeStatus on initialNodeStatus and wait for the first round of update.
Or as in this patch to detect if the host is already there to begin with (racy) and avoid initialNodeStatus.
What do you prefer?

Ping @roberthbailey

It seems like getting an event when the kubelet restarts would be useful, because then you have an idea of how often the system software is restarting.
But if you want to avoid it, as I said before,  the check for the node already having been registered should be consistent here and below (where I also checked that the external ID of the node matched in addition to the node name). This was intended to prevent a new node with the same name as an existing node (but a different external ID - maybe because it is using a different cloud provider) from taking over from an existing node that is already running. If they are both allowed to register under the same name, then all work scheduled to that node will be run twice.

It seems like getting an event when the kubelet restarts would be useful, because then you have an idea of how often the system software is restarting.

You already have another one which is called starting

@simon3z I'm happy for this change to get merged if you add the same checks in the initial skip that are done below when a the insert fails with an already exists error.

@lavalamp refactored this code a bit. Can you look at what's currently being done and see if his change addressed your concern? If not, this will need (another) rebase.

... generating spurious NodeReady events (at each kubelet restart).

Is that a bug? Sounds like a feature to me.

@simon3z I'm going to close this since it's quite out of date and it's unclear whether the current behavior is a bug or a feature. Please feel free to rebase and reopen if you still want this to be merged.


esri3d removal

sml-cli beta9
esri3D is still an option when creating a new app.  need to disable anything esri3d related for v1.0 launch

deployed in smk-cli 1.0.0-beta.10


Random Battle: Reject Disable without Substitute

Affects Gengar formes since SubDisable is the only viable set with
Disable.

Nope. I don't agree with this; Gengar do run Disable without Sub, sometimes.
More importantly, Mega Gengar doesn't even have Substitute in its moves so you're essentially rejecting Disable every time.

Since when was Disable w/o Substitute viable? I guess Mega Gengar can use Protect in its place so something could be done there, but that's all I can think of.

It's viable on Prankster Pokemon or Pokemon with high speed. Sub benefits you if you're slow and sub on the switch.

When is it viable on high speed Pokemon without Sub or Protect?  Isn't that the whole premise of SubProtect? Why would being slow even work in a SubDisable scenario?

Why would being slow even work in a SubDisable scenario?

They attack you with the super effective move, breaking your sub, and then you disable it.

When is it viable on high speed Pokemon without Sub or Protect?

When you come in after your teammate is killed with the move that they would use on you as well.

But when are these strategies viable in random battle? There's a reason we only put it on Gengar

At any rate, perhaps we should examine the original complaint: a Pokemon with pain split, wisp, disable, and shadow ball. I'm pretty sure disable isn't going to be useful in such a set

No suggestions? At any rate, Disable without Substitute and/or a second attacking move to use is probably not a good idea


Question: Docker SDK image for targeting both netstandard1.3 and net451?

I am trying to upgrade some of my existing projectjson dotnet core library projects to VS2017 tooling and the new csproj format. Because of some of the 3rd-party libraries I am using, some of these projects target both netstandard1.3 and net451. My CI build process involves automated builds in Docker containers using a Docker custom image that includes both the dotnet-1.1.0-sdk-projectjson image merged with a mono installation. This process has worked well up til now. Now that I am trying to upgrade, I created a new Docker build image that consists of the dotnet-1.1.2-sdk image with the same mono image - see Docker file below:
FROM microsoft/dotnet:1.1.2-sdk

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
	&& echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list \
	&& echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.1 main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list \
	&& apt-get update \
	&& apt-get install -y msbuild mono-devel referenceassemblies-pcl ca-certificates-mono mono-xsp4 nuget \
	&& rm -rf /var/lib/apt/lists/*

Unfortunately, the builds are failing as a result of targeting net451 with the following error:
error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
What am I missing? Or, better yet, are there any pre-built, official Docker SDK images out there that will meet my needs? I haven't been able to find any on my own to this point.
Thanks!

I take it you're looking for a Linux image and a Windows image wouldn't help?

We don't currently have a good way of delivering .NET Framework reference assemblies for this purpose.  It is understood that this is necessary/important and we have been talking about how to solve it.
I think that there are two main options (not mutually exclusive) for my team:

Release a reference assemblies zip that can be copied and expanded into your own Docker images.
Release a .NET build-specific Docker image that includes the reference assemblies.

We need to do the first to enable the second, so it's really just a question on whether the second option is valuable enough. We'll also guide folks down the multi-stage build path instead of creating a "works for all scenarios" Docker image. That will make your Docker files more complicated, but will avoid downloading a mega monster. Also, we'll need to decide on the supported scenarios for Linux vs. Windows.
Thoughts?
/cc @kendrahavens @terrajobst @MichaelSimons

Hi @eric-davis, this issue has come up before for folks moving to the .NET CLI built on msbuild (csproj-based) who want to target .NET framework reference assemblies with mono. A few work arounds were worked out, but there appears to be a CLI Issue tracking this to make it more accessible though it doesn't appear to be high priority currently.
@richlander It would be excellent to wrap this in a Docker image to save folks the configuration time. If the different version combinations become numerous and a tagging issue we could at least post docs outlining the Dockerfiles that would cover the scenarios.

Thanks @richlander & @kendrahavens for your input. This is quickly becoming a high-priority issue for myself and my team. We would like to allow everyone to upgrade to VS2017 and the updated tooling, but can't do that until we can migrate our existing code and processes to support the csproj-based format. The suggestions regarding the creation of packaged Docker images or the walkthrough docs would be extremely helpful.
@kendrahavens - Thanks for the links to the workaround thread, but unfortunately that seems to be above my current level of understanding at the moment.

Gotcha, the previous thread also has some votes asking for this so it's good to know multiple teams are held up.

Clarifying question ... is there anything special with the libraries you need to build? Most libraries just need the reference assemblies. Others might need tools if the libraries expose WCF services, include Xaml pages or rely on additional SDKs. We don't have any immediate plans on solving the extra scenarios within containers.

We require no special libraries to build at this time - just the reference assemblies.

@eric-davis  Did you try the workaround that @kendrahavens pointed to? If we can get you unblocked in the immediate term, that would be good, while we look at providing a better solution.

@richlander I did take a look at the workaround @kendrahavens pointed to. But honestly, it's a bit above my current level of understanding. For now, we have decided to just target netstandard1.3. We will just upgrade to .net 4.6 for any of our 4.51 projects that need to consume our new .net core library packages.

@eric-davis Fair enough. We'll continue to work on a better solution. I wrote up a new issue for it: https://github.com/dotnet/cli/issues/7023.
I'll close this issue and we'll use dotnet/clr 7023 for tracking.

Thanks.
On Wed, Jun 28, 2017 at 9:42 PM, Rich Lander<EMAIL_ADDRESS>wrote:

Closed #432 https://github.com/Microsoft/dotnet/issues/432.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/dotnet/issues/432#event-1143419931, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACT-qIMqPeLxOKKZzGOp05WLkzIGKso3ks5sIwD_gaJpZM4OFy93
.


[Bug]: Clipboard Access not working in headless mode

Bug description
Steps to reproduce the problem:
Code snippet:
const browser = puppeteer.launch({ headless: true });
const page = browser.then((browser) => browser.newPage());
const blank = page.then((page) => page.goto("https://example.com"));
const context = browser.then((browser) => browser.defaultBrowserContext())
.then((context) =>
  context.overridePermissions("https://example.com", ["clipboard-read"])
);

await blank;
await context;
await page
    .evaluate(() => navigator.clipboard.readText())
    .then((a) => console.log(a));

Run the code snippet with headless: false, it outputs your clipboard. run with headless: true and it outputs an empty line.
Puppeteer version
Latest
Node.js version
Latest
npm version
Latest
What operating system are you seeing the problem on?
Windows
Relevant log output
No response

I have also encountered this issue.

Have you tried reloading page after overriding permissions?

Have you tried reloading page after overriding permissions?

Yep, but not work.
os: macOS Monterey v12.0.1 M1
puppeteer: v13.5.2
when I create the default or incognito context, the browser has clipboard-write: granted, clipboard-read: prompt
after I overridePermissions, clipboard-write, clipboard-read or both, I have both permissions for the clipboard denied

This is still an issue

Reopen pls?


How to send api body request as x-www-form-urlencoded

Hi everyone,
Does any one know how to send an api request with a x-www-form-urlencoded as body in open test?

Is the solution we discussed in #207 not working?

Is the solution we discussed in #207 not working?

no not working I am using the following in the request
client_id=appName&grant_type=password&client_secret=79c477b9-7b6b-4t52-8602-k85c1g2a8742&scope=openid&username=username&password=Opentest!1234.
The response I get is    [ body = {"error":"invalid_grant","error_description":"Invalid user credentials"} >>>>> durationMs = 223 >>>>> statusCode = 401], but if I send the same request in postman it works

no not working I am using the following in the request
client_id=appName&grant_type=password&client_secret=79c477b9-7b6b-4t52-8602-k85c1g2a8742&scope=openid&username=username&password=Opentest!1234.
The response I get is    [ body = {"error":"invalid_grant","error_description":"Invalid user credentials"} >>>>> durationMs = 223 >>>>> statusCode = 401], but if I send the same request in postman it works


Mistake in step 8 of quickstart tutorial

Hi,
I noticed that in Step 8 of the quickstart, the instructions state that a HTTP server should be spun up serving from the directory containing index.html.  However, in index.html, paths used for System.paths and the es6-shim script tag assume that the parent directory of quickstart is being served:
System.paths = {
    'angular2/*':'/quickstart/angular2/*.js', // Angular
    'rtts_assert/*': '/quickstart/rtts_assert/*.js', // Runtime assertions
    'app': 'app.es6' // The my-app component
  };

I'm not clear on where you're running into an issue. The directory structure should be as follows:
--- app
   --- quickstart
       --- angular
       --- rtts
       --- dist
          --- es6-shim.js
   --- index.html
   --- app.es6

The System paths above should be fine for running the server from the root.

Ah. I had cd'd into quickstart after cloning the repo out of habit, so my app.es6, index.html, were inside quickstart.
My mistake then!

No problem! Glad to know everything is working okay.


⚠ Samsung has degraded performance

In 9b7c079, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2713 ms

Resolved: Samsung performance has improved in b6d5614.


Bump release to 0.3.1 [ci skip]

Codecov Report

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

@@           Coverage Diff           @@
##           master     #177   +/-   ##
=======================================
  Coverage   66.02%   66.02%
=======================================
  Files          47       47
  Lines        1875     1875
  Branches      204      204
=======================================
  Hits         1238     1238
  Misses        608      608
  Partials       29       29

Continue to review full report at Codecov.

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


Check release consistency

Background
When creating a release we should verify the correctness of the package version (in pyproject.toml).
It happened in the past that a release was created with the wrong version of the python package.
Acceptance Criteria
Create a GH actions which is trigger during release-droid execution and verifies correctness of the version code.

Already fixed with #84


When import .vue file in ts via path alias, Ctrl + Click can not jump to the definition.

When import .vue file in ts via path alias, Ctrl + Click can not jump to the definition any more, and the path intellisense can not find .vue file too.
Howerver, it works in v0.27.3 and before.
behavior in v0.27.3:

behavior after v0.27.3(0.27.9):

info
Volar version: 0.27.9
Vue TS Plugin: on
tsconfig:
{
  "compilerOptions": {
    "target": "esnext",
    "module": "esnext",
    "moduleResolution": "node",
    "strict": true,
    "jsx": "preserve",
    "sourceMap": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "lib": ["esnext", "dom"],
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*"],
      "@/tests/*": ["tests/*"]
    }
  },
  "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
}

Vscode info：
Version: 1.59.1 (user setup)
Commit: 3866c3553be8b268c8a7f8c0482c0c0177aa8bfa
Date: 2021-08-19T11:56:46.957Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Windows_NT x64 10.0.17763

It seem TS plugin not working in 0.27.9, thanks for the report!

It look like this problem reappear recently.
v0.30.3 to be exact

@tuan-lm97 I can confirmed this, thanks for letting me know.

I spend a lot of time to know the origin of issue (it's still persist in 0.32.1)
the solution is simply to install this vscode extension
https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin
I hope it's useful

@erradil See #664.
This problem is actually a bit difficult to solve. Takeover mode is better than TS plugin in all aspects and does not have this problem. I recommend always using takeover mode. Are there any circumstances that make it necessary to use the TS plugin?

Issue still persists in v1.0.25

This issue is happening again after the recent update.


Create rat_in_maze_algo.py

do start to get it merged! pls

do start to get it merged! pls

done


Have question !!!

Hi.
I want to learn skls professionally.
Where can I start ?

This is not the right place to ask general questions about shaders

So where should I ask?

There’s Skia mailing lists for Skia specific questions, and various tutorials and forums that you might research online.

Thank you


Add a new invocation strategy to ItunesTransporter

We are currently have a lot of problems with passing passwords that contain special characters through the iTMSTransporter shell script. ( #3953 #1503 #3832 ) That shell script does some inscrutable things with parameter escaping, and we could not find a reasonable work-around that would work for all varieties of special characters.
This PR introduces an alternative invocation strategy (which is off by default) that avoids calling through the shell script and instead invokes the ITunes transporter Java app directly.
There will be follow-on work to introduce a option to dependent tools to turn on this new invocation strategy, so that people can opt-in to trying it out.

@KrauseFx @mpirri @i2amsam @asfalcone Please review when you have time :+1:
ItunesTransporter was refactored fairly heavily, but logic was mostly moved into different classes, rather than changed very much. The goal was to be 100% backwards compatible for use of the ItunesTransporter while allowing to operate in 2 modes of execution:

The current production way, which invokes the iTMSTransporter shell script
A new way, that avoids calling that script, and produces the equivalent command to execute the underlying iTMSTransporter Java app

The new way is off by default, and future work would be to allow people to try it as a fix for their password problems via a new ConfigItem in tools like pilot

This looks good to me! Great tests! :muscle: :sunglasses:

:+1:

Reviewing now :+1:

That's a great PR @mfurtak. I added some notes that need to be addressed. Also, I'd love some more real-world testing, so I'd suggest asking people in the Slack group to test it. We can do so by pushing a new fastlane_core and not updating the dependency in fastlane yet, this way we have a natural, slow rollout

@KrauseFx I believe we will get the natural slow roll-out we want with how this is put together. As it stands right now, we should be able to ship fastlane_core, and no one would be using the new strategy yet.
My next PRs will include a new ConfigItem for deliver and pilot that allows people to turn on the new behavior (still defaulted to off). If people tell us that it is stable and fixes things, we can reverse that default and make it default to on.
How does that sound?

@mfurtak several times I've had the need to have multiple strategies inside fastlane_core, and test them. E.g. when I experimented with fastlane/fastlane_core#73. One way to go with it, is to use environment variables (e.g. FASTLANE_EXPERIMENTAL_TRANSPORTER_AVOID_SHELL_SCRIPT...). It would allow people to use the feature without having to change deliver & pilot as well, maybe multiple times. I would also be clear that the feature is experimental.
So what about using something like
def initialize(user = nil, password = nil, avoid_shell_script = nil)
  avoid_shell_script ||= !ENV['FASTLANE_EXPERIMENTAL_TRANSPORTER_AVOID_SHELL_SCRIPT'].nil?

I have verified that this new strategy allows pilot to succeed with the password
!'a"A,9G`L8<d=dy

where the old strategy fails entirely (but actually reports success :cold_sweat: - another thing to look at afterwards!)

@lacostej Yes, I had a different mechanism in mind, but I like your suggestion better. :+1:

Cool, so I think that just about covers it from my end - any other concerns here or is this good to go?

Now that we've made the feature switch an ENV variable, I'm on board with what you're describing as far as the slow-rollout strategy, @KrauseFx

:+1:

:+1:

For folks arriving here to learn more about the experimental fix, we'd love you to give it a try! :confetti_ball:
If you're ready, please do the following:

Run gem update fastlane_core and be sure that you get 0.41.1
Set the environment variable FASTLANE_EXPERIMENTAL_TRANSPORTER_AVOID_SHELL_SCRIPT=1

Yes, the name is this long even if --verbose is turned off :wink:

Run fastlane\pilot\deliver as normal with your strong password
Let us know what you see! We're hoping you're back in business. :briefcase:

I'm still seeing the same error here. Verifying that I have the correct setup:
$ gem which fastlane_core
/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.41.1/lib/fastlane_core.rb

$ echo $FASTLANE_EXPERIMENTAL_TRANSPORTER_AVOID_SHELL_SCRIPT
1

Then I performed a fastlane beta which invokes pilot. It concludes with:
[12:06:49]: Successfully exported and compressed dSYM file
[12:06:49]: Successfully exported and signed the ipa file:
[12:06:49]: /Users/andy/Work/Projects/Ride/iOS/Ride.ipa
[12:06:49]: -------------------
[12:06:49]: --- Step: pilot ---
[12:06:49]: -------------------
[12:06:49]: Login to iTunes Connect<EMAIL_ADDRESS>[12:06:56]: Login successful
[12:06:57]: Ready to upload new build to TestFlight (App:<PHONE_NUMBER>)...
[12:06:58]: Going to upload updated app to iTunes Connect
[12:06:58]: This might take a few minutes, please don't interrupt the script
[12:07:02]: [Transporter Error Output]: Your Apple ID or password was entered incorrectly. (-20101)
The login credentials for<EMAIL_ADDRESS>seem to be wrong
Do you want to re-enter your password? (y/n)

Wow, you're mighty fast @andydrizen - thanks for trying it out! :+1:
Did you switch to a simpler password as a workaround thus far? Is it possible that your keychain still contains that simpler password and it needs an update?

If that isn't it, if you could please run once more with the --verbose flag and post that full output, that would be amazing. Thanks!

It's much more likely I set a shell variable rather than an environment variable :disappointed:
Looks good :+1:
For anyone else wanting to test it, the command is:
env FASTLANE_EXPERIMENTAL_TRANSPORTER_AVOID_SHELL_SCRIPT=1 fastlane beta

(replace your lane as needed)

Glad to hear it @andydrizen! Your above command should even work without the env call up front, I believe :+1:

Fixes #3876 for me, too.

Thanks, fixes this for me too (my password contains e.g. a single quote character)! i.e.:
$ bundle exec pilot upload -u<EMAIL_ADDRESS>-i app.ipa
[16:44:49]: Login to iTunes Connect<EMAIL_ADDRESS>[16:44:52]: Login successful
[16:44:52]: Ready to upload new build to TestFlight (App: XXXXXXXXXX)...
[16:44:53]: Going to upload updated app to iTunes Connect
[16:44:53]: This might take a few minutes, please don't interrupt the script
[16:44:58]: [Transporter Error Output]: Your Apple ID or password was entered incorrectly. (-20101)
...
$ FASTLANE_EXPERIMENTAL_TRANSPORTER_AVOID_SHELL_SCRIPT=1 bundle exec pilot upload -u<EMAIL_ADDRESS>-i app.ipa
[16:42:53]: Login to iTunes Connect<EMAIL_ADDRESS>[16:43:01]: Login successful
[16:43:02]: Ready to upload new build to TestFlight (App: XXXXXXXXXX)...
[16:43:02]: Going to upload updated app to iTunes Connect
[16:43:02]: This might take a few minutes, please don't interrupt the script
[16:44:20]: [Transporter Error Output]: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '47' for version '0.1'"

(I did not increase build version, so the Redundant Binary Upload ERROR is expected and fine and actually shows that iTMSTransporter successfully logged into iTunes Connect and refused the upload because of app version conflict).

Just successfully uploaded a build with the same password with which I had problems before using fastlane_core 0.41.1 and the env variable.
Thanks @mfurtak!

Those Java wrapper scripts are a PITA. Most of them are only there to construct the classpath and set some of the more obscure environment variables and arguments required by the Java interpreter. So it for sure makes things more robust if it is possible to avoid that crap.
However, also note that it is possible to call Ruby process methods in a way such that the command line is not first passed to the shell. If processes are invoked directly it is not necessary to escape arguments.
I.e., instead of passing one single string to PTY.spawn use the vararg syntax:
command = [
  '/path/to/iTMSTransporter',
  '-m', 'lookupMetadata',
  '-u', username,
  '-p', password,
  '-f', source
]
PTY.spawn(*command)

it's working for me and fixed #3953！
thanks @mfurtak !

it's working for me and fixed #3953！
thanks @mfurtak !