A little guidance?

I have to say I am absolutely impressed with all they people working to make living with diabetes even as little easier.
My wife was diagnosed Nov 2014, she just got her Vibe pump with built in G4, no share, we don't have that in Canada. I have to use xDrip Wireless bridge add the receiver did not come with it ($700 to buy). My question is this, will I be able to check her bg if I have set up installed on my phone? Do I have to set up Night Scout in order to view the cgm on pebble watch? I have been searching all over and I haven't found the answers yet.  This is what I am hoping to have accomplished after building the bridge:
Wife can check her bg on phone or pebble
I can check her bg on my phone or my pebble
Is the bridge the only thing I need paired with the app?
Thanks for your help in advance.

I am very sorry, I didn't realize how much my phone corrected words incorrectly...I can't figure out how to edit my post.

Hey!
No worries, so the bridge would let your wife see her own numbers.
Then it can upload to either a nightscout site or the dexcom share servers,
then you can follow it on your own phone with nightscout or the nightwatch
app.
The pebble cgm in the cloud watch face would require a nightscout site
(last I checked) and there are other watch faces you could use to work with
xdrip directly.
Plenty of options, most should be able to work with one another, usually
nightscout is the center of it as its where the data is most often stored!
On Mon, Mar 28, 2016, 9:03 PM Tatt2edone<EMAIL_ADDRESS>wrote:

I am very sorry, I didn't realize how much my phone corrected words
incorrectly...I can't figure out how to edit my post.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/StephenBlackWasAlreadyTaken/wixel-xDrip/issues/46#issuecomment-202650763

We don't have Dexcom share in Canada yet, so I assume that we couldn't use them. I was hoping honestly I could bypass the setting up a night scout server. But at least she could use her watch instead of pulling her pump out to check cgm.
Thanks for replying so quick. I will hopefully have all my parts in the next couple weeks, shipping from China can be slow, it's the only place I have found the bt module.

You don't need an actual dexcom share, just an account with dexcom (and it
will upload to their share servers)
They aren't as nice and feature filled. But you can send data up with xdrip
and get it back with nightwatch just fine if that's your only goal! A bit
more delay on the nightwatch side, but it works!
I don't remember if any dexcom account works or if it has to be made while
on a VPN to connection to a US ip address. Sorry!
On Mon, Mar 28, 2016, 9:19 PM Tatt2edone<EMAIL_ADDRESS>wrote:

We don't have Dexcom share in Canada yet, so I assume that we couldn't use
them. I was hoping honestly I could bypass the setting up a night scout
server. But at least she could use her watch instead of pulling her pump
out to check cgm.
Thanks for replying so quick. I will hopefully have all my parts in the
next couple weeks, shipping from China can be slow, it's the only place I
have found the bt module.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/StephenBlackWasAlreadyTaken/wixel-xDrip/issues/46#issuecomment-202653999


Bad value in VIRTUAL_PATH causes template failure, which causes container to exit

I'm using nginx-proxy with a custom template to map ports from docker containers to paths on the front end via a VIRTUAL_PATH environment variable that specifies a path on the front end and the port inside the container.
E.g., I might start up a container that has Jenkins running inside that's listening on port 8080.  I'd like that visible at /moose/jenkinses/foo.  I'd specify VIRTUAL_PATH=/moose/jenkinses/foo:8080.
Here's the bit of the template that does the work (the rest is stolen from your examples):
server {
  server_name _; # This is just an invalid value which will never trigger on a real hostname.
  listen 80;
  access_log /var/log/nginx/access.log vhost;

  {{ range $port_path, $containers := groupByMulti $ "Env.VIRTUAL_PATH" "," }}
    {{ $info := split $port_path ":" }}
    location {{ index $info 0 }} {
      {{ range $index, $value := $containers }}
        {{ $network := index $value.Networks 0 }}
        proxy_pass http://{{ $network.IP }}:{{ index $info 1 }};
      {{ end }}
    }
  {{ end }}
}

If "someone" screws up and provides an VIRTUAL_PATH that only contains a hostname (they forget the port) then the {{ index $info 1 }} reference causes an error and the container ends up exiting.
dockergen.1 | 2017/04/13 16:20:23 Template error: template: nginx.tmpl:73:47: executing "nginx.tmpl" at <index $info 1>: error calling index: index out of range: 1

Questions:
Ideally I'd like to continue proxying the other containers that are running and just report an error for the problematic container.

Is there something I can do in the template that will make this more robust (I'm a go template neophyte)?

Is there something that docker-gen or nginx-proxy can do to be more robust in cases like this?

docker-gen fills up naively templates, there is no warranty that the produced configuration will work if the data provided to the template is broken. You might find that a tool such as Træfik is more suited for a production environment.

I started off with Traefik but found docker-gen easier to understand.  Perhaps I need to switch back.
My problem is not that the resulting configuration doesn't work, it's that the error in the template expansion causes docker-gen to exit and the entire container goes away.
I wonder if there's a way to check that the split I do actually produces a pair of values in $info so that the template doesn't try to access a non-existent value?

That's the pain of being limited to the few functions the template syntax offers. Looking at the functions provided by docker-gen, I can't find a way to count elements :/

Would it be safer for docker-gen to refuse to replace the previous configuration if the template generation produces an error?


decouple state management

Has anyone tried decoupling the state management so can just use/maintain specifically for that? Thanks :-)

try refreshed


reference: rewrite various tests to use subtests

This replaces the "self-made" subtests with native Go subtests, which makes sure that all test-cases are ran (instead of failing early), and helped with debugging (allows for individual tests to be run).

⚠ for reviewers; the diff is easier to read with whitespace changes ignored; use this link; https://github.com/distribution/distribution/pull/3786/files?w=1

@milosgajdos @corhere @deleteriousEffect ptal 🤗

Adding t.Parallel() is probably an option yes. TBH, I didn't optimise for performance yet in this one; this change was mostly led by me working on https://github.com/distribution/distribution/pull/3789, where the old tests were a huge pain, because it would fail the whole test on the first failure, which made troubleshooting difficult ("fix the failing test" .. oh .. there's another test failing ... "oh, and another one"). Having the subtests allowed me to pinpoint which ones failed (or run them separately).

Pushed a commit to use t.Parallel() where possible.

@corhere updated; PTAL 🤗

@milosgajdos good to go?


Repeated runnable instances on the same queue

Hi Daniel, great library and thanks for all support!
I've faced before multiple process running the same workflow, which was solved using a lock manager.
But recently I've noticed that in very rare occasions, a workflow is ran twice with the same process. One thing that I noticed from the logs is that they were dequeued at the exact same time, which makes me think that it's possible to queue the same workflow more than one time.
I didn't manage to create a reproducible test for this, so I was wondering if you have any thoughts or possible reasons that might lead to this issue.
Thanks

Just an example of the logs that I got:
[2019-07-31T15:46:51.881] [INFO] default - pollRunnables  - now =<PHONE_NUMBER>881
[2019-07-31T15:46:51.905] [INFO] default - Dequeued workflow 8a249a40-b3c3-11e9-8ac5-3d90a9ee0fb3 for processing
[2019-07-31T15:46:51.906] [INFO] default - Dequeued workflow 8a249a40-b3c3-11e9-8ac5-3d90a9ee0fb3 for processing
[2019-07-31T15:46:51.917] [INFO] default - Execute workflow: 8a249a40-b3c3-11e9-8ac5-3d90a9ee0fb3
[2019-07-31T15:46:51.923] [INFO] default - Execute workflow: 8a249a40-b3c3-11e9-8ac5-3d90a9ee0fb3
So one execution of the poll worker dequeued 2 workflows with the same id

that can happen, which is why we have a lock manager to prevent duplicate running of workflows.

ohhhh, I didn't realize that the default lock manager (SingleNodeLockProvider) handles this specifically use case... got it! I'll account for that in my DB lock manager...
Thanks


Provide a method to get the URL of a static map image

Related to https://github.com/CartoDB/cartodb/issues/10822.
CartoDB.js should provide a way to get the URL of an static image of the map. The Static Maps API provides this functionality. We'll basically need to generate something like:
.../api/v1/map/static/center/{token}/{z}/{lat}/{lng}/{width}/{height}.{format}

The new method should accept the following arguments:

Center (lat and lng)
Zoom
Format (.png or .jpg)
Size in pixels (width x height).

We can provide some default values to make some of them optional.
Tasks/requirements:

[x] Base (tiled and plain) and labels layers should be sent to the Maps API so that they can be included in the image.
[x] When tiled/plain layers change, map should be instantiated again.
[x] When tiled/plain layers are added/removed from the map, it should be instantiated again.
[x] Image url must include authentication params (api_key / auth_token)
[x] Image should not include hidden layers

cc: @javierarce

As part of this issue, the Static Maps API should accept a parameter to specify the layers that are included in the image (by index). CartoDB.js needs this so that the URL points to an image that only includes visible layers (cc: @rochoa).

Passed to acceptance, being tested in cartodb/cartodb#10822-export-image branch.

Acceptance passed! 💃 . Moved to deploy, and it will be done when it is deployed here.

💃


How to run an example download ?

For instance, I put this in the terminal: "./bin/youtube-multiple-dl --start --worker_number 3 -add https://www.youtube.com/watch?v=Y7RnH6bnGHc" and what I have now is:
[Worker(host:eftvpc pid:3693)] Starting job worker
I, [2017-10-15T08:21:30.694703 #3693]  INFO -- : 2017-10-15T08:21:30+0200: [Worker(host:eftvpc pid:3693)] Starting job worker
[Worker(host:eftvpc pid:3697)] Starting job worker
I, [2017-10-15T08:21:30.769431 #3697]  INFO -- : 2017-10-15T08:21:30+0200: [Worker(host:eftvpc pid:3697)] Starting job worker
[Worker(host:eftvpc pid:3695)] Starting job worker
I, [2017-10-15T08:21:30.778788 #3695]  INFO -- : 2017-10-15T08:21:30+0200: [Worker(host:eftvpc pid:3695)] Starting job worker
...and nothing happens, it just works.. but does'nt do anything, just it is..
What is the good example of how to run this ?

Ok I got it.
There is one closed "issue", a girl wanted to know how to run this.
First we have to add something on the list, so ex.:
./bin/youtube-multiple-dl -add https://vimeo.com/149517356
./bin/youtube-multiple-dl -add https://vimeo.com/149517349
We can check what's on our list: ./bin/youtube-multiple-dl --list
And then we have to start it, so: ./bin/youtube-multiple-dl --start --worker_number 2
"worker_number" is 2, so these two downloads are being downloaded simultaneously.


No timeout policy for initial connections

The storage client library does not set any timeouts for the initial connection, so it just inherits whatever timeouts libcurl has.

This is invalid, not the problem reported by our customer.


DaemonSet for all-in-one

During the review of #75, it has been suggested that the all-in-one template could also be deployed as a DaemonSet. As this is "all-in-one", it would require the single pod to run as DaemonSet.
This issue is to gather thoughts and suggestions.
cc @pavolloffay, @pieterlange, @ledor473

The reason I asked for this is to simplify migration from all-in-one to production deployment.


log less in GooglePubSubSender healthchecks

instead of logging a message every time the healthcheck is successful,
only log the "is healthy" message when the state is transitioning from
not-healthy to healthy.

@rohansingh @davidxia @gimaker

Current coverage is 51.66% (diff: 75.00%)

Merging #1071 into master will decrease coverage by 0.05%

@@             master      #1071   diff @@
==========================================
  Files           275        275
  Lines         13105      13107     +2
  Methods           0          0
  Messages          0          0
  Branches       1695       1696     +1
==========================================
- Hits           6778       6772     -6
- Misses         5824       5831     +7
- Partials        503        504     +1

Powered by Codecov. Last update 63217d4...80eda84


Fix displaying date in full format

Hi @ZatolokinPavel, sorry for taking so long to revise this pull request and thank you for your contribution!
If I understand correctly, your commit will assign isDateOnlyFormat a false if the date in the data point is a JavaScript date. If that is the case, then I do not understand what your commit fixes. Let me explain.
In the full data format, e.g. with a date defined through a string like "2016-12-19 05:51:19", the statement !(d1[0] instanceof Date) would evaluate to true, since the string is not a JavaScript date instance. In this case, your fix would not change anything.
However, when the script goes through your data a second time, for example after resizing the page if I am not mistaken, the statement !(d1[0] instanceof Date) would evaluate to false, and we would jump to your "else" bracket, setting isDateOnlyFormat = false. However, before this is done isDateOnlyFormat should already have the correct value for the dataset.
When isDateOnlyFormat is null, e.g. when the script runs for the first time, then it is assigned true. The variable gets overwritten if conflicting information is found in the dataset, see here:
            } else if (parseDateTimeRegEx.test(d1[0])) {
              // d1[0] is date with time data
              d1[0] = parseDateTime.parse(d1[0]);
              isDateOnlyFormat = false;
            }

Following your commit, we would just set isDateOnlyFormat to false, independent of what its previous state had been. If I am correct, then you would see the full date (date and time) displayed in a dataset which has only date data, e.g. you would see something like "2016-12-19 00:00:00" instead of "2016-12-19" in the graph.
Unless I am missing something here, this behavior is undesired.
I will leave this pull request open until I have an answer for you. Once again, thank you for your contribution!

Hey, @ZatolokinPavel, I have not heard from you on the request in almost a year. For this reason I will close it now.


No error crash, just a never ending pause

Bug description
Notebook - https://www.kaggle.com/code/vigneshwar472/baseline-residualunetse3d
Github repo (ResidualUNetSE3D implementation) - https://github.com/wolny/pytorch-3dunet/tree/master
Issue - Training starts on 1x P100 GPU but it does not start on 2x T4 GPU
I want to use 2 GPUs simultaneoulsy for training (ddp_notebook strategy) But I do not know, training does not start and 2 GPUs were not in use
I have no idea "why it's not working".
Check the error messages and logs section.
What version are you seeing the problem on?
v2.4
How to reproduce the bug
Go the Kaggle Notebook https://www.kaggle.com/code/vigneshwar472/baseline-residualunetse3d-train

Copy & Edit
Run All
You will encounter a never ending pause

Error messages and logs
When used with 2x T4 GPUs
n = len(folds)

for i in range(n):
    print(f'fold {i} started....')
    model = ResidualUNetSE3D(in_channels=1, out_channels=6)
    lm = CZIILightningModule(model=model)
    logger = CSVLogger(save_dir='/kaggle/working/training_results', name=f'fold_{i}')
    trainer = Trainer(accelerator='gpu',
                     strategy='ddp_notebook',
                     devices=2,
                     precision='32',
                     gradient_clip_val=None,
                     logger=logger,
                     max_epochs=15,
                     enable_checkpointing=True,
                     enable_progress_bar=True,
                     enable_model_summary=False,
                     inference_mode=True,
                     default_root_dir='/kaggle/working/training_results',
                     num_sanity_val_steps=0)
    trainer.fit(model=lm,
                train_dataloaders=DataLoader(folds[i][0], batch_size=1, num_workers=4, shuffle=True),
                val_dataloaders=DataLoader(folds[i][1], batch_size=1, num_workers=4, shuffle=False))
    del model, lm, logger, trainer
    print(f'fold {i} completed....')

When used with 1x P100 GPU

Environment
Please go the kaggle notebook and run it
More info
No response

May be there is some serious issue with strategy='ddp_notebook'


Arrow for arch linux and R

Describe the bug, including details regarding any error messages, version, and platform.
Hi. The currently available pkgbuild for arch linux version is 10.0.1-8, and it has been flagged out of date. I need to use arrow on R and I tried installing it with the variable ARROW_USE_PKG_CONFIG=false'. The installation failed with error. Are you going to update the pkgbuild soon? If not, how can I install the latest version?
System info:
`R version 4.3.0 (2023-04-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: EndeavourOS
Matrix products: default
BLAS:   /usr/lib/libopenblas.so.0.3
LAPACK: /usr/lib/liblapack.so.3.11.0
locale:
[1] LC_CTYPE=en_US.UTF-8    LC_NUMERIC=C            LC_TIME=C               LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8    LC_NAME=C
[9] LC_ADDRESS=C            LC_TELEPHONE=C          LC_MEASUREMENT=C        LC_IDENTIFICATION=C
time zone: America/Mexico_City
tzcode source: system (glibc)
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
loaded via a namespace (and not attached):
[1] utf8_1.2.3       R6_2.5.1         tidyselect_1.2.0 magrittr_2.0.3   glue_1.6.2       tibble_3.2.1
[7] pkgconfig_2.0.3  dplyr_1.1.2      generics_0.1.3   lifecycle_1.0.3  cli_3.6.1        fansi_1.0.4
[13] vctrs_0.6.2      compiler_4.3.0   rstudioapi_0.14  tools_4.3.0      pillar_1.9.0     rlang_1.1.1     `
Error:
https://codefile.io/f/scan4FR8El
Component(s)
R

Arch Linux package: It's not maintained by us. Please contact to Arch Linux packagers or send a patch to Arch Linux: https://archlinux.org/packages/extra/x86_64/arrow/
Build from source error: You need more disk space:
1236   No space left on device.

Thanks! I missed that one. I solved it increasing temporarily the /tmp/ size with mount -o remount,size=10G /tmp/ and running install.packages('arrow', configure.vars =  'ARROW_USE_PKG_CONFIG=false') again. Closing it now.

FYI setting NOT_CRAN=TRUE in additon to ARROW_USE_PKG_CONFIG=false makes it so that the package will download a prebuilt arrow cpp binary with matching version  and only build the R package bits.


Concrete Definitions for ROS variants

I would like to include a comps.xml file in the RPM repositories that defines RPM groups for each ROS variant. Doing so will integrate with the GUI to the package manager a little more nicely.
I have found the metapackage repository [1] and the various REPs which define them [2], but is there a more clear definition that these packages are generated from? Possibly a YAML file somewhere?
If not, is there any reason that they couldn't be committed to this repo for each distro?
Thanks,
--scott
[1] https://github.com/ros/metapackages
[2] http://www.ros.org/reps/rep-0142.html

The metapackages and their dependencies are not generated but manually maintained.
I don't follow what files you want to add but metapackages can not install any additional files within their CMake.

They're completely defined with https://github.com/ros/metapackages. I would recommend you add the installation of the comps.xml as a fedora specific patch in the release repository for the metapackages repository: https://github.com/ros-gbp/metapackages-release

Sorry, let me be more clear.
The comps.xml resides with the repository metadata server-side - it isn't packaged for distribution, it is downloaded with the rest of the repo metadata. My goal is to write some python to generate the comps.xml programmatically based on the ROS variants, but I don't have any concrete sources for the data besides parsing the package.xmls from https://github.com/ros/metapackages.
What would be awesome is to see the YAML examples from http://www.ros.org/reps/rep-0142.html (and others) checked into this repo.
--scott

I would rather not create a third location where the variants are listed - it is already in the REP and the package manifest files. why not use the information from the package.xml files? There is a Python library doing the parsing for you and it should take less then a dozen lines of Python code.

I see, I would still just process the package.xml's of the metapackages in the metapackages repository. There is (should be) a one-to-one mapping of what is described in REP-0142 and what's in the package.xml's in that repository. Please let us know if it isn't.
If you need to walk dependencies of the package.xml's recursively, you can have a look at my script that tries to estimate what's missing for those variants in Jade which create this wiki page:
http://wiki.ros.org/jade/Planning/Maintenance
The script, along with some others, is located here:
https://github.com/ros-infrastructure/ros.org_scripts/blob/master/wiki.ros.org/jade_metapackage_status.py

Thanks, @wjwwood. I'll use that to generate the comps.xml then.
I was hoping that this was checked in somewhere and that the metapackages repo was generated from more concrete data, but if the metapackages repo really is the "source", I'll extract the information from there. It does seem sort-of roundabout, however.
Thank you both!
--scott


npm test error Executed 0 of 0 ERROR

Hello
npm install was ok but when i try to run test I have this error
npm test

<EMAIL_ADDRESS>test C:\xampp\htdocs\projects\ngx-admin
ng test -sr

10% building modules 1/1 modules 0 active23 12 2017 08:52:24.808:INFO [karma]: Karma v2.0.0 server started at http://<IP_ADDRESS>:9876/
23 12 2017 08:52:24.808:INFO [launcher]: Launching browser Chrome with unlimited concurrency
23 12 2017 08:52:24.808:INFO [launcher]: Starting browser Chrome                                                                                23 12 2017 08:53:12.849:INFO [Chrome 63.0.3239 (Windows 10 0.0.0)]: Connected on socket aeCXCZrY5yvK0iZrAAAA with id 20468650
Chrome 63.0.3239 (Windows 10 0.0.0): Executed 0 of 0 ERROR (0.02 secs / 0 secs)
npm ERR! Test failed.  See above for more details.
any idea?
Thank you

This problem happens on mac OS X 10.13.5 with Chrome 67.0.3396 as well.
The problem still occurs even if you upgrade all of the karma* packages to the latest major versions.
npm run test:coverage is also broken due to the same problem.

Hey Guys, can someone consolidate a reproducible example?

git clone git@github.com:akveo/ngx-admin ngx-admin-test
cd ngx-admin-test
git checkout starter-kit
npm install
npm run test
10% building modules 1/1 modules 0 active(node:10196) DeprecationWarning: Tapable.plugin is deprecated. Use new API on '.hooks' instead
30 06 2018 09:26:33.182:INFO [karma]: Karma v1.7.1 server started at http://<IP_ADDRESS>:9876/
30 06 2018 09:26:33.184:INFO [launcher]: Launching browser Chrome with unlimited concurrency
30 06 2018 09:26:33.188:INFO [launcher]: Starting browser Chrome                                                                                30 06 2018 09:26:37.108:INFO [Chrome 67.0.3396 (Windows 10.0.0)]: Connected on socket WzOeXYKmoQPHR2zCAAAA with id 28806449
Chrome 67.0.3396 (Windows 10.0.0): Executed 0 of 0 ERROR (0.006 secs / 0 secs)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test: 'ng test'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\dave.pollastrini\AppData\Roaming\npm-cache\_logs\2018-06-30T16_26_38_615Z-debug.log

Log file content:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'test' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'pretest', 'test', 'posttest' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\dave.pollastrini\git\ngx-admin-test\node_modules\.bin;C:\Program Files\Docker\Docker\Resources\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\nodejs\;C:\WINDOWS\System32\OpenSSH\;C:\Users\dave.pollastrini\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Microsoft VS Code\bin;C:\Users\dave.pollastrini\.dotnet\tools;C:\Users\dave.pollastrini\AppData\Roaming\npm;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
9 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\Users\dave.pollastrini\git\ngx-admin-test
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'ng test' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec test script
13 verbose stack Error<EMAIL_ADDRESS>test: `ng test`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd C:\Users\dave.pollastrini\git\ngx-admin-test
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "test"
18 verbose node v8.11.2
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>test: `ng test`
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>test script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Version info:
ng --version
Your global Angular CLI version (6.0.5) is greater than your local
version (6.0.0). The local Angular CLI version is used.


Discord bot token

I just made an Github account to ask this. But is there a way to use this program through the discord OAuth2 instead of using my email and password? I'm not that great at coding, but if you are able give some workaround for windows / Linux i would appreciate it greatly. Sorry if this question has be asked before.

I'm wondering this as well. I feel like it would be very convenient, especially if self-bots are prohibited. We can basically only use this program once every so often in order to keep our account from getting banned

I had to do a bit of digging because the token directions had changed, but as of right now, the token directions here seemed to work, except I had to look in 'experimental-application' in the last step

there is no way that works
thats what OAuth2 is for to prevent that
thats why you need to use the token
look at the video the maker made and you will see how you get the token @minakitty


LDC: Control Flow Graph Mode

I just discovered the control flow graph mode, pretty nice.
How much effort is it to enable that for LDC? Because the backend is LLVM, the asm output is (almost) the same as Clang's.
Cheers!

@cppchedy - any thoughts on this?

https://github.com/mattgodbolt/compiler-explorer/blob/master/lib/cfg.js#L144
Perhaps try this? ;-)
- if (compiler.includes("clang"))
+ if (compiler.includes("clang") || compiler.includes("ldc"))

didn't have a look at the output but from your quote

the asm output is (almost) the same as Clang's.

it should be easy enough, I will investigate more and make changes.
look at  lib/cfg.js it contains all the predicates in clangX86.

(same for Rust, and other LLVM-backed compilers, I reckon)

yes I looked at Rust so it's basically the same. you need to provide a predicate for function name. that's the only difference but I will try to work sth for the other compilers soon enough.

Instead of that, perhaps push it onto the compiler object it self to declare its "type" then we don't have to keep updating that if statement if we want to support a new compiler that supports new features.

yes! I need to make addition of new compiler/langs easier.

would be cool if you could also show the CFG for LLVM IR.... ;-)

@JohanEngelen I didn't think about that, and I don't know if it's feasible giving the current setup.

Implemented for LDC in #868


Is it possible to use icons other than Font Awesome for the toolbar buttons?

We are using MudBlazor and the icons from that toolkit.  Is it possible to use those icons instead of Font Awesome so that we don't have to include another icon package?

I'm planning to add this feature in the next release quite soon. Today, I updated the full repository. There is a new EasyMDE managed by myself.  There is a lot of fixes in this new version.


visualization module should be namespaced

When namespacing a module, the most important part is ensuring that calls to mapActions, mapState, mapGetters, and dispatch are handled correctly. I've provided a few examples below.
https://github.com/KitwareMedical/paraview-medical/blob/master/src/components/VtkTwoView.vue#L73 is a mapState() call that accesses visualization.worldOrientation. This technically still works regardless of whether the module is namespaced, but we can be more succinct by rewriting it to be the following:
...mapState('visualization', ['worldOrientation', ...]),

In the same file, we have mapped actions here: https://github.com/KitwareMedical/paraview-medical/blob/master/src/components/VtkTwoView.vue#L479. Actions from un-namespaced modules are registered globally, but with namespaced modules we must make the appropriate mapActions invocation:
...mapActions('visualization', ['setWindowing', 'setSlices']),

Generally for the map* family of vuex functions, you want to (1) see if the mapped properties are part of the visualization module, and (2) make a call to map<State|Actions|Getters>('visualization', ...).
Finally, we have dispatches. Generally I don't think I have any store.dispatch() call that calls a visualization action, but if you ever get an error complaining about some action not existing, then it's probably a visualization action and the corresponding dispatch call should look like dispatch('visualization/<action_name>').


Roll Engine from e7939e091e2c to 572d02d58128 (5 revisions)

https://github.com/flutter/engine/compare/e7939e091e2c...572d02d58128
2021-04-29<EMAIL_ADDRESS>Enable JIT memory protection on macOS (flutter/engine#25819)
2021-04-28<EMAIL_ADDRESS>Roll Skia from 65d7ab2c074a to 958a9395e6ca (2 revisions) (flutter/engine#25825)
2021-04-28<EMAIL_ADDRESS>Fix and re-enable flaky test MessageLoopTaskQueue::ConcurrentQueueAndTaskCreatingCounts. (flutter/engine#25826)
2021-04-28<EMAIL_ADDRESS>Roll Skia from 27c4202f4bd6 to 65d7ab2c074a (1 revision) (flutter/engine#25823)
2021-04-28<EMAIL_ADDRESS>Roll Dart SDK from 1e3e5efcd47e to 8bab67dad50b (8 revisions) (flutter/engine#25822)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


⚠ ClamAV has degraded performance

In 8de461d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 50 ms

Resolved: ClamAV performance has improved in b9278d7.


Added division by zero check - fixes #32

If the song result is empty it will skip it

This PR includes the changes from #38

My bad I'll fix the pr


Update x11rb to v0.12

This updates x11rb to v0.11.
This increases the MSRV from v1.46 to v1.56. Which should be fine because the MSRV for image is also 1.56.
Waiting for a new release of wl-clipboard-rs with https://github.com/YaLTeR/wl-clipboard-rs/commit/71b6df79ff95159342a280f6769ee688f800ddec.

This is ready now again.
Unfortunately we have a new duplicate dependency now: bitflags.

https://github.com/image-rs/image-png/pull/400
https://github.com/servo/core-foundation-rs/issues/633 -> https://github.com/servo/core-foundation-rs/pull/631
https://gitlab.redox-os.org/redox-os/syscall/-/issues/34
wayland-* needs to upgrade nix to v0.27 or move to rustix: https://github.com/Smithay/wayland-rs/issues/653 -> https://github.com/Smithay/wayland-rs/pull/658
x11rb needs to release a new version with their move to rustix: https://github.com/psychon/x11rb/issues/770 (https://github.com/psychon/x11rb/pull/815)

Thanks for updating this PR again! Regarding the bitflags update, I don't see it as problematic for merging. Its the first semver incompatible change they've made in a long time and the rest of the crate ecosystem is working through it too.
I will spin up a Wayland VM by the end of the weekend to smoke check this, but otherwise I think this is good to merge once its been rebased for the CI fix you opened earlier.

[..], but otherwise I think this is good to merge once its been rebased for the CI fix you opened earlier.

Done.

This is now released in v3.3.0. Thanks for your patience.


force_choice option

need a more clear description for forced choice option in predict function

At least part of the problem is this line which isn't actually doing anything

fixed with #119


Update full adder

Implement full adders based on xor and the majority function.

There is a build error.
File "./Simplicity/SHA256.v", line 463, characters 0-11:
Error: Unable to unify
 "[218%Z; 16%Z; 240%Z; 232%Z; 83%Z; 6%Z; 149%Z; 208%Z; 117%Z; 100%Z; 240%Z;
  179%Z; 47%Z; 238%Z; 190%Z; 119%Z; 38%Z; 90%Z; 29%Z; 105%Z; 207%Z; 128%Z;
  46%Z; 34%Z; 215%Z; 114%Z; 137%Z; 218%Z; 246%Z; 100%Z; 27%Z; 141%Z]" with
 "[161%Z; 35%Z; 225%Z; 192%Z; 84%Z; 233%Z; 29%Z; 216%Z; 235%Z; 198%Z; 145%Z;
  102%Z; 102%Z; 33%Z; 220%Z; 182%Z; 205%Z; 145%Z; 97%Z; 142%Z; 73%Z; 210%Z;
  160%Z; 109%Z; 143%Z; 202%Z; 112%Z; 154%Z; 13%Z; 112%Z; 105%Z; 82%Z]".

The value in SHA256.v needs to be updates.

Got it. Thanks for double-checking.   Seems something else needs updating.  I'll investigate.

If you are willing, I'd like you to make a few other changes:

Replace Fixpoint zero {n : nat} {A} {term : Core.Algebra} : term A (Word n) := with Fixpoint zero {n : nat} {term : Core.Algebra} : term Unit (Word n) :=

In multiplier, replace  iden &&& (zero &&& zero) >>> fullMultiplier with  iden &&& (unit >>> zero) >>> fullMultiplier. (the zero &&& zero was actually surpurfulous because just a single zero ought to correctly infer the width; however if that doesn't work you can try (unit >>> zero &&& zero).)

Make similar replacements if there are other type errors.  Refer to the Haskell implementations if necessary.

Let's see if we can get hashBlock's IMR to match.

The whole shifting and rotation logic needs to be updated. This changed in 722f174 for Haskell. I will try to replicate the functions in Coq, but proving correctness will be tricky.

The changes required to match Coq's Hashblock CMR with Haskell's exceed the scope of this PR. Let's merge this PR for now with a working intermediate CMR. I will look into updating Coq's shifting and rotation logic.


fix: og-image #11

This PR resolves following issue:
#11
Additional setup for developers:

Make sure /config/index.js set up properly.

Additional line required. Following is sample setup.
export const headers = [
  {
    name: 'Typed.sh',
    href: '/'
  },
  {
    name: 'About',
    href: '/about'
  }
]

export const domain = 'http://localhost:3000'

Manual testing approved by @SaidBySolo .


bug: PD Module Tags are cut off on the Deck Map

Overview
When the window containing PD is of a narrower aspect ratio, less than 4:3, the Module tags are cut off on the ends. Resizing should account for the full size of the module tags.

Current behavior

Steps to reproduce

Create/Import a protocol
Open the design tab
Make the browser window narrower
Observe the module tags

Expected behavior
Resizing should account for the full size of the module tags.

As of fa8a16b8, this looks like it has been fixed


Chunking sentences in promptRecommendationsNotification() causes grammatical errors

promptRecommendationsNotification() tries to be efficient by breaking up an English sentence into chunks and then combining them together in code, in order to reuse some of these chunks.
For example: the file creates the loc strings "Do you want to install the recommended {0} for {1}?" and "extensions from {0}" and then replaces the second string into the first string.
This causes grammatical errors because each chunk of the sentence is translated separately so the translator doesn't have a way to match the grammar of each of the chunks. For example, matching the grammatical gender or case of "the" in one sentence chunk with that of "extensions" in the other sentence part. Even ignoring that aspect, the grammar can be weird, since the translator doesn't know how these pieces fit together.
I would recommend not trying to construct a sentence like that and instead just writing out all of the sentences in full so that the translators can translate the grammar properly.
I had originally reported this as a localization issue (https://github.com/microsoft/vscode-loc/issues/1493) but then realized that the real fix will require code changes.

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


Improve sentence structure

Very slight change.
Thanks for this list! 💖

LGTM! Thanks for the PR ♥


Stabilize backward tests in TestTriangularInv

Fix a part of https://github.com/chainer/chainer/issues/3766#issuecomment-414241013

jenkins, test this please.

Jenkins CI test (for commit 73b485900967b9b57ea923f6a08d9a04a5bc18a6, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM!


ROX-21409: Detect CO installs during integration tests

For CI purposes, we'll always need to install the Compliance Operator in the cluster before the integration tests run, but locally that might not be the case.
When developers have local clusters they're running integration tests against, they might have CO installed already from a previous integration test run.
This commit makes it easier for contributors to rerun complinace integration tests by detecting if the CO CSV is present, and using it instead of attempting to reinstall it.
Testing Performed
Here I tell how I validated my change
Compliance operator integration testing should still install the compliance operator. You can also verify this change manually by running the integration tests locally twice, and observe it doesn't fail because the compliance operator is already installed on the cluster.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/test ocp-4-13-compliance-e2e-tests

GKE tests failed due to a quay timeout.


⚠ Bofrost.es has degraded performance

In b2da51b, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1516 ms

Resolved: Bofrost.es performance has improved in 37264c3 after 16 minutes.


OpenAI compatible API and JSON schema enforcing

Hi! I just wanted to ask if it is possible to use OpenAI compatible API in sglang with local models and to force a certain json schema. IIRC original openai api only supports { "type": "json_object" } which allows generating any json objects. If currently it is not possible, introducing something like _schema as optional property may be a solution until a similar functionality appears in the openai specification.

I support this idea, but I would suggest directly add "regex" field to the extra parameter. OpenAI>1.0 supports arbitrary extra parameters. They are just ignored if you query gpt4.

Thank you!


Error in JavaScript: creating and translating a kata # Example test suite

The code example in JavaScript: creating and translating a kata # Example test suite has (actual,expected) in the wrong order in the "Fixed tests" section of the test suite.
In the section above that, the correct order is specified, and the "Random tests" have arguments in the correct order. The offending section is probably just a copy/paste from another language with slightly inadequate proofreading.

Fixed. If I still missed something, reopen this issue and let me know.


Fix compile-cache cli option not being respected.

Looks like just a one-off typo.

Thanks @Lange !


Add alias 'env' for shellinit

This matches docker-machine.

oh nice, another legacy of boot2docker. thanks


[WIP] enable coverage in CI

Related to https://github.com/huggingface/huggingface_hub/issues/977.
Draft mode since it's not close to be reviewed :D

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Update: code coverage is now working as expected on the ./src/huggingface_face folder !
Coverage is measured at ~80% (see codecov report). At the moment, most branch/compare sections of codecov are broken. I suspect this is because it tries to compare against main branch that has cov reports only on the tests/ folder. I tried to "erase repo coverage content" from the settings page since previous reports were unrelevant but I think I don't have the rights to do it.
I also made a refactoring of python-tests.yml workflow to leverage even more the github matrix and avoid duplication of steps. I think it would be easier to review it directly from the file instead of looking at the diff. In theory I kept exactly the same steps for each build (+add the cov reports).
@LysandreJik @osanseviero could you please have a look at it ? Thanks in advance 🙂 🙏

The workaround I used to get proper coverage is to run tests from the ./src folder and using python -m pytest instead of pytest. My understanding is that it "forces" python to import huggingface_hub from the current directory in priority (since ./src/huggingface_hub has same name) instead of the installed one.
Then I updated the "./tests/" target to "../tests/" and created a "../coverage.xml" report.

I tried to "erase repo coverage content" from the settings page since previous reports were unrelevant but I think I don't have the rights to do it.

I couldn't figure out how to give you those permissions, but I deleted the content there.


Update README.md

Also updates misconfigured files for custom URL handler tests

Coverage remained the same at 91.151% when pulling 29944e3d75e51b370fae399cd90198d223428cb4 on edgarmueller:master into 4d0621918f4ca16db2b35ddcd6029a341bee6f49 on eclipsesource:master.


Tricky windows wsl - diff ip-addr

Great post, thank you.
The problem I am running into is: after following your guide I still can't connect to the windows machine running wsl.
I get errors when I try to ping.
I also noticed there is a network ipddr. which is different than the wsl hostname -i ; so two different 'users' and two different ip-addresses.
No errors following your instructions on the Window.wsl side.
Can you confirm that you do endup with two ipaddr one for the machine itself, and one reported by wsl?

(base) ➜  .git git:(master) ssh -v wsl
OpenSSH_9.7p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/saguinaga/.ssh/config
debug1: /Users/saguinaga/.ssh/config line 1: Applying options for wsl
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to  [] port 2222.
there is a msg that connection is established.
debug1: Connection established.
but after some time, this is what I get:
debug1: Local version string SSH-2.0-OpenSSH_9.7
kex_exchange_identification: Connection closed by remote host
Connection closed by  port 2222

try looking at this [(https://learn.microsoft.com/en-us/windows/wsl/faq)]


Cleanup + rework of Ledger.Basics

The functions and types that are defined in Ledger.Basics can be somewhat specialized and allow for more precise constraints on several functions. In particular, we are referring to the rework described below.
Split ApplyMapKind
The ApplyMapKind is an all-purpose mapkind GADT but:

Other mapkinds are defined outside of it
The mapkinds defined there are intrinsically different

We propose splitting that GADT in two:
-- | MapKinds which make sense being used next to LedgerState
-- on which we might want to refer to specific values directly
data BaseMapKind = DiffMK'
              | EmptyMK'
              | KeysMK'
              | TrackingMK'
              | ValuesMK'

-- | MapKinds which only live as `LedgerTables` and are mostly used just
-- as collections of values to be applied onto some BaseMapKind maps
data MetaMapKind' = QueryMK'
              | SeqDiffMK'

data BaseMK :: BaseMapKind -> Type -> Type -> Type where
  ApplyDiffMK     :: !(UtxoDiff    k v)                    -> BaseMK DiffMK'       k v
  ApplyEmptyMK    ::                                          BaseMK EmptyMK'      k v
  ApplyKeysMK     :: !(UtxoKeys    k v)                    -> BaseMK KeysMK'       k v
  ApplyTrackingMK :: !(UtxoValues  k v) -> !(UtxoDiff k v) -> BaseMK TrackingMK'   k v
  ApplyValuesMK   :: !(UtxoValues  k v)                    -> BaseMK ValuesMK'     k v

data MetaMK :: MetaMapKind -> Type -> Type -> Type where
  ApplySeqDiffMK  :: !(SeqUtxoDiff k v) -> MetaMK SeqDiffMK'    k v
  ApplyQueryAllMK  ::                      MetaMK QueryMK' k v
  ApplyQuerySomeMK :: !(UtxoKeys k v)   -> MetaMK QueryMK' k v

Cleanup operations
The (forget/apply/reapply)LedgerTablesX[Ticked] families of functions can be removed or at least reorganised, as they are maybe too specific for each case and they can probably be defined at use site if we just provide the basic building blocks instead of the functions themselves

This was made irrelevant by the reworks performed on the cleanup branch. So I'm closing it


bump jupyterhub chart c83896f...03215dd

gets jupyterhub 1.0b2
it's been a while since we bumped this chart
https://github.com/jupyterhub/zero-to-jupyterhub/compare/c83896f...03215dd

Let's merge this on Monday (or so) and then deploy it straight away to see what happens?

@betatim good plan. I'm going to merge & deploy this one now, so we've got a whole EU day to keep an eye on it.


Update ContainerInstance API  version from 2021-09-01 to 2021-10-01

Description
Update containerinstance api version to 2021-10-01
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check for com.azure.resourcemanager:azure-resourcemanager
API changes are not detected in this pull request for com.azure.resourcemanager:azure-resourcemanager

API change check for com.azure.resourcemanager:azure-resourcemanager-containerinstance
API changes are not detected in this pull request for com.azure.resourcemanager:azure-resourcemanager-containerinstance

API change check for com.azure.resourcemanager:azure-resourcemanager-samples
API review is created for com.azure.resourcemanager:azure-resourcemanager-samples. You can review APIs here.

/azp run java - resourcemanager

Is live tests pass?


First Ad Unit Size Not Taking Precedence

I  have created a size mapping for a DFP Position and it appears to be pulling from both sizes even though I have specified one size to be first priority.
{ browser: [728, 90], ad_sizes: [[300,600],[300, 250]] },
I would like the 300x600 to always pull if one is available, however the 300x250 also shows up in rotation with the 300x600.  The way I understood it was that the 300x600 should always have first priority if defined first.

That is not how it works.
If it was SQL, it would be "SELECT * FROM Creatives WHERE Size IN ('300x600','300x250') ORDER BY (something google)".
Google takes care of sorting, so the campaigns that need the impression most gets it.
You can only affect the "WHERE", so to prioritize one size, you would need to make multiple requests (which you shouldn't).

Thanks for the clarification.


Set FAIL_WITHOUT_CUDA=1 for cuda tests

Otherwise we could accidentally skip them if somehow the infra installs a non-cuda pytorch and torch.cuda.is_available() returns False

I don't think we need this.
We had some C++ CUDA tests in my original August implementation that weren't tested by any other yml file.
I actually got rid of those and now we only have pytests.
I'll delete it to reduce the maintenance burden

Just rename this PR title before merging :) !


Can't request user stats

I'm here again but this time I got a error in the fortnite-api script ^^
so I don't know what's wrong if I try to request the stats of new users, I get { message: 'Impossible to fetch User. User not found on this platform' }. It works if I request a Users which I already requested in the last months but I can't request the stats of new Users only their account data.
Thats my code:

fortniteAPI.login().then(() => {
fortniteAPI
.getStatsBR("paxp", "pc", "weekly")
.then(stats => {
console.log(stats);
})
.catch(err => {
console.log(err);
});
});

Do you guys get an error, too if you request the player paxp?
And do anyone know where the problem is?

It's the privacy settings btw, for the users which has the same problem.


Feature sign up

branch currently contains working code for sign-in and sign-up

Fix the error ASAP.


tweak activity/endeavor weight render

Woohoo!

Hey, let's capitalize the first letter of our commits. What'd we grow up in a barn?

From Mr. Lowercase himself! But yeah okay okay that sounds more professional


Array - set origin -Not working

Trying to use Array - set origin   to an array of valid origins from subdomains , but it is not working
Example:

http://test.example.com  used CORS npm /.example2.com$/ NOT WORKING

Trying to use Array - set origin to an array of valid origins from subdomains , but it is not working
Example:

http://test.example.com  used CORS npm /.example2.com$/ NOT WORKING

Your regex targets example2.com. This will not work when your domain is example.com. You need to change the domain you are performing the request from to match the regex.

Trying to use Array - set origin to an array of valid origins from subdomains , but it is not working
Example:

http://test.example.com  used CORS npm /.example2.com$/ NOT WORKING

Your regex targets example2.com. This will not work when your domain is example.com. You need to change the domain you are performing the request from to match the regex.

Yes, try to Implement the same way that you are saying by trying to add example.com  in the regex  /.example.com$/
But still not working
Expected: CORS should allow all subdomains (sub1.example.com , sub2.example.com)  under the main domain example.com
If you have done pls share me piece of code for my understanding

When using an Array or Regex, the header will appear only when there is an allowed match with the request's Origin header:
https://github.com/expressjs/cors/blob/master/lib/index.js#L58


Can't submit a comment

Hi, thanks for your software.
I got Isso working on my own blog, and it works flawlessly using a docker container.
Someone asked me to do a similar blog (Ghost + Isso), so did I (hosted on the same server). But Isso doesn't work though everything should be OK :   whenever I try to submit a comment, nothing happens. I found something, using "Inspect Element" :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>404 Not Found</title>

Not Found

URI does not exist

Interesting. But why? Since Isso is working on my own blog with the same configuration files, I see no reason that can explain this.
Configuration files ("isso-one" works, "isso-two" does not) :

Simplified docker-compose.yml
isso.conf from isso-one
isso.conf from isso-two
nginx vhost for isso-one
nginx vhost for isso-two

Of course I can privately share the true adresses if it can help.
Isso logs show nothing useful, except connection to both SMTP and website is OK.
May you help me? I think I've tried everything I could imagine... Thanks.

I don't have a working Docker setup currently, but I might be able to setup a virtual machine for this.
PS: did you create the fancy pokemon image?

You can find my Dockerfile here, whis is very simple.
(Just in case, I think my attempt to dockerize isso was successful since it works here (I think I could share it before, if you wanna try). You certainly know that two containers (from the same image) should produce the same result, in fact it shouldn't be different for the second instance. On top of that, configuration files are almost identical. That's why I'm getting crazy... Perhaps I missed something?)
PS : Unfortunately, I didn't create the fancy pokémon image, but I found it cute!

Currently, I have the problem to send comments.
I use the wonderfall/isso Docker image. This is my docker-compose.yml
version: '2'

services:
  isso:
    image: wonderfall/isso
    environment:
      - GID=1000
      - UID=1000
    volumes:
      - ./docker/comment/isso.conf:/config/isso.conf
      - ./docker/db:/db
    dns_search: local.comments.www.baptiste-donaux.fr

It's a fail which thrown when there are no comment attached at current page.

Have the same issue.
Get 404 Not Found when submit comments

I also ran into this sporadic issue that I didn't have in one instance of isso but had in another. I traced the problem to lines 171-175 of the view/comment.py file. Not sure what the intent here exactly is, I'm certainly no python expert, but the attempt to read a title and uri for a thread before the thread has been created seems strange. To get it working, I just commented out these lines and set the thread directly with an 'Untitled' title. But maybe there's a reason for this so I'll leave it someone with more insight to resolve permanently.

I think the isso is caused by the fact that isso assumes that comments are only posted on real, existing web pages (which usually is the case). The 404 means that isso is not able to locate the web page the comment is to be posted on.
For now, I’d assume that there’s a problem with your host configuration (see server configuration). Providing the correct host there might fix the issue.
Note that #252 would fix this issue, too. (Because you’d be able to provide the title yourself and isso wouldn’t require to find the uri anymore).

Thanks for that, I got my problem solved properly now, which has to do with the fact that I'm using isso for comments on a federation of sites and so I have multiple sites' URI's mapped to the same comment thread which breaks this local("origin") based request that produces the title and uri for the thread that's based on the host name set in the config file(which I'm ignoring in my modified version)..
Anyway, thanks again for the help, I got it under control here now.

@jGleitz isso can access to my site, it shows that INFO: connected to http://def.abc.com/on startup.

@jGleitz isso can access to my site, it shows that INFO: connected to http://def.abc.com/on startup.

are you sure that the uri you are providing is correct and points to an existing page of your web presence? Can you post the request that fails?

@jGleitz
you mean, I should add all the pages into isso.cfg before I use it?
Here's the HTTP request and response
http://comment.abc.com/new?uri=%2Ffile%2Fdetails%2F03b89535285f67f29d1a2db5a91e2184ed4d5504

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>404 Not Found</title>

Not Found

URI does not exist

you mean, I should add all the pages into isso.cfg before I use it?

certainly not.
Another reason I can think of: isso doesn’t seem to follow redirects. So it may be possible that the URI is working in your browser, but not for isso.
I, for example, had to add a slash at the end: /test/page did not work, but /test/page/ did (although both work in the browser).


tweak(TransferAmountWindow): QoL stuff

About the PR

Why / Balance

Technical details

Media

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

Breaking changes

Changelog

Wrong repository...
I'll just make draft for now

For some reason the min and max transfer amounts are returning values 100x larger than they should be

Done


Release sp-keyring

Version 5.0, following on from #10772 which released sp-core and sp-runtime 5.0, upon which sp-keyring depends.
Required for updating subxt to use these new 5.0 releases.

https://crates.io/crates/sp-keyring/5.0.0


add MCP server badge

This PR adds a badge for the Hacker News MCP server listing in Glama MCP server directory.

Glama performs regular codebase and documentation scans to:

Confirm that the MCP server is working as expected
Confirm that there are no obvious security issues with dependencies of the server
Extract server characteristics such as tools, resources, prompts, and required parameters.

This badge helps your users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.

Thanks! are you on the MCP Discord?
Let me know your Discord username and I will give you a special flair that's only for MCP server authors.


Spotlight active window

This is a 2.0 scope proposal.
Current situation
Spotlight supports only a single element to be considered ACTIVE.
Use-cases where this isn't good

There's some padding on the main element, and the edges of prev / next elements should already be visible (window = 3)
There's a visual emphasis on the main element, but many other elements are visible, all of them are relatively small (window = n)

Proposal

Let's extend the possible states to: INACTIVE_BEFORE, ACTIVE_BEFORE, CENTERPIECE, ACTIVE_AFTER, INACTIVE_AFTER
Let's have a windowSize constructor argument to Spotlight with default = 1
(Probably apply a check that it can't be less than 1 and should be an odd number)
Based on the windowSize, all operations maintain a window of 1 CENTERPIECE + (windowSize - 1) / 2 * ACTIVE_BEFORE + (windowSize - 1) / 2 * ACTIVE_AFTER states
OnScreenResolver can be straightforward, INACTIVE_BEFORE & INACTIVE_AFTER-> false, the rest of them true, it's just that sometimes there will be zero ACTIVE_BEFORE / ACTIVE_AFTER elements, and sometimes it will be a non-zero amount, maintained by the navmodel.

Extras

To make it flexible rather than baked in, let's have a new operation to change the window size. It can figure out which elements to switch between INACTIVE_BEFORE <-> ACTIVE_BEFORE as needed based on if they fit in the new window or not.
UI can do layout measurements, and calculate how many elements will fit on the screen. This is then reported this to Spotlight via the new operation.
Consider making the states a sealed class instead of enum class to have indices for before / after states – this requires more attention to proper state maintenance as a one-off investment, but will make UI logic probably a lot easier

Looks like we need API changes how we use OnScreenResolver for lifecycle purposes.
Currently it is pretty simple – OnScreenResolver returns true, then the node is capped by RESUMED, otherwise by CREATED state.
What I definitely do not want is to have ACTIVE_BEFORE and ACTIVE_AFTER nodes to be in RESUMED state. This was a huge issue in androidx.ViewPager for a long time until Google has finally added functionality to cap the fragments on the sides by STARTED state (search for setMaxLifecycle in FragmentPagerAdapter).
Currently we use STARTED state for our tracking implementation, so we should be able to choose between STARTED and CREATED cap.


Image Sharing doesn't work on iOS

Hi,
thank you for your package, it's awesome! I have a problem though, everything works fine on Android but sharing an image on iOS doesn't work:

You can see the image there in the small square but I don't have the options to share it to any other apps like Messages, Whatsapp, etc.
This is the piece of code that shares the image
    ui.Image image = await boundary.toImage();
    try {
      final ByteData bytes = await image.toByteData(format: ui.ImageByteFormat.png);
      await WcFlutterShare.share(
          sharePopupTitle: 'Share Generic Invite',
          fileName: 'hello.png',
          mimeType: 'image/png',
          bytesOfFile: bytes.buffer.asUint8List());
    } catch (e) {
      print('error: $e');
    }

I am generating an image from the screen and sharing it afterwards.
This works fine in Android, not sure why iOS doesn't.
I also tried the example from this repository and when trying to share an image I get the same exact behaviour.
Thank you in advance!

Try pressing more button on popup

I tried, it does not show more options.

This popup is being shown by O.S. Its only showing you those apps which supports mime type image/png. Try installing skype or gmail. They will show up.

I mainly need to be able to share on whatsapp, and it works on android, why wouldnt it show up on ios?

Try changing mime type to jpeg. I am not sure but may be ios whats app doesn't support png sharing

Hey again,
sorry about this, it seems whatsapp was somehow corrupted? Reinstalling it on the phone fixed the issue and now whatsapp appears in the shareable options.
Thanks again for your work!


Testing Subscriptions in phpunit

I'm trying to figure out how to test my subscriptions.
In phpunit i can create a RedirectResponse, but how do i fake a webhook response?
How do i create an active subscription in a test?
Is there any documentation on this? Is it even possible?
any help would be much appreciated.

Hi @RemiHin ,
That's a lot of questions. What use case you want to cover first?

Basically what I need to know:
How do I create an active subscription in my phpunit test.

This may be a good place to start:
https://github.com/mollie/laravel-cashier-mollie/blob/c17ff02ff5c24ddec128aab218e8da0bec069760/tests/database/factories/SubscriptionFactory.php#L10-L22

That was a perfect place to start. Thanks! I got it now


I cannot input text

I used Ubuntu GNOME 14.10(gnome 3.14, 64bi)
by the way.
I was compiled our source code ( thank you for your help )
when i execute sticky program.
but i can not input text to sticky window.
actually, if i click sticky window, it was flickering
and then sticky window made new sticky window backside.
that is all.
how about you?

Hey Can you give me more info about it like screenshot by the way Stable and usable version of stickface is out you can check it here it'll work for sure https://github.com/argunner/StickFace2

ah..
Did you close this version?
can i change to StickFace2? ;)

i did not close it is not stable it is C version new one is python and it is more stable

yes you can change to stickface2 it is more stable

@argunner Thank you for your information. ;)
I will try it today.
by the way,
so  do you continue to develop this version(c version)?

Yeah ! C version is still under development

Oh. good job.
I am interested in C version. :)
by the way, I recorded test video for this issue.
please, would you watch below video for this issue.
http://www.youtube.com/watch?v=iPqV-e5voRk
thank you for your work.
My box information is below.
Ubuntu gnome 14.10 (64 bit)
Gnome version: GNOME Shell 3.14.3
check two.
When i click "Exit" button in StickFace application,
I got core dumped message.
like this in terminal.
*** stack smashing detected ***: ./bin/sticky terminated
중지됨 (core dumped)
Can you get me your tip to correctly operation for this? ;)

@lindolsang  try this code https://gist.github.com/argunner/7633d3384b848f307427 and tell me if it works

Ok. good. :)
I tried code that you give me url.
compile is completed with some warnning.
but everything was good.
for example.

Moving application window,
Resizing application window,
Input text to editing area
Input text to editing area for Korean language

all is good.
um.. why do we have some problem in StickFace..? T.T
Does my environment have problem in my linux?

No i guess something's wrong with StickFace's code it should work with every ENV , something's wrong i'm workin on it , i'll try to correct it and i'll post it back here, give me sometime , till then you can work with stickface2 it'll work everywhere


pipewire and clight don't play well together anymore: Setting Pixel Format: Device or resource busy

Describe the bug
I had a working setup of clight and pipewire. My last working generation was October the 8th. The next generation I built, dated October the 13th, does not work anymore. If I stop the pipewire service, clight can access the webcam again.
Steps To Reproduce

start clightd and clight with their respective systemd services
run busctl --expect-reply=false --user call org.clight.clight /org/clight/clight org.clight.clight Capture "bb" false false

Expected behavior
The webcam should blink for a second and then clight should update the monitor's backlight based on ambient brightness. This should work together with pipewire.
Instead cligthd logs this:
Setting Pixel Format: Device or resource busy

and monitor backlight remains unaltered.
Screenshots
Additional context
Notify maintainers

@eadwu
@jtojnar
@Kranzes
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.75, NixOS, 22.05 (Quokka), 22.05.3900.26eb67abc9a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"nixos-22.05, nixos-unstable"`
 - channels(elia): `"home-manager-22.05.tar.gz"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This seems to be an upstream bug https://github.com/FedeDP/Clight/issues/260


Background is not blured correctly

Hello thank you for providing the SwiftSpinner library! When implementing your library I have a strangely blurred background on the right of the view. The color is slightly different to the rest of the View although the background color is the same

This is probably because of the background itself - you don't have anything to blur, and single color can do artifacts like that. Usually, in production, this situation is not an issue as there won't be gray background (there is no point in overlaying content with gray and then blur, that's what the blur is for :) ). Try it with normal image background, or normal content, and it will be fine.


Null values in cross tabulation tables

Occurs when a category is omitted/filtered.

Fixed in https://github.com/scholarsportal/Dataverse-Data-Explorer/pull/123


nixos/prometheus: fix systemd collector for node-exporter

Motivation for this change
Fixes https://github.com/NixOS/nixpkgs/issues/141322
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

No problem. I think yours is better! Let's go with that.


Cannot create wallet - "Cancel sync or disconnect"

Device: Samsung Galaxy S10
How to reproduce
As user, I go to Menu - Wallets and click "Create new wallet" icon in top right of the screen. The app shows notification "Disconnect / cancel sync before adding wallet".
Context
But the sync is complete. If I disconnect from the network, I am able to create a new wallet.
Thoughts
It is strange that a user would have to disconnect from network to create a wallet. It's contra-intuitive.

The issue was fixed in this PR https://github.com/planetdecred/dcrandroid/pull/534, but it seems @collins still experiences the issue, sporadically so moving to backlog until the replication is definite


Text Disappears Once "Learn More" is clicked

When user is on the Leave Feedback page and types something in the textfield under "Tell us more about your experience:", the text disappears once the user clicks on "Learn more" on the bottom.
Issue found on iPhone XS.

User has typed something in the text field.

User goes to click on Learn More.

User exits out of Learn More, and then the text is gone.

Acceptance Criteria

[x] Learn more content appears in a modal dialog.

Steps for QA:

I am proposing we have the discard modal to show up if the comment is filled and they try to click on the learn more button.

Issue can be merged! @ian-lin-PG

Expected behavior of text remaining is there in staging app. Please merge @ian-lin-PG


Create an Admin dashboard

Is your feature request related to a problem? Please describe.
Many of the features only admins should see. This includes the feedback form, site analytics, and the ability to delete resources.
Describe the solution you'd like
I would like for the admin dashboard to be hosted at /admin, have a nice-ish looking page, and contain all of the power listed above. See the planning doc + trello for more info

New Checklist:

[ ] Manage Resources
[ ] Edit External Links
[ ] Change User Perms
[ ] Feedback
[ ] Analytics


docs: update README.md

minor fix
Before issuing a pull request, please see the contributing page.

Thanks for pointing this out.  It's been fixed internally and will be in 10.1.


fix: Saving Profile Error States

Fixed issues when saving a profile 'worked' and dismissed navigation
https://github.com/user-attachments/assets/c9f38bc8-d132-4ee6-8a52-1d41f6f33a01

Then this should fix Saving Profile Does not trigger Error #1147


why defaming Linux?

Hey.
I though gone were the days where MS spreads FUD or rather plain lies about Linux.

Does Linux have its own NCSI?

If by Linux you mean the kernel, well then sure, that doesn't have a connectivity check (but that would be plain stupid and I'd kinda hope/guess that NCSI is not part of the Windows kernel either).
If by Linux you mean the "ecosystem" i.e. any typical Linux distribution, then there surely is well standardised API for that. Never heard of NetworkManager?
With Linux this functionality can even be used from scrip by a simple nmcli networking connectivity check, which as of know I wasn't able to find for NCSI.

They must implement their own network checks from the ground up

Lie, they don't have to.

or use various Linux utilities to continuously check over time for changing network conditions.

I wonder how Windows does it without continuously checking. o.O
Oh wait you even admit on your own page that you do:

If the passive probe is allowed to run, it does so every 15 seconds. This can be overridden by editing the following registry key:

So more FUD against Linux, as if Windows could magically maintain connectivity status without ever checking again.

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

ID: 9e2a58ef-a61c-900a-f075-63fa41373ab9
Version Independent ID: 9e2a58ef-a61c-900a-f075-63fa41373ab9
Content: Network Connectivity Status Indicator FAQ for Windows
Content Source: WindowsServerDocs/networking/ncsi/ncsi-frequently-asked-questions.md
Service: windows-server
Sub-service: networking
GitHub Login: @Xelu86
Microsoft Alias: wscontent

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


How to implement subresource integrity

I've recently read about Subresource integrity ( https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity ) and I was wondering if it was possible to use it with fusebox.
Particularly what I want to achieve is that when I build my application for production the script and link tags have the integrity and crossorigin attributes created by fusebox (the integrity attribute should be an hash of the file, while the crossorigin could be configured).
Is this currently possible?

Sounds interesting. Yes it can be done. Follow v4 issue and also gitter. Soon we will be testing production builds, and there we could implement it right away! Join Gitter!

I Believe that is now supported, since v4 no longer uses XHR requests, but relies on script tags. We could introduce the support in webIndex
Please give a try for @next and open another issue if needed.


Added parameter -Users to New/Set-CsCallQueue

https://github.com/MicrosoftDocs/office-docs-powershell/issues/5209

Docs Build status updates of commit 1dbbe99:
:clock10: Full build: the average full build time is 12 min(s) 36 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 1dbbe99:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit bbb2ed3:
:clock10: Full build: the average full build time is 12 min(s) 36 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit bbb2ed3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit b9fddee:
:clock10: Full build: the average full build time is 12 min(s) 37 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit b9fddee:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit 5112c5d:
:clock10: Full build: the average full build time is 12 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 5112c5d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit 4a5db09:
:clock10: Full build: the average full build time is 12 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 4a5db09:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit cc8c6e6:
:clock10: Full build: the average full build time is 12 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit cc8c6e6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit 325ab1a:
:clock10: Full build: the average full build time is 12 min(s) 40 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 325ab1a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit c425b82:
:clock10: Full build: the average full build time is 12 min(s) 40 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit c425b82:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit 0a38d1b:
:clock10: Full build: the average full build time is 12 min(s) 41 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 0a38d1b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit ceba3d7:
:clock10: Full build: the average full build time is 12 min(s) 41 sec(s), this is based on the last 1000 build(s) for this repository.


svc_preprocess_f0.py rootPath should be changed to 48k?

File path rootPath = "./data_svc/waves-16k/" , should it be change into rootPath = "./data_svc/waves-48k/" ?

yes， you can use 48k to get pitch, but parameters should be modified.


dpt profile: add salsa-ci.yml

i would prefer not to have this file by default for all new packages


Type hint conflicts with docstring in densityTools

Type hint indicates that massFrac is a dict, but the doc string says it is a float. The usage in the function seems consistent with a float.
https://github.com/terrapower/armi/blob/3e47ec6e6359870866502c9356747cf1da4f9515/armi/utils/densityTools.py#L316-L336

We actually have a unit test for this:
https://github.com/terrapower/armi/blob/3e47ec6e6359870866502c9356747cf1da4f9515/armi/utils/tests/test_densityTools.py#L71-L84
So, you are correct. It appears the confusion was that the RETURN TYPE is a dict, but yes the input massFrac is a float.


Update metadata.yaml

adds some keywords to promoters

I forgot to add the openml link last time: https://www.openml.org/d/164 Can we add this to the source field?


Trouble viewing demos on iOS safari/chrome

https://google.github.io/filament/webgl/suzanne.html
Just see a white page

Safari does not yet support WebGL2 though it is in development and supposedly supported in preview though last time I tried it did not work yet.
You can follow the development here: https://webkit.org/status/#specification-webgl-2 and the support table here: https://caniuse.com/#search=webgl2

Thank you @TimvanScherpenzeel , maybe this issue might be better as "keep an up to date list of which browsers Filament runs on" :)


can't pull the image:oracle/weblogic:12.1.3-generic

there is all output:
pull access denied for oracle/weblogic, repository does not exist or may require 'docker login'
and i m sure i had login

i had weblogic-12.1.3-devloper ,serverjre8,oracleLinux 7-slim image.there is the command:
docker build -t 1213-domain --build-arg ADMIN_PASSWORD=123 .
and i run it in 1213-domain folder

You need to build the weblogic:12.1.3-generic image first. Also, these images use version old versions of WebLogic. You should be using WebLogic <IP_ADDRESS> not, 12.1.3.

em...i need to remove all images i had build and try it with weblogic:12.1.3-generic?

You don't need to remove any images. You just need to build the weblogic:12.1.3-generic image because that's what the 1213-domain sample requires.

@oHao did you resolve your problem?

closing due to lack of response, please open again if you still need help.


Accessibility: v-model does not update UI when input is adjusted with VoiceOver

Version
2.4.2
Reproduction link
https://codepen.io/aminimalanimal/pen/wqXRbr
Steps to reproduce
This issue occurs with iOS devices. I tested using an iPhone (v10.3.3) and iPad (v9.3.2). Reproducing will require turning on the built-in screen-reader (VoiceOver). VoiceOver can be enabled in Settings > General > Accessibility. I suggest adjusting the Accessibility Shortcut (last item in Accessibility settings) to allow you to triple-click the Home button to enable VoiceOver.

Navigate to the CodePen.
With VoiceOver off, press the range input with finger or mouse and drag left and right.

Observe that stars appear underneath along with a number reflecting the total number. This is correct behavior.

Turn VoiceOver on.
Select the range input by hovering your finger over it or swiping left/right to highlight it. It should inform you that you can swipe up and down with one finger to adjust it.
Swipe up and down with one finger to adjust it.

Observe that neither the stars nor the rating is adjusted.
What is expected?
When adjusting the range input with VoiceOver, I expect to see the stars and rating number adjust at the same time.
What is actually happening?
No changes are being reflected in the UI when adjusting the range input with VoiceOver on.

This may be an issue that is best opened with Apple. That depends on how v-model is watched behind the scenes, though. It may be possible to correct this within Vue by ensuring that v-model is updated with on change events, for example, whereas right now, it may rely on events that don't apply to screen reader manipulation.

My guess is that this has more to do with iOS because v-model simply listens to the input event under the hood. A possible case is voice over preventing input events from firing properly. If someone can try to make a vanilla js repro that would help.

It's up to you guys whether you'd like to care for circumventing this kind of issue in Vue. I definitely think it's worth a ticket to Apple, though, and I'll make one later today.

Unfortunately, I don't think there's an obvious way to work around this in Vue - you can use v-model.lazy to force it to listen to change events instead though.

@aminimalanimal An easy way of fixing that would be to replace v-model with v-bind:value, v-on:input and v-on:change -- that way. The downside of it is the fact change event trigger will be followed by an input one, which may lead to collisions in complicated scenarios.
This solution is somewhat better than using v-model.lazy because it listens both to input and change events. But you may not want that everytime.

Thanks for help with the workaround. It's good to know what's going on under the hood for v-model and v-model.lazy. .lazy certainly makes it update, but as @andreiglingeanu mentioned, it's nice also having the input event handling so that the UI state updates immediately while the user is adjusting it.
I went with using v-model as usual and just adding v-on:change. CodePen: Vuetiful Stars with workaround

@aminimalanimal Cool! Please do link it here, I'd login in just to see the feedback on that one from their side.
That coffeescript thing looks strange though, haven't touched it for quite some time already.

I was under the impression that issues filed with Bug Reporter weren't accessible to anyone but Apple's team and the dev that reported them. Here's the link: Apple Bug Report—do tell me if you can view it after logging in.

CoffeeScript is partially helpful and partially not... I appreciate the syntactic sugar that's there (fewer braces, indentation-based), but it's missing a lot of sugar that ES6 provides.

@aminimalanimal Nah, I'm just getting an "This bug does not exist or you do not have access." error.
I was amazed that someone still uses coffee :)

What can I say? I love enforced proper indentation and don't like managing brackets. :P
Too bad about the Bug Report. I'm sure it's a safeguard so that horrible security issues aren't easily discoverable.


[Teams] Remove adaptivecards dependency from botbuilder-teams to reduce space usage

Is your feature request related to a problem? Please describe.
Currently the botbuilder-teams project in the teams-samples branch pulls in a dependency on adaptivecards.
However, the adaptivecards dependency is only used for its types:
export type IAdaptiveCardAction = ac.IAdaptiveCard['actions'][0];

These types are for the interfaces ISubmitAction, IOpenUrlAction and IShowCardAction.
export interface IAction {
    id: string;
    title?: string;
}

export interface ISubmitAction extends IAction {
    type: "Action.Submit";
    data?: any;
}

export interface IOpenUrlAction extends IAction {
    type: "Action.OpenUrl";
    url: string;
}

export interface IShowCardAction extends IAction {
    type: "Action.ShowCard";
    card: IAdaptiveCard;
}

Describe the solution you'd like
Since the dependency is 2.46 MB and is used minimally, we should see if we can remove it by the time the botbuilder-teams library is integrated into the botbuilder-js repo.
@siduppal, @johnataylor, @Virtual-Josh FYI
[enhancement]

done


UTF 8 => Latin (Westmere/SSE)

This is a version with minor fixes from https://github.com/simdutf/simdutf/pull/263 by @Nick-Nuon
It adds new tests. Furthermore, the latin1_length_from_utf8 is already accelerated: it is just the count function, so I did that.
Fix https://github.com/simdutf/simdutf/issues/292

@Nick-Nuon Please review.

Merged.


RuntimeWarning during geometric verification and failure in triangulation

Hello,
I am using the hloc library to triangulate points in my COLMAP model which consists of multiple images from 2 cameras (left and right cameras of a rig). However, during geometric verification of the matches, I face some runtime warnings as shown in the image below. This further results in a failure during 3d triangulation (also shown in the image). I am not sure why this could be happening. Please could I receive some guidance here? Thank you in advance!

The warnings are likely unrelated to the error (I agree that they should be fixed though), which is most likely already fixed by https://github.com/colmap/colmap/pull/2704 Just update your COLMAP installation.

Thank you @sarlinpe, the updated COLMAP installation fixed the triangulation error.

Closing issue as it is resolved.


fixed syntax of aws_push.py based on pylint

Fixed issues reported by pylint as part of https://github.com/cloudflare/flan/issues/27.

There are no significant changes here. I think its fine as it is.


Pending check for adminRaisedRequest

When a request status is pending then admin is not able to accept the request.

Issue is fixed as manager side is fixed


cmd/compile: suboptimal regalloc

package main

var g int

func f(x, y int) {
	h(8, x)
	g = y
}
func h(a, b int)

Generates:
MOVQ	BX, main.y+40(SP)
MOVQ	AX, CX
MOVL	$8, AX
MOVQ	CX, BX
CALL	main.h(SB)
MOVQ	main.y+40(SP), CX
MOVQ	CX, main.g(SB)

Note the move from AX to CX and then to BX. The trip via CX is unnecessary. It does that because y, which starts out in BX, is occupying BX when we start evaluating arguments for the call. But we don't need y in BX at that point, it is necessarily going to get spilled - future uses of y couldn't possibly use BX as a valid copy of y as there is a call in the way.
I think this is similar to the problem kinda fixed by CL 471158, in that it involves something in a register that isn't really live.
@prattmic

I've got a fix for this. Maybe not as general as I'd like, but I'll clean it up tomorrow and see what it looks like.

MOVQ BX, main.y+8(SP)
MOVQ AX, BX
MOVL $8, AX
CALL main.h(SB)
MOVQ main.y+8(SP), CX
MOVQ CX, main.g(SB)
RET

I think there are two mostly orthogonal ways to look at this and to fix this, though we may want both for the most robustness.
The first is what I think Keith is referring to as the liveness issue. The CALL wants to put arg1 (8) in AX, so it needs to move the existing value (x) out. It decides to use CX instead of BX because BX already contains a value (y). But the CALL doesn’t use y as an argument and it clobbers BX, so BX is already effectively dead. The move of x could select BX with no consequences. That is, we’d treat any registers that are (a) in the clobber set and (b) their values are not used as args to the op, as free to assign.
If we did this, I think it would fix this issue because when moving x, we’d choose BX, which is exactly where we want it to end up. But that is mostly just a coincidence, there is no knowledge of where x eventually needs to be in use. If x were the third argument to h, it would still end up in BX and need an additional move to get into CX.
The second way to look at this is an ordering problem. The CALL has an input value (arg2: x) in an input register (arg1: AX). But it is in the wrong input register! We know that we’ll need to dump the value from AX to place arg1, so we’d be best off to handle inputs with values in the wrong register first so they can “cooperatively” move out of the register we need. That is, we should process arg2 first so that we move out of AX to free it for arg1 and move into exactly the register we need it to be in, BX.
This is much more robust than the first approach, as it doesn’t fix the issue by coincidence. However it isn’t perfect. The extreme example of this is a call with arg1 in BX and arg2 in AX. If we process arg1 first, arg2 will be dumped from AX (probably to CX). If we process arg2 first, arg1 will be dumped from BX (probably to CX). Then arg1 will need an extra move from CX to AX. I believe this generalizes to additional arguments rotating through registers.
That is an edge case, but it also shows where the liveness change could help. If we do need to dump an input, the liveness change would free up many registers, letting us do a register-register move rather than spilling to the stack.

Part of the liveness computation is "distance to next use". If that distance included a bit which was "definitely on the other side of a call", we could use that to decide that kicking out that value from a register is ~free. We could even preemptively kick it out in advanceUses?
We kind of have that bit already, it is called unlikelyDistance. I think we'd want something more exact than that, though, as that also encodes things on unlikely branches as well as past calls.

I agree that sounds like a good improvement, but I think it falls in the first category I listed above and wouldn't fundamentally fix the specific problem in this issue.
That is, allocation of the CALL arg1 needs to dump the value from AX. We will eventually want that value in BX for arg2, but nothing in liveness analysis happening around dumping AX is going to guarantee that we move the value to BX specifically, it can only make it a more likely coincidence.

I think if BX was free, the desired register mechanism would push the value into BX if it needed to be moved out of a different register.

Ah, I see what you are saying. I don't think that would work as-is because the logic to select a register to move a value to doesn't consider desired registers, but it seems like considering them there would be a universal improvement.

For reference, https://go.dev/cl/480256 is the fix I made using an ordering adjustment, but I'm going to try out the liveness idea as well.

That CL affects 1388 functions in cmd/compile, so it is pretty widespread. Though some of these changes just change register load order without affecting the total number of moves. Most of the actually changed cases I saw were cases like the example above, where an argument to func A was passed as an argument in a different slot to func B.


build broken if used with latest version of go-github library

There was a breaking API change in version v16.0.0 of github.com/google/go-github; this cause a compile error here:
https://github.com/cloudposse/github-status-updater/blob/master/main.go#L174
this is caused by the the being changed from []string to *[]string here
https://github.com/google/go-github/blob/v16.0.0/github/repos.go#L639

@dape-wg2  thank you for reporting the issue!
addressed in https://github.com/cloudposse/github-status-updater/pull/8
and released in https://github.com/cloudposse/github-status-updater/releases/tag/0.2.0


onSubmitFailed

Hi,
it would be great if there were a onSubmitFailed prop like the onSubmit one to handle things like shake the submit button when the validation fails ...
I could do it with 'submitting' and see if it changes from true to false, but it would be more convenient with onSumbitFailed ... Thx!

You can use the returnRejectedSubmitPromise flag, and the approach listed in this comment to perform any actions when validation fails.

@erikras Does it make sense to add an example for how to do this, since it seems to be a common question? I am happy to make the example and submit a PR if you believe it warrants one.

Okay, I got it. But I think it is a little bit cumbersom. It would be much easier and semantic of there would be just a onSubmitFailed prop like the onSubmit one. What so you think?

@MiMaMuh I agree that an onSubmitFailed prop would be a better approach than the current one.

@MiMaMuh @puradox I would check out the proposal in #726 and see if any of those changes account for the behavior desired.

@pcgilday The only proposal that stood out to me, relating this issue, is his section on Form Submission (10 on #726). He doesn't get too in depth on his planned implementation, but it could account for our desired behavior.
While we are waiting for v6.0, I might just start a PR in the meantime for onSubmitFail, as it seems simple enough to implement.

You guys might be interested in v5.1.0.


hidpp10: fix fetching of serial number

Was off by one, the message content only includes one byte of extra information
before the serial number. And add a BE 32-bit helper while we're at it.

Looks good to me.
Sorry for taking so long to merge