The UNIXEPOCH function is not available in SqliteVersion(3, 34, 0)

This is correct, the unixepoch() function was added with version 3.38.0.
But I'm using sqlite3 version 1.7.1 and sqlite3_flutter_libs version 0.5.7 which comes with sqlite3 version 3.38.5.
So the warning is wrong.
It is gone when I manually override the SQLite version to "3.38".

The sqlite version can not be automatically determined for static analysis, that is why you have to manually set the version that you expect to be used.
Everything is working as intended here.

Yup, working as intended. drift_dev can't know how exactly you're connecting to the database in the end, so there's a conservative assumption about available features. I've slightly changed the error message to point to the right section in 117fb19db4b4acb8040e9f1d713803c548d33794, but overall I think the current situation is reasonably handled in drift.


tfsec aws052 erroneously reports

`Terraform has been successfully initialized!

'[' -x /bin/tflint ]
echo 'Checking for lint with tflint...'
Checking for lint with tflint...
echo tflint --config /etc/tflint.hcl
tflint --config /etc/tflint.hcl
'[' -x /bin/tfsec ]
echo 'Checking for security issues with tfsec...'
Checking for security issues with tfsec...
tfsec --exclude AWS002,AWS006,AWS007,AWS016 --soft-fail

Problem 1
[AWS052][ERROR] Resource 'module.ea_rds_oracle:aws_db_instance.oracle' defines a disabled RDS Instance Encryption.
/home/ec2-user/workspace/EADV_eadv-dars-uachieve_master/terraform/.terraform/modules/ua_rds_oracle/modules/rds-oracle/rds.tf:1-51
   1 | resource "aws_db_instance" "oracle" {
   2 |   identifier                 = var.identifier
   3 |   allocated_storage          = var.allocated_storage
   4 |   max_allocated_storage      = var.max_allocated_storage
   5 |   storage_type               = var.storage_type
   6 |   engine                     = var.engine
   7 |   engine_version             = var.engine_version
   8 |   instance_class             = var.instance_class
   9 |   name                       = var.name
  10 |   username                   = var.username
  11 |   password                   = random_password.master_password.result
  12 |   character_set_name         = var.character_set_name
  13 |   license_model              = var.license_model
  14 |   vpc_security_group_ids     = var.vpc_security_group_ids
  15 |   db_subnet_group_name       = aws_db_subnet_group.subnet_group.name
  16 |   availability_zone          = var.availability_zone
  17 |   backup_retention_period    = var.backup_retention_period
  18 |   backup_window              = var.backup_window
  19 |   skip_final_snapshot        = var.skip_final_snapshot
  20 |   option_group_name          = var.option_group_name
  21 |   deletion_protection        = var.deletion_protection
  22 |   auto_minor_version_upgrade = var.auto_minor_version_upgrade
  23 |   storage_encrypted          = var.storage_encrypted
  24 |   maintenance_window         = var.maintenance_window
  25 |   multi_az                   = var.multi_az
  26 |   copy_tags_to_snapshot      = var.copy_tags_to_snapshot
  27 |   ca_cert_identifier         = var.ca_cert_identifier
  28 |   monitoring_interval        = var.monitoring_interval
  29 |   monitoring_role_arn        = var.monitoring_role_arn
  30 |   tags = merge(
  31 |     var.tags,
  32 |     {
  33 |       "Name" = var.identifier
  34 |     },
  35 |   )
  36 |   apply_immediately            = var.apply_immediately
  37 |   parameter_group_name         = var.parameter_group_name
  38 |   performance_insights_enabled = var.performance_insights_enabled
  39 |
  40 |   enabled_cloudwatch_logs_exports = [
  41 |     "alert",
  42 |     "audit",
  43 |     "listener",
  44 |     "trace",
  45 |   ]
  46 |
  47 |   timeouts {
  48 |     create = "235m"
  49 |     update = "235m"
  50 |   }
  51 | }
  52 |
  53 | resource "aws_db_subnet_group" "subnet_group" {
  54 |   name        = "${var.identifier}-subnet-group"

See https://tfsec.dev/docs/aws/AWS052/ for more information.
`
var.storage_encrypted is set to true, yet the warning is generated.

@pastephens I have noticed this issue as well. Are you able to re-open this issue? In my case the storage_encrypted is not set by variable and is explicitly true so I cant see any reason for this check to have come back saying that the storage encryption was not enabled.

Thanks for reopening this @pastephens!
For me I'm getting the following false positive.
[AWS052][ERROR] Resource 'module.<<REDACTED>>:aws_db_instance.this' defines a disabled RDS Instance Encryption.
  /Users/sam/<<REDACTED>>/10_aws_rds.tf:57-99

      54 |   }
      55 | }
      56 |
      57 | resource "aws_db_instance" "this" {
      58 |   instance_class                        = var.rds-database.instance-class
      59 |   deletion_protection                   = var.rds-database.deletion-protection
      60 |   multi_az                              = var.rds-database.multi-az
      61 |   apply_immediately                     = var.rds-database.apply-immediately
      62 |   auto_minor_version_upgrade            = true
      63 |   allow_major_version_upgrade           = true
      64 |   copy_tags_to_snapshot                 = false
      65 |   iam_database_authentication_enabled   = false
      66 |   publicly_accessible                   = false
      67 |   storage_encrypted                     = true
      68 |   performance_insights_enabled          = false
      69 |   skip_final_snapshot                   = var.rds-database.skip-final-snapshot
      70 |
      71 |   name                                  = var.django-application  # Database Name
      72 |   username                              = <<REDACTED>>
      73 |   password                              = random_password.this.result
      74 |   identifier                            = "${var.eks-cluster-name}-${var.django-application}-rds-database"
      75 |
      76 |   db_subnet_group_name                  = var.rds-database.db-subnet-group-name
      77 |   port                                  = "5432"
      78 |   engine                                = "postgres"
      79 |   engine_version                        = "11.8"
      80 |   allocated_storage                     = var.rds-database.min-allocated-storage
      81 |   max_allocated_storage                 = var.rds-database.max-allocated-storage
      82 |   storage_type                          = "gp2"
      83 |   maintenance_window                    = var.rds-database.maintenance-window
      84 |   backup_window                         = var.rds-database.backup-window
      85 |   backup_retention_period               = var.rds-database.backup-retention-period
      86 |   parameter_group_name                  = aws_db_parameter_group.this.name
      87 |   final_snapshot_identifier             = "final-snapshot-for-${var.eks-cluster-name}-django-rds-database"
      88 |   license_model                         = "postgresql-license"
      89 |
      90 |   tags = {
      91 |     ManagementTool = "Terraform"
      92 |     eks-cluster    = var.eks-cluster-name
      93 |     App            = var.django-application
      94 |     Name           = "${var.django-application}-${var.eks-cluster-name}-rds-database"
      95 |   }
      96 |   vpc_security_group_ids = [
      97 |     aws_security_group.this.id
      98 |   ]
      99 | }
     100 |

   See https://tfsec.dev/docs/aws/AWS052/ for more information.

@techdragon  - can you try this again with v0.38.0 and let me know how you get on? We did some refactoring last night/this morning and tidied up a lot of the module.module.module.... logic

closing due to inactivity

Hi all.  I think this may still be an issue.

Will follow up as soon as I have something more concrete. BTW, the reporter of this issue and I both work at the same place. :)


Duplicate ID’s Issue

Automated Testing General Findings
Duplicate ID’s Issue
Your service has multiple instances of duplicate IDs. Without correcting these issues user agents, including assistive technologies, may not be able to accurately interpret and parse content. If the content cannot be parsed into a data structure, then different user agents may present it differently or be completely unable to parse it.
Success Criterion 4.1.1 Parsing (Level A): In content implemented using mark-up languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.
Page links: https://find-npd-data.education.gov.uk/en/datasets/360866cc-d29e-4df8-9f93-fdb9f8e801b9
Actions:
Since the page link in the accessibility statement isn't a link to our service, the first required action for this ticket is to go through our service and verify if there's actually any instance of duplicated IDs on our service.
Once the investigation is done, any duplicated ID should be corrected and made unique.

Updated the link in the description section after speaking with Nick Jarvis-Smith, who wrote the report.
He also gave an example of the HTML text that is repeated as 'sensitivity-tip-before'.
@cacquani do you know what he means by this?

@cacquani after running through this with you yesterday on staging, I'm happy that the work's been done and I've tested it.

Awaiting the result of the accessibility test on 14/09/2020.

The accessibility re-test picked up no issues, so this change is ready to push to production.

PO has agreed to close the ticket.


Mass rename of commands in dbatools

Hello,
I am going to be releasing a new version of dbatools shortly (within 8 hours) that has massive renames. With renames come warnings.
There will be an accompanying blog post.
Below is the code that will give the updated commands and their old command names.
My suggestion is to either

Buy some time with $PSDefaultParameterValues that set  WarningAction to SilentlyContinue for -Dba commands (since -EnableException is already enabled this way, warnings will only show when there's a warning, not an exception, so not an issue)
Use the code below to mass find/replace in dbachecks then up the required version of dbatools.  I'll hit you up when it's committed

actually, wrote a helper!
 Get-ChildItem -Recurse .\community-presentations\*.ps1 | Invoke-DbatoolsRenameHelper | Out-GridView

Be on the lookout

I'll actually close it then :-)

Oh my!


GRT: store route guides even when it fails with congestion

Description
Today we don't have the option to see route guides of nets when the design has congestion. This makes debug harder, since having only the markers with the congestion regions don't say much about the routing each net is taking.
Suggested Solution
Complete the global route flow even when routing congestion is detected, and store the guides in odb.
The detailed router needs to be updated too, in order to avoid routing a congested design.
Additional Context
No response

Wouldn't it be better to allow GRT to mark the guides as "dirty" or "unusable" that way DRT only needs to check a simple flag instead of needing to check for congestion (since we have flags that allow for GRT to finish with congestion and DRT is capable of handling a little bit of congestion)

Wouldn't it be better to allow GRT to mark the guides as "dirty" or "unusable" that way DRT only needs to check a simple flag instead of needing to check for congestion (since we have flags that allow for GRT to finish with congestion and DRT is capable of handling a little bit of congestion)

I'm planning to use the congestion markers stored in odb to detect that. In the final implementation, DRT would need only a single function call to check that.


Training on new dataset

I'm trying to train on Coco 2017, and I get the following error:
Traceback (most recent call last):
  File "train.py", line 134, in <module>
    voc07_metric=args.use_voc07_metric)
  File "/home/rizhiy/pedestrian-detection/mxnet-ssd/train/train_net.py", line 267, in train_net
    monitor=monitor)
  File "/home/rizhiy/miniconda3/envs/mxnet-ssd/lib/python3.6/site-packages/mxnet/module/base_module.py", line 496, in fit
    self.update_metric(eval_metric, data_batch.label)
  File "/home/rizhiy/miniconda3/envs/mxnet-ssd/lib/python3.6/site-packages/mxnet/module/module.py", line 735, in update_metric
    self._exec_group.update_metric(eval_metric, labels)
  File "/home/rizhiy/miniconda3/envs/mxnet-ssd/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 582, in update_metric
    eval_metric.update_dict(labels_, preds)
  File "/home/rizhiy/miniconda3/envs/mxnet-ssd/lib/python3.6/site-packages/mxnet/metric.py", line 108, in update_dict
    self.update(label, pred)
  File "/home/rizhiy/pedestrian-detection/mxnet-ssd/train/metric.py", line 39, in update
    prob = prob[mask, indices]
IndexError: index 89 is out of bounds for axis 1 with size 81

As I understand it tries to suggest class 89 when there are only 81 classes. What might be the problem?
I used the following command to start the training:
python train.py --label-width 560 --num-class 80 --class-names dataset/names/mscoco.names

Did you mesh up with other challenges which might have more than 80 classes?

No, I used mscoco 2017 instead of 2014, but I believe it still has 80 classes.

I have also tried training on coco 2014 and still get the same error.

It appears that while coco has 80 object classes, it has 90 stuff classes. So we either need to set num-class to 90 or  user this for conversion.


Support for AppSource preview in Install-BcAppFromAppSource

Describe the issue
According to the What's new: Developer tools, customers should be able to access previews of AppSource-apps using the following URL:
https://businesscentral.dynamics.com/[TenantID]/?noSignUpCheck=1&filter='ID' IS '[AppID]' AND 'PreviewKey' IS '[PreviewKey]'&page=2503

In the function Install-BcAppFromAppSource(Saas/Install-BcAppFromAppSource.ps1), I do not see any support for providing a PreviewKey.
Is installing previews of AppSource-apps not supported by BCContainerHelper? Or is the PreviewKey parameter simply skipped?
I am questioning this, because some of our developers wish to test a preview AppSource-app on our own sandbox before pressing the "Go Live" button in AppSource.

Currently the API doesn't support installing preview apps - that is only supported in the UI.
Please request this functionality from the developer tools people (I have also done so) before we can add support here.

Thank you @freddydk. As for requesting the functionality from the developer tools people, where exactly do we do that?
On BCIdeas?


[AvatarLegendsMagpie] Bugfix: remove extraneous text from Plead move

Submission Checklist
Required

[ ] The pull request title clearly contains the name of the sheet I am editing.
[ ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[ ] The pull request makes changes to files in only one sub-folder.
[ ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

This text is from Guide and Comfort and is erroneously tacked onto the end of the Plead text

Character Sheet Info Roll20 Internal Use only.


fix: add app_set_id, idfa and idfv support

Summary
Add support for:
Android (app_set_id)
iOS (idfa, idfv)

For some reason idfa support in amplitude-ios/amplitude-swift is "external":  callback in amplitude-ios (https://www.docs.developers.amplitude.com/data/sdks/ios/#advertiser-id), example plugin in amplitude-swift (https://github.com/amplitude/Amplitude-Swift/blob/main/Examples/AmplitudeSwiftUIExample/AmplitudeSwiftUIExample/ExamplePlugins/IDFACollectionPlugin.swift). Here, in React Native, I added new tracking options idfa/idfv (both true by default) - I don't know how to implement something "external" similar to the callback/plugin.
To be able to get idfa : Set up a NSUserTrackingUsageDescription to display a system-permission alert request for your app installed on end-user devices.
Tested in emulators only.

Checklist

[x] Does your PR title have the correct title format?
Does your PR have a breaking change?:  No

Are we going to add idfa in this PR. I saw it in the description but not in the code.

@Mercy811

Are we going to add idfa in this PR. I saw it in the description but not in the code.

https://github.com/amplitude/Amplitude-TypeScript/blob/AMP-60685-appsetid-idfa-idfv-support/examples/plugins/react-native-idfa-plugin/idfaPlugin.ts


not supported in term, elasticsearch supports it

    it("parses explicit field name for date term", function() {
        var results = lucenequeryparser.parse('foo:2015-01-01');

        expect(results['left']['field']).toBe('foo');
        expect(results['left']['term']).toBe('2015-01-01');
    });

Hi! Would you be interested in filing a PR for this unit test, and verifying that the changes in PR #9 fixed this issue?
Thanks,
Troy

passes


输入token后ChatWaifuServer报错

Traceback (most recent call last):
File "ChatWaifuServer.py", line 223, in
File "pyChatGPT\pyChatGPT.py", line 70, in init
File "pyChatGPT\pyChatGPT.py", line 112, in _init_browser
File "undetected_chromedriver_init.py", line 242, in init
File "undetected_chromedriver\patcher.py", line 130, in auto
File "undetected_chromedriver\patcher.py", line 166, in fetch_package
File "urllib\request.py", line 280, in urlretrieve
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 6885414 out of 6904173 bytes>
[27452] Failed to execute script 'ChatWaifuServer' due to unhandled exception!

我错了我错了换了个梯子之后就解决了


./go: Bump to go-script-bash v1.7.0

Also includes logic from the new go-template to try downloading the framework as a tarball first, then using git clone as a fallback.

Coverage remained the same at 97.173% when pulling 9a53f60f8398ed714c43ce1c4f33f830f93e6358 on go-script-update into 51e171e829e7417f615018d6eb49d7777a04e4ab on master.

Coverage remained the same at 97.173% when pulling 9a53f60f8398ed714c43ce1c4f33f830f93e6358 on go-script-update into 51e171e829e7417f615018d6eb49d7777a04e4ab on master.


"Create Manual Folding Ranges from Selection" is not in Command Palette when use Chinese (Simplified)

Chinese (Simplified) :

English :

"Create Manual Folding Ranges from Selection" is not in Command Palette when use Chinese (Simplified)
VSCode Version: 1.71.0 (both macOS & Win10)
Chinese (Simplified) Version: 1.71.8310936

The problem is this label:
https://github.com/microsoft/vscode/blob/d39839d469145638223867f9c736ed9abf90fb85/src/vs/editor/contrib/folding/browser/folding.ts#L1068
should accept an ILocalizedString but it only accepts a string.
deeper: https://github.com/microsoft/vscode/blob/d39839d469145638223867f9c736ed9abf90fb85/src/vs/editor/browser/editorExtensions.ts#L286
and deeper: https://github.com/microsoft/vscode/blob/d39839d469145638223867f9c736ed9abf90fb85/src/vs/editor/browser/editorExtensions.ts#L325

The workaround is to use 根据所选内容创建手动折叠范围 to find this item.


fix handling of flex shorthand

the flex spec doesn't allow values to be in reverse order
the default state of flexBasis should always be "auto"

Fixes https://github.com/styled-components/styled-components/issues/1855

I think it is currently spec compliant according to https://www.w3.org/TR/css-flexbox-1/#flex-property
The syntax is none | [ <‘flex-grow’> <‘flex-shrink’>? || <‘flex-basis’> ]
The double bar means any order is permitted.
Then for the flex basis,

<‘flex-basis’>
...
When omitted from the flex shorthand, its specified value is 0.

Feel free to correct me if I'm wrong though!
Didn't notice RN supports flexBasis: 'auto' though. We could probably clean up the return value of flex: none and flex: auto

Where abouts were you reading the the MDN article?

<'flex-basis'>
Defines the flex-basis of the flex item. Any value valid for width and height properties are accepted. A preferred size of 0 must have a unit to avoid being interpreted as a flexibility. Defaults to 0 when omitted.

link

Hmm ok I do see where you said that but the spec is at odds with itself. See this:
initial
This is the default value. The item is sized according to its width and height properties. It shrinks to its minimum size to fit the container, but does not grow to absorb any extra free space in the flex container. This is equivalent to setting "flex: 0 1 auto".

That implies the default should be auto unless otherwise changed. And I do believe that's what users would expect too.

So the initial value for flex-basis is auto.
When you use the flex shorthand, it always resets it, even if you don’t define it in the shorthand. The value it uses when you don’t define it is 0.

Hmm ok. Well I'll close this and feel free to poach any of my changes for setting 'auto'

Done! #97


Feature Request: move README.md out of root, to encourage use of site instead of github for viewing

Problem
The relative links on the README.md on github do not work anymore.

Solution
Move the majority of the README.md to another directory, so that it is obvious to use the site to navigate CIPs instead of the github repo

after thinking on this more, moving the README.md to /cips should allow the existing links to work on Github


Add Ferris layout

Add Ferris layout, specifically Ferris Sweep.

I tried it with madhatter's keymap.c.


Suggestion: Ground Items Plugin Addition

Is your feature request related to a problem? Please describe.
For Ironmen the color coded items based on value (be it G.E. value or Alch value) aren't overall very useful as a lot of unique's alch value aren't related to their G.E. or actual value and at the same time G.E. value isn't useful.
Describe the solution you'd like
An interesting idea I had was to have multiple input boxes each with their own corresponding color for highlighting items. Take the Highlighted Items section of the plugin and change that to have multiple boxes for highlighted items each with their own color. E.g. you could have herbs in one box and highlight it green, alchs in another and highlight it in gold, untradable uniques in another color, resources in another etc.
Describe alternatives you've considered
I can't really think of an alternative
Additional context
I guess a TL;DR would be to split or add more Highlighted Items boxes each with a color code for highlighting. Such as Highlighted Items #1 set to green, Highlighted Items #2 set to blue etc.

Closing in favour of #12274


Uniform citizen

In an RP framework it would be nice to have the option of putting off his uniform as a police officer, paramedic etc ... And why should one leave the job to become a citizen? I think it would be better to make a vestiare of taking and end of service and put our citizen skin when job is done

+1

Generic cloakroom added.


BeamNG crashes with unavailable rendering device message.

I am using the research version of BeamNG with a custom scenario, and it crashes from time to time with the message:
"It is possible that your hardware/OS does not meet the minimum system requirements."
Also a browser tab tops up telling me that the directx version is not supported (I am using v11.0).
I have the following system properties:
GPU - NVIDIA 1080 TI
CPU - Intel i7 8700 3.2 Ghz
RAM - 32 GB
Any ideas?

Hi, is your graphic driver updated to the latest version? Can you send the beamng.log file, which is located in the userfolder (%localappdata%/BeamNG.{drive/tech}/<version>)?

Yes I am using the latest driving for my graphics card. The log files created are attached...
beamng.2.log
beamng.log
beamng-dxDiag.txt

Is there anything I could try? Do you have any ideas? When I am checking the resource usage, I see that the GPU is used.

Hi, do you have a screenshot of the error? It does not seem to be an error produced by BeamNG, but by your operating system.
There is no information about the source of the issue in the log files attached, unfortunately. The problem might be in your operating system switching to the Intel UHD Graphics adapter in some cases. You could try setting BeamNG to always run on your NVIDIA GPU (https://www.intel.com/content/www/us/en/support/articles/000090168/graphics.html).

So I have verified that my GPU is used during the execution (using the performance monitor). Also in the log I see that my GPU is detected:
2024-05-02 18:03:02.769887: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 21509 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:01:00.0, compute capability: 8.9)
2024-05-02 18:03:02.771951: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x24d29a75350 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2024-05-02 18:03:02.772126: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): NVIDIA GeForce RTX 4090, Compute Capability 8.9
...
Copying from [C:\Users\Lev\Documents\testing\testingautomated-usi\maxitwo\levels_template\tig] to [C:\Users\Lev\Documents\BeamNG_User\0.23\levels\tig]

This is the message I sometimes I get:


Unable to create seed test data | Azure pgsql not liking username without @

Subject of the issue
I am unable to create seed test database in my Azure PostgreSQL server. An error is thrown by CREATE DATABASE query in updatedb.go when the owner has the format username@hostname. This format is expected from the pgsql server to be able to connect to it.
Your environment
servian/TechChallengeApp
Steps to reproduce

Create Azure Postgresql server
Update conf.toml with the server configuration
Create seed database using updatedb.go

Expected behaviour
I should be able to run below and create seed database in Azure Postgresql server.
./TechChallengeApp updatedb
Actual behaviour
If I pass DbUser without @, Azure PostgreSQL does not like it. The app is unable to connect to database server.

If I pass DbUser with @, updatedb.go does not like it. It fails at the CREATE DATABASE step,

Hi @nehagargSeequent
There have been a number of Candidates working with Azure's implementation of PostgreSQL that used an '@' symbol to separate the user and host. Also part of the challenge is understanding when a cloud's database implementation gives you the ability to drop the whole database or not, and looking at the help messages of a black-box application to find workarounds.
Below is the help message from the application, I hope this provides the clue.
$ docker run --rm -it servian/techchallengeapp updatedb -h
Updates DB that has been defined in the configuration file. If no db exist, one will be created

Usage:
  TechChallengeApp updatedb [flags]

Flags:
  -h, --help             help for updatedb
  -s, --skip-create-db   Use to skip the creation of the database

Ref: #20


Update TensorRT server requirements

Added a few missing requirements for TensorRT backend.

merged changes with tensorrt model warmup


pings don't move with map

If you move the map the pings stay in place.

That was actually a design decision, so I'll leave it open and mark it as an enhancement.

Thanks for the response.  It become noticable once you if you change the duration of the pings.  Was it just easier not to bind the pings to an overlay?

I didn't spend time investigating how to get it working as it wasn't a
priority for my use case. One potential issue is the efficiency of
recalculating the position of the circle on every tick. Though you would
only need to do that when the map is being moved. I may revisit it
eventually. If you find a solution feel free to submit a pull request.
Thanks for the response. It become noticable once you if you change the
duration of the pings. Was it just easier not to bind the pings to an
overlay?
—
Reply to this email directly or view it on GitHub
https://github.com/Asymmetrik/leaflet-d3/issues/8#issuecomment-112071857.

I updated the plugin to update the ping position when the map is moved. It does it immediately so the animation is smooth even when you're running at a reduced fps.


Update required for Azure Sentinel Infoblox NIOS parser?

Describe the bug
I can confirm I am receiving Infoblox logs in Azure Log Analytics and Azure Sentinel.  However the parser is not correctly parsing a lot of the logs.  Guessing the parser may need an update?
Others have reported similar issues and the problem is not the format of the data or receiving the data, as both of those have been verified.  I am getting partial/no parsing by the parser is the problem.
To Reproduce
Steps to reproduce the behavior:

Setup Syslog server to forward logs to Azure Log Analytics
Setup Kusto Function named InfobloxNIOS based on this documentation: https://aka.ms/sentinelgithubparsersinfoblox

Expected behavior
Full parsing of the syslogs
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
sample syslog that is not being parsed:
Jun  4 12:20:09 <IP_ADDRESS> dhcpd[7625]: DHCPACK on <IP_ADDRESS> to b6:57:72:77:93:cc via eth2 relay <IP_ADDRESS> lease-duration 28727 (RENEW) uid 01:b6:57:72:77:93:cc

Records of other having same problem:
https://www.gitmemory.com/issue/Azure/Azure-Sentinel/2296/849183343

Hi @oniled,
I have a potential fix for this created at #2547 , could you review and confirm it solves your issue?

This looks pretty good for the DHCPAck but maybe need work to correct "r-l-e" and "client"?  Not seeing those parse correctly.

This looks pretty good for the DHCPAck but maybe need work to correct "r-l-e" and "client"? Not seeing those parse correctly.

@oniled  Can you paste "r-l-e" and "client" log type sample records. You can remove any sensitive details such as IP, computer name etc. Thanks!

sure, sample logs
client
client @0x7fecda73dc30 <IP_ADDRESS>#45764 (scontent-lax3-1.cdninstagram.com): query: scontent-lax3-1.cdninstagram.com IN A + (256.256.256.1)
r-l-e
r-l-e:<IP_ADDRESS>,Renewed,Tone,22:b4:77:55:f9:b1,1625169071,1625197871,,No Match$default,<IP_ADDRESS>,16,<IP_ADDRESS>-<IP_ADDRESS>

sure, sample logs
client
client @0x7fecda73dc30 <IP_ADDRESS>#45764 (scontent-lax3-1.cdninstagram.com): query: scontent-lax3-1.cdninstagram.com IN A + (256.256.256.1)
r-l-e
r-l-e:<IP_ADDRESS>,Renewed,Tone,22:b4:77:55:f9:b1,1625169071,1625197871,,No Match$default,<IP_ADDRESS>,16,<IP_ADDRESS>-<IP_ADDRESS>

@oniled ,  Can you please test attached parser and let me know if you still face any issue. Thanks!
TestInfobloxNIOS.txt

@oniled , Can you please check provided parser. Thanks!

Hi - the r-l-e parser populates the Network field.

client only populates the Message field

Hi - the r-l-e parser populates the Network field.

sample message: r-l-e:<IP_ADDRESS>,Renewed,COMPUTERNAME01,e4:b9:7a:ec:69:b9,1626488322,1626488922,113,$default,<IP_ADDRESS>,24,<IP_ADDRESS>-<IP_ADDRESS>
client only populates the Message field

sample message: client @0x7fa58d1c1130 <IP_ADDRESS>#33630 (<IP_ADDRESS>.in-addr.arpa): query: <IP_ADDRESS>.in-addr.arpa IN PTR + (<IP_ADDRESS>)

@oniled , I verified parser as per given sample data, it is parsing successfully. [PFB screenshot for reference]
can you please check columns specified in parser.  If you still having issue, please let me know. Thanks!

r-l-e parser : check columns [Dest_IP,Signature,DNS_Hostname,Dest_MAC_Address,StartTime,EndTime,Network,NetworkRange][PFB screenshot for reference]

Client Parser: Check specified columns in parser. [Client_IP,Port ,Protocol ,QueryDomainName ,Message ,Flag ,ResponseCode]

@oniled, Can you please check and confirm on this? Thanks!

i can confirm its working, thanks for all your help :)


Packaging: first cut of working deb and rpm build

    * to build deb & rpm simply run
        ```
        version=<se.mv.er> vagrant provision
        ```
      vagrant shell provisioner will run the inline script and generate
      a deb and an rpm file in the local directory. This is achieved by
      multivm Vagrantfile one for centos and one for debian
    * To install the generated deb - run sudo dpkg -i
    * /pgcli/pgcli_<se.mv.er>.deb (then sudo apt-get install -f if deps
      are missing on a clean debian install)
    * To install generated rpm - sudo yum install path-to-rpm
    * package will be installed under /usr/share/pgcli
    * script pgcli will be a symlink in /usr/local/bin/pgcli ->
      /usr/share/pgcli/bin/pgcli (with right shebang line
      #!/usr/share/pgcli/bin/python)

@amjith added another provisioner for CentOS

I'm getting the following error:
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The box 'chef/debian-7.8' could not be found.

I presume that I need to download a vagrant box from here: http://www.vagrantbox.es/
I don't know which one to download. Can you help?

Hey I think you'll have to update your version of vagrant - the box I've referenced is from atlas Hashicorp's vagrant repo

I upgraded vagrant and tried again. New errors:
==> debian: Installing collected packages: click, Pygments, jedi, docopt, six, wcwidth, prompt-toolkit, psycopg2, sqlparse, pgcli
==> debian:   Running setup.py install for jedi
==> debian:   Running setup.py install for docopt
==> debian:   Running setup.py install for prompt-toolkit
==> debian:   Running setup.py install for psycopg2
==> debian:   Running setup.py install for sqlparse
==> debian:   Running setup.py install for pgcli
==> debian: Successfully installed Pygments-2.0.2 click-4.0 docopt-0.6.2 jedi-0.8.1 pgcli-0.16.3 prompt-toolkit-0.26 psycopg2-2.6 six-1.9.0 sqlparse-0.1.14 wcwidth-0.1.4
==> debian: -> Cleaning Virtualenv
==> debian: -> Removing compiled files
==> debian: -> Creating PgCLI deb
==> debian: {:message=>"All flags should be before the first argument (stray flags found: -d-d-p--after-install--after-remove--url--description--license", :level=>:warn, :timestamp=>"2015-04-15T04:36:04.   %6N+0000"}
==> debian: {:message=>"Invalid package configuration: Cannot package the path 'build/all', does it exist?", :level=>:error, :timestamp=>"2015-04-15T04:36:04.   %6N+0000"}

I may have forgotten to add the version number. I'm trying it again.

Cool. The deb package was created successfully.
But rpm creation didn't start.
==> centos: VM not created. Moving on...

I'm fairly new to vagrant, so I'm still learning by fire. If you have pointers on how to get the centos image going, please let me know.

Woot! Woot! It works. I'll update the develop.rst to document the steps to get it working.
Thank you! :tangerine:

@amjith can you try,
version=1.2.3 vagrant up centos

@ceocoder I managed to get both rpm and deb packages building. I've documented the steps in DEVELOP.rst file.
https://github.com/amjith/pgcli/commit/e1958c0f9bad34edd6cb9775a28c276655729505#diff-e499c009307a0b632d20c2ecaef3a127
Can you please check if those instructions look good?
Thank you very much for creating the Vagrantfile. It was a great exercise for me to learn how to work with it.

copied from twttr -
I left a TODO in the license part https://github.com/amjith/pgcli/commit/b8d52953820085eeba47bfde3b51b89a68bc0f8f#diff-23b6f443c01ea2efcb4f36eedfea9089R88 … wasn't sure which license you were using

instructions make sense - version=x.y.z part is somewhat ambiguous, that allows someone to create a deb/rpm with different version number than what you have in setup.py - I can look that up and use it by default or add this to a release.py


Provide ClusterCloudEventSource around the management of TriggerAuthentication/ClusterTriggerAuthentication resources

Provide ClusterCloudEventSource around the management of TriggerAuthentication/ClusterTriggerAuthentication resources
Checklist

[ ] When introducing a new scaler, I agree with the scaling governance policy
[X] I have verified that my change is according to the deprecations & breaking changes policy
[X] Tests have been added
[X] Changelog has been updated and is aligned with our changelog requirements
[ ] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[ ] A PR is opened to update the documentation on (repo) (if applicable)
[X] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Relates to # https://github.com/kedacore/keda/issues/3524

/run-e2e events


Enabling new theme redirects to error page

Problem
When enabling a theme from the system settings Under System>Themes it redirects to an error page but the theme is successfully changed.
here is the error page:
Not Found
The requested URL /websites/pagekitdev/admin/system/package/themes was not found on this server.
Technical Details

Pagekit version: 1.0.3
Webserver: Apache/2.4.7 (Ubuntu)
Database: mysql 5.5.49-0ubuntu<IP_ADDRESS>
PHP Version: 5.5.9-1ubuntu4.17

Troubleshooting

[x] I have enabled debug mode: https://pagekit.com/docs/troubleshooting/debug-mode
[x] I have verified the server requirements: https://pagekit.com/docs/getting-started/requirements
[x] I have tried disabling all installed extensions
[x] I have checked the browser developer console for JavaScript errors

I can not reproduce this bug. Can you provide admin credentials? You can send them to me via private Gitter message.

Solved rewrite_module issue

Hello,
I have the same problem as ashrafkholeif. Did you find a solution to this redirect issue with a "The requested URL / admin / system / package / themes was not found on this server" error. On the other hand, the theme or the extension is well acted upon.
Thank you in advance for your answer.
Jérémy


ShopifyAPI::Metafield.prefix = "/admin/"

Using "/admin/:resource/:resource_id/" was causing an ActiveResource::MissingPrefixParam error to be raised whenever non-nested metafield resources (i.e. shop metafields) were retrieved, thanks to AR's prefix_parameters cache.

In the testing I have done this seems to fix the finders, but breaks the creating or updating the objects, have you tried doing this with your patch?

I did a bunch of work that should cover the errors you were running into, and doesn't break the crud operations. It's in master now, so give it a shot!
closed by a53e18acc28de39b64e578492a3ba2a49db67dfe


Test the effect of different plant density in model outputs

Original outputs have maize 6.2 plants/m2, soybean 47 plants/m2

Reduce maize density to 3.1 plants/m2, keeping soybean at 47 plants/m2.

[x] Monoculture
[x] Potential
[x] Water limited
[x] Nutrient limited

Reduce maize density to 3.1 plants/m2, and increase soybean to 60 plants/m2.

[ ] Monoculture
[ ] Potential
[ ] Water limited
[ ] Nutrient limited

Reduce maize density to 0 plants/m2, keeping soybean at 47 plants/m2.

[ ] Monoculture, are they similar?
[ ] Potential
[ ] Water limited
[ ] Nutrient limited

Reduce maize density to 3.1 plants/m2, keeping soybean at 47 plants/m2
Water limited

The LAI for maize is reduced.
I am not sure why the LAI of soybean as a mixture is initially higher for water-limited conditions than for potential.

Reduce maize density to 3.1 plants/m2, keeping soybean at 47 plants/m2
Nutrient limited

When the density of maize is reduced, the soybean does better until N limited conditions:
Now:

Before:

Also, the potential N uptake increases after 130 days after planting.
Now:

Before:

The demand for N increases for soybean while the one for maize is reduced:
Now:

Before:

Reduce maize density to 3.1 plants/m2, keeping soybean at 47 plants/m2
Nutrient limited with N fixation

Soybean does better when the N fixation is included with higher LAI than maize:
Now:

Before (with N fixation):

To review: The LAI now for soybean is higher than under water stress conditions, is it right/normal?

The potential N uptake increases for soybean:
Now:

The potential N demand also increases for soybean:

The N stress index is reduced being maize more stressed:

Reduce maize density to 3.1 plants/m2, keeping soybean at 60 plants/m2
Water limited
Results are similar than for maize 3.1 plants/m2 and soybean 47 plants/m2 with slightly higher values for soybean:

Reduce maize density to 3.1 plants/m2, keeping soybean at 47 plants/m2
Nutrient limited with N fixation

Maize density of 6.2 plants/m2, keeping soybean at 47 plants/m2
Nutrient limited
Now (with N fixation):

Before (without N fixation):


Object.assign() Fix

Downloaded the new version of Radiant Player (v1.11.3) and noticed no notifications showed and the mini player stated 'No song currently playing' even upon change for a new song.
Taking a look at the console revealed that Object.assign() returns undefined making a lot of the functionality broken with Radiant Player.
Adding a Polyfill will resolve this issue in the webView
Images of the bug:

Edit:
Tested this on Mavericks, Yosemite, El Capitan and Sierra.
Issue is only present in Mavericks and Yosemite

but either way if Object.assign() == undefined => !!1 it will inject the Polyfill fix otherwise ignores ;)

LGTM!


Readme is out of date

The readme mentions at the top that this project uses puppeteer, but it uses carlo. I would imagine that the readme needs reviewed given the recent changes.

carlo internally uses puppeteer and unfortunately we still need to download latest Chromium on first start.


Using the RTL bootstrap

Having the option to include the RTL bootstrap CSS file could be helpful for languages such as Arabic, Farsi, and Hebrew. I know that this functionality could be achieved by modifying the BOOTSTRAP5 dictionary, but having it built-in would eliminate the need to look the CSS URL up every time an app is made.

I can imagine that this is important. I have no experience with RTL. Can you add more detail / example code / failing test?


Multiplication in custom snippets?

Hello,
I would like to know if there is a way to use multiplication (and the others symbols) with your custom snippets, or similar.
something like this:

div>ul>li*5
but with your own snippets.
Thank you! and good luck with this great project.

Just a FYI in-case anyone stumbles across this ticket... You can do as described by Rafkot, using a snippet, and then expanding twice (tab, tab) or you can use an abbreviation instead.
{
    "snippets": {
        "html": {
            "abbreviations": {
                "bs:col2": "div.col-sm-6*2",
            },
            "snippets": {
                "bs:col4": "div.col-sm-3*4",
            }
        }
    }
}

In example above, if you did:
bs:col4 [tab] you will receive div.col-sm-6*2 then execute [tab] again will expand to:
div.col-sm-6*2 <-- requires one more tab to expand

...

However if you did:
bs:2col [tab] it will expand automatically to:


Possibility to add a left separator

Just to ask if there is a way to add a left separator to the bufferline, that's it

Exactly, to add a glyph in the left , similar to the airline setting to add a left buffername/tab separator


chore: bdd-sbhg-1581770622 to 0.0.1

chore: Promote bdd-sbhg-1581770622 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


CFE-849: Add new DNSNameResolver CRD

Added the new CRD as per the enhancement proposal https://github.com/openshift/enhancements/pull/1335

@JoelSpeed PTAL

/retitle Add new DNSNameResolver CRD

/retitle CFE-849: Add new DNSNameResolver CRD

@JoelSpeed I have incorporated your suggestions. I have also changed the name of the CRD to DNSNameResolver and the group to network.openshift.io. PTAL.

/retest-required

Other than these two nits, I think this LGTM.

Thanks for your reviews.

Do you want to try and get this merged into 4.14 or can we wait until the 4.15 branch cut happens?

We can wait for the 4.15 branch cut. Also I would like LGTMs from @Miciah @npinaeva before merging this.

Looks good from me side, I just want to make sure we won't need to update API if we change implementation details like number of retries or grace period.

Looks good from me side, I just want to make sure we won't need to update API if we change implementation details like number of retries or grace period.

The API provides documentation so that users can understand the features when they use oc describe or refer to our API references within the product docs. It's perfectly reasonable to require updates to documentation when behaviours change (changing the threshold would be a behavioural change), so I think we should keep as is

A few remaining comments that @JoelSpeed can decide, but otherwise:
/lgtm

@JoelSpeed PLMK if I need to change anything in the PR. If not, it would be great if you can approve the PR.

/lgtm

/retest-required

/retest-required


translate and rotate at a time.

Hi anseki, thank you for the awesome library . I added drag function to the div element , the same element i need to rotate , am unable to rotate the div element because of  inline transform: translate style . how can i chain the css style like this with both rotate and drag functionality.
.rotate {
transform-origin: left;
transform: translate(x, y) rotate(90deg) ;
}

Hi @niteshvaidya591, thank you for the comment.
You can use leftTop option to avoid using translate function.
For example: https://jsfiddle.net/ztofLb6p/
Note that this may be performance degradation.

Or, you can use a wrapper for translate function to avoid performance degradation.
For example: https://jsfiddle.net/x1w9due3/
You have to adjust the same size and position of the draggable item and the wrapper.
For example: https://jsfiddle.net/9k1rb7pq/
You can also adjust those by JS.
For example: https://jsfiddle.net/26kbrycg/

Thank You so much for your examples I really appreciate it and once again thank you for the awesome library.

:smile:


Institution fixes

In response to feedback in an e-mail conversation, here are the changes I am proposing:

Add "is_private_collection" field to provide a way of distinguishing all private collectors, regardless of whether they have a RISM siglum
Add a "migrated_identifier" field to hold the former identifier
Update the migrate_records script to integrate the new functionality
adjusted the admin interface to integrate the new fields

thanks @ahankinson ... looks good to me rn ... we'll wait for email feedback!


fix(RHTAPREL-119): remove lingering extraData references

Remove last remaining references to extraData as the field is now called data.

The testing here found a bug in collect-data (fix is https://github.com/redhat-appstudio/release-service-utils/pull/67). I am going to remove the collect-data stuff from this PR and fix it once that other PR merges


hotfix: update tokio-timer to v0.2.13

Motivation

The forked branch is based on v0.2.12, and #1 updated it to v0.2.13 but the updates for Cargo.toml, README.md, and CHANGELOG.md were missing.
Solution

This PR principally updates the version of crossbeam-utils and avoids the risk of its downgrade.

@BusyJay I forgot to update the dependency of tokio-timer v0.2.13, PTAL again.


Update scenario-test.yml

Purpose
This PR schedules the workflow to run on every night.
Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Documentation content changes
[ ] Other... Please describe:

Other Information

Hi @lechnerc77
I removed the problematic lines from the main.tf file, which generate the timestamp and append it with the subaccount_name. Now, we are updating the subaccount_name using the actions YAML, and there are no changes in the mission configuration. Could you please take a look and review the changes?


Data sheet link in README is broken

This link is a 404:
https://github.com/allenai/dolma/blob/a74b78ac531e06adb61bf70986c8d2a3ef38e9d7/README.md?plain=1#L15
docs/assets/dolma-datasheet-v0.1.pdf

Looks like it was renamed to https://github.com/allenai/dolma/blob/2daae122c6db1686f910021ba9f7ed2fcbe25f5a/docs/assets/dolma-v0_1-20230819.pdf in 2daae122c6db1686f910021ba9f7ed2fcbe25f5a


add joblib_batch_size to parallelized_with_batches

Checklist:

[ ] Add tests to cover the fixed bug(s) or the new introduced feature(s) (if appropriate).
[ ] Update the API documentation is a new function is added or an existing one is deleted.
[ ] Added a news entry.

copy news/TEMPLATE.rst to news/my-feature-or-branch.rst) and edit it.

Let me know if this is enough.

@maclandrol all the new commits are just me trying to remove some warnings during the tests.


Excess spaces while rendering multiline string

Hello, today I end up with strange issue in Rails 5:
Here is how a simple text.html.erb file looks like:
<textarea><%= "a\nb\nc" %></textarea>
And here is what it produce:

I'm talking about these leading spaces before second and third strings.
In my code I have a form with textarea:
.form
  =form_for article do |f|
    .form-group
      =field_label f, :text, true
      =f.text_area :text, class: %w(form-control), rows: 20, placeholder: t('placeholder.article_text')

And the same issue happens there on Edit action
I found out that the reason is haml-rails gem in Gemfile. Without it <textarea><%= "a\nb\nc" %></textarea> forks fine, but with it, it adds extra spaces.

I strongly suspect that it's the Haml gem, and not this gem, which just contains some generators and has a dependency on Haml.

Ok, thank you. Fortunatly, in production it works fine


resource explorer missing css styles

Describe the bug
Resource explorer component styles aren't being included as expected in the libraries exported styles.css file
Below is a screen shot of the incorrect styling:

To Reproduce
Utilize iot-resource-explorer, does not display as expected. An example utilization of iot-app-kit with this occuring is within https://gitlab.aws.dev/proserve-es/awesome-sitewise-applications/amplify-iot-app-kit-demo

Upon investigation I'm not able to reproduce this bug.
I attempted to replicate the issue in the linked repository but I wasn't able to get it building. I created a new demo application to test the <ResourceExplorer /> component with. When running iot-app-kit locally or running my demo app the component is styled correctly.
The styles are properly applied in the current latest version of app kit, v1.5.0, but I also tried the v1.3.0 version specified in the linked repository but still could not replicate the issue.

Could you share the example code used in attempt to recreate the issue @tjuranek

I made a create-react-app project and followed the getting started docs. I tried to replicate with different versions of app kit, as well as implementing the styles with a css @import like shown in the linked demo repository.
import { ResourceExplorer, WebglContext } from '@iot-app-kit/react-components';
import { initialize } from '@iot-app-kit/source-iotsitewise';
import { useState, useEffect } from 'react';
import<EMAIL_ADDRESS>

function App() {
  const [query, setQuery] = useState(null);

  useEffect(() => {
    setQuery(initialize({
      awsCredentials: {
        accessKeyId: "",
        secretAccessKey: "",
        sessionToken: "",
      },
      awsRegion: 'us-west-2',
      settings: {
        batchDuration: undefined,
        legacyAPI: false,
      }
    }).query);
  }, []);

  return (
    <>

Test App

        <ResourceExplorer
          query={query?.assetTree.fromRoot()}
          onSelectionChange={(event) => console.log(event)}
          columnDefinitions={[{
            sortingField: 'name',
            id: 'name',
            header: 'Asset Name',
            cell: ({ name }) => name
          }]}
        />

      <WebglContext />
    </>
  );
}

export default App;

will reopen if were given a reproducible example


Link led to malware site

Hi,
First time Hugo user. I like what I see so far. I'm in the middle of setting up my first project.
On the https://gohugo.io/functions/css/postcss/ page under Setup there is a link called PostCSS plugins. I clicked on it to see what I can find there. I was directed to a page that displayed fake virus alert and to download a product to get rid of it.
The link address when hovered over is: https://www.postcss.parts/

Thanks for  letting us know. I've updated the link.


Non-blocking error log on installation

Describe the bug
An error pops up upon installing the MLAPI's library through the installer package.
Reload Assembly called from managed code directly. This will cause a crash. You should never refresh assets in synchronous mode or enter playmode synchronously from script code.
UnityEditor.AssetDatabase:ImportPackage(String, Boolean)
MLAPIEditor:OnGUI() (at Assets/Editor/MLAPI/MLAPIEditor.cs:329)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Note : This error is not blocking the installation nor usage. However, I don't know the implications of such error, so I prefer to point out the issue here. Anndd... Errors are generally not cool :).
To Reproduce
Steps to reproduce the behavior:

Install the installer unity package (https://github.com/MidLevel/MLAPI/releases)
Open the MLAPI installer editor window, click on install
Wait for the Unity editor to refresh after clicking.
The aforementionned error is logged.

Expected behavior
No error on installation :p?
Screenshots
None really applicable, see error stack for details.
Environment (please complete the following information):

OS: Windows 10
Unity 2019.1.8f1
MLAPI Version: v10.12.1
MLAPI Commit: (commit of installer)

Additional context
Happened 4/4 times, on already started and empty projects.

Error has been there for ages. It looks like a Unity bug to me. I don’t know of a fix, nor have I invested much time to find one.
It does however not affect anythint. Everything works as it should.

Seems like it, indeed. Setting the second parameter of importPackage to true removes the error, but it pops up the import window of the installer editor script (I would have expected MLAPI itself, but anyhow x) ).
No doubt it's Unity throwing an errowarning when using the method synchronously instead of asynchronously. Like, by opening an import popup for instance ^^.

Seems like it, indeed. Setting the second parameter of importPackage to true removes the error, but it pops up the import window of the installer editor script (I would have expected MLAPI itself, but anyhow x) ).
No doubt it's Unity throwing an errowarning when using the method synchronously instead of asynchronously. Like, by opening an import popup for instance ^^.

Problem is you cant use it any other way. It's already super buggy as it is. I had to implement some hacks to even make it work. For example, if you try to call it more than once Unity just gives up and sometimes even crashes.

Yep, editor scripting features (among others ^^") are not the most stable features it is possible to see on Unity.
I suggest labelling this issue at least as low priority (I can't do that, apparently) if you wish, or maybe better close it as a "won't fix", until they plan on reworking asset import from script. There are just nicer things to worry about x).

This bug will not be looked into any further. The installer will be replaced in the upcoming release.


Update API doc URL for Cargo

Closes #3640

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)

:hourglass: Testing commit d941bea with merge ad92930...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing ad9293042106e942034b58dd85f74d1e221cee4f to master...


Colors Not Parsing

I have this portion of code inside my er file. This worked up until today when I reinstalled erd-go after reimaging my computer.  I am getting the following error

ERD file parse error
title {label: "Operations Model", size: 20}
colors {
~~~~~~~
error

If I comment out the colors block it works without issue.
title {label: "Operations Model", size: 20}

colors {
	proj: "#f2f7fe",
	div: "#fee0cd",
	ops: "#e1f0ab",
	bd: "#f8ddee",
}

[DimDates_Project] {bgcolor:"proj", label: " Dimensions"}
	DateID
	Date
	DMRPeriod
	WeekEnd
	MonthEnd
	YearEnd

What version of erd-go you are using? The 'colors' only work with versions >= 2.0.0.
You can download the latest builds from https://github.com/kaishuu0123/erd-go/releases/tag/v2.0.0

That was it, wasn't using the latest version.
Apparently using  go get github.com/kaishuu0123/erd-go returns version 1.4.6


fix travis notifications

when we opened up the juttle repo we stopped receiving slack
notifications from travis this should fix that

+1


Unit tests

To write the unit tests

I am working on this

Please i found some tests in the test file, can you please indicate my focus classes?

@AbuMuftee you have 2 task. first go thorough all the existing test case and see if they run properly or not. second their is a commented block which was not working and is for reference, please check that as well and rewrite or fix it as need to fulfill the functionality testing.
function have a self explanatory titles or comments and should help you out in understanding its working :)

Okay, great

The mediaQueryData is null, can you chack that
type 'Null' is not a subtype of type 'MediaQueryData'
test\uih_test.dart 334:7  MockMediaQueryData.copyWith
test\uih_test.dart 11:10  main..

The mediaQueryData is null, can you chack that
type 'Null' is not a subtype of type 'MediaQueryData' test\uih_test.dart 334:7 MockMediaQueryData.copyWith test\uih_test.dart 11:10 main..

I will only be able to check this out next week. have some updates planned. so will be working on it and check it out with that. let  me get back to you on next Monday or Tuesday :)


bst artifact checkout --tar should allow compression

See original issue on GitLab
In GitLab by [Gitlab user @tlater] on Jun 21, 2019, 16:08
Background
bst artifact checkout --tar is provided as a simple way to produce a tarball output of a BuildStream element - this means that we can retrieve our output in a distributable form without having to create a dedicated element for that. However, if we want to also compress our artifact (as is typical for this sort of thing), we need to run our compression tool separately. This is annoying (although admittedly a very minor thing).
Python allows compressing tarfiles, so this is fairly trivial to achieve. There is a question of reproducibility here, since the details of the compression algorithm will depend on the python version, but given that we already allow python to create a tarfile (whose precise format can change slightly) in the first place this seems to be acceptable.
Task description
We should make BuildStream compress tarfiles when the user wants to do so. I suggest making BuildStream "do what I mean" by default, in other words, if I create a file named "hello.tar.gz", I expect it to be compressed with gzip. We'd mimick GNU-tar's behavior this way, making the --tar option a bit more intuitive at the same time. We should probably also add compression flags to allow users to override BuildStream's detection.
In a nutshell, we should:

[ ] Make BuildStream compress artifacts checked out using bst artifact checkout --tar according to the file name by default.
[ ] Add flags to allow users to override the default to the command (stay consistent with GNU tar flags).

hint: The relevant code mostly lives in __frontend/cli.py and _stream.py (line 515 and onwards).
Acceptance Criteria

[ ] BuildStream provides an interface that allows checking out artifacts as a compressed tarball.

In GitLab by [Gitlab user @beckyella16] on Jun 21, 2019, 16:48
I can have a look at this.

In GitLab by [Gitlab user @tpollard] on Jun 25, 2019, 12:29
This would be a nice addition!

In GitLab by [Gitlab user @tlater] on Jun 25, 2019, 12:43
changed the description

In GitLab by [Gitlab user @tpollard] on Jul 2, 2019, 12:40
I wonder if the simplest approach from a CLI point of view would to be make --tar take two args, the first staying as Path() filename which we'd default to selecting a compression type from the extension if given, and the second optional positional being click.Choice for the compression type with no change to the default behaviour if not given as to not break existing calls? The API for click seems to support Tuples as Multi Value Options but I'm not a click expert so it might not fit our usecase here.
This would stop the naive approach of having a '--compression' (or similar) flag to exist that requires --tar to have been given, and handling that combination not being given correctly.

In GitLab by [Gitlab user @jennis] on Jul 3, 2019, 10:57
mentioned in merge request !1413

In GitLab by [Gitlab user @beckyella16] on Jul 4, 2019, 11:41
closed

In GitLab by [Gitlab user @beckyella16] on Jul 4, 2019, 11:45
reopened

In GitLab by [Gitlab user @beckyella16] on Jul 4, 2019, 12:13
mentioned in merge request !1451

In GitLab by [Gitlab user @tmewett] on Aug 9, 2019, 10:28
closed


bump to newer base images

Signed-off-by:...
What does this PR do?
bump to newer base images
Signed-off-by: Nick Boldt<EMAIL_ADDRESS>Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
N/A (or see commit message above for issue number)
How to test this PR?
N/A
PR Checklist
As the author of this Pull Request I made sure that:

[x] The Eclipse Contributor Agreement is valid
[x] Code produced is complete
[x] Code builds without errors
[ ] Tests are covering the bugfix
[x] The repository devfile is up to date and works, if one exists
[x] Sections What issues does this PR fix or reference and How to test this PR completed
[x] Relevant user documentation updated
[x] Relevant contributing documentation updated
[x] CI/CD changes implemented, documented and communicated

Reviewers
Reviewers, please comment how you tested the PR when approving it.

/cherry-pick 1.3.x


Erro in login

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
The command failed with an unexpected error. Here is the traceback:
[WinError -2146893813] : ''
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/profile/custom.py", line 145, in login
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/_profile.py", line 155, in login
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/auth/identity.py", line 121, in login_with_auth_code
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/application.py", line 1488, in acquire_token_interactive
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oidc.py", line 280, in obtain_token_by_browser
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oauth2.py", line 660, in obtain_token_by_browser
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/application.py", line 135, in obtain_token_by_auth_code_flow
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oidc.py", line 204, in obtain_token_by_auth_code_flow
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oauth2.py", line 548, in obtain_token_by_auth_code_flow
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oauth2.py", line 714, in _obtain_token_by_authorization_code
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oidc.py", line 115, in _obtain_token
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oauth2.py", line 771, in _obtain_token
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/application.py", line 523, in <lambda>
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/token_cache.py", line 307, in add
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/token_cache.py", line 113, in add
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/token_cache.py", line 184, in __add
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal_extensions/token_cache.py", line 44, in modify
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal_extensions/token_cache.py", line 35, in _reload_if_necessary
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal_extensions/persistence.py", line 172, in load
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal_extensions/windows.py", line 111, in unprotect
OSError: [WinError -2146893813] : ''

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login

Expected Behavior
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.30.0 *

Additional Context

@jiasli for awareness

We've seen this issue before in #20231.
Have you copied .azure from/to another computer? Could you share the detailed steps you followed to trigger this error? Thanks.


ktail continually prints connection warnings/errors after losing network connection

I usually have a terminal window open running ktail on one or more deployments/statefulsets.  If I close my laptop and come back later, the terminal window will be continually printing the warnings/errors below.
 Maybe you can try the latest release of ktail, which upgrades the client to a newer version?

@atombender thanks, updating ktail seems to have done the trick.  Closing.


Simplify merged iterator based on PR feedback

Simplify merged iterator based on PR feedback by removing the peeking iterator and instead using the heap as the place to store the next item. This only reads what is strictly necessary from input iterators in MergedIterator

Codecov Report

Merging #119 (1a32f4f) into main (cac4f3b) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
- Coverage   96.88%   96.86%   -0.02%
==========================================
  Files          42       42
  Lines        2280     2268      -12
==========================================
- Hits         2209     2197      -12
  Misses         71       71

Impacted Files
Coverage Δ

ical/iter.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for the review!

@allenporter Just realized heapq.merge exists! I vote for using it instead of our reimplementation. What do you think?

@make-github-pseudonymous-again wow, that is awesome! cool that it also supports the key function, etc. Seems like exactly what is needed here and can't believe we missed this before!

btw I had to fix some other issues similar to what you fixed here. Namely, the original implementation was using the item contents for the heap sort comparisons, which was a drag on performance. I updated this to instead just order all the timestamps instead and introduced a SortableItem to separate the key from the contents, and a benchmark in test_benchmark_merged_iter that showed the improvement.  I am optimistic that the key function they provide can make that unnecessary.


Spurious log message

After upgrading to 0.9.3 I get slightly irritating log messages, for example:
$ awstools assume ....
2016/09/30 08:50:30 Request body type has been overwritten. May cause race conditions
2016/09/30 08:50:30 Request body type has been overwritten. May cause race conditions
2016/09/30 08:50:30 Request body type has been overwritten. May cause race conditions
MFA token: xxxxxx

everything works fine, but the messages are a little bit worrying.

@pellepelster Could you provide your obfuscated ~/.config/awstools/config.toml?

sure
defaultRegion = "eu-west-1"
defaultKmsKey = "arn:aws:kms:eu-west-1:$MAIN_ACCOUNT:key/$UUID

[profiles]
mainAccount = "$MAIN_ACCOUNT_NAME"
mainAccountMfaSession = "$MAIN_ACCOUNT_NAME_mfa"

[accounts]
$MAIN_ACCOUNT_NAME = "$MAIN_ACCOUNT"
account1 = "1234"
account2 = "1234"
account3 = "1234"
account4 = "1234"
account5 = "1234"
...

After an AWS SDK update, I get the same messages. It happens occasionally with awstools assume and awstools ec2. I tend to think it is an AWS SDK issue, since awstools ec2 makes just as single AWS call DescribeInstances.

I didn't have this error message after updating the AWS-SDK.


add automation to upgrade homebrew formula during osm release process

docs should be added as a section in the release guide.
More info here.

Already happens. TODO: add reference to that here and close.

Homebrew has their own automation set up for this, we don't need to do anything per-release on our side.
e.g. https://github.com/Homebrew/homebrew-core/pull/70466 happened a few hours after https://github.com/openservicemesh/osm/releases/tag/v0.7.0


City not populated

I search for an address in Norway "Stanseveien 16", selecting that address, and then all fields except the city is populated.
However if i search for and address in New York, the city is populated
PCF.docx
Please see attachments with screenshots of the custom control configuration

Thanks for the report. Fix is on the way.
Andrew

Should be fixed now - https://github.com/a33ik/GoogleAddressAutocomplete_PCF/releases/tag/<IP_ADDRESS>


[TW#16625] Reset but not reset?

I just found that this kind of reset does not reset internal tick counter. After reset time since start was not cleared. It was reset after crash caused by multi_heap error.
ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4456
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:12988
entry 0x40078d8c
W (91) boot: PRO CPU has been reset by WDT.
W (91) boot: WDT reset info: PRO CPU PC=0x40089204
0x40089204: rf_init at ??:?

W (91) boot: WDT reset info: APP CPU PC=0x4008b28a
0x4008b28a: noise_init at ??:?

What was the last printed log timestamp before TG0WDT reset happened, was it less than 91?
The timestamp you see is somewhat higher than what i see, trying to reproduce this, but still much lower than the timestamp you should see after the application has started up.
For example, with flash configured as 40MHz DIO mode (which is the default), i get the following:
ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x3e (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5552
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:13712
entry 0x40079020
W (30) boot: PRO CPU has been reset by WDT.
W (30) boot: WDT reset info: PRO CPU PC=0x40008544
W (31) boot: WDT reset info: APP CPU PC=0x400d1a1a (waiti mode)
0x400d1a1a: esp_vApplicationIdleHook at /Users/ivan/e/esp-idf/components/esp32/./freertos_hooks.c:62

And then, when the application starts up:
I (272) cpu_start: Starting scheduler on PRO CPU.

So if the tick counter was preserved after reset, you would get a value higher than 272 (ms).

Timestamp was higher for sure because app has been running for at least few seconds. I dont remember exactly what triggered it but if i remeber it was something like that:

application is REST web server,
from web interface has been send some request to web server,
for some reason, dont remember what was that, esp32 got reset

I opened this issue because web interface got information with time since app start and it was weird to me when i saw after reset this time value was not reseted. It was only one time when i observed this, so i cant guarantee it can be reproduced.

Im thinking right now, but this maybe is stupid because i dont know if it is possibleat all, is it possible that crash was just on one core and the other core has been not reset? Then gettimeofday() after reset was invoked on "health" core?

TG0WDT_SYS_RESET is a system reset, i.e. it resets both CPUs and all digital peripherals. Only the RTC is not reset.
Log timestamps are obtained from two sources: before FreeRTOS is running, we use CPU internal cycle count register (CCOUNT), once FreeRTOS has started, we use FreeRTOS tick count. So log timestamps should definitely be reset after TG0WDT_SYS_RESET. There's always a room for a bug, but based on your log it doesn't seem like the reset has not happened.
You have also mentioned the time shown in the web interface of the app. As mentioned above, RTC is not reset by TG0WDT_SYS_RESET, so if you have RTC timekeeping enabled (this is the default), and the application is using gettimeofday call, then the time obtained from gettimeofday will be preserved after reset.

Then it is possible its not a bug at all, just time was preserved. If my understanding is accurate then feel free to close this and thanks for investigate and explain it.


Build script dependencies refactor

Externalised the dependencies for

Alsa
FreeType font
(these can/should be overriden via environment variables, in the absence of them it will default to hard-coded values)

Corrected spellings

Uniform usages of {...}

PR created at the back of review comments on PR #37.

I was wondering if the dependency version strings should contain ".tar.gz" as well? or is it a bit far fetched?

@neomatrix369 Too far, I think we just want pure version numbers

If this is good, please merge so I can create some more to tidy up existing scripts - we are getting there soon


soc: ti_simplelink: cc13xx-cc26xx: kconfig for subghz 802.15.4

Introduce a temporary Kconfig entry here so that we can merge
required changes into hal/ti for Sub GHz support.
This Kconfig entry should be (re)moved when SubGHz support
is added.
Fixes #28533

Is fixed by #29598


added UIButton course

UIButtons course in Swift

Hey @Neeraj3508 !
Congrats on submitting your pull request.
You PR has been merged and the changes will be reflected on the website in a few minutes,.
Do leave a star, if you liked the repo ;)
Happy hacking ! 🎊

Thanks @ishandeveloper for creating this project.


Ruby support

Would be nice to have ruby syntax!

Please try latest version.

I have installed the latest version, but I didn't see any support for Ruby method or block syntax (i.e. def and `end', or 'do' and 'end').


Take less resources while historical syncing

User story

Story

As a user of Swarm, I want that my node does not take all the resources (bandwidth and processing power) while my node is doing historical sync'ing, such that my other nodes (eth2 validaters) continue running correctly and I can use my PC for something else
Acceptance criteria

Background

Running Swarm right now makes your PC unusable for some time.
There have been actual user complaints, that Swarm is taking so much resources that the eth2 validators miss attestations

Tasks

Task
Assignee
Done (1), or 0

I noticed that in puller.go's syncPeerBin, two go routines are spawned in parallel, one for histSyncWorker and the other for liveSyncWorker.  That's bad, but what's worse is that syncPeerBin is just for a single bin.  It is invoked in a loop causing LOTS of go routines to immediately starting working on the local client, and further, to be pushing bunches of stuff into the remote peer that is being synced with.
Is there any particular reason a single peer's syncing can't be done sequentially across bins and between history and live syncing?

This relates to #1243 and #1504

relates to #2686


Align empty states with current designs and fix navigation

Need to align plugin with current designs shown here and fix navigation for the links at the bottom:

Resolved


ssd1306: Allow SPI3 support to be disabled

At the moment SPI3, unlike SPI4 or I2C, cannot be disabled and the driver always includes SPI3 protocol code. This change allows a program to exclude SPI3 if it is not needed.
For example, when only SPI4 is needed, a program would set these variables in the Makefile:
EXTRA_COMPONENTS = extras/ssd1306
SSD1306_SPI4_SUPPORT = 1
SSD1306_SPI3_SUPPORT = 0
SSD1306_I2C_SUPPORT = 0

PROGRAM_CFLAGS = $(ssd1306_CFLAGS)

The change in ssd1306.c is to suppress "unused variable" warning as j is used only by SPI3.

Thank you!


ADD http reporter in agent

Feature Background
We build our tracing system based on jaeger in our company, but we leverage the cloud service to collect Spans instead of maintaining the component Collector in the self-built data center. However, the service provided by the cloud vendor supports HTTP endpoint only, and there are other services running on the cloud which means we cannot simply migrate to another vendor's service. So we decide to extend the agent.
Which problem is this PR solving?

The PR enables the agent to report Spans to the collector

Short description of the changes
The changes are including:

implementing the interface of Reporter
implementing the interface of ClientConfigManager
modifying the config of reporter flags
modifying the start script of the agent, i.e. cmd/agent/main.go

@XiaoZYang thank you for the PR.  Before reviewing, I would like to understand your use case better.

To confirm: the cloud provider is running a collector service that accepts Jaeger Thrift data over HTTP?
To confirm: I assume they only support HTTP because it can be used with a TLS, while TChannel cannot?

If my assumptions above are correct and there are no other reasons to use HTTP, how about the new gRPC endpoint that Jaeger is going to support soon (the code is already in master)? It would address the TLS question, it is HTTP under the hood, and it is our strategic direction to replace TChannel/Thrift with gRPC/Protobuf.

@yurishkuro thanks for you replying.

It's confirmed that the cloud provider is running a collector service that accepts Jaeger Thrift data over HTTP. I've communicated with the consult of the cloud provider and tried it myself, their service accepts Jaeger Thrift data or Zipkin Thrift data over HTTP only, gRPC and TChannel are unsupported now.
IMO, the reason why they only support HTTP may be that it's easy for Jaeger client and Zipkin client to integrate the cloud service, most use cases are all services with instrumented libs running on their cloud platform, so security may not be an critical issue.

@XiaoZYang

the reason why they only support HTTP may be that it's easy for Jaeger client and Zipkin client to integrate the cloud service

Agreed, but your PR is not about Jaeger clients (which already support http transport), it's about changing the agent.

their service accepts Jaeger Thrift data or Zipkin Thrift data over HTTP only, gRPC and TChannel are unsupported now.

Do you know if they are actually running Jaeger collectors or their own software that accepts Jaeger format? What I was proposing is that once we officially release gRPC support for agent->collector communications, your provider can upgrade to the new Jaeger version, and we don't need to build this redundant HTTP reporter into the agent (since from infrastructure support point of view, gRPC is HTTP).

@yurishkuro

Agreed, but your PR is not about Jaeger clients (which already support http transport), it's about changing the agent.

Oh, I'm sorry about missing some important details about our use cases.

We integrate jaeger with the java-client, i.e., our java services report Span to the agent
The agent sends Jaeger Span to the collector service provided by the cloud vendor.
We want to deploy a side-car agent along with each bussiness service because we don't want to upgrade the application service when the tracing service upgraded every time. So we try to extend the jaeger agent rather than the jaeger client.

Do you know if they are actually running Jaeger collectors or their own software that accepts Jaeger format? What I was proposing is that once we officially release gRPC support for agent->collector communications, your provider can upgrade to the new Jaeger version, and we don't need to build this redundant HTTP reporter into the agent (since from infrastructure support point of view, gRPC is HTTP).

Thanks for your suggestions! It seems that they run their own software which is compatible with Jaeger API, I will re-confirm this with the cloud vendor later. Furthermore, about the gRPC, it's on their to-do list but there is not a clear schedule about gRPC support. So we plan to apply tracing cloud service now by HTTP and migrate to gRPC once they can accept gRPC requests.

@yurishkuro

It's confirmed that the vendor writes their own collector service rather than leveraging jaeger collector.

You could do what we at Uber do internally: we build our own version of the agent with a custom main(), which allows us to wire some of the components from the official jaeger repo differently. This way you can implement this http reporter as your internal component and wire it in from the custom main(), until your vendor supports Jaeger's gRPC API.

Actually, we plan to implement it as you mentioned. If there are other users meet the same problem, maybe we can contribute this to the community. But if it's a rare use case and there is no need to provide HTTP support of agent in jaeger official repository, I'll close this PR.
Thanks for your help and suggestions again @yurishkuro 👍


TdLoading: ExpressionChangedAfterItHasBeenCheckedError

Do you want to request a feature or report a bug?
bug
Bug Report
To reproduce:

use tdLoading directive with tdLoadingStrategy="overlay" on an element that height is smaller than 100px
after loaded element changes its height

Then you got:
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '78'. Current value: '100'
http://plnkr.co/edit/FEk9b7c2fb1GtrMX7lv9?p=preview
Screenshots or link to CodePen/Plunker/JSfiddle

What is the expected behavior?
Shouldn't throw an error
Which version of Angular and Material, and which browser and OS does this issue affect?

Covalent 1.0.0-rc.0
Angular 5.0.1
Material 5.0.0-rc0

Other information
The cause is probably related to this part: getCircleDiameter()
https://github.com/Teradata/covalent/commit/da0221b6c0d79e56af908e3b7c9ded9e78dc1342#diff-0d22f546d39ab49964181c6d6344e8a8R113

Thanks for the report, the reason we didnt cover it is because it doesnt happen when using the component in OnPush.. will fix this asap.

i've experinced the same error. but i see a problem when onpush is used, e.g. on
https://teradata.github.io/covalent/#/components/loading
page, the "code" tab does not work for me at the moment (firefox quantum), and the console shows a dom exception.

this loading service component works very differently in chrome and firefox. keeping the covalent docs/showcase app, as example, the loading page does not work in firefox, at all, and the dom collapses at he 1st page rendering. but in chrome, the page seems to render correctly. I experience the same with my app, collapsed dom in firefox, works in chrome.
so, when onpush, this problem seems to be browser (firefox) specific specific.

Yup, just saw that issue in firefox, gonna try and see what the problem is..

Both issues were fixed, if you all want to try the nightly build to verify it would be great.

I've built from develop, and it works now in firefox. (though the the spinner became much smaller than was before, in my app)

It works for me.
I was also wondering if making customizable TD_CIRCLE_DIAMETER would be a feature that we would like to have? But that's another topic.
Thanks for the help!


Camera video issues

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows
scrcpy version: Manual build
installation method: Manual Build
device model: Redmi Note 11T Pro(xaga)
Android version: 12

Describe the bug
On my device, when the camera size is set to 1920x1080, the camera function can be used normally. But when the camera size is specified as (also the default) 4640x3472, the camera cannot be displayed normally, and FFmpeg will also have errors.

It's show like that

Looks like a buggy encoder (which produces an invalid stream).
Try with another one: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#encoder
Or with another size.

I try 3 different h264 encoder and none of them are usable. And I'm tried the display size, I found max size the camera is 2560x1920


ROCm: Server error: transport error when running batch size >=2 (Falcon-11B)

System Info
image: text-generation-inference:sha-bf3c813-rocm
GPU: AMD MI250
TGI args: --dtype float16 --model-id tiiuae/falcon-11B
PS. tested on meta-llama/Llama-2-7b-hf, no issues
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction

Call the chat completion endpoint:

curl <IP_ADDRESS>:8081/v1/chat/completions \
   -X POST \
   -d '{"inputs":"hello","max_new_tokens": 500, "stream": true}' \
   -H 'Content-Type: application/json'

Send another inference request while the first steam is still running
Error:
2024-06-08T09:34:21.826887Z ERROR batch{batch_size=2}:decode:decode{size=2}:decode{size=2}: text_generation_client: router/client/src/lib.rs:46: Server error: transport error

Expected behavior
TGI should handle different batch size on ROCm

Same issue for tiiuae/falcon-7b-instruct


invalid transaction: Transaction failed to sanitize accounts offsets correctly

I'm developing a program with Jupiter Api and gagliardetto/solana-go. It always returns invalid transaction: Transaction failed to sanitize accounts offsets correctly when I submit the transaction. And both two of the Privatekeys(the payer key and the base(order id) key) are used to sign the transaction.
My code like below:
func (s *RaydiumSwap) MakeLimitSellOrder(ctx context.Context, tokenMint string, inAmount uint64, outAmount uint64) (*solana.Signature, error) {
    fromToken := tokenMint
    toToken := config.WrappedSOL

        // Unique Order ID of Jup limit order
    base := solana.NewWallet()

    resp, err := s.GetTxInfo(inAmount, fromToken, outAmount, toToken, base.PublicKey().String())
    if err != nil {
        return nil, err
    }

    tx, err := NewTransactionFromBase64(resp)
    if err != nil {
        return nil, err
    }

    signers := []solana.PrivateKey{*&s.account, *&base.PrivateKey}

    _, err = tx.Sign(
        func(key solana.PublicKey) *solana.PrivateKey {
            for _, signer := range signers {
           if signer.PublicKey().Equals(key) {
           return &signer
           }

            }
         log.Println("Missing Key: ", key)
        return nil
        },
    )

    if err != nil {
        return nil, err
    }

    rawTransaction, err := tx.MarshalBinary()
    if err != nil {
        return nil, err
    }

    log.Println(tx.MustToBase64())

    sig, err := s.clientRPC.SendRawTransactionWithOpts(
        ctx,
        rawTransaction,
        rpc.TransactionOpts{
            SkipPreflight:       false,
            PreflightCommitment: rpc.CommitmentFinalized,
        },
    )

    if err != nil {
        return nil, err
    }
    return &sig, nil
}

Doc from Jupiter are like:
Deserialize and sign the transaction

    // deserialize the transaction
    const transactionBuf = Buffer.from(tx, "base64");
    var transaction = VersionedTransaction.deserialize(transactionBuf);

    // sign the transaction using the required key
    // for create order, wallet and base key are required.
    transaction.sign([wallet.payer, base]);

Execute the transaction

// Execute the transaction
const rawTransaction = transaction.serialize();
const txid = await connection.sendRawTransaction(rawTransaction, {
  skipPreflight: true,
  maxRetries: 2,
});
await connection.confirmTransaction(txid);
console.log(`https://solscan.io/tx/${txid}`);

It seems that tx.Sign() can’t overwrite the origin signature(11111111111…) from jupiter and I have to delete them manually.

Hello, @ubuygold
I got the same issue to create a new limit order in Jupiter. How did you solve this problem?

Hello, @ubuygold
I got the same issue to create a new limit order in Jupiter. How did you solve this problem?
I also tried to remove 111...11 signers, but it was impossible. So I fetched instructions from the origin tx, and added new signers.
But unfortunately, I got another issue during decoding instructions from the origin tx. Damm...
Hope your quick help. Thanks in advance.


darwin-arm64-83_binding.node  notfound

NPM version (6.14.17):
Node version (14.20.1):
Node Process (node -p process.versions):
Node Platform (node -p process.platform):
Node architecture (node -p process.arch):
node-sass version (node -p "require('node-sass').info"):
npm node-sass versions (npm ls node-sass):

https://github.com/sass/node-sass/issues/3033


Heading: Add wordWrap (and other props from Text)

Heading: Add wordWrap (and other props from Text)
This update enhances the Heading component to have similar props as the
base Text component, including wordWrap, noWrap, truncate, and
lineHeightInherit.
This update also moves the Heading.css.ts file to the root Heading/ directory.
Resolves: https://github.com/helpscout/hsds-react/issues/575

Pull Request Test Coverage Report for Build 1976

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

Totals

Change from base Build 1975:
0.0%

Covered Lines:
7436

Relevant Lines:
7436

💛  - Coveralls

code looks good! should we add some stories to demo the heading in different situation?

@Charca Thanks !
@plbabin Good idea :D. Will update the story for the Header (with knobs). Might be tricky to visually see things like line-height changes, but will add anyway!

@plbabin Here we go!


Release: CTP2.1 SQL22, Build: 220727.02.00

Blog updates for CTP 2.1 Preview for Windows and SQL.

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

File
Status
Preview URL
Details

documentation/blog/MS-SQLINTBLOGLP/7f5fe25f-10ae-40a6-88fa-5c0fd6012a95.md
:white_check_mark:Succeeded

documentation/blog/MS-SQLINTBLOGLP/cec9ad5e-988f-4043-b541-3c5ebbe93c3a.md
:white_check_mark:Succeeded

documentation/blog/MS-SQLINTBLOGLP/f907472f-a738-4cb9-b353-5f2bb8ca577b.md
:white_check_mark:Succeeded

documentation/blog/MS-SQLINTBLOGLP/toc.yml
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/3c50cdd8-7934-41aa-a878-e2e6f0f5d792.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/4dd38e02-bab8-475d-abb1-7ca67bbaac1a.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/534eadc5-d06b-47e3-b6a4-ecf7c5050437.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/6344e692-0783-4f0a-bb97-5a07b9167286.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/7b112223-12f5-4ae8-ad7b-3f5d30fd6270.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/81cbb832-8bf1-4e68-b46a-7fdb371ddf6b.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/b1a2e779-a20c-4845-8408-7211c8007cde.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/c0ef7a9c-8b8f-4ffa-881a-cb13a8ed462e.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/d0ae8948-5328-48b9-bb88-9667a8fb76cf.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/dd98b93c-0a75-4eb0-b92e-e760c502394f.md
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image001.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image002.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image004.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image005.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image006.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update docs tags to new API

This got auto closed when I merged these changes in in #95 because people needed that done.


Adding Find gym near you feature

Is your feature request related to a problem? Please describe.
I'll enable the feature where on clicking the Find gym near you helps user to find gyms near them.
Describe the solution you'd like
I'll use google maps API key to integrate, accordingly I'll update the frontend and backend.
Describe alternatives you've considered
I'll use google maps API key to integrate, accordingly I'll update the frontend and backend.
Additional context

i'll make that responsive

Hey @abhay-raj19.. Please assign this issue to me. I ensure to complete this in the given timeframe.


Force defining the function

We use this plugin in Janus, the problem is some oses ship it as a package and this leads to errors since the function is defined somewhere in the runtime already.
Please see https://github.com/carlhuda/janus/issues/336 for more information.

Thank you, I'll update Janus

Also, it's an interesting problem. Do you know on what OS does it happen? Where is the other DetectNode defined? It works for me on Fedora 16 and Mac OS X with MacVim. Maybe I should just rename DetectNode to something else?

it happens when you reload your vimrc and use something like pathogen for bundle management. the vim-node ftdetect gets redefined, but since it wasnt a force redefine you would get an already defined error.

According to carlhuda/janus#336 it's a fresh Ubuntu 10.11 install (zsh, rvm)

Oh, I see. I thought it was already defined in some other plugin. Then it's all good, I guess.
Released on vim scripts as 1.1.1: http://www.vim.org/scripts/script.php?script_id=3798


Hristo/gcp deploy vertexai models embeddings

In this PR:

Scripts and config templates to deploy backend portion (searxng, backend services) of Perplexity to GCP Kubernetes Engine
Functionality to protect endpoints and Websocket with a token
Scripts and config template to build and run frontend locally connected to remote backend
Functionality to store secrets in .env files (best practices to prevent accidentally leanking secrets)
Add VertexAI gemini models as Perplexity LLM providers
Add VertexAI text embeddings as Perplexity LLM providers

Small fixes:

Docker compose restart errored containers, since node terminates process on unhandled errors
Agent prompts were duplicating initial user query in prompt, this is not an issue for OpenAI models but appears Gemini model endpoints are upset when user and model utterances are not alternated and the redundant query user query causes the requests to error.
All modified prompts were tested with OpenAI GPT and VertexAI Gemini models and appear to work correctly for both now

@ItzCrazyKns here are the GCP and VertexAi provider changes, as we discussed. Again sry for the delay.

@ItzCrazyKns here are the GCP and VertexAi provider changes, as we discussed. Again sry for the delay.

Hi, no worries. Just before I merge, have you tested these out and do they work? I won't be able to test it from my side.

@ItzCrazyKns here are the GCP and VertexAi provider changes, as we discussed. Again sry for the delay.

Hi, no worries. Just before I merge, have you tested these out and do they work? I won't be able to test it from my side.

Yes. We have an instance up on GCP that is actively using both the Vertex embeddings and both Gemini 1.0 and 1.5.

Alright, thank you so much.