RFC: Add alloc profiling start/stop endpoints

Adds allocs_profile_start?sample_rate and allocs_profile_stop endpoints, for collecting allocation profiles without pre-specifying the duration.
Needs Tests.

One slight issue is that profiling via these start/stop endpoints seems to capture some allocations due to the HTTP server itself, which are not captured by the existing profile?duration endpoint
If i run something like this
julia> Threads.nthreads()
2

julia> using PerformanceProfilingHttpEndpoints

julia> t = @async PerformanceProfilingHttpEndpoints.serve_profiling_server();
[ Info: Starting HTTP profiling server on port 16825

julia> [ Info: Listening on: <IP_ADDRESS>:16825

julia> using Random

julia> for _ in 1:10_000; (sleep(0.01); randstring()); end

and profile with the existing endpoint like
$ curl '<IP_ADDRESS>:16825/allocs_profile?duration=5&sample_rate=1' --output prof1.pb.gz

then in pprof we get a flamegraph like

but if i profile instead like
$ curl '<IP_ADDRESS>:16825/allocs_profile_start?sample_rate=1
$ curl '<IP_ADDRESS>:16825/allocs_profile_stop' --output prof2.pb.gz

then in pprof we get a flamegraph like

(not the HTTP.Servers allocations on the right hand side)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 29 (27.59%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-19.6%) to 71.579%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/PerformanceProfilingHttpEndpoints.jl
8
29
27.59%

Totals

Change from base Build<PHONE_NUMBER>:
-19.6%

Covered Lines:
68

Relevant Lines:
95

💛  - Coveralls

Ah, yeah, that makes sense now that i think about it, because now we have the whole newly added /stop handler running on the server before we can actually turn it off. Whereas before, turning it off happened inside the server, with no extra work except a sleep().
Yeah, i don't see any great way around that, other than manually filtering out any path going through PerformanceProfilingHttpEndpoints, which I think we can do as a parameter we pass to PProf.jl..
... 🤔 But also, in your screenshot, it looks like a lot of the allocations came from compilation, so I guess something in the /stop endpoint had never been called (and therefore never compiled) before. But I see that you've already added a precompile() call to __init__(), which i would think should be enough to ensure that it had been fully compile already.. 🤔
It might be good to try to figure out what is being compiled there, and then we can hopefully fix that with a precompile statement..? Maybe you could try running the inference profiler as well over the /stop call to see what's being inferred?

which I think we can do as a parameter we pass to PProf.jl..

Hrm, maybe not.. it looks like there's just this parameter, drop_frames:
https://github.com/JuliaPerf/PProf.jl/blob/b2b0a25dbb43f145701585577c792580104ebf46/src/Allocs.jl#L39
which corresponds to this field in the .proto:
https://github.com/google/pprof/blob/ce31453925ec4e16b44753cdb3e8a1ed0029e8b3/proto/profile.proto#L68-L70
but it's not clear to me if that will ignore the whole sample going through that frame, or if it will keep the sample, but just cut it off, which is not what we want. We might need to add an option to PProf which is like ignore_samples_with_frames if we wanted to be able to do this. But i think probably @vilterp is right, and we can likely just ignore these. Especially if we can eliminate whatever compilation is happening there.

thanks nick. merging now! :)


WIP: Figure out why epochs slow on win

In https://dev.azure.com/mne-tools/mne-python/_build/results?buildId=16390&view=logs&jobId=c1ec3add-0fcd-52ea-530a-328457bbfb2e&j=2bd7b19d-6351-5e7f-8417-63f327ab45bc&t=0c49e006-47ab-5675-a040-5d301cde7356 we see:
106.95s total  mne/minimum_norm/tests/
104.80s total  mne/tests/test_epochs.py
 92.94s total  mne/beamformer/tests/
 83.44s total  mne/io/fiff/
 70.14s total  mne/preprocessing/tests/test_ica.py
 65.67s total  mne/tests/test_rank.py

Let's see why, and maybe mark a few more tests as slowtest. Even the Azure run that just passed was too close to the 60-minute mark for comfort...

Okay now we're generally down to less than half:
57.17s total   mne/beamformer/tests/
51.15s total   mne/tests/test_epochs.py
50.17s total   mne/preprocessing/tests/test_ica.py
43.19s total   mne/minimum_norm/tests/
26.38s total   mne/io/fiff/
 0.98s total   mne/tests/test_rank.py

I'll restore azure_pipelines.yml then hopefully this will be good to go


Fix figures in all chapters to use a consistent approach

Figures:

Centered
Has a caption visible
Copyright in a footnote so it doesn't distract the reader

Footnotes:

Named, not numbered

Examples:

Have a gray border

Browser widgets:

Referenced in the Summary section of every chapter
Fixed bugs in the chapter 12 and 13 browser widgets (double-import of some constants; skia.Color constructor; accidental double-declaration of the Chrome class.

Examples still don't render in the printed edition with a border because of something to do with how they use "code" styling.

Anyway, once you merge I'll deploy it.


get Futures timed out message, but the operation success

sometimes, when new app or delete app
curl -X POST http://<IP_ADDRESS>:8080/v2/groups -d @build.json -H "Content-Type: application/json"
curl -X DELETE http://<IP_ADDRESS>:8080/v2/groups/test?force=true -H "Content-Type: application/json"
it may return:

but, in fact, the new or the delete operation success!
thanks!

@junneyang the request is put into a working queue. If there is no result in the configured timeout (default 10 secs) the request is answered with a timeout exception. But since the item is placed in the queue it will be processed. You can configure the timeout.
The question is: what happens in your system, so that you don't get an answer in time?

it seems that the leader selection is in progress, i'm not sure.
I didn't save the log
how to configure the timeout ?
thanks !

The relevant timeout here is --zk_timeout

is this the marathon's startup params or zookeepr's ?
thanks!

This the timeout for all zk operations and is used in the REST layer as well.

You can check what the command line flags do and what command line flags are available by looking at the documentation: https://mesosphere.github.io/marathon/docs/command-line-flags.html
It is a Marathon startup flag.
Please consider contributing the symptom and the solution to our documentation, e.g. the https://mesosphere.github.io/marathon/docs/common-problems.html sections.
https://mesosphere.github.io/marathon/docs/contributing.html

OK, very thanks !


Update sample app's UI

Update UI to conform with the designed version posted in #68

https://user-images.githubusercontent.com/8357343/213314862-c11d2919-e0be-4637-ac8b-57b656c34616.mov


Fix 'contribution guide' broken link

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Connection closed on cluster with 3.3.0

Hi There,
Thank you very much for update this with 3.3.0. I have been waiting for this since last year. However, I do have some issues using it.
The configuration that I'm using is similar to what documented. However, when I ingest 1 rows, it's working, anything else doesn't. In my test, i'm trying 200 rows, connection closed.
Can you advise what have I been doing wrong please?
Cluster:

Error:

Library installation

Correction, none of the use case is working. It is not ingested, it is just not showing connection closed error.

Could you please provide the repro?

Close inactive issue


Rancher Dashboard doesn't work when Rancher/cluster is configured with a proxy

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

Rancher run with - docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -e HTTP_PROXY="http://<IP_ADDRESS>:3128" -e HTTPS_PROXY="http://<IP_ADDRESS>:3128" -e NO_PROXY="localhost,<IP_ADDRESS>,<IP_ADDRESS>/16,<rancher hostname>" -v /var/lib/rancher:/var/lib/rancher --name rancher rancher/rancher
All downstream nodes configured with HTTP_PROXY and NO_PROXY in docker environment variables through /etc/systemd/system/docker.service.d/http-proxy.conf

[Service]
Environment="HTTP_PROXY=http://<IP_ADDRESS>:3128" NO_PROXY="localhost,<IP_ADDRESS>,<IP_ADDRESS>/16,<rancher hostname>"

Custom cluster created, nodes joined to cluster with docker run command
Once nodes stabilize and become active, the "Try Dashboard" link shows up.

Result:
Dashboard link redirects to /dashboard/fail-whale/
Rancher server logs http: proxy error: proxyconnect tcp: failed to find Session for client <IP of proxy>
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
v2.4.2
Installation option (single install/HA):
rancher on single-node docker
custom downstream cluster on 3 nodes with all roles.

rancher/rancher:master-head 6a6f13c

Rancher and custom cluster are both configured behind a proxy
Provisioning cluster succeeds
Dashboard can be accessed for the downstream cluster

@cevatkerim can you provide more details on how your environment is configured, including cluster types, and what symptoms you are seeing? Additional details on proxy configuration would also be helpful.
We have not seen this in recent releases with our test configurations (with Rancher and/or downstream clusters deployed behind a proxy).


Docs: clarify action merging behavior when combining slices

When I tried the code myself, I wasn't expecting the actions to be merged and thought it was a mistake. It was concluded, in another discussion that 'this "action merging" behavior is one of features of this fairly opinionated lib, so it should be clearly stated somewhere'. To prevent similar confusion when others try it too, I thought that it would be best not to let it be forgotten and that "combining slices" part in the getting started section, right after the relevant example, is a good place for a clarification. Feel free to edit the change or altogether reject it if it is not the proper place.

Below is how it will look in the docs:

@dai-shi
In real world applications slices will usually be in different files and there could be dozens of properties (even hundreds, if the app is using a single store), and it might cause name collisions and bugs. There will be higher likelihood of developers being caught off guard and an additional layer they need to be aware of. Since this library already provides withActions() for store level actions, where one can easily compose individual actions anyway, I would humbly suggest that it might be worth reconsidering this approach.

Thanks for the suggestion. Can you open a new issue to discuss further?
I don't dislike the suggested approach. It's straightforward and the implementation can be simpler.


White screen in the clock example inside a VM with X forwarding

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
I don't trust developers (including myself), so on my personal PC I do programming inside a VM. As a benefit, I get a clean system without tons of library pollution, as a drawback, things sometimes just don't work, the same happens to iced inside a vagrant box with GUI forwarded through ssh. The window appears, but the whole canvas is just white.
Unfortunately, I can't provide viable steps, I tried to make them up, but probably I need to install more libraries or something, cuz now it's even worse, the screen is black and the app terminates immediately with a message Segmentation fault (core dumped).
Steps to (try to) reproduce:

Create a box

vagrant init ubuntu/focal64

Enable X forwarding

vim Vagrantfile

Add these lines before the last end:
config.ssh.forward_agent = true
config.ssh.forward_x11 = true

You can also optionally uncomment the config.vm.provider "virtualbox" do |vb| and ask for more CPU and memory to make compilation faster
vb.memory = "6144"
vb.cpus = "12"

Start the VM

vagrant up
vagrant ssh

Inside the VM, install necessary software and run the example

sudo apt update && sudo apt upgrade && sudo apt install -y build-essential x11-apps mesa-utils libxrandr2 libxi6
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

1<Enter>

source $HOME/.cargo/env
git clone --depth 1 https://github.com/iced-rs/iced.git
cd iced/
cargo run --package clock

Observe the white screen and these errors in the logs (or the seg fault)

libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate

The host system is Ubuntu
> lsb_release -a                                                                                1 ms
No LSB modules are available.
Distributor ID: Neon
Description:    KDE neon User - 5.24
Release:        20.04
Codename:       focal

Running everything in Gnome with X11. Feel free to ask for more info/logs/anything.
What is the expected behavior?
Clock
Version
master
Operative System
Linux
Do you have any log output?
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate

@DevAlone
What does your Cargo.toml file look like?

Using X11 forwarding with my machines works (contents of the canvas get drawn) as simply as
ssh -X remote
cargo run

The warnings appear as well, but it didn't cause any issues.
My Cargo.toml:
[dependencies.iced]
version = "0.4.2"
default-features = false
features = ["wgpu", "canvas", "tokio", "debug"]


Huge Backlog in Engine Builders

https://ci.chromium.org/p/flutter/g/engine/console
c8250730 hasn't been picked-up in over an hour.

This was caused by the impeller merge of yesterday night. We will cancel all the pending builds and manually rerun the most recent ones.

https://ci.chromium.org/p/flutter/builders/prod/Linux clang-tidy backlog has been cleaned 12 more linux builders to go.

https://ci.chromium.org/p/flutter/builders/prod/Linux Unopt backlog has been cleaned.

https://ci.chromium.org/p/flutter/builders/prod/Linux Host Engine backlog has been cleaned.

https://ci.chromium.org/p/flutter/builders/prod/Linux Framework Smoke Tests backlog has been cleaned.

https://ci.chromium.org/p/flutter/builders/prod/Linux Benchmarks backlog has been cleaned.

Marked as P0 as per: https://github.com/flutter/flutter/issues/102784

https://ci.chromium.org/p/flutter/builders/prod/Linux Arm Host Engine backlog has been cleaned.

https://ci.chromium.org/p/flutter/builders/prod/Linux Android Debug Engine backlog has been cleaned.

https://ci.chromium.org/p/flutter/builders/prod/Linux Web Framework tests backlog has been cleaned.

Finish with linux moving to windows

Engine tree has been recovered.


Example for usage refers to non existing method.

The example for registering a new job says
services.AddFantasma(config =>
{
    // Register all job handlers within the same
    // assembly as `Program`.
    config.RegisterHandlersInAssemblyContaining<Program>();

    // Schedule a recurring job that executes
    // every 10 seconds.
    config.ScheduleRecurring(
        "unique-id-of-job",
        "*/10 * * * * *",
        new MyRecurringJob.Data());
});

But it needs to be:
...
    // Schedule a recurring job that executes
    // every 10 seconds.
    config.AddRecurringJob(
        "unique-id-of-job",
        "*/10 * * * * *",
        new MyRecurringJob.Data());
...

As there is no method ScheduleRecurring

Thanks for catching this. I've updated the README with correct instructions.


vtk_pixel

Thanks for sharing!
while importing a simple file in vtk format I realize that VTK_PIXEL (=8) are not correctly being imported. Such cells are treated as VTK_QUAD (=9). (I have seen _common.py "pixel" is out-commented)
Is there any special reason for such "approach"? I think one should 1) either warn the user that such cell types are not supported or 2) improve the code so that such cell type is supported (either a) by fully supporting this cell type. - not aware of which functions are included within meshio that would need to eventually be adapted - since I haven't used this package much... or b) properly convert VTK_PIXEL (=8) into VTK_QUAD (=9). Not deep knowledge on the format, though I think that reordering the point-index should be enough... Point 2 is now point 3, and vice versa point 3 is point 2.
https://vtk.org/wp-content/uploads/2015/04/file-formats.pdf
How would you prefer to address this issue?
I haven't used meshio much..., I can use this issue as an excuse to have a deeper look.
Kind Regards,
Carles

Well, that shouldn't happen. MWE?

Sure. Thanks for the quick reply.
untitled_v3 - Kopie.txt
I do import meshio and mesh = meshio.read()
>>> mesh
<meshio mesh object>
  Number of points: 10
  Number of cells:
    triangle: 1
    polygon6: 1
    quad: 2

*For the record, the file was manually created....

Fixed now, will be part of the next release. Thanks for the good report!


no posting on server

hi i'm a new user
i want to use this plugin to

get the current position of the user in background ( when the app is closed ) and check if it is close the a specific place , if yes i want to send a notification

can someone help me
what are the config that i should use , and where i should put the code that will check send notification and check if the user is close the some places
thanks

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.


Add GroupBy.apply()

This PR adds GroupBy.apply by using grouped map pandas UDF.
Resolves #409

Codecov Report

Merging #584 into master will decrease coverage by 2.99%.
The diff coverage is 74.19%.

@@           Coverage Diff            @@
##           master     #584    +/-   ##
========================================
- Coverage   93.81%   90.81%    -3%
========================================
  Files          31       31
  Lines        4589     4618    +29
========================================
- Hits         4305     4194   -111
- Misses        284      424   +140

Impacted Files
Coverage Δ

databricks/koalas/missing/groupby.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/generic.py
93.75% <ø> (ø)
:arrow_up:

databricks/koalas/groupby.py
92.7% <74.19%> (-5.42%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
76.31% <0%> (-7.9%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/utils.py
97.43% <0%> (-2.57%)
:arrow_down:

databricks/koalas/frame.py
92.51% <0%> (-1.98%)
:arrow_down:

databricks/koalas/namespace.py
87.5% <0%> (-1.62%)
:arrow_down:

... and 3 more

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 a0bc271...9e51ffa. Read the comment docs.

Tests passed

Tests passed


feat/backend: switch to collenchyma and update blob

Supersedes #33

@homu r+

:pushpin: Commit 7734e5d has been approved by hobofan

:zap: Test exempted - status


[CARBONDATA-1382] Add more test cases for bucket feature

1.Add more test cases for bucket feature  2.Optimize some test cases's data load method.

retest this please

retest this please

retest this please

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/201/

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/216/

retest this please

SUCCESS
--none--

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/223/

@chenliang613  Please add the following if condition code snippet in ResourceRegisterAndCopier at line number 62. It will make the copy to hdfs successful
if (file.lastIndexOf("/") > -1) {
    new File(resourcePath + "/" + file.substring(0, file.lastIndexOf("/"))).mkdirs()
 }

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/235/

retest this please

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/254/

retest this please

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/257/

retest this please

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/263/

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/267/

LGTM


CustomTasks: Execution handler for powershell 6 (Core)

I want to migrate my PowerShell tasks to run under Linux, but there didnt find a way to tell the task.json to use PowershellCore, there is only Node…
How can i run customized Tasks under Linux using PowerShell? How does the PowershellV2 tasks handle this?

Hi, we've decided not to add a powershellcore handler. With that said, you can demand that users provide powershellcore and exec it from a node task - see https://github.com/microsoft/azure-pipelines-task-lib/issues/537 for context and an example of how to do this (at the end)

Closing since we're not going to take this, please follow up with any questions in https://github.com/microsoft/azure-pipelines-task-lib/issues/537


outsourcing some code

outsourcing some cod to GERICS specific index_calculation

Codecov Report

Merging #24 (c144698) into master (a917408) will increase coverage by 0.59%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   92.03%   92.62%   +0.59%
==========================================
  Files          12       12
  Lines        1029     1003      -26
==========================================
- Hits          947      929      -18
+ Misses         82       74       -8

Flag
Coverage Δ

unittests
92.62% <0.00%> (+0.59%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

index_calculator/__init__.py
100.00% <ø> (ø)

index_calculator/_preprocessing.py
91.89% <0.00%> (+10.53%)
:arrow_up:

index_calculator/_tables.py
100.00% <ø> (ø)


chapter 2 and 3 some examples not working

The bindTo example 2.3 and the Target practice example of 3.3 do not show any visible reaction to the selection/button press (I can see the DIV being changed in the inspector). Tried this in chrome and internet explorer on windows7 and chromium and firefox on lubuntu? I'm using 4.1.0.
Any idea what's going on? Differences in OL3.x vs OL4.x ?

Yes, in fact, difference between OpenLayers 3.0 and more recent 3.5.
See https://github.com/openlayers/openlayers/releases/tag/v3.5.0 for instructions to fixing. I plan to update the content but too busy at the moment (there is already more than 2 years since we release the book associated with samples)


[Bug] Hive 3.1 cannot recognize TIMESTAMP type

Search before asking

[X] I searched in the issues and found nothing similar.

Paimon version
master
Compute Engine
Hive 3.1
Minimal reproduce step
Hive 3.1 reads table with timestamp column.
What doesn't meet your expectations?
Caused by: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
at java.sql/java.sql.Timestamp.valueOf(Unknown Source)
at org.apache.hive.jdbc.HiveBaseResultSet.evaluate(HiveBaseResultSet.java:443)
at org.apache.hive.jdbc.HiveBaseResultSet.getColumnValue(HiveBaseResultSet.java:423)
... 17 more
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Duplicate with #1198


Deploying Cloud Spanner Schema generates an error in regards to tags

When running gcloud builds submit --config=cloudbuild.yaml there is an error related to invalid tag name.
Creating temporary tarball archive of 5 file(s) totalling 48.0 MiB before compression.
Uploading tarball of [.] to [gs://dh-cloudsql-demos_cloudbuild/source/1690895538.229756-d780448698d442798a5c6e3d30867ad4.tgz]
ERROR: (gcloud.builds.submit) INVALID_ARGUMENT: invalid build: invalid build tag "infrastructure/schema": must match format "^[\\w][\\w.-]{0,127}$"

blarg. That's a good catch. I probably just wrote it and didn't test it.

This has been fixed - closing!


Add Remove Button in the Uploader

Sometimes I have to reload the upload page because I selected a picture I don't want to upload. Allowing to remove a file from the upload list would be useful for me.

hello there can i take this issue
let me have a chance to add this button


How to use with RecyclerView?

Please add an example for usage with a RecyclerView.
Thanks.

Added a basic example for usage with RecyclerView.
Please see https://github.com/Clans/FloatingActionButton/blob/master/sample/src/main/java/com/github/clans/fab/sample/RecyclerViewActivity.java

Thanks

The link is not working


Cannot import from $app/navigation in latest SvelteKit

Describe the bug
Cannot import from $app/navigation in latest version, eg:
import { goto } from '$app/navigation';
Completely deleted nodes_modules and package-lock.js didn't fix the issue.
I have another project with
@sveltejs/kit: next => 1.0.0-next.290
works like expected there.
Reproduction
https://svelte.dev/repl/fa848922791e40f7be794022a414a335?version=3.46.4
Logs
Cannot find module '$app/navigation' or its corresponding type declarations.js(2307)

System Info
System:
    OS: macOS 12.1
    CPU: (8) x64 Apple M1
    Memory: 27.17 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 8.1.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 99.0.4844.51
    Firefox: 97.0.1
    Safari: 15.2
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.30
    @sveltejs/kit: next => 1.0.0-next.292
    svelte: ^3.44.0 => 3.46.4

Severity
serious, but I can work around it
Additional Information
No response

That's not valid repro, can you do one on sveltekit.new


After the compilation is completed, the software lacks a lot of files. It is necessary to import it myself or the way I compile it is wrong ？

@aishuidedabai Thanks for trying Outline. Compilation works a bit differently on Apple: before importing any code into Xcode you need to run a bunch of commands on the command line. I'm afraid it's not very easy at all but roughly you need to:

follow the steps at https://github.com/Jigsaw-Code/outline-client#apple-macos-and-ios
follow the steps at https://github.com/Jigsaw-Code/outline-client/blob/master/docs/apple-development.md

I have successfully run all the scripts and also used the APPLE developer account. When I import the class files, I found that the class files are not complete, I lack many classes, I found all the folders and found no missing, I need Help, what do I do next?

So here's the exact steps I just ran (Node.js 10.7.0, yarn 1.9.2):

From a terminal:
yarn run clean && yarn && yarn gulp build --platform=osx
Open the resulting Xcode project at platforms/osx/Outline.xcodeproj

I have Xcode 9.2, do you have a similar version?

I done。 I have successfully run the script, but the file still shows red missing, need me to add it manually?

Hmm. If you successfully ran that command then Xcode should open the project at that location. Can you confirm you're running Xcode 9.2?

No i use xcode 9.3，so must use 9.2？

So much error . plugin need Additional installation？

Sorry, not sure I can help much more here. I'm afraid Apple is by far the hardest platform to develop Outline for due to the trickery we have to perform in order to convert what Cordova outputs into a working Xcode project; it's worth trying again with Xcode 9.2. FYI, 99% of the time we build our Apple code on Travis for precisely this reason:
https://github.com/Jigsaw-Code/outline-client/blob/master/.travis.yml#L90

I encountered this error while compiling, but I used int start_ss_local_server(profile_t profile); the method succeeded. I would like to ask int start_ss_local_server_with_callback(profile_t profile, ss_local_callback callback, void *udata); method and int start_ss_local_server(profile_t profile); is there any difference?


How can I implement bulletproof-react with MUI ?

Hi, I'm a very newbie to React and I'd like to refer to this wonderful template.
How can I implement this template with MUI ?
I understand this question is a very basic and general question. So I'm wondering if this is an inappropriate issue.
For instance, when I'd like to use MUI's TextField, should I change the code in the elements/Form/ codes ?
And if so, do you have some examples ?
Definitely I don't understand some important contents about React and so on.
Sorry if this is a very off-topic question.

Hi there,
As @jdnickell said, switching to another UI library should not be a problem, just make sure to follow their official guides to get everything set up. However, unless you are building a similar app to the original, I would not recommend using this repo as a boilerplate for several reasons:

this is an example app with a limited set of build components
you might not need everything that comes installed or you need something else (like you do with MUI)
cleaning up what you don't need might require more work than setting everything from scratch
some dependencies are a bit outdated (I plan to update them soon, so stay tuned :) )

I recommend that you get inspiration from this repo and the example application and start building your own application from scratch based on the project structure of the example app.

@jdnickell
Thank you for your such a kind advise! I'm a really very newbie so I didn't know how to start my app.  I read some articles that refer to wrap some components like MUI's and I believed that is a best practice.

I'm curious if others will recommend using some kind of wrapper component for the MUI controls. For me it seems overkill, but maybe it makes writing tests easier and I suppose makes it easier for you to switch to another library later?

Yeah, I would like to know about this matter. Anyway, thank you very much !!
@alan2207
Hi, thank you for your replying! Thanks to your reply I have my questions answered! I have learned a tremendous amount by reading this repository. There are a lot of things that I haven't know but very important.  Anyway, thank you very much and I apologize for the delay in replying.


relation "mp_account" does not exist

I got this error when create run 'python manage.py runserver'. The credentials used on the Account objects was tested and works.
Then I been trying reload the migrations and it still  raising this error
File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedTable: relation "mp_account" does not exist
LINE 1: ...ccount"."secret_key", "mp_account"."sandbox" FROM "mp_accoun...
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.7/site-packages/django/utils/autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/runserver.py", lin
e 109, in inner_run
autoreload.raise_last_exception()
File "/usr/local/lib/python3.7/site-packages/django/utils/autoreload.py", line 76, in raise_las
t_exception
raise _exception[1]
File "/usr/local/lib/python3.7/site-packages/django/core/management/init.py", line 357, in
execute
autoreload.check_errors(django.setup)()
File "/usr/local/lib/python3.7/site-packages/django/utils/autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.7/site-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/usr/local/lib/python3.7/site-packages/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "/src/payment/models.py", line 83, in
class MPPayment(models.Model):
File "/src/payment/models.py", line 96, in MPPayment
account    = Account.objects.first()
File "/usr/local/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager
method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 664, in first
for obj in (self if self.ordered else self.order_by('pk'))[:1]:
File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 276, in iter
self._fetch_all()
File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 1261, in _fetch_a
ll
self._result_cache = list(self._iterable_class(self))
File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 57, in iter
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1144, in e
xecute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 100, in execute
return super().execute(sql, params)
File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 68, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 77, in _execute
_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: relation "mp_account" does not exist
LINE 1: ...ccount"."secret_key", "mp_account"."sandbox" FROM "mp_accoun...

I'm working on this, when I fix it I'll share the code

It was my bad.
I beeing adding an Account intance referenced on my Model code. So when I  trying to recreate the Database in a new environment that already not has migrations and so do not has this Account object already created, raises this error.
I hope that this log help


Remove project_version_delete_html view

We used to have a "Clean" button in the Inactive Versions listing to remove built and disabled versions of the documentation.
This is not more possible, because when the version is disabled (mark as non active) we call clean_artifacts and remove all the HTML files for this version and mark it as Version.build=False. In the end, that button does not appear anymore.
Related #4937

@stsewd is that project very old?
I think it's not possible to see that button with the current code in production.
Do you know what would be the steps to see that Clean button currently?

~3 weeks https://readthedocs.org/projects/rtd-test-stsewd/builds/

Not sure how to replicate this :/

There are likely cases where Celery fails to execute for some reason.

@ericholscher from your comment, I suppose that we want to keep this code here and close this PR. If that's what you mean, please go ahead.

I'm of mixed feelings. I don't think it's super important to keep, but I don't see much value in deleting it either. I think we can keep it until we totally rethink how we handle our HTML uploads, and then it will be deprecated & removed at that point.


Don't call deprecated method in infinite loop

See also alexcorre/git-blame#56
Note: I didn't check for other instances of this refactoring error

Uhh, I used the web editor to write this but the diff looks way different. Not sure what happened there - maybe I was editing an old version? Closing.

Oh, I see it was fixed in #5066


define attribute_method? to improve performance

This greatly improves the time required to wrap nodes when returning many objects from the database.

Coverage increased (+0.0%) to 98.43% when pulling de180f6f87550f48e21c225f04a1d8608927eb1a on attribute_method into 2ebb9b9082a2ce8729f05de865381a9f155fddc2 on master.


Not able to generate .json file

I am using,
swagger-inline './server.js' --base './openapi/openapiBase.yaml' --format '.json' --out './openapi/openapi.json'
in terminal to create the .json file but i am not able to generate the file as described also i am getting the below message
1 files matched...
0 swagger definitions found...
swagger.json created!

It would be helpful to provide a suggestion in the OpenAPI Experience that the swagger inline base (aka: openapiBase.yaml ) file could be edited to add in the definition for the visitor object. Right now, that challenge only suggests annotating the server.js file with the comments for the APIs

Good idea @timroster. This is covered in #3


Zoom-out then zoom-in breaks the canvas drawing

Zoom-out to 50%, then zoom-in to 100% messes up the canvas.

Workaround:  resize the browser window.

Resolved by c372c398d0c37c60c9e8c2c6e6cba45c73d661eb.


code review feedback

Includes:
ConfigureAwait(false)
Debug.Asserts
Moved the poison workflow function to new project.

@nicolehaugen79 This solution doesn't build for me. :(

One of the errors is from the cancelToken.ThrowIfCancellationRequested(). Taylor had mentioned to add that in so you didn't have to provide the entire if (!cancelToken.IsCancellationRequested) { } else { } but do:

cancelToken.ThrowIfCancellationRequested();

using (var ctr = cancelToken.Register(() => cancelAsync(workflowMessage)))
{
   //rest of logic
}

.ConfigureAwait(false) should be paired with all the instances where you use await (I remember there being more but didn't mention them all. I can look through if you want). I think we'll probably add a Roslyn analyzer that can check for that.

@dotnet-bot test this please

@dotnet-bot test this please

@conniey - geesh, I should not have submitted my PR for review on the way out the door on a Friday. :(  Anyway...I removed the compile error from the rogue ThrowIfCancellationRequested line...this shouldn't have been there at all (see more info in my response to Taylor's comment).
Also, good catch on the ConfigureAwait...I was reading up on this since I haven't used it before, and missed that point.  It would be great to get a Roslyn check added for this.


Autoreload works intermittently when using XmlLoggingConfiguration

NLog version: 4.7.14
Platform: .NET Framework 4.8 / NET 6
Current NLog config (xml or C#, if relevant)
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true">

  <targets>
    <target name="logfile" xsi:type="File" fileName="file.txt" />
  </targets>

  <rules>
    <logger name="*" minlevel="Info" writeTo="logfile" />
  </rules>
</nlog>

var config = new XmlLoggingConfiguration(@"C:\path\to\config\nlog.config");
config.AutoReload = true;
LogManager.Configuration = config;
var logger = LogManager.GetCurrentClassLogger();

while (true)
{
    logger.Log(LogLevel.Info, "info message");
    logger.Log(LogLevel.Debug, "debug message");
    logger.Log(LogLevel.Trace, "trace message");

    Console.Write("press enter to continue generating logs");
    var input = Console.ReadLine();
}

What is the current result?
Changes to "minLevel" in config does not always get picked up by nlog
What is the expected result?
Changing minLevel should consistently update my log level without restarting app, like when we do not use XmlLoggingConfiguration to initialize nlog
Did you checked the Internal log?
Yes, there were no errors
Please post full exception details (message, stacktrace, inner exceptions)
No exception, it's not changing log levels
Are there any workarounds? yes/no
None when nlog config file is not located in same folder as app/current working dir
Is there a version in which it did work?
Don't know
Can you help us by writing an unit test?

I cannot reproduce issue. I used the following configuration:
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true"
      internalLogLevel="Debug"
      internalLogToConsole="true">

  <targets>
    <target name="logfile" xsi:type="Console" />
  </targets>

  <rules>
    <logger name="*" minlevel="Debug" writeTo="logfile" />
  </rules>
</nlog>

And the NLog InternalLogger reported whenever I saved my saves to NLog.config. And when pressing Enter-key then the configured minLevel-value was used.

Closing due to inactivity.


add yh

Summary of Commits

1fce2c0  feat: add yh for yaml highlighting
971f2a5  chore: removed zip file

Looks good to me!


fix: check exports exist before access to it

while this issue exist https://github.com/import-js/eslint-plugin-import/issues/2866, this fix helps to prevent eslint from crashing.

@ljharb

Use webstorm
create new js file and define variable and export it 'export default someVar'.
see eslint error that export is not used anywhere.

I understand the repro, but we need a code regression test.

Is there an example in this repo of regression test with dynamically added code to mirror for this case?

Not that I know of. Unfortunately this is a really difficult failure case to reproduce in tests.


Unpin version of the example alpine builder used in CI

In CI a pack build is performed using one of libcnb's example CNBs and the upstream cnb/sample-builder:alpine builder, in order to test that our static MUSL compile works with non-libc base images.
However, in #594 the version of that builder had to be pinned to an older release, to work around a temporary incompatibility between the latest version of the builder and the latest stable Pack CLI.
Now that Pack CLI 0.30 has been released, the latest alpine builder will work again.
GUS-W-14086879.

Depends on https://github.com/buildpacks/samples/issues/170

@edmorley should we close this as it won't apply cleanly anymore after #775. Or do you want to keep this around as a loud reminder?

I'm happy to close this for now; we have the TODO in the workflow file, plus I'm still subscribed to the upstream issue in their examples repo.


Test and improve Markdown rendering

[ ] The colors of some elements like hyperlinks need to be adjusted to the used ImGui styles, currently the contrast is off making some elements very hard to see.
[x] The spacing before and after heading paragraphs is too big, decrease to more sane values.
[ ] Images don't get rendered yet.
[ ] URLs missing the proper syntax are not highlighted and clickable.
[x] Emojis do not render properly, assume they need to be supported/provided by the loaded fonts, investigate.

Working on embedded images support 👀

Embedded images from remote resources now get downloaded and displayed correctly:

Hyperlink color contrast fixed:

Tested setting the flag MD_FLAG_PERMISSIVEURLAUTOLINKS to see if that would support GitHubs auto-generated plain changelog URLs but it doesn't a 100%:

I'll just ignore this; if folks need proper links, use proper Markdown in the summary 😎

Found the best compromise:

Surround the URL like so:
**Full Changelog**: <https://github.com/nefarius/HidHide/compare/v<IP_ADDRESS>...v<IP_ADDRESS>>

And it gets rendered properly without any additional flags 🥳

Debugging the clickable image URLs, when an "IMG" is rendered, it checks for mouse-over and release to trigger the link navigation, in the function imgui_md::SPAN_IMG it first sets the member m_href which parses the fragment http://sharex.nefarius.at/u/donation-button.gif)](https://docs.nefarius.at/Donations/) into:
| Name | Value | Type
-- | -- | -- | --
▶ | m_href | "http://sharex.nefarius.at/u/donation-button.gif" | std::string
So instead of opening the underlying link, the URL to the image displayed is used in the open_url overload.
IDK if this case has not been tested properly or if this is considered expected behaviour; for me it certainly isn't 😛 Let's try to fix this.

Everything I found is fixed 😄


does not create multiple images

I am trying to detect cats trespassing but for some reason, it is not saving the history of images, just the latest one.
This is what I am using for config. It used so save extra images too, but it stopped doing it for the last 2 days (plenty of space on disk)
  - platform: doods     url: "http://<IP_ADDRESS>:8080"     detector: default     source:       - entity_id: camera.garage_camera     file_out:       - "/config/www/{{ camera_entity.split('.')[1] }}_latest.jpg"       - "/config/www/doods/{{ camera_entity.split('.')[1] }}_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg"     confidence: 20     scan_interval: 1     area:       covers: false     labels:       - name: person         confidence: 55       - name: car         confidence: 50       - name: bird         confidence: 50       - name: cat         confidence: 20       - name: dog         confidence: 20

Not sure... works for me... does the directory /config/www/doods exist? is it writable by the homeassistant user?
This is my template:     - "/data/images/{{ camera_entity.split('.')[1] }}_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg"

Yeah, I still had images in it from about 2 days ago. But nothing new. I know files are created as I see a recent image from today. Just strange that it stopped saving other files.

My guess is a permissions issue. Nothing has changed from DOODS or the add-on.

You could open a ticket on home assistant maybe... They manage the doods code there, I haven't made any changes to DOODS itself.


ci: fix docs generation again

823e87a fixed docs generation by locking Markdown version that
is compatible with sphinx-markdown-tables but did not lock
sphinx-markdown-tables itself.
Now that sphinx-markdown-tables got fixed so that it requires the
latest Markdown version, the docs generation fails again.
Fix it by dropping the Markdown version lock. This also fixes
docs generation for the release branches.
Signed-off-by: Mikko Ylinen<EMAIL_ADDRESS>

Codecov Report

Merging #1085 (663c590) into main (3939688) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 663c590 differs from pull request most recent head 7fa31b1. Consider uploading reports for the commit 7fa31b1 to get more accurate results

@@           Coverage Diff           @@
##             main    #1085   +/-   ##
=======================================
  Coverage   53.01%   53.01%
=======================================
  Files          40       40
  Lines        4350     4350
=======================================
  Hits         2306     2306
  Misses       1917     1917
  Partials      127      127

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Wall Locker Tweaks

About the PR
Changed wall lockers to match regular lockers more and sit better on walls
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:Alekshhh

tweak: Changed wall lockers visually to match regular lockers and sit on walls better

based aleksh


Updates related to Omega IOStreams

This merge adds the capability to only copy streams from the Omega Default.yml file if they are explicitly requested by a given test case.
Here, we also update the map of variables between MPAS-Ocean and Omega, and add placeholders for mapping dimension names once the new Omega names are fully supported.  (See https://github.com/E3SM-Project/Omega/issues/172).
This merge updates the manufactured solution test case to support Omega in all steps but analysis (which requires further development of the time variable, see https://github.com/E3SM-Project/Omega/pull/169).

Checklist

[x] Testing comment in the PR documents testing used to verify the changes

@cbegeman, I would appreciate your review when you get back from the holiday.  You can look as much or as little as you have time for at the changes in model_step but I would appreciate having you take a look at the ocean framework and the convergence framework in particular.  I don't think there are any controversial changes but it always helps to have another pair of eyes on those.
If you want to run the convergence_both test from manufactured_solutions somewhere, that would be great.  The easiest way to build Omega is to run the CTest utility in Polaris, which will check out and build Omega for you.  Then you can point to, e.g., polaris setup ... -p build_omega/build_chrysalis_intel.

This now needs https://github.com/E3SM-Project/Omega/pull/176

One more submodule update?
Ideally, we would wait for https://github.com/E3SM-Project/Omega/pull/170 to be merged and update the Omega submodule one more time before merging this.
Testing
With that branch (merged with Omega's develop branch) and this branch, I was able to run the manufactured solution test case successfully on Chrysalis with Intel (including the viz step).

Thanks @cbegeman!


Use Yojson to parse github json responses

First step towards fixing #175

I'm not sure everything is already tested, but it can be coarsely reviewed.

@NathanReb I have a weird bug when testing this PR with dune-release-testing (when uploading the release asset), and I'm at the point where I'm doubting my testing setup is messed up (I reduced this PR to the minimum), can you confirm you get a similar error?

I just went through releasing dune-release-testing from master where it worked well and with your branch where I indeed got an error:
$ dune-release publish
[-] Publishing documentation
[-] Selected packages: dummy
[-] Generating documentation from _build/dummy-v0.2.0+test.tbz
[-] Publishing to github
[-] Updating local gh-pages branch
[+] No documentation changes for dummy 0.2.0+test in directory . of gh-pages branch
[-] Publishing distribution
[-] Publishing to github
[?] Push tag v0.2.0+test to git@github.com:NathanReb/dune-release-testing.git? [Y/n]

[-] Pushing tag v0.2.0+test to git@github.com:NathanReb/dune-release-testing.git
[?] Create release v0.2.0+test on git@github.com:NathanReb/dune-release-testing.git? [Y/n]

[-] Creating release v0.2.0+test on git@github.com:NathanReb/dune-release-testing.git via github's API
[+] Succesfully created release with id 25850938
[?] Upload _build/dummy-v0.2.0+test.tbz as release asset? [Y/n]

[-] Uploading _build/dummy-v0.2.0+test.tbz as a release asset for v0.2.0+test via github's API
dune-release: [ERROR] Line 1, bytes 0-33:
                      Invalid token 'HTTP/1.1 201 Created
                      Cache-Contr'

I found what the probllem is, in some cases Curly doesn't correctly split the headers from the body, so everything ends up in the body, that cannot be parsed as a json entity. I defined a redundant funcion in Curl.Response.process to fix that.
I plan to open an issue for Curly but as we don't know when it will be fixed I choose to implement the ugly workaround anyway.

It turns out the issue was due to a missing -D argument to dump the headers, otherwise they end up in the body of the response. I think it's ready for a final review now.


Avoid panicking when the ASG doesn't exist?

👋 folks, thanks for building this project!
We currently run a fork of it at work and I was trying to consolidate with the open source version (in a way where we'd be able to write a custom main package that imports the scaler from github.com/buildkite/buildkite-agent-scaler). One of the changes that we've made internally is to avoid a panic when the ASG doesn't exist and instead log an error. Would you take a path like that?
This is the diff:
diff --git a/scaler/asg.go b/scaler/asg.go
index 80a3988..f79a75f 100644
--- a/scaler/asg.go
+++ b/scaler/asg.go
@@ -1,6 +1,8 @@
 package scaler

 import (
+       "fmt"
+
        "github.com/aws/aws-sdk-go/aws"
        "github.com/aws/aws-sdk-go/aws/session"
        "github.com/aws/aws-sdk-go/service/autoscaling"
@@ -33,12 +35,15 @@ func (a *asgDriver) Describe() (AutoscaleGroupDetails, error) {
                return AutoscaleGroupDetails{}, err
        }

+       if len(result.AutoScalingGroups) < 1 {
+               return AutoscaleGroupDetails{}, fmt.Errorf("no autoscaling group found with name %q", a.name)
+       }
+
        return AutoscaleGroupDetails{
                DesiredCount: int64(*result.AutoScalingGroups[0].DesiredCapacity),
                MinSize:      int64(*result.AutoScalingGroups[0].MinSize),
                MaxSize:      int64(*result.AutoScalingGroups[0].MaxSize),
        }, nil
-
 }

 func (a *asgDriver) SetDesiredCapacity(count int64) error {
@@ -61,8 +66,7 @@ func (a *asgDriver) SetDesiredCapacity(count int64) error {
        return nil
 }

-type dryRunASG struct {
-}
+type dryRunASG struct{}

 func (a *dryRunASG) Describe() (AutoscaleGroupDetails, error) {
        return AutoscaleGroupDetails{}, nil

Thank you!

hey there! we would happily accept a PR doing this :)
out of curiosity, in what situations are you running the scaler without an autoscaling group? what are the use cases that lead to that situation?

out of curiosity, in what situations are you running the scaler without an autoscaling group? what are the use cases that lead to that situation?

We have team that manages their own ASGs/queues, and they treat the ASG itself as cattle, when upgrading their platform, they launch a new ASG, and in the previous version of our deployment
The reason we don't want this to panic is because we've rewritten the main package to monitor multiple ASGs in a single process (helps with batching requests to AWS), so if one ASG goes away, we want to continue to scale the other ones in and out.
We may end-up going a different direction though. I can come back to this in a week or two to see where we landed.


Feature/dock 1878/search on enter

Description
This PR changes the search UI so that a search is initiated when the user presses the enter key or clicks a search control (rather than the current behavior, which searches after each character in the search text is entered, debounced).  Text prompting the user to "Press  to search" was added below the search box.  Also, the autosuggest dropdown now closes upon click/enter, rather than staying open and obscuring the controls underneath.
Ths PR alters the "basic search" component to pass three events to the containing "search" component:

a "changed" event upon every change to the search text,
a "changedDebounced" event, similar to the "changed" event, except debounced, and
a "submitted" event, denoting that the user has pressed "enter".

The parent "search" component then decides how to handle these events.
Issue
https://ucsc-cgl.atlassian.net/browse/DOCK-1878
dockstore/dockstore#4404
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain

I ran it locally and it looks good! A lot less flashing going on.
I know this code is gnarly, so no need to change your PR for this, but I'm going to ask anyway: do you need to track the debounced and the non-debounced text separately? Can't you just use the debounced text?

This PR runs a search on the current text in the search box in two cases:

enter is pressed
a facet is clicked
To implement #2, we need the non-debounced text, to avoid the case where the entire search text doesn't "register" if the user very quickly types the text and then very quickly clicks a facet.
Unrelated: try saying "very quickly clicks" ten times fast.

Substantially "prettier"ed.

Did you figure out why this isn't happening automatically for you? Did you have to run it manually?

Wasn't making much headway figuring out what was going wrong, so I deleted my copy of dockstore-ui2, cloned again, and now it prettiers...


Feature - Dataset statistics overview

Make dashboard of statistics. Should cache during indexing for full dataset.  Optionally accept a list of stations
Counts

Devices
Observations
Companies
Services

Histograms

Company
Production
Service / UUID
Duration
Seen
Mtu

Pie charts

Public vs random address
Unknowns vs Known { Company, Service }
connectable

Yes, and also export to csv.

bump on all of this!


TypeError: 'JavaPackage' object is not callable

Whenever I try to use Flint here locally (no Hadoop/EMR involved), it keep barfing at me with the above error message in the subject. It's a setup on top of Python 3.7 with PySpark 2.4.4 and OpenJDK 8; an Ubuntu 19.04 install.
Note: As I'm running locally only, I'm getting this log message from Spark, but everything does run perfectly using vanilla PySpark:
19/10/23 09:59:50 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

It happens when I try to either read a PySpark dataframe into a ts.flint.TimeSeriesDataFrame. This example is adapted from the Flint Example.ipynb:
import pyspark
import ts.flint
from ts.flint import FlintContext

sc = pyspark.SparkContext('local', 'Flint Example')
spark = pyspark.sql.SparkSession(sc)
flint_context = FlintContext(spark)

sp500 = (
    spark.read
    .option('header', True)
    .option('inferSchema', True)
    .csv('sp500.csv')
    .withColumnRenamed('Date', 'time')
)
sp500 = flint_context.read.dataframe(sp500)

The last line causes the "boom", with this (first part of) the stack trace:
TypeError                                 Traceback (most recent call last)
~/.virtualenvs/pyspark-test/lib/python3.7/site-packages/ts/flint/java.py in new_reader(self)
     37         try:
---> 38             return utils.jvm(self.sc).com.twosigma.flint.timeseries.io.read.TSReadBuilder()
     39         except TypeError:

TypeError: 'JavaPackage' object is not callable

Any ideas what may be going wrong and how the problem could be solved?

Digging deeper around here, it seems like there's an issue with PySpark 2.4 (issue #63, addressed in unmerged pull-request #64). Though the README.md clearly states that flint is already compatible with PySpark 2.4 with Python >= 3.5.
Besides that issue, looking also more closely at the README.md, I'm of the opinion that the install instructions are lacking. I only just did the pip install ts-flint thing, and nothing else. The instructions on ts-flint.readthedocs.io do not even mention anything at all, leading me to the assumption that a pip install is sufficient. The only thing in the README mentioned is that some Scala artifact available from Maven Central is required, though I'm not interested in building ts-flint, but just using it.
Anyway, just following the Maven Central link takes me somewhere, but I've got no idea on how/what to download and where to place it. I presume some JAR file(s) will be required. But how???
Any help would be appreciated for someone quite well informed on Python, OK on Java, but not well at all in the Scala eco-system. Stuff like that would be also awesome to find (both) in the README and the ReadTheDocs piece.

Update: I got part way further.
I have tracked down the flint-0.6.0.jar file to download off of Maven Central. I have placed it in my virtual environment's lib/python3.7/site-packages/pyspark/jars/ directory, and the TypeError mentioned in this issue's title disappears, and the code sample given above works.
But moving on forward still gave problems. Now I was getting a
py4j.protocol.Py4JJavaError: An error occurred while calling o97.showString.
Solution to this problem was to grab the correct version (fitting the Scala version Spark uses) off of Maven Central (e.g. here https://mvnrepository.com/artifact/org.clapper/grizzled-slf4j_2.11/1.3.4) and place it in the same jars/ directory mentioned above.
Doing so I got (after the adaptation below for getting spark into the notebook) almost all things to work from the Flint Example.ipynb:
import pyspark
sc = pyspark.SparkContext('local', 'Flint Example')
spark = pyspark.sql.SparkSession(sc)

The only thing still coughing up an error is the computation of sp500_decayed_return. I'll see if I can get that to work somehow as well.
It may be useful to mention some of these things in the install instructions. Most Python/data science practitioners are not quite developers who are into building such artifacts from Scala sources, but would happily be able to do a hearty pip install ts-flint and think they're done.

Actually README mentions:
You can use ts-flint with PySpark by:

pyspark --jars /path/to/flint-assembly-{VERSION}-SNAPSHOT.jar --py-files /path/to/flint-assembly-{VERSION}-SNAPSHOT.jar

For me adding --jars and --py-files fixed the problem

I'm using MacOS and I installed Spark with Homebrew.

To use Flint first I downloaded flint-0.6.0.jar directly from Maven Repsoitory for Flint into the libexec/jars directory of Spark:
/usr/local/Cellar/apache-spark/2.4.4/libexec/jars

Note: I also had to download missing dependency grizzled-slf4j_2.11 - Check Compile Dependencies in Maven Repository of Flint for other missing dependencies

Then I installed Python artifact with pip:
pip install ts-flint

Now I can simply invoke pyspark or spark-submit without parameters --jars and --py-files

@pohutukawa I have same problem, did you find a solution ?
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
~/.conda/envs/py3/lib/python3.7/site-packages/ts/flint/java.py in new_reader(self)
     37         try:
---> 38             return utils.jvm(self.sc).com.twosigma.flint.timeseries.io.read.TSReadBuilder()
     39         except TypeError:

TypeError: 'JavaPackage' object is not callable

During handling of the above exception, another exception occurred:

TypeError                                 Traceback (most recent call last)
<ipython-input-12-87fea234d827> in <module>
----> 1 df = fc.read.options(timeColumn="ds").parquet(TB.SALECOUNT_OUT, is_sorted=False)

~/.conda/envs/py3/lib/python3.7/site-packages/ts/flint/context.py in read(self)
     82         '''
     83
---> 84         return readwriter.TSDataFrameReader(self)

~/.conda/envs/py3/lib/python3.7/site-packages/ts/flint/readwriter.py in __init__(self, flintContext)
     49         self._sqlContext = self._flintContext._sqlContext
     50         self._jpkg = java.Packages(self._sc)
---> 51         self._reader = self._jpkg.new_reader()
     52         self._parameters = self._reader.parameters()
     53

~/.conda/envs/py3/lib/python3.7/site-packages/ts/flint/java.py in new_reader(self)
     38             return utils.jvm(self.sc).com.twosigma.flint.timeseries.io.read.TSReadBuilder()
     39         except TypeError:
---> 40             return utils.jvm(self.sc).com.twosigma.flint.timeseries.io.read.ReadBuilder()
     41
     42     @property

TypeError: 'JavaPackage' object is not callable

OK, I figure it out .
My problem seems mainly caused by jupyter/spark session cache .
Restart jupyter notebook and create a fresh new spark session with {"spark.jars" : "hdfs://maskxdc/test/flint-0.6.0.jar" }  solve the problem .
It actually only need config spark.jars  .

I was facing the same problem with Pyarrow.
My environment:

Python 3.6
Pyspark 2.4.4
Pyarrow 4.0.1
Jupyter notebook
Spark cluster on GCS

When I try to enable Pyarrow optimization like this:
spark.conf.set('spark.sql.execution.arrow.enabled', 'true)
I get the following warning:
createDataFrame attempted Arrow optimization because 'spark.sql.execution.arrow.enabled' is set to true; however failed by the reason below: TypeError: 'JavaPackage' object is not callable
I solved this problem by:

I printed the config of spark session:

import  os
from pyspark import SparkConf

spark_config = SparkConf().getAll()
for conf in spark_config:
    print(conf)

This will print the key-value pairs of spark configurations.

I found the path to my jar files in this key-value pair:
('spark.yarn.jars', 'path\to\jar\files')

After I found the path where my jar files are located, I printed the names of jars for Pyarrow, like this:

jar_names = os.listdir('path\to\jar\files')
for jar_name in jar_names:
    if 'arrow' in jar_name:
        print(jar_name)

I found the following jars:
arrow-format-0.10.0.jar
arrow-memory-0.10.0.jar
arrow-vector-0.10.0.jar

Then I added the path of arrow jars in the spark session config:
For adding multiple jar file paths, I used : as delimiter.
spark.conf.set('spark.driver.extraClassPath', 'path\to\jar\files\arrow-format-0.10.0.jar:path\to\jar\files\arrow-memory-0.10.0.jar:path\to\jar\files\arrow-vector-0.10.0.jar')

Then I restarted the kernel and Pyarrow optimization worked


iOS: App crash on iPad when pressed on “Don’t Allow” to camera service modal alert.

Describe the bug
As title my app just crash when pressed on “Don’t Allow” to camera service modal alert. Is anyone has the same problem?
Screenshots
This is my AppStore report review

Smartphone:

Device: [iPad]
OS: [iOS 16.4.1]

I believe you should use react-native-permissions to handle permission.

@nkqdev Have you been able to fix this bug now cos I have this same issue too?

@nkqdev Have you been able to fix this bug now cos I have this same issue too?

well i just disable my camera function for ipad until i find out a solution


[Bug report]: Sending x GLOW units of SMR resets it back to SMR

Platform
Desktop
Version
Firefly Desktop 2.0.0-beta-2.0.3
Description
For example sending 100 GLOW of SMR, then Firefly turns it into 100 SMR

Press SEND

The tx can be found in explorer: https://explorer.shimmer.network/testnet/transaction/0x1598bbe3591aeb43c21d8eebab8b935a2019f9d768d2baa13accbc618f26ebd3
Expected behaviour
It should sent 100 GLOW units of SMR, which is 0,00001 SMR.
Actual behaviour
It sends 100 SMR
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
See Description
Operating System
Windows
Diagnostics
No response
Developer Profile
Yes
Profile Type
Software (Stronghold)
Staking
No response
Crash Status
None of the above
Error Messages
No response
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

See also https://github.com/iotaledger/firefly/issues/4102

Resolved with:
https://github.com/iotaledger/firefly/pull/4103


Don't apply dynamic enforcement to empty types

Swift is currently using dynamic enforcement for variables of zero-sized type.  However, Swift does not actually guarantee that variables of zero-sized type have a meaningful address, so this can cause major problems with the enforcement mechanism.  The simplest fix is just to not use dynamic enforcement when a type is known to be zero-sized, which happens to coincide with the cases where we don't generate a meaningful address for them.
This is a change in the runtime behavior under dynamic enforcement.  It is implemented in a way that should only affect variables of zero-sized type.
Fixes rdar://32039394.
This is a low-risk change because it should always lead to fewer attempts to enforce exclusivity on empty types.  If there are gaps in the analysis here, the behavior might sometimes seem inconsistent, but it will at least be erring on the side of not diagnosing problems.
This change has been tested using regression tests on compiler output and by verifying that code which used to spuriously fail dynamically no longer does.

@swift-ci Please test.


Ping Hostname

I'd like to configure it to ping the hostname, not the IP.  This would allow our team to test network connections using the external IP.

Sure, I don't see why not. Feel free to send a PR!


Add service.runtime to the payload

In order to be consistent with the data model we should provide a value for service.runtime, further more this value could be used for a visualisation in UI. Could use a constant string like Browser for the value.

We have decided to not add this to the metadata payload for now since it does not really give useful information other than displaying browser in runtime.


Add random.Random to B311 checks

The lowercase random.random already matches random.Random on Windows as well
(due to being case-insensitive), but not on other platforms.
Resolves #926.

Hi! What's the status of this?
The inconsistency across platforms is inconvenient when running automated checks against multiple platforms.


MaterialXGraphViewer: time_float and frame_float do not have any effect

I believe this graph should make the resulting object change color from black to white in a triangle wave shape:

However, it currently doesn't do anything, or I can't figure out how I can "play" the file in MaterialXGraphViewer (either just let time progress, or be able to scrub/set time somehow).

There is no "play" functionality here nor in the web viewer. For the hardware case the u_frame shader uniform needs to be updated and bound as mentioned here

Then please consider it a feature request! – for realtime usage the "time" variable is quite oftenly used and I think it would be good to be able to test it in the easiest available "reference viewer".

Thanks for this report, @hybridherbst!  Since this is a missing feature in our GLSL code generation, I'd like to merge this request with https://github.com/AcademySoftwareFoundation/MaterialX/issues/1951, and we can clarify the broader nature of the feature request there.


Invalid status 6700 when using getFirmwareVersion() -(again)

I'm experiencing this issue using Nano S rel 1.5.5 and Win10
https://github.com/LedgerHQ/btchip-python/issues/40#issue-316989395
According to the thread above, this issue seems solved. Do you have suggestion to me?
Ledgerblue works perfectly.
I have problem in running the first test of btchip-python
Fabio

Can confirm this for me as well with version 1.5.5. I was able to still use Electrum 4.0.9 which uses this library to sign transactions though, so might be specific to getFirmwareVersion() function

Can confirm this for me as well with version 1.5.5. I was able to still use Electrum 4.0.9 which uses this library to sign transactions though, so might be specific to getFirmwareVersion() function

confirmed with latest version as well 1.6.1

confirmed with latest version as well 1.6.1


Error: Object does not exist in path "/".

When importing mnemonics with the command allorad keys add testkey -recover, this error message is displayed, Error: Object does not exist in path "/".

same issue

same issue

please see discord server for end user support, this is not the appropriate venue for these kinds of issues


[@react-native/community-cli-plugin] Added inference of watchFolders from NPM/Yarn workspaces

Summary:
When serving the Metro server from a mono-repo leveraging NPM or Yarn workspaces, the developer need to manually configure Metro to include the workspace root in the watchFolders (or projectRoot).
I'm aware the team might already be working on a solution for this, but I wanted to suggest this in case you hadn't started work on it or hadn't considered this approach.
Resolving the workspace root
I initially experimented with a solution using @npmcli/arborist to resolve the workspace root, but I stopped and implemented the getWorkspaceRoot function instead as soon as I realised the package only provided async APIs to load the "actual tree".
This PR suggests adding a getWorkspaceRoot function to resolve the workspace root, which supports NPM and Yarn workspaces. It use the same dependency to resolve globs (micromatch) which may occur in Yarn workspaces. I've double-checked that neither NPM nor Yarn supports workspaces outside of descendent folders, i.e. the root will always be in a parent directory of a package.
I've considered using existing packages to find the workspace root, but I wanted a solution that would be robust to malformed package.json files and thought the algorithm was simple enough to inline here. If the reviewer thinks this is not important enough, I can update the PR to use the find-yarn-workspace-root, which seem to be a fairly safe dependency to take on (with 2 mill. weekly downloads).
watchFolders vs projectRoot
The Metro config suggests using the projectRoot when configuring for a mono-repo:

If your Metro project is developed in a monorepo and includes files from multiple logical packages, you'll generally want to set projectRoot to the root of your repository, or at least high enough in the hierarchy that all relevant files are reachable without separately configuring watchFolders.

When you do this, the ./index entry-point is expected to be in the workspace root, which is definitely not desirable. I wasn't able to find a way to configure this back to using the original projectRoot passed by the user and found it would be simpler to just use the watchFolders for this use-case. I'd love some feedback on this decision.
Changelog:
[GENERAL] [ADDED] - Add a fallback for the watchFolders Metro config, automatically locating the NPM / Yarn workspaces root.
Test Plan:
I've tested this in an app locally and I've added a few tests to verify the implementation of getWorkspaceRoot.

Hey @kraenhansen  - love this in general as a pragmatic (but careful) default heuristic, thanks for the contribution.

The Metro config suggests using the projectRoot when configuring for a mono-repo: [...] I wasn't able to find a way to configure [the app entry point] back to using the original projectRoot passed by the user and found it would be simpler to just use the watchFolders for this use-case. I'd love some feedback on this decision.

I agree (see https://github.com/facebook/metro/issues/1016), - both approaches are valid and I don't think the advice in the Metro docs is the path of least resistance for typical single app Metro instances (the tradeoffs are different for running Metro standalone, serving multiple apps), but we haven't had chance to update those docs.

thought the algorithm was simple enough to inline here

👍

NPM / Yarn workspaces root

My main hesitation with this PR is introducing a split between support for Yarn/NPM workspaces vs pnpm workspaces - was this something you looked into? One possible complication is that if pnpm also supports nested roots we'd need to add the complication of Yaml parsing, but glob matching should be the same. I wouldn't say pnpm support is a blocker though.

I moved the implementation into the community-cli-plugin package and updated the changelog entry. If you're happy with the approach, I could continue by adding support for pnpm workspaces too (taking on a dependency of a yaml parser) or we could merge this and I'd be happy to do a follow-up PR for that.
@robhogan / @huntie: Do you have any thoughts on the use of watchFolders vs projectRoot as I've mentioned in the description of the PR.

Thanks again @kraenhansen! I'm happy for pnpm to be a follow-up.
Re watchFolders vs projectRoot, I mentioned that a bit above (more in the linked issue), but tldr I agree that customising watchFolders is the right approach for the RN template default.

I pushed support for an alternative way of declaring workspaces in Yarn.

I also got around to adding support for PNPM workspaces and I choose to add a dependency on yaml, since that was already used by @react-native-community/cli-doctor and in the yarn.lock ... now, I'll let the dust settle for you to properly review 😅

The tests pass locally if I patch metro-config by deleting the injection of the project root (see my comment above) and instead return configWithArgs early.
The injection is still happening, but now it has been moved into the community-cli-plugin:
https://github.com/facebook/metro/blob/18210320c0466499f7874abc26eac1fe60ec519c/packages/metro-config/src/loadConfig.js#L322-L334

Please keep this open, I'll rebase as I return from vacation🤞


Can't link to FlutterFire

We'd like to link to FlutterFire, a landing page for the new hotness.

Because we envision a day where flutter/plugins/packages/firebase_* becomes firebase/flutterfire , we may want to consider moving flutter/plugins/packages/firebase_* into flutter/flutterfire to make it easy to transfer later. BONUS: if we do that, the landing page for FlutterFire could be (for now) a Wiki page in flutterfire repo. Or a GitHub page on that repo.

This would not be practical engineering wise. Can you clarify what you are trying to do? Link from where to achieve what?

Things I want to achieve:

A structure to make it easy to hand FlutterFire over to Firebase.
A structure that makes it easy to contribute to FlutterFire.
An easy, engineering-friendly way to host a landing page for FlutterFire that is not on flutter.io.

A structure to make it easy to hand FlutterFire over to Firebase.

Moving a few folders from one repo (like flutter/plugins) to another (like firebase/flutter) is easy. We just moved these plugins from various other repos under flutter into the plugins repo.

A structure that makes it easy to contribute to FlutterFire.

We have that with the current. Plus it's a huge bonus for developers to easily locate examples of various plugin implementations, which flutter/plugins facilitates.

An easy, engineering-friendly way to host a landing page for FlutterFire that is not on flutter.io.

In your first comment you mentioned this could be a wiki page. Can't we just create a wiki page under flutter/flutter and then have a table of the various Firebase plugins ala:

Plugin
Firebase feature
Source code

firebase_analytics
Analytics
firebase_analytics

etc.
etc.
etc.

This could also be /flutter/plugins/FlutterFire.md.


fix: export SVG icon sprites to top-level dist

tsc was only building the icon name enums to dist, so I added a second path to build icons to. We do something similar with the design-tokens config
Before:

After:

you're right! Though if we switch to<EMAIL_ADDRESS>it works. I'd update node
version since it's dev only dependency :)
On Mon, Feb 11, 2019 at 9:01 PM Mike Perrotti<EMAIL_ADDRESS>wrote:

@mperrotti commented on this pull request.
In packages/icons/scripts/build.js
https://github.com/dcos-labs/ui-kit/pull/292#discussion_r255670989:

@@ -77,20 +86,22 @@ const writeEnum = (srcDir, iconSetName, idPrefix) => {

);
}
-if (!existsSync(buildDirPath)) {

mkdirSync(buildDirPath);

-}
+[buildDirPath, distDirPath].forEach(buildPath => {

mkdirSyncRecursive(buildPath);

That's strange. I wonder why it doesn't work on my machine 🤔
Did you remove the top-level dist directory before running npm run
build:svg?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dcos-labs/ui-kit/pull/292#discussion_r255670989, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALXb_HGOJxwSP_fLid_YzvinYj7SEQ-ks5vMcwLgaJpZM4aiMOf
.

--
Dmitrii Rozhkov
Software Engineer Frontend, Mesosphere

@nLight - the build failure seems to be related to the recursive option in mkdirSync. Should we upgrade Node in Jenkins, or change the script back to manually creating directories?

I will rebase my sloppy commits


[gardening] Remove unused argument otherArg in isFavoredParamAndArg(…)

Remove unused argument otherArg in isFavoredParamAndArg(…).
The argument otherArg was added in commit 49b833b.
This should probably be reviewed by @DougGregor.

@swift-ci please smoke test

@swift-ci please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - de2c9c64d07b66958703cb19a347f70330d0d8aa
Test requested by - @practicalswift

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - de2c9c64d07b66958703cb19a347f70330d0d8aa
Test requested by - @practicalswift

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - de2c9c64d07b66958703cb19a347f70330d0d8aa
Test requested by - @practicalswift

FWIW, I think the reported build failures are incorrect :-)

@swift-ci please smoke test OS X platform.

Yeah, we're good here.
⛵

Oops, thanks. There was an intermediate step that used that argument.


Add missing interaction date filter.

As in the title.

Codecov Report

Merging #615 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #615      +/-   ##
===========================================
- Coverage    96.49%   96.49%   -0.01%
===========================================
  Files          126      126
  Lines         3823     3822       -1
  Branches       329      329
===========================================
- Hits          3689     3688       -1
  Misses          95       95
  Partials        39       39

Impacted Files
Coverage Δ

datahub/search/interaction/views.py
100% <ø> (ø)
:arrow_up:

datahub/search/interaction/serializers.py
100% <100%> (ø)
:arrow_up:

datahub/company/models/company.py
96.96% <0%> (-0.04%)
:arrow_down:

datahub/search/company/serializers.py
98.94% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Bluetooth: Use the new l2cap socket address type

Summary
Update btsak application to use the new BTPROTO_L2CAP sockaddr_l2 struct instead of the generic one we had for Bluetooth before.
Impact
No change in functionality.
Testing
Tool works the same as before.

I imagine that this will fail the PR checks without the matching change to nuttx/?

I imagine that this will fail the PR checks without the matching change to nuttx/?

Yes

I imagine that this will fail the PR checks without the matching change to nuttx/?

Yes here https://github.com/apache/incubator-nuttx/pull/1666
I see there are some nxstyle issues with btsak so I will fix those up now.

Ok style fixes are in.

Okay, fails with:
btsak.h:74:22: error: field 'ep_sockaddr' has incomplete type
   74 |   struct sockaddr_l2 ep_sockaddr;    /* AF_BLUETOOTH endpoint address */
      |

I will have to merge this and apache/incubator-nuttx#1666 together and hope there will be no breakage.


fleet: 0.11.8 -> 1.0.0

Semi-automatic update. These checks were performed:

built on NixOS
found 1.0.0 with grep in /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0
found 1.0.0 in filename of file in /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0

@GrahamcOfBorg build fleet

Success on x86_64-darwin (full log)
Partial log (click to expand)
build-env: line 20: git: command not found
Not on Linux - skipping fleetd build
Building fleetctl...
go: disabling cache (/homeless-shelter/Library/Caches/go-build) due to initialization failure: mkdir /homeless-shelter: permission denied
installing
post-installation fixup
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/51bv965nfyf6sqc0ckwhdl8i1jrczhib-fleet-1.0.0/bin
patching script interpreter paths in /nix/store/51bv965nfyf6sqc0ckwhdl8i1jrczhib-fleet-1.0.0
/nix/store/51bv965nfyf6sqc0ckwhdl8i1jrczhib-fleet-1.0.0

Success on aarch64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/5kz0xk275mixqqxd75lqpnd2wpz6fjlm-fleet-1.0.0/bin/fleetctl
cannot find section .dynamic
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/5kz0xk275mixqqxd75lqpnd2wpz6fjlm-fleet-1.0.0/bin
patching script interpreter paths in /nix/store/5kz0xk275mixqqxd75lqpnd2wpz6fjlm-fleet-1.0.0
head: write error: Broken pipe
checking for references to /build in /nix/store/5kz0xk275mixqqxd75lqpnd2wpz6fjlm-fleet-1.0.0...
cannot find section .dynamic
cannot find section .dynamic
/nix/store/5kz0xk275mixqqxd75lqpnd2wpz6fjlm-fleet-1.0.0

Success on x86_64-linux (full log)
Partial log (click to expand)
cannot find section .dynamic
shrinking /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0/bin/fleetd
cannot find section .dynamic
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0/bin
patching script interpreter paths in /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0
checking for references to /tmp/nix-build-fleet-1.0.0.drv-0 in /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0...
cannot find section .dynamic
cannot find section .dynamic
/nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0


Add a readme and deprecation note for rescheduler

Since we are moving to priorty and preemption, we don't need rescheduler to move pods around to make room for new pods coming in.
/cc @bsalamat

Please ignore. The github UI confused me :(.


Applications Feature File - Integration Tests

Round trip application tests.

Create application
Opt-in
Use
Delete
... the
... other
... ones

Closing duplicate ticket


Book- and boilerplate-related tasks

upgrade packages (both book and boilerplate) - all chapters
(Next, Babel, React and more)
remove .babelrc, pass --presets=@babel/preset-env to dev and start script to compile server code - chapter 1
move Nprogress to withLayout HOC (book only) - chapter 3
add universal config runtime (book only) - chapter 8
add Google Analytics (book only) - chapter 8

Done with:

[x] boileplate
[x] book

Forgot to mention commit: 9fdca68


Support child projects android

Add support for generating dependency reports to repos with child samples, i.e., repos where the gradle files aren't in the root directory.

 I will submit new one with all changes (and updated to proper HEAD). Thanks for review!


WIP: Add rdf4j container

Codecov Report

Merging #34 (8cd1015) into master (5aa5164) will increase coverage by 1.90%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   52.36%   54.26%   +1.90%
==========================================
  Files          18       18
  Lines        1205     1207       +2
  Branches      215      215
==========================================
+ Hits          631      655      +24
+ Misses        557      534      -23
- Partials       17       18       +1

Impacted Files
Coverage Δ

cimsparql/graphdb.py
85.71% <100.00%> (+25.71%)
:arrow_up:

cimsparql/url.py
82.81% <100.00%> (+9.79%)
:arrow_up:

cimsparql/model.py
31.09% <0.00%> (+0.84%)
:arrow_up:

Continue to review full report at Codecov.

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


[Broken] TikTok not working

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running yt-dlp version 2021.08.10
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

yt-dlp -J https://www.tiktok.com/@thepetcollective/video/6990029249818266886?is_copy_url=1&is_from_webapp=v1 -v
[1] 19151
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 28, in <module>
    from CommandNotFound import CommandNotFound
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module>
    from CommandNotFound.db.db import SqliteDatabase
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
ERROR: Unable to extract json_string; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/yt-dlp/__main__.py", line 19, in <module>
  File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 750, in main
  File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 740, in _real_main
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2884, in download
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2908, in sanitize_info
AttributeError: 'NoneType' object has no attribute 'setdefault'

Description

I'm unable to download or get JSON data for TikTok videos. The verbose log has been pasted above.
What could be the issue?

Issue resolved.


change identification method to work with jQ2.2

needs testing with 1.x
fixed #26

thanks. this has been fixed using a different approach: https://github.com/protonet/jquery.inview/commit/be2769f8fc9b22587df2bc293b8dd94ef26e0888


Update Startup2.cs

Being more explicit with the naming of these variables allows for readers of the code to easily digest what the variable actually is and what it's purpose may be.
Related
#17504

@garyray-k  can you roll your 3 PR's into one PR?

I'll roll them all into one PR.

Merging several PRs into one.

@garyray-k  Thanks!

And go with @scottaddie  suggestion and use options.


Support images

I think being able to post images in the chat room would be an interesting use case with a lot of extra particularities on frontend to think about

@sebmor That's a great idea! It would require extra thinking/changes on both the frontend and backend. A good challenge to tackle


Export data to schematic

If the picture is not small, it will be easier to export the schematic right away to easily insert it into the world. This would be a great addition.
I think it's possible to use the python "mcschematic" module here.

Sounds like a great idea! I’m going to look into that for v1.2.0! But could you duplicate this to the Ideas section in Discussions?


Windows: Flags to cmd are now sent as two separate arguments

Docker build on master on Windows is currently broken due to PR #16538, this fixes the regression.
Signed-off-by: Darren Stahl<EMAIL_ADDRESS>

big +1 I asked about this before but was told to not worry  :-)
LGTM

:pensive: I cannot wait to have those integration tests running on windows servers.
LGTM


Overall plan for cytokine production, secretion, biosynthesis terms

Outcome of a discussion with @addiehl and @RLovering:
Overall plan for cytokine production, secretion, biosynthesis terms:

We plan to move 'regulation of x production' terms under 'regulation of gene expression'  #19116
Merge 'x secretion' and 'regulation of x secretion' into 'regulation of x production' (annotations first need to be reviewed) #19117
Merge 'x production' into 'regulation of x production' (annotations first need to be reviewed)
Merge 'x biosynthesis' into 'regulation of x production' (~annotations first need to be reviewed~  We will not review annotations as biosynthesis encompasses production)
Add 'x processing' terms as needed (for proteases), under 'GO:0016485 protein processing' . (We may find we need to create other BPs when we do the annotation reviews)

I'll create tickets for each of those tasks
Thanks, Pascale

I realized a key problem with merging 'x production' into 'regulation of x production' today as I worked on the Cell Ontology.  The CL needs GO terms terms such as 'interferon-gamma production' so we can make logical definitions like 'T-helper 1 cell' capable_of some 'interferon-gamma production'.
There are currently 145 cell ontology classes that match the DL query
cell and 'capable of' some 'cytokine production'
So it will be better to mark 'x production' terms as do not annotate, rather than merging them.
Alex

[ ] added 'gene expression' as a parent of  'GO:0002440 production of molecular mediator of immune response'
[x] added 'do not annotate' flag on all children of  'GO:0002440 production of molecular mediator of immune response'
[ ] added a note : Note that this term is in the subset of terms that should not be used for direct gene product annotation. Instead, select one of the 'regulation' children terms.

@RLovering @addiehl
It would be nice to review the comments (see 4th point in the comment just above), and standardize the definitions of the production terms: We have either:  "The synthesis or release of platelet activating factor following a stimulus, resulting in an increase in its intracellular or extracellular levels. " (GO:0002390; platelet activating factor production), or "The appearance of a cytokine due to biosynthesis or secretion following a cellular stimulus, resulting in an increase in its intracellular or extracellular levels."  (GO:0001816  cytokine production).
It seems the first definition is more concise; maybe we should opt for that for all the terms ?
Thanks, Pascale

Also - removed parent 'protein metabolic process' from 'cytokine production'

sorry to open this again, but if you remember there were a few cytokines that are activated by processing. So I have an alert on CASP1 which is involved in https://pubmed.ncbi.nlm.nih.gov/15882992/ states caspase-1 mediates the maturation of inflammatory cytokines IL-1β and IL-18.
So I would like to annotate caspase-1 CASP1 as involved in interleukin-1 beta production rather than annotating it as positively regulating interleukin-1 beta production.
CASP1 P29466 is already associated with signaling receptor ligand precursor processing and cysteine-type endopeptidase activity with IL1beta in the AE field, but obviously this does not indicate that it is involved in IL1beta production.
I believe with Alex we came up with a list of cytokines that require processing and I thought that the BP GO terms for these cytokines would be available for inclusion in annotations. But perhaps I misremembered this - sorry if this is the case.
Thanks
Ruth

@RLovering Can you use this as an extension ?
CASP1 involved in protein processing/maturation part of protein production ?
This would be allowed for 'do not annotate' terms.
Thanks, Pascale

Generally though, if we go this way, we should create a new term, 'protein production', and put 'protein maturation' under this term.
Thoughts ?

How will those terms differ from the current terms  GO:0019538 protein metabolic process "The chemical reactions and pathways involving a protein. Includes protein modification." and its child  GO:0036211 protein modification process "The covalent alteration of one or more amino acids occurring in proteins, peptides and nascent polypeptides (co-translational, post-translational modifications). Includes the modification of charged tRNAs that are destined to occur in a protein (pre-translation modification)."? Note that  GO:0006412 translation is a grandchild of GO:0019538 protein metabolic process.

How will those terms

Which terms ? maturation and processing already exist.

GO:0019538 protein metabolic process includes proteolysis, so it's not equivalent to production.
protein biosynthesis is named translation, and the process Ruth describes is not part of translation.

Talking with @RLovering
The term she was looking for is GO:0140447 cytokine precursor processing

add synonym:

interleukin processing NARROW
interleukin maturation NARROW


Upgrading to 0.0.52 - Type error when building ChatAgent.fromLLMAndTools

Per the upgrade docs, the import needs to be updated.  You also receive a console log warning.
[WARN] Importing from 'langchain/chat_models' is deprecated. Import from eg. 'langchain/chat_models/openai' instead. See https://js.langchain.com/docs/getting-started/install#updating-from-0052 for upgrade instructions.
My code:
import { ChatOpenAI } from "langchain/chat_models";
import { ChatAgent, AgentExecutor } from "langchain/agents";
...

const agent = ChatAgent.fromLLMAndTools(
  new ChatOpenAI({
    openAIApiKey: openAIKey,
    temperature: 0.9,
    callbackManager: CallbackManager.fromHandlers({
      async handleLLMNewToken(token: string) {
        controller.enqueue(new TextEncoder().encode(token));
      },
    }),
  }),
  tools
);

Changing the import to: import { ChatOpenAI } from "langchain/chat_models/open";
Triggers this type error when calling fromLLMAndTools:
Argument of type 'ChatOpenAI' is not assignable to parameter of type 'BaseLanguageModel'.
Property 'caller' is protected but type 'BaseLanguageModel' is not a class derived from 'BaseLanguageModel'.ts(2345)

NextJS 13.3.0
I also tried the basic example here and run into the same type error.

import { ChatOpenAI } from "langchain/chat_models/open";
Use openai instead of open