where is _roi_align?

I do not found _roi_align? Here is the error
Traceback (most recent call last):                                                                                File "main.py", line 18, in <module>                                                                                from misc import utils, eval_utils, AttModel                                                                          File "C:\Users\BS197\Downloads\New folder\Neural-Baby-Talk-python3-master\misc\AttModel.py", line 10, in <module>         from misc.model import AttModel                                                                                File "C:\Users\BS197\Downloads\New folder\Neural-Baby-Talk-python3-master\misc\model.py", line 14, in <module>            from pooling.roi_align.modules.roi_align import RoIAlignAvg                                                           File "C:\Users\BS197\Downloads\New folder\Neural-Baby-Talk-python3-master\pooling\roi_align\modules\roi_align.py", line 3, in <module>                                                                                from ..functions.roi_align import RoIAlignFunction                                                                    File "C:\Users\BS197\Downloads\New folder\Neural-Baby-Talk-python3-master\pooling\roi_align\functions\roi_align.py", line 3, in <module>                                                                                from .._ext import roi_align                                                                                File "C:\Users\BS197\Downloads\New folder\Neural-Baby-Talk-python3-master\pooling\roi_align\_ext\roi_align\__init__.py", line 3, in <module>                                                                                from ._roi_align import lib as _lib, ffi as _ffi                                                                    ModuleNotFoundError: No module named 'pooling.roi_align._ext.roi_align._roi_align'

try here: https://github.com/deneb2016/WSDDN.pytorch/issues/1

After running make.sh, I have found following errors:
/home/nsu/Downloads/Neural-Baby-Talk-python3-master/pooling/roi_align
generating /tmp/tmpy2nkwe_2/_roi_align.c
setting the current directory to '/tmp/tmpy2nkwe_2'
running build_ext
building '_roi_align' extension
gcc -pthread -B /home/nsu/anaconda3/envs/neuralbabytalk/compiler_compat -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -std=c99 -fPIC -I/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/torch/utils/ffi/../../lib/include -I/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/torch/utils/ffi/../../lib/include/TH -I/home/nsu/anaconda3/envs/neuralbabytalk/include/python3.5m -c _roi_align.c -o ./_roi_align.o -std=c99
gcc -pthread -shared -L/home/nsu/anaconda3/envs/neuralbabytalk/lib -B /home/nsu/anaconda3/envs/neuralbabytalk/compiler_compat -Wl,-rpath=/home/nsu/anaconda3/envs/neuralbabytalk/lib,--no-as-needed -std=c99 ./_roi_align.o /home/nsu/Downloads/Neural-Baby-Talk-python3-master/pooling/roi_align/src/roi_align_kernel.cu.o -o ./_roi_align.so
gcc: error: /home/nsu/Downloads/Neural-Baby-Talk-python3-master/pooling/roi_align/src/roi_align_kernel.cu.o: No such file or directory
Traceback (most recent call last):
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/unixccompiler.py", line 197, in link
    self.spawn(linker + ld_args)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/spawn.py", line 36, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
    % (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/cffi/ffiplatform.py", line 51, in _build
    dist.run_command('build_ext')
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/command/build_ext.py", line 558, in build_extension
    target_lang=language)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/ccompiler.py", line 717, in link_shared_object
    extra_preargs, extra_postargs, build_temp, target_lang)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/distutils/unixccompiler.py", line 199, in link
    raise LinkError(msg)
distutils.errors.LinkError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "build.py", line 36, in <module>
    ffi.build()
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/torch/utils/ffi/__init__.py", line 189, in build
    _build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/torch/utils/ffi/__init__.py", line 111, in _build_extension
    outfile = ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/cffi/api.py", line 697, in compile
    compiler_verbose=verbose, debug=debug, **kwds)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/cffi/recompiler.py", line 1520, in recompile
    compiler_verbose, debug)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/cffi/ffiplatform.py", line 22, in compile
    outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
  File "/home/nsu/anaconda3/envs/neuralbabytalk/lib/python3.5/site-packages/cffi/ffiplatform.py", line 58, in _build
    raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1

I have solved it by trying this: https://github.com/jwyang/faster-rcnn.pytorch/issues/112


User, household form placeholders and hints

To make the user setup process a little clearer.
Originally created by Tom Smyth at 2016-10-22 19:15, migrated from redmine-#5316

Version set to 2.7

By Tom Smyth at 2016-11-22 18:29

Tags set to people

By Tom Smyth at 2016-11-06 20:11

Version changed from 2.7 to 3.0

By Tom Smyth at 2016-12-05 08:56

Status changed from New to Closed

By Tom Smyth at 2017-01-18 19:14


Publish model to mmdetection

I have found that the published model using  tools/model_converters/publish_model.py has the key  backbone.layer1.xxx, it  is not same with the official model with  layer1.xxx.
Can it be loaded correctly in mmdetection?

Hello, the models of mmdet also have fields like backbone, so it should match if you load the entire model.
However, if you just want to use the pretrained backbone, please use configs like the following:
backbone=dict(
    type='MobileNetV2',
    widen_factor=1.0,
    init_cfg=dict(
        type='Pretrained',
        checkpoint='checkpoints/mobilenet_v2_batch256_imagenet_20200708-3b2dc3af.pth',
        prefix='backbone')  # <-- To tell the initialization function to remove `backbone` prefix.
),

I see.
Thanks for your prompt reply.


Update system-requirements.md

fix auth port

@zawachte-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@zawachte-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Merging per PM approval; thanks.

Merging per PM approval; thanks.


Search datetime

Search datetime
Remove temp file after generate report
Translate ex: {{t blabla }}

For using date & datetime the same object as we discussed, I think it's not ok  because it difficult to maintain fix code.  So please merge krab.


docs: L7 traffic management getting started guide

The original guide requires multi-node clusters, just to re-use the test
application app from cilium connectivity test --test egress-l7. This is
not really user-friendly, as most of the users will just test guides out
with default single node cluster.
This commit is to just avoid the requirement of multiple node cluster, while
still keeping the objectives of the guide.
Suggested-by: Chance Zibolski<EMAIL_ADDRESS>Signed-off-by: Tam Mach<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

all reviews are in, full CI tests are not required for this docs changes. I did a quick verification after force push to make sure no silly mistake.
Marking this ready to merge.


the exercise test is wrong

Challenge Waypoint: Local Scope and Functions has an issue.
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function myFunction() {
  var myVar = 1;
  console.log(myVar);
}
myFunction();

// run and check the console
// myVar is not defined outside of myFunction

// now remove the console.log line to pass the test

After following the instructions.

inside the function creata a variable myVar, as this

function myFunction() {
var myVar = "abc";
console.log(myVar);
}
myFunction();
console.log(myVar);

after this remove the second console.log line:
function myFunction() {
var myVar = "abc";
console.log(myVar);
}
myFunction();

the exercise don't pass.

+1

+1


Speed up plugin

RegExp is a pretty heavy call. Especially if rgba(# used rare.
In this PR I make plugin faster by calling RegExp only if we found rgba(# in the declaration by a quick search.
It is a popular technique used in Auutoprefixer and many other PostCSS plugins.

👍 LGTM, thanks!


Definition of sstatus and vsstatus unclear

Are changes to mstatus or sstatus always reflected in the other (if the change was to a field available in sstatus)? In other words: must an implementation behave as if sstatus were a restricted view of the fields in mstatus?
Sources: https://github.com/riscv/riscv-isa-manual/blob/5186fc7ab1dd113e49f86bd8342117263688bc52/src/machine.tex#L364-L365 https://github.com/riscv/riscv-isa-manual/blob/5186fc7ab1dd113e49f86bd8342117263688bc52/src/supervisor.tex#L173-L178

I’m not sure, because the second quote is only a commentary.

What about vsstatus?
https://github.com/riscv/riscv-isa-manual/blob/5186fc7ab1dd113e49f86bd8342117263688bc52/src/hypervisor.tex#L601-L607
Must changes in vsstatus be reflected in sstatus or mstatus? It doesn’t look likely or necessary to me.

I don't find it ambiguous, so maybe some other folks should weigh in.

Do you mean, the commentary concerning sstatus should be interpreted as part of the specification and not as commentary?

I meant that “a restricted view of mstatus appears in sstatus” seems to me to be sufficient to convey the idea, and that the commentary is merely clarification, and I was curious if other people disagreed with my interpretation.


K8SSAND-999 ⁃ Where do we find documentation about how to best spec manifest about mTLS on Cassandra/DSE on Kubernetes, cert-manager integration and gotchas?

Cass-Operator adopters who have encryption and authentication over mTLS requirements from the organization, would want to look for detailed documentation, best practices and gotchas when applying Cassandra/DSE deployment automation via Cass-Operator.
Some organizations would have also adopted kubernetes cert-manager for mTLS capabilities. It would be really important to have a guideline around a path forward of this integration with cass-operator.
The guideline may also need expansion on multi-DC (single or multi-region) setup with do's and don'ts.
Snippets of this implementation in practice and any case studies would aid for sure.
This request can be broken into multiple tickets and areas of concerns as the team see the fit.
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-999
┆priority: Medium

@mparikhcloudbeds is there anything else you need for this issue? If not, can we close it?


Fix image sizing for icons in chapter 4

https://leanpub.com/courses/jhu/documentation_and_usability/read/5#leanpub-auto-major-components-of-good-documentation
Icons should be small but they are not.

I think this is leanbuild thing that needs to be fixed.

I emailed Leanpub about this because I am stumped. Will report back on what they say. May just have to take those icons out in the Leanpub version.

Leanpub got back to us and image resizing isn't working for them either and is a problem on their end. They are going to work on it.


Support exported types and System.Runtime.dll as the core library

.NET Core uses System.Runtime.dll as its core library instead of mscorlib.dll, but this assembly forwards its type definitions to System.Private.CoreLib.dll.

Started exposing exported types in https://github.com/tristanlabelle/swift-dotnetmetadata/commit/6a1d54298e9bb5b5c6b2d60f54f01ca93443e07e

Implemented as of https://github.com/tristanlabelle/swift-dotnetmetadata/commit/634e6e4679dd3abb085f81c623acc7c57a019bba


NoClassDefFoundError when deploying in Docker container

I have a Wiremock project using Ivy/Ant for dependencies/builds. When I run it from a launch file in Eclipse it successfully starts up the server and requests succeed. However when I build it as a docker image and run it, it crashes immediately.
docker build:
`docker build --force-rm -t <REPO_LOCATION>/assignment_form_api_mock:latest -t <REPO_LOCATION>/assignment_form_api_mock:1.0.6 .`

docker run:
`docker run -d --name form-api-mock -p 10404:8080 <REPO_LOCATION>/assignment_form_api_mock --verbose --extensions="com.gatesbiz.assignmentdispatch.mock.RequestTemplateTransformerGlobal,com.gatesbiz.assignmentdispatch.mock.AdminAreasRequestTransformer,com.gatesbiz.assignmentdispatch.mock.FormsRequestTransformer,com.gatesbiz.assignmentdispatch.mock.VehicleRequestTransformer"`

While loading extensions docker logs this stack trace:
2017-08-14 18:05:24.276 Verbose logging enabled
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/type/TypeReference
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.github.tomakehurst.wiremock.extension.ExtensionLoader$3.apply(ExtensionLoader.java:75)
    at com.github.tomakehurst.wiremock.extension.ExtensionLoader$3.apply(ExtensionLoader.java:71)
    at wiremock.com.google.common.collect.Iterators$8.transform(Iterators.java:799)
    at wiremock.com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    at wiremock.com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    at wiremock.com.google.common.collect.Maps.uniqueIndex(Maps.java:1163)
    at wiremock.com.google.common.collect.Maps.uniqueIndex(Maps.java:1140)
    at com.github.tomakehurst.wiremock.extension.ExtensionLoader.asMap(ExtensionLoader.java:43)
    at com.github.tomakehurst.wiremock.extension.ExtensionLoader.loadExtension(ExtensionLoader.java:32)
    at com.github.tomakehurst.wiremock.extension.ExtensionLoader.load(ExtensionLoader.java:39)
    at com.github.tomakehurst.wiremock.standalone.CommandLineOptions.extensionsOfType(CommandLineOptions.java:277)
    at com.github.tomakehurst.wiremock.core.WireMockApp.<init>(WireMockApp.java:80)
    at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:69)
    at com.github.tomakehurst.wiremock.standalone.WireMockServerRunner.run(WireMockServerRunner.java:65)
    at com.github.tomakehurst.wiremock.standalone.WireMockServerRunner.main(WireMockServerRunner.java:113)
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.type.TypeReference
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 17 more

I saw that people were having version problems with jackson: https://github.com/tomakehurst/wiremock/issues/282
For that reason I'm using wiremock-standalone. I've also tried implicitly overriding the the jackson versions to ensure the same versions of jackson-annotations, jackson-databind, and jackson-core are used. If I don't add the dependencies implicitly I get the same error but the jars brought in are versions:
    jackson-annotations-2.1.2.jar
    jackson-core-2.1.3.jar
    jackson-databind-2.1.3.jar

Ivy Dependencies:
<dependencies>
     <dependency org="com.github.tomakehurst" name="wiremock-standalone" rev="2.7.1" conf="compile->default"/>
     <dependency org="io.rest-assured" name="rest-assured" rev="3.0.3" conf="test->default"/>
     <dependency org="com.gatesbiz.common" name="logback_core" rev="2.0.13" conf="compile->compile;test->test"/>
     <dependency org="commons-io" name="commons-io" rev="2.5"/>
     <dependency org="com.fasterxml.jackson.core" name="jackson-annotations" rev="2.9.0"/>
     <dependency org="com.fasterxml.jackson.core" name="jackson-databind" rev="2.9.0"/>
 	<dependency org="com.fasterxml.jackson.core" name="jackson-core" rev="2.9.0"/>
 </dependencies>

As per the readme, please can you post questions on the mailing list.


share links into google drive have changed and it is not working anymore

i have release that the share links into google drive have change, see:

When i need to get the share link i get i.e something like https://docs.google.com/spreadsheets/d/1YUZ_8g16nrXHVrJbQ6aU4xL_dPK-2cq68pGwnILEYv8/edit?usp=sharing
This does not have anymore the prefix of https://drive.google.com...blablabla
Therefore it is not working anymore using this command because the drive link does not exist anymore, any ideas to solve it?

I agree this is a bit cumbersome, but you can still use the FILE ID to download file.
In your case, it is 1YUZ_8g16nrXHrJbQ6aU4x..
so you can do like gdown --id 1YUZ_8g16nrXHrJbQ6aU4x...


Fix queued exports on related records table

Issue
Getting the following exception when attempting to queue an export for a table as part of a ManageRelatedRecords page.
Typed property Filament\Resources\Pages\ManageRelatedRecords::$record must not be accessed before initialization
Fix
Return $this->livewire if it's a queued export prior to attempting to call bootedInteractsWithTable() on the livewire component.

I'll merge this for now and hope it doesn't break anything else 🙈


SQL issues

So, my setup is a bit different that others.  I'm using a raspberry pi with a headless raspbian install.
I built the LAMP stack myself with Apache2, MySQL, and PHP5
Here is what I get when I try to load the webpage.
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY time DESC' at line 4"
Going through the setup, I did notice a discrepency when setting up the SQL database.
"GRANT USAGE, FILE TO 'steve'@'localhost';"   would not work, I got back wrong Syntax.
I do know (by looking at mobile data usage after a test trip) that torque is uploading to the server.  So at least I've got that going for me.
I am not SQL or PHP savvy.  So any help would be appreciated.
Thanks,
Denton

Hey guys,
Im very new to this and dont know SQL :(
When i follow your guide and at very start when i try to create database I get the same error.
GRANT USAGE, FILE TO 'azazel'@'localhost';
mysql> GRANT USAGE, FILE 'azazel'@'localhost';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''azazel'@'localhost'' at line 1
Everything above worked fine.
mysql> CREATE DATABASE torque;
Query OK, 1 row affected (0.24 sec)
mysql> CREATE USER 'azazel'@'localhost' IDENTIFIED BY 'blablabla';
Query OK, 0 rows affected (0.00 sec)
Any ideas? :)

Hey guys,
Im very new to this and dont know SQL :(
When i follow your guide and at very start when i try to create database I get the same error.
GRANT USAGE, FILE TO 'azazel'@'localhost';
mysql> GRANT USAGE, FILE 'azazel'@'localhost';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''azazel'@'localhost'' at line 1
Everything above worked fine.
mysql> CREATE DATABASE torque;
Query OK, 1 row affected (0.24 sec)
mysql> CREATE USER 'azazel'@'localhost' IDENTIFIED BY 'blablabla';
Query OK, 0 rows affected (0.00 sec)
Any ideas? :)

Same problem here :)

It appears the correct syntax is
GRANT USAGE, FILE ON . TO 'user"@'localhost';
You have to state the database scope, and it has to be all since the "FILE" privilege is global.
https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_file
I'm just starting out trying to set it up on a Centos7 VM and ran into the same issue but adding the "." made it run correctly.


Update design system to version 31.4.1

This is an auto-generated PR.
Design system release: https://github.com/ONSdigital/design-system/releases/tag/31.4.1

Updated to 31.4.2 in https://github.com/ONSdigital/eq-questionnaire-runner/pull/508


bump up to iomgr11 with sisl11

@zichanglai you need to also adjust the branch pointed at for SISL here:
// build_dependencies.yml
112         ref: stable/v10.x

and
 23   Sisl10Deps:
 24     uses<EMAIL_ADDRESS> 25     with:
 26       branch: stable/v10.x

Change this to SislDeps and set branch's to master.

reassign to jyao3


Positioned widgets should have an option to apply to a Stack widget's size.

Sometimes it is desirable to have a widget within a Stack be positioned at some arbitrary offset like the following:
return Column(
  children: <Widget>[
    Stack(
      children: <Widget>[
        Container(height:20, width: 20, color: Colors.green,),
        Positioned(
          top: 10,
          child: Text('Does not render because the stack is only 20x20'),
        )
      ],
    ),
    Container(height:40, width: 40, color: Colors.red,)
  ],
);

However, Positioned widgets are not considered when a Stack determines its size. As a result, the text in this example is cropped, and the red square draws too high. This can be worked around by using a Container with its padding set instead of a Positioned widget to wrap the Text. Is this intentional? Perhaps it would be better to give Positioned a bool that marks it for consideration in calculating the Stack's size.

If you need this you should not use a Stack.
Instead use a LayoutBuilder, CustomMultiChildLayout, or extend RenderObject.

Can you provide an example of how to solve this problem with those classes? The documentation leaves a little to be desired.

I'd suggest you create a StackOverflow question with concrete examples what you try to accomplish.
Code that shows what you tried (can be Stack based) and where you failed.
Or search for examples where widgets I mentioned are used (like https://github.com/flutter/flutter/tree/master/examples, especially)

I did ask a similar question oriented toward solving my specific problem on SO, but that is outside the scope of this thread. What I'm saying here that there is a real use case for considering individual Positioned widgets for a Stack's size. If you are saying this can be accomplished with another widget, then please explain how using the concrete example I provided above.

Hello you awesome people!
I just created a Let's Flutter Berlin group on Facebook to bring flutter developers in Berlin together to discuss problems, share ideas and create beautiful things together. If you live in Berlin, it would be awesome if you could join the group 😊! If you don't live in Berlin, feel free to join too! Im grateful for each and every supporter.
Let's Flutter Berlin: https://www.facebook.com/groups/276520973054067/about/
Sorry for spamming.

Found this old issue from a google search, instead of:
      children: <Widget>[
        Container(height:20, width: 20, color: Colors.green,),
        Positioned(
          top: 10,
          child: Text('Does not render because the stack is only 20x20'),
        )
      ],

You could simply do:
      children: <Widget>[
        Container(height:20, width: 20, color: Colors.green,),
        Padding(
          padding: EdgeInsets.only(top: 10),
          child: Text('Does not render because the stack is only 20x20'),
        )
      ],

It's not the described solution, but gets the desired result given the example.


feat: new icons

Changes description

Close #1307
Context

Checklist

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
[x] Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
[x] Check your code additions will fail neither code linting checks.
[x] I have reviewed the submitted code.
[x] I have tested on related showcases.
[x] If it includes design changes, please ask for a review with a core team designer.

Does this introduce a breaking change?

No

Hi! @thibault-mahe I let you check this 🙏

The problem has been identified and a global solution (including existing icons) should be proposed in a future PR. I merge as is. Thank you!

Thanks @thibault-mahe, as discussed, this is another problem as we already have this problem for a lot of icons already in main branch. I think we can merge this and follow the problem with #1315 for icons & assets


Unable to find packages for dotnet after enabling the repo for centos7

I was following the instructions on: https://docs.microsoft.com/en-us/dotnet/core/install/linux-centos
However even after adding the repo in centos7,  I don't see the .NET sdk available for download.

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

ID: 577ce9b2-5b48-4ed2-c309-a78880015dd2
Version Independent ID: 26300783-8df5-56a1-4ab6-4b8511e37f51
Content: Install .NET on CentOS - .NET
Content Source: docs/core/install/linux-centos.md
Product: dotnet-fundamentals
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hello. There is an issue opened in the .NET source repository tracking RHEL and CentOS: dotnet/core#5596 I don't know if they can help your issue or not though. You'll need to provide a lot more information like what commands you ran and the output of those commands. If they can't help you in that issue, I would open a new one in that same repository. Sorry I can't be more help.
I'm going close this issue.

Hello. There is an issue opened in the .NET source repository tracking RHEL and CentOS: dotnet/core#5596 I don't know if they can help your issue or not though. You'll need to provide a lot more information like what commands you ran and the output of those commands. If they can't help you in that issue, I would open a new one in that same repository. Sorry I can't be more help.
I'm going close this issue.


Docs/middleware

Codecov Report

Merging #999 (b11ba8a) into main (1571c71) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #999   +/-   ##
=======================================
  Coverage   55.74%   55.74%
=======================================
  Files          71       71
  Lines        2235     2235
  Branches       65       65
=======================================
  Hits         1246     1246
  Misses        989      989

Continue to review full report at Codecov.

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


Bugfix issue89

If the user uses edit command but states an index that is out of bounds, the edit command gives an inaccurate error message: "The person you are looking for cannot be found, below is a list of people with similar names".
This is confusing to the user as the list of names given are not similar names
Let's change the error message to say: "The person you are looking for cannot  be found"

LGTM


Missing ML Tasks

This page should include all the ML tasks supported by ML.NET. For instance, Time Series, Anomaly Detection.

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

ID: bd15175c-5b7d-4310-ecf5-32ffc7bc588b
Version Independent ID: 38adc676-934e-0ff9-c868-527f075c96df
Content: Machine learning tasks - ML.NET
Content Source: docs/machine-learning/resources/tasks.md
Product: dotnet-ml
GitHub Login: @natke
Microsoft Alias: johalex

Thanks for raising this @bamurtaugh . Anomaly Detection is there. We're working on Time Series and Deep Learning.

What about reinforced learning?  Does ML.Net support that?


Provide a comment for enabling statistics in Nightscout

as well as a pointer to the Statistics / Demographics

Please test changes (build) before PR:ing up 🙃.
Your localised strings will break build/app, due to being in wrong format.
Please have a look at how the other strings are constructed and update your PR.

fixed ... I swear I built and tested ... took me a few to get the VStack/HStack formatting ... not sure how I lost the semi-colons :(


URI too long for large filter predicates

Bug report
Describe the bug
This is essentially the same issue as https://github.com/supabase/postgrest-js/issues/393 in the Javascript library.
Large filter predicates fail because the resulting GET request URI is too long.
To Reproduce
Create a sufficiently large filter and observe that it fails:
# comment_ids was a couple hundred items in my case
self.supabase.table('some_table').select('id, comment_id').in_('comment_id', comment_ids).execute()

throws an error:
File "/usr/local/lib/python3.11/site-packages/postgrest/_sync/request_builder.py", line 74, in execute raise APIError(generate_default_error_message(r)) postgrest.exceptions.APIError: {'message': 'JSON could not be generated', 'code': 414, 'hint': 'Refer to full message for details', 'details': "b'URI too long\\n'"

Expected behavior
postgrest should be able to handle these cases, the filter I'm building is not that much data. I don't know much about the internals but it looks like it's building a GET request with query params, can it not perform a POST request with a body instead? If that's not possible, can the library perform some automatic chunking under the hood?
Screenshots
If applicable, add screenshots to help explain your problem.
System information

Python 3.11
Linux
supabase==2.3.0
postgrest==0.13.0

Additional context
I saw the similar tickets opened for the other client repos but figured I'd open this for any Python users that stumble across it. A bit confused if this is library specific or not.

This isn't library specific. Until PostgREST changes the way it accepts queries I don't think we can do anything on the client-side, the issue you've linked suggests using an RPC function

I agree with @anand2312 on this one, its not an issue with this library itself. As suggested you should be using a RPC function instead.


REST API UI v1.1

This is mostly a transfer of code from PR #850, with a refactor from bower to webpack and few small changes related to bootstrap4.
TODO
move to partials, integrate ajax updating
integrate --api flag which sets auto stat dumping and prevents toggle
explore best representation for multiple running zenbot instances
this pull request resubmitted after a failed rebase.

@DeviaVir Is anything blocking this PR to be merged?


Add configuration option for new credential ID length

This PR adds support for authenticators built on-top of passkey-rs to control what length user handle/credentialId they make for later storage in the passkey provider. Providers may want to randomize or otherwise change this value to prevent authenticator fingerprinting based on well-known lengths.

LGTM, All that's missing is a changelog entry

Changelog added 👍


Too much space below status bar (2 SaveAreaViews)

Description of issue
There is too much space between status bar and headers on iPhones.

The SaveAreaView is applied twice.
Expected behaviour
No extra space.
Steps to reproduce
Go to any page except home on an iPhone.
OS / Browser / Device model
iPhones

Hmmmm, I am pretty sure I addressed this in the status bar PR. I'm guessing something got taken out in a conflict. I will take a look.


cargo: Bump windows crate range to 0.53-0.56

Allow windows 0.53 all the way up to and including 0.57 to be used, and remove some unused features from the core crate.

The ComInterface trait seems to be just Interface since 0.53: https://github.com/microsoft/windows-rs/issues/2875#issuecomment-1962332067
I'm not sure why it's not mentioned in the release notes. Interface seems to work down to at least 0.51 though, so I think you can just replace it without bumping the lower version bound.

This would be great to get in, I've started depending on it locally.

Looks like 0.57 requires an MSRV bump to Rust 1.70.

Ugh, the merge-commit title failed to update.


Mcclean qc branch merge

Hello @cartal !
Please review the finalised notebooks.

Pk, reviewed and ready to merge.


Only runs for a short period of time showing a few friends

Everything seems to work properly with no errors, but when running the app it stops showing results after about 15-20 minutes. It also only shows a select few of my friends. In addition, nothing appears under period or duration.
I have been running it for around 3 hours now, and still the only entries are from the first 15 minutes or so.

happens the same here

Are you leaving the scraper on? Every 10 minutes it will show a line  " - x active users"

You have to run the following, and not stop it.
npm run scrape

aight im leaving it running ill feedback in 10min ;)

yeah , running the scrape parallay , it started showing some result ..

yea but still no results under period/duration

@shokez ^ same here

The results are saved in src/server/services/db.json. Can you paste the output of that file?

{
  "updates": [
<PHONE_NUMBER>964,
<PHONE_NUMBER>693,
<PHONE_NUMBER>954,
<PHONE_NUMBER>713,
<PHONE_NUMBER>643,
<PHONE_NUMBER>109,
<PHONE_NUMBER>287,
<PHONE_NUMBER>816,
<PHONE_NUMBER>369,
<PHONE_NUMBER>274
  ],
  "users": {
    "670211658": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "1111155746": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "1280420629": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "1319445739": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "1396471122": [
<PHONE_NUMBER>000
    ],
    "1682816301": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "1789345157": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "1820126359": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100008434963040": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000913101752": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001252329771": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001964463479": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100005285953065": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000185497324": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100006022479366": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100004852593861": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001370295225": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000926437066": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100002721521315": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001446261522": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001403886141": [
<PHONE_NUMBER>000
    ],
    "100000897346854": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000904512409": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000911851463": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100004521186526": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000975138983": [
<PHONE_NUMBER>000
    ],
    "100006978789732": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000968694985": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100002154782113": [
<PHONE_NUMBER>000
    ],
    "100001049629143": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001553804076": [
<PHONE_NUMBER>000
    ],
    "100000143769570": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000664306447": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001679133678": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100002081886262": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100002295167473": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100002636837317": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000135366886": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001119086614": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000245846376": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100000304562518": [
<PHONE_NUMBER>000,
<PHONE_NUMBER>000,
<PHONE_NUMBER>000
    ],
    "100001057537290": [
<PHONE_NUMBER>000
    ],
    "100001242423495": [
<PHONE_NUMBER>000
    ],
    "100001456902419": [
<PHONE_NUMBER>000
    ]
  }
}

btw the 10 min thing is working
it uploads the results

@Skokez Okay, and the results you posted looks good (I removed the user_ids btw)

so... why isn't showing any data?
thanks btw

Do you have an ad-blocker running?
Did you click "Login with Facebook"?

Stop'd ad-blocker still nothing
and yes I clicked on "Login with facebook"

and I still get the same amount of friends on the list

and I still get the same amount of friends on the list
So you see a list of friends on the left? But when you click any of them, no results show up?

Do you see any errors in the console?

If you open this url http://localhost:9090/rest/users do you see something like below?
[
    {
        name: "<friend name>",
        id: "<friend id>",
        count: 2
    }
    ...
]
``

I dont see any errors
and i cant access the link

Sorry, I meant to write http://localhost:3000/rest/users

same for me. It will show This webpage is not available. ERR_CONNECTION_REFUSED in the browser.

Ahh, re-reading the original question and see this:

nothing appears under period or duration

It will not show anything under "period - duration" until it has enough data points. It should run for at least 24 hours until anything will show up.

ho ok great so evertything working fine thanks


cargo test

Even though this repo is WIP, just quickly to let you know (you might already do) but when running tests, one test fails:
test database::tests::test_lost_update ... FAILED

@tpisto Thanks for opening the issue, I can reproduce it here as well. /cc @psarna

will check, thanks! I wonder how it made its way through CI... maybe it's a flaky test and only passes because of a race or something


Remove obsolete AadCommand base class

After completing #2920 and #2921, we can remove the AadCommand class which will be no longer used.

Seems like all the prerequisites are now ready. I can work on this.

Awesome! All yours 👍


Consider using mousedown as the event

I know you likely don't care, but in electron, clicking on a webview does not bubble the click event, but it does bubble the mousedown event.   If you changed to mousedown, then this would work in electron, event if you click on a webview.

#14 is a better issue.


NPE on token invalidation

Describe the bug
NPE happened at this line if access token is not available (e.g. it was expired and cleaned up) but refresh token is present.
To Reproduce

Perform usual authorization code flow which generates access/refresh tokens
Wait some time for access token expiration (e.g. if implemented, access token is cleaned up when expired)
Call /token endpoint one more time with old authorization code

Expected behavior
No NPE in the logs

@vgagara-talend An OAuth2Authorization is in an invalid state when a OAuth2RefreshToken exists but a OAuth2AccessToken does not exist. An OAuth2AccessToken should always exist even if it's expired.
The custom implementation of:

if implemented, access token is cleaned up when expired

should be fixed to remove the OAuth2Authorization when all tokens are no longer valid.
I'm going to close this based on the explanation provided.


Error on Enable console logging

When I was following this document got blow error on line "config.LoggerFactory = loggerFactory.AddConsole();" under section "Enable console logging"
'JobHostConfiguration' does not contain a definition for 'LoggerFactory' and no extension method 'LoggerFactory' accepting a first argument of type 'JobHostConfiguration' could be found
Looks like I am missing some reference.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;

namespace AzureJob
{
    // To learn more about Microsoft Azure WebJobs SDK, please see https://go.microsoft.com/fwlink/?LinkID=320976
    class Program
    {
        // Please set the following connection strings in app.config for this WebJob to run:
        // AzureWebJobsDashboard and AzureWebJobsStorage
        static void Main()
        {
            var config = new JobHostConfiguration();

            if (config.IsDevelopment)
            {
                config.UseDevelopmentSettings();
            }

            config.DashboardConnectionString = "";
            var loggerFactory = new LoggerFactory();
            config.LoggerFactory = loggerFactory.AddConsole();

            var host = new JobHost(config);

            // The following code ensures that the WebJob will be running continuously
            host.RunAndBlock();
        }
    }
}

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

ID: 2e9e1a8a-6284-a230-061e-7cb27258571a
Version Independent ID: 43390e30-04d6-6d4e-018e-21419dbb11e8
Content: Get started with the Azure WebJobs SDK
Content Source: articles/app-service/webjobs-sdk-get-started.md
Service: app-service-web
GitHub Login: @ggailey777
Microsoft Alias: glenga

I have exactly the same problem after following the document guide

I had the same problem, and eventually realized it was because the Microsoft.Extensions.Logging package had failed to install. After changing the target framework to 4.6.1 and reinstalling the logging package, it worked as expected.

@ravick4u @Noissim  I was able to work through the sample doc with no issues. I used 4.6.1 framework and made sure to use 2.2.0 version of webjobs.
It looks like @wjmoody03 was able to resolve the issue by ensuring he used similar versions. Can you please check this part of your projects?

@BryanTrach-MSFT Upgrading to WebJobs 2.2.0 did the trick. Thanks!

@ravick4u Since we have not heard back from you and we have three others verifying the resolution, we will proceed to close out this thread. If you have any further questions, please tag me in your reply.
@Noissim Great to hear. Thank you for updating us. Have a great weekend.

I had the same problem too. Followed below steps.

changed the target framework to 4.6.1 and reinstalled all packages.
Upgrading to WebJobs 2.2.0.


Refactor config into its own module

The utils module has the potential to get very large and unwieldy. We should break up semantic responsibilities as much as possible.

Maybe we should also look at existing config models so we can do file-based config specs.


Restore ogmios tests

Codecov Report

Merging #221 (665dbcd) into main (b1cda02) will increase coverage by 2.95%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
+ Coverage   82.57%   85.52%   +2.95%
==========================================
  Files          26       26
  Lines        2909     2909
  Branches      698      698
==========================================
+ Hits         2402     2488      +86
+ Misses        403      310      -93
- Partials      104      111       +7

see 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Move external services to separate Docker containers

Currently, we are running many services in one Docker container.  These should be split out and a docker-compose file should be added.

[x] Separate the ruby install to it's own container (see https://github.com/chriskacerguis/rhel-rails)
[ ] Update Dockerfile to use that build image
[ ] Create docker-compose to use memcached and postgresql container

[more items coming]
cc @bdunne

cc @bazulay @fbladilo

I wonder if we shouldn't skip directly to pods/template in openshift/kubernetes.
but this is a good exercise anyway - not sure it is necessary for POC use cases

I would go with both, that way MIQ can get out to a large as possible audience.

I would split out and start with the docker-compose approach first, I just attempted to run locally on my laptop for the first time having come across the project. Running under kubernetes/openshift isnt going to be a first step for most people.
I noticed also the docker instructions are wrong and only got the docker image working after looking inside the Dockerfile and seeing that i needed to do an install step and then mount the volume. This isnt mentioned in the Docker instructions found here http://manageiq.org/download/

@zekizeki the install step is needed only for atomic host (written in https://github.com/ManageIQ/manageiq/tree/master/docker-assets), ad for running it on docker the mount happens automatically. one note though is to wait till all the db migrations are done + wait for all processes to come up (it takes several minutes ... depends on your HW).
If it is a different issue you have encountered than please open a separate detailed issue on git hub.
FYI - I just tried the docker hub image again and it worked out of the box according to the instructions specified.

@chriskacerguis  although docker-compose looks like a natural step , there is no big difference between running in 2 container (with docker compose)  or one container (like the image we have today) on a single host, the more interesting use case is the orchestrated clustered based deployment on kubernetes.
I will give it a try anyway.

@chriskacerguis @bazulay I'm in line with Barak's opinion on this one, I think focusing on a clustered multi-host appliance on kubernetes is probably time wisely spent. With this said, if you guys believe a docker-compose single-host option is worth the effort, then we can look at it.

@fbladilo @chriskacerguis @bazulay : my thoughts on this is that there is a need to break down the miq appliance in multiple components (memcached, database, workers, ui, ...) .
The Docker-Compose approaches allows to start working on this, and it has the advantage to document the process in the mean time for those of us who wants to deploy a scalable miq architecture (i still search documentation on this, but nothing yet...)
After that the next logic step would be working on an OpenShift / Kubernetes configuration indeed. But it's a step 2 imo.

@fvillain @bazulay @chriskacerguis we have started the decomposition of the appliance in OpenShift (3.2) here
https://github.com/fbladilo/miq-on-openshift
The current template deploys the PG database and Application on separate pods, we are currently working on memcached. I suspect it could be used on k8s with minor modifications but haven't tested yet.

@fbladilo @bazulay @chriskacerguis  I posted a PR for memcached support
https://github.com/fbladilo/miq-on-openshift/pull/21
I also worked on a docker-compose file that works like a charm, i'll make the PR soon

Closing as this will be done as part of the re-arch.


image path

there is a problem with the default picture path

there is a problem with the default picture path

This problem has been fixed. Thank you for your contribution!


Differentiate hover state for outline buttons

The :hover state for outline buttons is effectively the same as the :active state, so it can be difficult to tell the difference between a button that is hovered over and one that is active - particularly when using eg checkbox/radio buttons as buttons, which uses the active class to show that something is selected.
This change adds $hover-background and $hover-border as options to the button-outline-variant mixin, and gives them default values half-way between than the $color and white.
I think this is related to #26804
Current state

With change

Closes #26804
Preview: https://deploy-preview-28999--twbs-bootstrap.netlify.com/docs/5.1/components/buttons/#outline-buttons

Personally I think we better darken the hover color instead of making them completely dark.

I agree, this doesn't feel natural to me.

I just pushed some changes which fixed the hover color.

@mdo: WDYT?

Rebased, I need a second look please @MartijnCuppens.
@mermop please do not overwrite the rebase by accident 🙂

Looks good

OK, then we need @mdo @ysds @ffoodd to chime in :)

Already commented on this, I think arguments naming could be more consistent with surroundings.
Apart from that, it's good 🙂

Feel free to rename any args, we can edit the files ourselves unless the user has explicitly turned this off 🙂

Mixin arguments are now consistent —in both naming and order— with previous mixin.

Not in favor of launching v5 alphas with this just yet. It's a pretty strong departure from our current styles and I feel a decent amount of outline buttons roll with this approach. It makes the active state feel out of place somehow.

Looking at https://deploy-preview-28999--twbs-bootstrap.netlify.app/docs/5.0/forms/checks/#outlined-styles i could well go for that (and yes that would solve #31149). not 100% convinced it looks natural for https://deploy-preview-28999--twbs-bootstrap.netlify.app/docs/5.0/components/buttons/#outline-buttons though...maybe do a halfway implementation where this only targets the checkbox/radio buttons (and https://deploy-preview-28999--twbs-bootstrap.netlify.app/docs/5.0/components/buttons/#toggle-states outline ARIA toggles) scenario, but not the regular "one shot" buttons? or does that get too fiddly?

@mdo what's your take on this?

I’m sorry for dropping the ball on the pings here. With the beta phase, do folks consider this a breaking change?

I’m sorry for dropping the ball on the pings here. With the beta phase, do folks consider this a breaking change?

@mdo Yes. If someone used the mixin with named arguments (eg @include button-outline-variant($color-hover: #111), it'll break.

@mdo Yes. If someone used the mixin with named arguments (eg @include button-outline-variant($color-hover: #111), it'll break.

Hi, not sure if this is relevant and not trying to derail -- I can post a separate issue but some similar ones (for mobile, etc.) got marked as dupes, and everything I could find (e.g. https://github.com/twbs/bootstrap/issues/31149) leads to this thread.
I'm on osx desktop chrome 89, and when I click on a toggle state button and mouse away, the focus state is retained, and the current colour choices (in 4.5, 4.6, and 5.0-beta3) for focused/hovered/active make it very hard to tell what the state of the most-recently-clicked button is, until the user clicks elsewhere on the page to dispel the focus-state. Here's a gif from this PR's preview showing a full state-cycle: https://deploy-preview-28999--twbs-bootstrap.netlify.app/docs/5.0/components/buttons/#toggle-states:

You can see after clicking and mousing off, focus is retained and the state looks roughly "active", but much worse is that when toggling off the change is very slight -- it still pretty much looks active, and you have to click somewhere else to know what the state really is.
I ran into this in the wild on arewefastyet.rs today, which starts with some buttons activated that you might naturally turn off -- what is the state of the # of cores component below? With no siblings active, even with other identical active components nearby, it's really tough to tell none were  selected until the off-element click.

I actually cloned their repo to try to fix this, thinking it was some missing/broken mouseout handler issue, before realizing it's just bootstrap's default behaviour+appearance right now. If this PR isn't the right place for this or folks don't agree it's an issue, I'd be happy to file/discuss somewhere else.

Would be good to revisit this, as it's been a long-standing issue/problem we've had for aeons now.

When I clicked a button on the example, it works but it flashes the color because the :hover is not opaque enough.

@twbs/css-review  any news on this?

I think this is a huge problem

My only concern is if we should land this in v5.2.0 (a minor version) or not. It is a potential breaking change, isn't it?

forgot about this PR, and separately did some work here https://github.com/twbs/bootstrap/pull/37026 ... thoughts?

Superseded by #37026.


Update classes Household and ShoppingList

Changed JPA classes attributes to private

Also added mapping and add methods:

ShoppingList -> List shoppingItems
Household -> List shoppingLists

Question:
How to deal with removing of related instances of lists?
What about equals and hashCode methods?

https://github.com/fi-muni/PA165/blob/seminar-persistence2/eshop-persistence/src/main/java/cz/fi/muni/pa165/entity/Order.java#L99

Myslim si ze by trebalo odstranit:

setShoppingLists ... nastavovat cely zoznam nedava velmi zmysel

detto pre setShoppingItems
a taktiez zly nazov v triede ShoppingList premenovat funkciu addToShoppingList na addItem


Shutting down the machine

Used to poweroff and schedule shutdown of the machine

Yes you can provide command for that


Release v1.0.3

[v1.0.3]
Added

Added support for loading orbit information from JPL Horizons
Added quality of life function to SimultaneousState for computing the RA/Dec along
with the projected on sky rates of motion.
Added more complete testing for light delay computations in the various FOV checks.

Changed

Changed the return signature for fov_static_check, this now returns indices of
the inputs, instead of the original inputs themselves.

Fixed

Sampling of JPL Horizons orbit fits was slightly off, and appears to be fixed by
assuming that the epoch time of the covariance fits is in UTC. This assumption is
now included in the covariance matrix sampling. This is different than their other
data products.
Field of View checks for SPK checks was not returning the correct light delayed time,
it was returning the position/velocity at the observed position, but the time was
the instantaneous time.

Removed

Removed several polar coordinate transformations in the rust backend which were all
equivalent variations of latitude/longitude conversions. Nothing in the Python was
impacted.

Main goal for this release is the inclusion of on sky velocity calculations, along with a function to query JPL Horizons for their non-truncated orbital elements (as opposed to the truncated ones provide by MPC).

Omg. MPC are truncating their orbital elements!?
Frank
On Oct 25, 2024, at 10:53 AM, Dar Dahlen @.***> wrote:
Main goal for this release is the inclusion of on sky velocity calculations, along with a function to query JPL Horizons for their non-truncated orbital elements (as opposed to the truncated ones provide by MPC).
—
Reply to this email directly, view it on GitHubhttps://github.com/Caltech-IPAC/kete/pull/145#issuecomment-2438446190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADXUBIMCLWNZZSGGXS6NGN3Z5KAQZAVCNFSM6AAAAABQTYC266VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZYGQ2DMMJZGA.


[bug] Integer like array is not cast to string even if said so.

Describe the bug
I am trying to have a number only string as a value in the dynaconf setting object, but the parser only treats it as a number.
To Reproduce
Steps to reproduce the behavior:

Having the following folder structure

 Project structure

# /path/
# ...../folder/...
# please provide your folder structure here

Having the following config files:

# settings.toml
[default]
password = 123456

Having the following app code:

 Code
/path/src/config.py
from dynaconf import Dynaconf, Validator

settings = Dynaconf(
    environments=True,
    settings_files=["settings.toml", ".secrets.toml"],
    root_path=os.path.dirname(os.path.abspath(__file__)),
    validators=[
         Validator("PASSWORD", must_exist=True, cast=str)
    ],
)

/path/src/app.py
from config import settings
assert settings.password == "123456" # This throws an error and can only read the password as an integer.

This didn't work in  v3.1.11 but was fixed by #873.
In v3.1.12 it works as expected

@FeryET Can you confirm upgrading solves the issue?

@pedro-psb Sorry for the late reply, I could test it just now. Seems to be working in the new version.


SUGGESTION: Interpolate the scoreboard with something to show missing entries

Right now the scoreboard looks something like this when people miss entries:
Player1      [4, 5, 2]   38
Player2      [6, 2, 4]   35
Player3      [3, 3, 6]   33
Player4      [4, 3]      25
Player5      [5, 3]      20

It would be useful if it could be updated to show something like this:
Player1      [4, 5, 2]   38
Player2      [6, 2, 4]   35
Player3      [3, 3, 6]   33
Player4      [-, 4, 3]   25
Player5      [5, -, 3]   20

Having a quick look at the queries, perhaps something like this would do it (I haven't actually looked up the table structure...)?
-- name: GetScoresByServerId :many
with max_game_week as (select max(game_id / 7) game_week
                       from wordle_scores
                                inner join nicknames n2 on wordle_scores.discord_id = n2.discord_id
                       where n2.server_id = $1
)
select n.nickname,
       coalesce(json_agg(guesses order by s.game_id), "-")             guesses_per_game,
       json_agg((7 - s.guesses) ^ 2 order by s.game_id) points_per_game,
       count(distinct game_id)                          games_count,
       sum((7 - s.guesses) ^ 2)                         total
from wordle_scores s
         inner join nicknames n on s.discord_id = n.discord_id
         inner join max_game_week g on g.game_week = s.game_id / 7
where n.server_id = $1
group by n.nickname
order by sum((7 - s.guesses) ^ 2) desc;

I like this idea. Thanks for the query! I'll see what I can get working.


Compatibility with apollo3-cache-persist (Reopening issue 35)

Hi, I'm having trouble using apollo-cache-policies along with the apollo3-cache-persist library in a React Native project. This issue is most likely the same as #35.  I have gotten an InvalidationPolicyCache to work without persistence. However the data is never refreshed once I persist the cache.
I modified a sandbox to repro the issue here. (Original sandbox from this issue)
Repro Steps:

Click a film
Wait 10 seconds for cache to expire
Navigate back

Expected:
4. List is refreshed with a new network request
Actual:
4. List is not refreshed, the data is loaded from the cache.
The same steps result in the list being refreshed if apollo-cache-persist is not being used (comment out line 47). Any advice for getting these two libraries to work?
Let me know if you need more info. Also, this is my first time working with Apollo. This could easily be my fault. Thanks!

I also noticed this recently as I'm starting to experiment with cache invalidation more and more. To be fair I'm not entirely that using both libraries has ever worked for me - I might have accidentally temporarily disabled the persist plugin while testing.
Neither v1.5.0, v2.0.0, v2.0.2 nor v2.3.0 seems to ever invalidate entries when combined with<EMAIL_ADDRESS>

Thanks for the repro! I'll take a look later today

Hey @ericaiq ! Getting back to this, had a busy week with work. Thanks for the great sandbox, found the issue. We had not been reinitializing all of the necessary objects when apollo3-cache-persist would call cache.restore() on startup, causing the TTLs to not work. Fixed in: https://github.com/NerdWalletOSS/apollo-cache-policies/pull/48 and released under version 2.4.0. Let me know if that works for you!

Thanks for looking into this! We actually decided to go in a different direction for the project I am working on.
I'm still noticing some weirdness in the sandbox. Notably that the initial call to allFilms isn't cached. I'm not sure if this is a sandbox set up issue or an issue with the cache.
Repro:

Set apollo-cache-policies to 2.4.0
Click a film
wait 10 second (for cache to expire)
click back
The list of films is now empty (Expected behavior is that the list is refetched)
Click Load More
Click a film
Click back
List is still empty and new films are not fetched
Refresh page, list is still empty. I think there is an empty list in the cache?

Can confirm that what @ericaiq described above is happening for me too.

@mogelbrod I think I found an issue and just released 2.4.1. When I run the original sandbox posted above on 2.4.1 (make sure to run window.localStorage.clear() to get rid of any lingering data from cache persist under 2.4.0) and perform steps 1-10 it seems to be working. If it's not too much trouble, take a look and see if it's still reproducible when you have time.

@danReynolds looks like v2.4.1 fixes the issue with relay style pagination, much appreciated!

@danReynolds looks like v2.4.1 fixes the issue with relay style pagination, much appreciated!

Woohoo! That was a tricky one. Thanks for your patience and persistence! 🙏


Add a way to ignore links

Currently, every time I run intraconv, it changes this link:
-    /// [`downcast_ref`]: #method.downcast_ref
+    /// [`downcast_ref`]: Collect::downcast_ref()

That breaks because downcast_ref is a function on dyn Collect, not Collect itself. There's no way for intra-conv to know this, so I don't think it can be fixed on that end, but it would be nice to say "I know this link will break, don't convert it" with a configuration file or something.
Similarly
//! [span]: https://docs.rs/tracing/latest/tracing/span/index.html
//! [span]: tracing::span

gets converted every time, which breaks because tracing isn't in scope in tracing-attributes (https://github.com/rust-lang/rust/issues/74481).

This may become verbose quickly if this is a command line option.
I'm not sure how to do it properly, maybe through a file and a --ignore-links [FILE]

Yeah, a file sounds nice - I was imagining this as configurable per-file and per-link so it would definitely be annoying to type by hand.

What would you want from such a file ? I have no idea about the format I'll use

I was imagining something like this:
[ignore]
[["tracing/src/lib.rs"]]
"`downcast_ref`" = "#method.downcast_ref"

(I checked and that's valid toml.)

Oh nice, if TOML is usable I'll juste use the toml crate and it will be easier (and more solid) than parsing a wonky format.

I'm wondering, would it be more intuitive to use suffixes (mod.rs can match multiple times) or canonicalised paths (mod.rs has been expanded to exactly one file) for the configuration file and the behaviour of intraconv ? What would you expect ?

Maybe it should use .gitignore syntax? Where you can say /tracing/src/mod.rs to mean an absolute path and mod.rs to mean a relative one, possibly matching many files.

 I just have to document it properly in the README and I'll push the changes.

   93:  "//! [`libstd`]: https://doc.rust-lang.org/std/index.html"
        "//! [`libstd`]: crate"

Another instance of #32 😓


[fix][broker] remove exception log when access status.html

Fixes #9201
Master Issue: #9201
Motivation
If injection fails, Jersey print the error log, see:
https://github.com/javaee/jersey/blame/faa809da43538ce31076b50f969b4bd64caa5ac9/inject/hk2/src/main/java/org/glassfish/jersey/inject/hk2/JerseyErrorService.java#L89
Modifications

The method checkStatus is not an injection method, remove @Context.
Print warn log if service has not ready.

Documentation

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

LGTM

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks


[Bug]: Invalid Captcha Response

Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What happened?
User needs to solve CAPTCHA to continue
I used to have a running script that used to work but now no longer works:
from EdgeGPT import Chatbot, ConversationStyle

bot = Chatbot(cookiePath='./cookies.json')
response = await bot.ask(prompt=prompt, conversation_style=ConversationStyle.balanced)
            for message in response["item"]["messages"]:
                if message["author"] == "bot":
                    bot_response = message["text"]
            bot_response = re.sub('\[\^\d+\^\]', '', bot_response)
            print("Bot: " + bot_response)

Now I updated my function and I get the response "User needs to solve CAPTCHA challenge" which I am unable to solve through a Python script:
import asyncio, json
from EdgeGPT.EdgeGPT import Chatbot, ConversationStyle

async def main():
    bot = await Chatbot.create() # Passing cookies is "optional", as explained above
    response = await bot.ask(prompt="Hello world", conversation_style=ConversationStyle.creative, simplify_response=True)
    print(json.dumps(response, indent=2)) # Returns
    """
{
    "text": str,
    "author": str,
    "sources": list[dict],
    "sources_text": str,
    "suggestions": list[str],
    "messages_left": int
}
    """
    await bot.close()

if __name__ == "__main__":
    asyncio.run(main())

Steps to reproduce the problem
Not exactly sure.
What should have happened?
The Bing AI response should have been printed into the console.
Version where the problem happens
Latest version (0.12.1)
What Python version are you running this with?
3.10.10
What is your operating system ?
Windows
Command Line Arguments
No

Console logs
Traceback (most recent call last):
  File "d:\GPT Prompt Analysis\3.py", line 21, in <module>
    asyncio.run(main())
  File "C:\Users\CM\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\CM\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "d:\GPT Prompt Analysis\3.py", line 6, in main
    response = await bot.ask(prompt="Hello world", conversation_style=ConversationStyle.creative, simplify_response=True)
  File "C:\Users\CM\AppData\Local\Programs\Python\Python310\lib\site-packages\EdgeGPT\EdgeGPT.py", line 116, in ask
    async for final, response in self.chat_hub.ask_stream(
  File "C:\Users\CM\AppData\Local\Programs\Python\Python310\lib\site-packages\EdgeGPT\chathub.py", line 203, in ask_stream
    raise Exception(
Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.

Additional information
No response

Same issue here. Captcha all the time.

Using a new set of cookies worked for me (but the Captcha issue reapear, if i use the chat too frequently, then a wait is neccessery).

I used to run it before as much as I want without any time waits.

I have the same problem with the captcha, captcha anywhere


Esc in terminal window does not shift focus back to the document well.

From @clboles on July 28, 2017 14:22
In VS tool windows, the Esc key generally returns focus back to the previously active document.  It would be nice if terminal window supported this as well since it's such a common muscle memory.
I wouldn't want to lose the behavior where Esc clears the input line in the terminal window, though.  Perhaps Esc should be special cased to support both.  If the user has typed input, then Esc should clear the line and keep focus in the terminal.  If there is no input, then Esc could release focus from the tool window.
Copied from original issue: dgriffen/WhackWhackTerminal#13

I'm not sure if this is a feature I can support. For simple terminal applications it would be trivial to contextualize it. But consider the case where a user has an application such as vim open. The esc key has an important function in vim and since vim uses ncurses to write text at various locations in the terminal window there is no reliable way to contextualize it. Users can always use Ctrl+Tab to navigate away from the terminal without a mouse.

From @clboles on July 29, 2017 0:59
Are you able to tell when an executable is running vs when just idling in the shell waiting for input?  I think it would be an acceptable tradeoff for Esc to only release focus when sitting idle and not in another console app.
The challenge you're going to continually encounter is terminal behavior conflicting with standard VS windowing/keyboard behavior.  Finding the right balance is going to be key to this feeling right in the IDE.  It's looking promising so far!

From @Tyriar on August 3, 2017 5:59
This should be closed as designed imo.

If the user has typed input, then Esc should clear the line and keep focus in the terminal. If there is no input, then Esc could release focus from the tool window.

node-pty just provides an input and an output stream, to us/xterm.js there is no differentiating input, prompt and output. This is something I've been thinking of for quite a while though so it may eventually be solved. I recommend not bothering looking into this but instead tracking https://github.com/Microsoft/vscode/issues/20676 for updates, it is not anywhere near as trivial as it seems 😃

Unfortunately I don't think there is a way for me to determine if there is a currently running process from the interface I have available to me.

This is true, even if there was I'd recommend against it as esc can be eaten by processes that are not the outer shell too. (eg. vim).

The challenge you're going to continually encounter is terminal behavior conflicting with standard VS windowing/keyboard behavior. Finding the right balance is going to be key to this feeling right in the IDE. It's looking promising so far!

VS Code gets around this by having a concept of "commands to skip the shell"; a list of commands that will not be sent to be handled by xterm.js. I'm not sure if this would translate well to VS.

Unfortunately I don't think there is a way for me to determine if there is a currently running process from the interface I have available to me. I use node-pty as a backend and it doesn't appear to offer me any hooks to determine if there is a running process.

Users can always use Ctrl+Tab to navigate away from the terminal without a mouse.
Just a quick note...when i'm in the terminal, i'm unable to use Ctrl-Tab to navigate away. Only through the mouse clicking into the code window can I go back to work. From the code window, pressing Ctrl-Tab however brings up the switcher and lets me go back to terminal window without problems.

Closing as designed at the suggestion of @Tyriar.
@armaandh I just landed a fix that passes Ctrl+Tab through to VS


For each region, include metadata of main country for calling code

cf. #23
(Will include the recompiled files when not on battery power. 😄 )

I'm going to delay landing this until you get a chance to get those built and played with since this lib has ~0 tests.

@nathanhammond Sure thing!

@nathanhammond If I were to add tests, do you care what test framework?

I don't have a preference. If you intend to test in a browser I'd nominate QUnit, if you intend to just run tests in Node I'd nominate Mocha. I use both on an approximate daily basis.


A question about cdp session

Will I be able to hide the open cdp session with this module? Or should I use patched Chromium to hide the cdp session? I ask because many antibot systems can easily detect automation in Chrome

The engine used in plugins and in BAS bypasses CDP checks without problems.
If you have examples where this is not the case, you can specify them so that we can check and refine them.


Fixes to admin CLI set command

Fixed the call from admin cli to vmdk_ops. Also updated to use volume@datastore as the way to specify the volume to the set command.
Testing:
/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py set --volume=dvol_2@bigone -options=access=read-only
Successfully updated settings for : dvol_2@bigone
/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py set --volume=dvol_2@bigoe --options=access=read-only
WARNING:root:Failed to create /vmfs/volumes/bigoe/dockvols
WARNING:root:Failed to get datastore path None
Failed to update access=read-only for dvol_2@bigoe.
/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py set --volume=dvol_2 --options=access=read-only
WARNING:root:Invalid datastore 'None'.
Failed to update access=read-only for dvol_2.
/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py set --volume=dvol_@bigone --options=access=read-only
WARNING:root:Volume dvol_ not found.
Failed to update access=read-only for dvol_@bigone.

Fixes #594

The build is failed. Please fix it.
Change LGTM.

Test infra error restarted the test.

LGTM. Is there a python tool to run to discover erroneous calls such as edit_vol_opts? We should include it as part of the build.


Persist identity options in settings

Depends on: https://github.com/stateful/runme/pull/416
The tests will fail until the proto changes are published to NPM. See trace below, this is expected.
ERROR in ./src/extension/serializer.ts:28:3
TS2305: Module '"./grpc/serializerTypes"' has no exported member 'RunmeIdentity'.
    26 |   SerializeRequest,
    27 |   Notebook,
  > 28 |   RunmeIdentity,
       |   ^^^^^^^^^^^^^
    29 | } from './grpc/serializerTypes'
    30 | import { initParserClient, ParserServiceClient } from './grpc/client'
    31 | import Languages from './languages'

This should be ready to go @pastuxso. Please note that I rebased the branch with main.


[usability] quoteNone type in quote makes coding a pain

As reported by @dtslvr in #416:

I have upgraded to<EMAIL_ADDRESS>and have the following type error: Property 'currency' does not exist on type 'QuoteNone' for this snippet:
const quotes = await yahooFinance2.quote(['TSLA']);

for (const quote of quotes) {
  console.log('currency', quote.currency);
}

How can I deal with QuoteNone?

As I stated there, in the meantime you workaround this like:
  if (quote.quoteType !== "NONE")
    console.log('currency', quote.currency);

but that's a pain and we can do better.

:tada: This issue has been resolved in version 2.1.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Big thanks to @dtslvr who noticed this so soon and reported straight away :raised_hands::tada:


lack using namespace std

/opt/tensorflow/tensorflow/core/graph/default_device.h:29:36: error: 'string' does not name a type; did you mean 'stdin'?
inline void SetDefaultDevice(const string& device, GraphDef* graph_def) {
^~~~~~
stdin

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 29 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!


added wait system call and unit test

wait in C is equivalent to
waitpid(-1, &status, 0);
so I just called the waitpid function and did not wrap the C function.

Merged, thanks! 1d9bbacdfbdf21e8af25a19a91f746bed1087b5e


0.1.1: compiler crash

This little program crashes the compiler:
const io = @import("std").io;

pub fn main() -> %void {
  const  x  = undefined; /// <<<=== probably this line
  %%io.stdout.printf("{}\n", @typeName(@typeOf(x)));
}

Yet another compiler crash:
const io = @import("std").io;

pub fn main() -> %void {

const x = comptime {
  var i : i32 = 99;
  i += 1;
  i; // <<== the ; here does it
};
  %%io.stdout.printf("{}\n", x);
}

I fixed the first one. These are separate issues.

see #557
If we didn't have the crash from the void value you would have got this error:
/home/andy/dev/zig/build/test.zig:8:3: error: expression value is ignored
  i; // <<== the ; here does it
  ^


Update Datastudio report provided on Visualizations page

This PR updates the language on the Visualizations page and replaces the "United States" and "World" reports, which had not been updated since stats-pipeline work began, with a new Datastudio report that uses the output of stats-pipeline.
This PR is previewable on sandbox: http://website.mlab-sandbox.measurementlab.net/visualizations/
@laiyi-ohlsen Please take a look?

This change is

@laiyi-ohlsen this is now ready for your review. thanks.


actool: patch-manifest: allow changing the value of isolators

This would help with functional tests. See coreos/rkt#1006 (comment)

#428

Fixed by #428


[Standalone] Set MKLDNN kernel flag in ConvertLayout op.

ConvertLayout is an MKLDNN specific op and the MKLDNN kernel flag was not
set. This led to assume that this operation was not supported by
MKLDNN.

Can you add this in cpu_assignment.cpp instead of the op constructor.

Ok. I thought this op only made sense in the context of mkldnn. I'll move it there for consistency.

Sorry, rebase problem


Unicode is not working Properly in ios

Steps to Reproduce

Execute flutter run on the code
when i click multiple time it show me this error

Expected results:
unicode has to work properly on both devices ios and android
Actual results:
but it is not working properly on ios devices.
Sample code:
class _MyHomePageState extends State<MyHomePage> {
  String setIcon = "\u{1F44E}";

  void iconSetter(String icon) {
    setState(() {
      setIcon = icon;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: GestureDetector(
        child: Text(
          String.fromCharCodes(Runes(setIcon)),
          style: const TextStyle(fontSize: 100),
        ),
        onTap: () {
          if (setIcon == "\u{1F44E}") {
            iconSetter("\u{1F44D}");
          } else {
            iconSetter("\u{1F44E}");
          }
        },
      ),
    );
  }
}

Logs

[✓] Flutter (Channel stable, 2.10.3, on macOS 11.6.2 20G314 darwin-x64, locale en-IN)
• Flutter version 2.10.3 at /Users/divyang.parmar/Documents/sdk/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7e9793dee1 (5 weeks ago), 2022-03-02 11:23:12 -0600
• Engine revision bd539267b4
• Dart version 2.16.1
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /Users/divyang.parmar/Library/Android/sdk
• Platform android-32, build-tools 32.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Users/divyang.parmar/Downloads/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] Connected device (3 available)
• Android SDK built for x86 (mobile) • emulator-5554                        • android-x86    • Android 10 (API 29) (emulator)
• iPhone 13 Pro Max (mobile)         • 5CD02F97-FB37-42FE-934A-1B4F8B443C73 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
• Chrome (web)                       • chrome                               • web-javascript • Google Chrome 99.0.4844.84
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

https://user-images.githubusercontent.com/55906611/161983860-a9340a0f-177e-4c56-bd45-618bd2e2c653.mp4

divyang.parmar@SF-CPU-487 testproblem % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.3, on macOS 11.6.2 20G314 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Thanks for the report. I do see the same behavior on latest stable and master.

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.4, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.4 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (3 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.423, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.423 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d103e5a8a4 (2 hours ago), 2022-04-06 22:56:09 -0400
    • Engine revision 541b636563
    • Dart version 2.17.0 (build 2.17.0-266.0.dev)
    • DevTools version 2.12.1

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Maybe similar / related to : https://github.com/flutter/flutter/issues/45947

cc @jason-simmons

I tried this on an iPhone 7 (iOS 15.3.1) and a MacBook (macOS 12.3.1) but did not reproduce it.
This may depend on the specific version of the platform's emoji font.


Move modals back to the app, use doToast for toasts in prep for notifications v2

Still testing this.
Relies on https://github.com/lbryio/lbry-redux/pull/93

https://github.com/lbryio/lbry-desktop/pull/2088 will add a doNotify to page/channel index and view.

@skhameneh Still need a review on this one. The few conflicts are from new modals/snackbars that have been added. I'll move those over to use the new notification logic.


[GLUTEN-4405][CORE] Sort values of In/InSet transformer for deterministic behavior

What changes were proposed in this pull request?
#4405
Spark has a declaration logic for In Set functions that keeps the output in a consistent order, so let's make input array sorted when we call transformer.
https://github.com/apache/spark/blob/1bdb81b2b5473793697083fdd9ec1a07ae605528/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala#L605-L612
How was this patch tested?
None

PTAL @PHILO-HE @ulysses-you

cc @exmy
If not sorted, the result can be inconsistent for each run? Could you please clarify a bit? Thanks!

If not sorted, the result can be inconsistent for each run? Could you please clarify a bit? Thanks!

It won't cause different result or performance loss, we just need this PR to make sure that the final toString output stays the same

cc @exmy If not sorted, the result can be inconsistent for each run? Could you please clarify a bit? Thanks!

I think it's ok.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4406_time.csv
log/native_master_01_15_2024_8fb2c35d5_time.csv
difference
percentage

q1
32.29
34.48
2.185
106.77%

q2
24.60
24.98
0.380
101.54%

q3
38.05
38.86
0.808
102.12%

q4
36.77
37.85
1.079
102.93%

q5
69.03
70.70
1.663
102.41%

q6
7.45
5.78
-1.671
77.57%

q7
84.21
85.94
1.732
102.06%

q8
85.95
84.86
-1.093
98.73%

q9
124.89
123.88
-1.008
99.19%

q10
45.54
46.04
0.496
101.09%

q11
20.37
20.63
0.253
101.24%

q12
27.40
25.93
-1.469
94.64%

q13
45.92
46.63
0.717
101.56%

q14
17.29
23.32
6.030
134.87%

q15
31.56
31.44
-0.117
99.63%

q16
14.17
14.88
0.710
105.01%

q17
101.97
100.72
-1.248
98.78%

q18
149.26
147.03
-2.227
98.51%

q19
14.86
13.73
-1.128
92.41%

q20
27.48
27.44
-0.045
99.84%

q21
228.79
227.79
-0.992
99.57%

q22
13.65
13.83
0.183
101.34%

total
1241.49
1246.73
5.238
100.42%


[FLINK-17193] [k8s-python-example] build-example.sh improvements

The helm template was printed out instead of being redirected to the resource YAML file.

In case the SDK distribution was not previously built - instead of failing the build, build the distribution and continue.

Abort script on failure. Previously, on failure the script would continue to run all steps and finish in an erroneous state. Also this saves 'if' statements to check exit codes after commands execute.

Hi @aroch, thank you for fixing this. I will go ahead and merge it.
In the future, could you please open a Jira ticket for this type of change. It helps us keep track on of what is being worked on in the project.

Thank you!

Thanks @sjwiesman! Just opened an issue and updated accordingly. Was not completely sure about filling the JIRA. Would appreciate if you can take a look.

Merged.


On hover state on secondary button with icon, the icon color is not changing to white.

Projects :  Assure Cede
The secondary button with icon on hover should change to background purple and the text and icon to white. In current scenario only text and background colors are changing but not icon.
Even the icon color should change to white.
A clear and concise description of what the bug is.
Mouse over on the secondary button with icon.
Observe that the icon color is not changing to white.
Include steps to reproduce the behaviour.
Example:

Create a new React app using Vite.
Install @dxc-technology\halstack-react package.
Click on '...'.
Scroll down to '...'.
See the error.

Icon color in the secondary button should change to white on hover.
A clear and concise description of what you expected to happen.

If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Add labels
Add any applicable label like the concerned components or the target version of the Design System where the bug has been found.

Hi @Sr44102!
I've checked this scenario and it is working fine (https://developer.dxc.com/halstack/next/components/button/#examples-icons). Please write in a comment your code to see what the possible bug is.
Note that if the icon comes from a URL (string), our tokens and CSS styling rules will not be applied to the icon. Maybe that's your problem.

Hi @Sr44102!
I've checked this scenario and it is working fine (https://developer.dxc.com/halstack/next/components/button/#examples-icons). Please write in a comment your code to see what the possible bug is.
Note that if the icon comes from a URL (string), our tokens and CSS styling rules will not be applied to the icon. Maybe that's your problem.

Yes, the above mentioned note is our issue, could you please help us how to proceed further with this scenario.

Hi @Sr44102!
I've checked this scenario and it is working fine (https://developer.dxc.com/halstack/next/components/button/#examples-icons). Please write in a comment your code to see what the possible bug is.
Note that if the icon comes from a URL (string), our tokens and CSS styling rules will not be applied to the icon. Maybe that's your problem.

Yes, the above mentioned note is our issue, could you please help us how to proceed further with this scenario.

Hello, yes exactly.. the url-based approach will not work as far as applying styles to the icon on hover. Perhaps you can use the an embedded svg as suggested in the documentation example?

*On a separate note, for design in UXPin implementation, this is currently tagged as a known limitation where icons can only be added via url but will not take on dynamic properties depending on the state


where to locate files when deployed at ec2 instance

Hi,
I am looking for the files when it is deployed at ec2. I tried to upload/save the file at ec2 instead of sending it directly to s3 however, I cannot find a way on where it is being saved.
Can you point to me where it is located?
Thank you.

Chime SDK team has launched a new service to provide meeting capture capabilities with original video resolution and frame rate. You will not need to provision your own container infrastructure. Instead, just call the API from AWS SDK and provide a prepared S3 bucket to receive the artifacts.
To know more, please check out the blog:
https://aws.amazon.com/blogs/business-productivity/capture-amazon-chime-sdk-meetings-using-media-capture-pipelines/


Update gleam, cgl, and io-surface. Publish 0.30000023.0.

This change is

@bors-servo r=Manishearth

:pushpin: Commit 520a639 has been approved by Manishearth

:hourglass: Testing commit 520a639e6b7514e73911e916fd89c44808076805 with merge 19a4f5d2eb55adcefeae2e695a6d25c235768ca8...

:sunny: Test successful - checks-travis
Approved by: Manishearth
Pushing 19a4f5d2eb55adcefeae2e695a6d25c235768ca8 to master...


bug: could not load library ~\cortex/engines/cortex.tensorrt-llm/engine.dll when chatting with model

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

cortex run llama3:tensorrt-llm-windows-ada (valid model branch this time)
check that model dlls , binaries all exist (model downloaded successfully)

√ Model loaded
In order to exit, type 'exit()'.
>> hi
Something went wrong! Please check model status.
500 Request failed with status code 500

When checking logs

{"method":"POST","path":"/v1/threads","statusCode":201,"ip":"<IP_ADDRESS>","content_length":"483","user_agent":"CortexClient/JS 0.1.7","x_correlation_id":""} HTTP
{"method":"GET","path":"/v1/threads/1f597d11-5e1c-41c8-b1ec-23d1ae8339be/messages?limit=10&order=desc","statusCode":200,"ip":"<IP_ADDRESS>","content_length":"44","user_agent":"CortexClient/JS 0.1.7","x_correlation_id":""} HTTP
Validating app logs. Next attempt in  120000
Validating app logs. Next attempt in  120000
Validating app logs. Next attempt in  120000
{"method":"GET","path":"/v1/models/llama3:tensorrt-llm-windows-ada","statusCode":200,"ip":"<IP_ADDRESS>","content_length":"690","user_agent":"CortexClient/JS 0.1.7","x_correlation_id":""} HTTP
- Loading model...
20240815 15:53:40.063000 UTC 1424 WARN  Engine is not loaded yet - server.cc:166
20240815 15:53:40.080000 UTC 1424 ERROR Could not load engine: Could not load library "C:\Users\n\cortex/engines/cortex.tensorrt-llm/engine.dll"
The specified module could not be found.

 - server.cc:299
× Model loading failed
{"method":"POST","path":"/v1/threads/1f597d11-5e1c-41c8-b1ec-23d1ae8339be/messages","statusCode":201,"ip":"<IP_ADDRESS>","content_length":"376","user_agent":"CortexClient/JS 0.1.7","x_correlation_id":""} HTTP
{"method":"POST","path":"/v1/chat/completions","statusCode":500,"ip":"<IP_ADDRESS>","content_length":"35","user_agent":"CortexClient/JS 0.1.7","x_correlation_id":""} HTTP
- Loading model...
20240815 15:53:43.167000 UTC 1424 WARN  Engine is not loaded yet - server.cc:166
20240815 15:53:43.169000 UTC 1424 ERROR Could not load engine: Could not load library "C:\Users\n\cortex/engines/cortex.tensorrt-llm/engine.dll"
The specified module could not be found.

 - server.cc:299
× Model loading failed
{"method":"POST","path":"/v1/chat/completions","statusCode":500,"ip":"<IP_ADDRESS>","content_length":"35","user_agent":"CortexClient/JS 0.1.7","x_correlation_id":""} HTTP
- Loading model...
20240815 15:53:44.080000 UTC 1424 WARN  Engine is not loaded yet - server.cc:166
20240815 15:53:44.082000 UTC 1424 ERROR Could not load engine: Could not load library "C:\Users\n\cortex/engines/cortex.tensorrt-llm/engine.dll"
The specified module could not be found.

 - server.cc:299
× Model loading failed
{"method":"POST","path":"/v1/chat/completions","statusCode":500,"ip":"<IP_ADDRESS>","content_length":"35","user_agent":"CortexClient/JS 0.1.7","x_correlation_id":""} HTTP
Validating app logs. Next attempt in  120000
Validating app logs. Next attempt in  120000

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

The same root cause with Failed to init tensorrt-llm. Fixed - Wrong binary lookup.

Could not load library "C:\Users\n\cortex/engines/cortex.tensorrt-llm/engine.dll"
The specified module could not be found.

The same root cause with Failed to init tensorrt-llm. Fixed - Wrong binary lookup.

Could not load library "C:\Users\n\cortex/engines/cortex.tensorrt-llm/engine.dll"
The specified module could not be found.

So this issue is fixed right @louis-jan

I saw the PR is merged, it's fixed right? @louis-jan

Yes @imtuyethan

From now on, cortex-cpp will handle engine stuff. I will pass it over to @vansangpfiev