1.0.3 update

WIP

Linter check failed, with the following output:
The following problems have been found:
ERROR: /tmp/abs_b5gtiu6msw/clone/recipe/meta.yaml:28: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
Errors were found

Linter check failed, with the following output:
The following problems have been found:
ERROR: /tmp/abs_45spvr22no/clone/recipe/meta.yaml:39: duplicate_key_in_meta_yaml: The recipe meta.yaml contains a duplicate key
Errors were found

Linter check failed, with the following output:
The following problems have been found:
ERROR: /tmp/abs_573mxj277h/clone/recipe/meta.yaml:39: duplicate_key_in_meta_yaml: The recipe meta.yaml contains a duplicate key
Errors were found

Linter check failed, with the following output:
The following problems have been found:
ERROR: /tmp/abs_82p7wq95rc/clone/recipe/meta.yaml:25: remove_python_pinning: On arch specific packages, python deps should not be constrained.
ERROR: /tmp/abs_82p7wq95rc/clone/recipe/meta.yaml:29: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
Errors were found

Linter check failed, with the following output:
The following problems have been found:
ERROR: /tmp/abs_b8egqnvaeb/clone/recipe/meta.yaml:24: remove_python_pinning: On arch specific packages, python deps should not be constrained.
ERROR: /tmp/abs_b8egqnvaeb/clone/recipe/meta.yaml:28: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
Errors were found

Linter check failed, with the following output:
The following problems have been found:
ERROR: /tmp/abs_52y4pzy81w/clone/recipe/meta.yaml:28: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_27z2yc0yqd/clone/recipe/meta.yaml:28: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_33ezgshua8/clone/recipe/meta.yaml:29: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_1ezbszmr_2/clone/recipe/meta.yaml:29: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
Errors were found


Curly brackets affect analysis results?

[x] Please make sure your issue is not addressed in the FAQ.

Please include the following information:

[x] The version of infer from infer --version.$ infer --version
Infer version v1.0.0-6eb79feaa

[x] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.Linux ... 3.10.0-957.el7.x86_64
Red Hat Enterprise Linux Server release 7.6 (Maipo)

[x] Which command you ran, for example infer -- make.

infer --bufferoverrun --pulse --bo-field-depth-limit 3 --enable-issue-type BUFFER_OVERRUN_L5  run -- gcc -c $src_file

[x] The full output in a paste, for instance a gist.

[x] If possible, a minimal example to reproduce your problem (for instance, some code where
infer reports incorrectly, together with the way you run infer to reproduce the incorrect
report).

Infer produced different results for two semantically equivalent snippets, where the differences are two brackets.
Infer says there is no bug in the version without bracketsmain ( )
{
int entity_4 ;
int entity_9 ;
entity_9 = 86 ;
char entity_1 [ 32 ] ;
for ( entity_4 = 73 ; entity_4 < entity_9 ; entity_4 ++ )
entity_1 [ entity_4 ]
;
}

Infer output:$ infer --bufferoverrun --pulse --bo-field-depth-limit 3 --enable-issue-type BUFFER_OVERRUN_L5  run -- gcc -c 3.c
Capturing in make/cc mode...
Found 1 source file to analyze in ..../infer-out
1/1 [################################################################################] 100% 32.967ms

  No issues found

Infer says there is a bug in the version with bracketsmain ( )
{
int entity_4 ;
int entity_9 ;
entity_9 = 86 ;
char entity_1 [ 32 ] ;
for ( entity_4 = 73 ; entity_4 < entity_9 ; entity_4 ++ ) {
entity_1 [ entity_4 ] ;
}

}

Infer outputInput file: 4.c
Capturing in make/cc mode...
Found 1 source file to analyze in ..../infer-out
1/1 [################################################################################] 100% 44.454ms

4.c:8: error: Buffer Overrun L1
  Offset: [73, 85] Size: 32.
   6. char entity_1 [ 32 ] ;
   7. for ( entity_4 = 73 ; entity_4 < entity_9 ; entity_4 ++ ) {
   8. entity_1 [ entity_4 ] ;
      ^
   9. }
  10.

Found 1 issue
            Issue Type(ISSUED_TYPE_ID): #
  Buffer Overrun L1(BUFFER_OVERRUN_L1): 1

There are more similar cases. For example, if we replace the for loop with a while loop, infer acts the same.

Many thanks for the report, I have a fix coming.

Many thanks for the report, I have a fix coming.

@jvillard Thanks for the fix! It works now. 👍

@jvillard Thanks for the fix! It works now. 👍

@jvillard sorry to bug you again. we saw some strange behaviors when running infer on two similar snippets. I opened an issue here #1374. could you please take a look too? thanks!

@jvillard sorry to bug you again. we saw some strange behaviors when running infer on two similar snippets. I opened an issue here #1374. could you please take a look too? thanks!


Public docker image is not accessible anonymously

Describe the bug
In the documentation, there is a section about how to use the public docker image to run commands in an environment that comes with all necessary requirements pre-installed. Trying to run this command results in an error about case capitalization, and once lowercased as required results in an access error.
To Reproduce
Steps to reproduce the behavior:

Run "docker run --rm -ti ghcr.io/GoogleChromeLabs/bubblewrap:latest help"
Run "docker run --rm -ti ghcr.io/googlechromelabs/bubblewrap:latest help"

Expected behavior
Help text from bubblewrap executable should be displated.
Desktop (please complete the following information):

OS: Linux
Browser N/A
Version N/a

Additional context
You can also verify the access problem by trying to access the docker image directly via https://ghcr.io/v2/googlechromelabs/bubblewrap/manifests/latest
Other projects where accessing their images work seem to have "packages" listed in the sidebar here on github.

Hey @anbraten, any chance you'd be able to help on this?

@andreban You / a maintainer has to change the visibility of the package I guess. It should be accessible at this page: https://github.com/orgs/GoogleChromeLabs/packages/container/bubblewrap/settings
You should be able to see sth like this there:

Ahh, thanks for the explanation (I'm obviously not greatly knowledgeable on Docker). Unfortunately...

@monsterbitar should be public now. Thanks for the help, @anbraten.

Awesome 🎉


Rigid bodies disconnect from joints frequently when exclude_nodes is on

Godot version:
3.2.4 beta 5
OS/device including version:
Ubuntu 20.04 LTS
Issue description:
As of this beta release, whenever a rigid body is moved, collision shapes are added/removed from it or collision shapes are moved within it (i.e. collision data changes in any way) - the body disconnects from any joints connected to it. The node paths in the joints do not change, but the node no longer has any effect on the physics simulation. In order to get this working again, at least one of the node paths (via set_node_a() or set_node_b()) must be set to @"." or some other irrelevant value, then set back so it's pointing to the correct body again.
I was using 3.2.4 beta 3 earlier, and that version of the engine had no problem with physics bodies or collision data being changed at runtime and would not disconnect any joints from doing so.
After doing some more investigating (and writing most of the above message), I thankfully discovered that the issue only occurs when the property exclude_nodes is set to true, so I do have a way of continuing my game in the meantime. The problem coincides exactly with the following warning message:
WARNING: remove_rigid_body: A body connected to joints was removed. Ensure bodies are disconnected from joints before removing them.    At: modules/bullet/space_bullet.cpp:505.
Steps to reproduce:

Set up a scene roughly similar to my minimal reproduction project:

One rigid body containing a mesh and a collision shape should be present
One joint (e.g. hinge) should have node_b set to this body and node_a blank
Before playing the scene, turning the joint exclude_nodes property ON should result in the behaviour I described when playing; turning it OFF should result in the normal expected behaviour

Play the scene and open the remote tree; try setting the transform of the collision shape to a different value, or changing the scale of the body, and see whether the body continues hanging or falls into the void (corresponds with the warning message detailed above).

Minimal reproduction project:
joint_disconnect_example.zip
Note - I've never posted an issue on GitHub before, so I'm uncertain about a few things such as what the title should be. Please correct me if I didn't do this right.

Can you reproduce this bug in 3.2.4 beta 4?

Can you reproduce this bug in 3.2.4 beta 4?

Thanks, just checked and it seems to work fine in beta 4 (based on the minimal reproduction project).

Thanks, just checked and it seems to work fine in beta 4 (based on the minimal reproduction project).

This is a regression from #43899.

This is a regression from #43899.

Thank you for your help! Hope this report was useful - again, I've never opened an issue before so wasn't sure how to go about it.

Thank you for your help! Hope this report was useful - again, I've never opened an issue before so wasn't sure how to go about it.


Get Show Documentation Link instead of opening in default browser…?

When choosing to Show Documentation for an Eslint rule…

…it automatically opens in Safari for me. Yes, I have Safari set as my default browser, which is why this is occurring.
Is there a way to just get the link to the documentation instead of forcing open the URL in my default browser? Or, is there a way to tell Eslint to open the documentation in another browser?
Thanks!

Actually no. VS Code has no API to tell which browser to use. I would accept a PR to allows a code action to Copy the documentation link. But that needs to be behind a setting.

Excellent! Thinking out loud…
I’d expect the menu to look like this:
…
Open Documentation for xxx-yyy
Copy Documentation URL for xxx-yyy
…
Settings can be something along the lines of:
offerDocumentationUrl: true,

The setting should be along the lines of eslint.codeAction.showDocumentation

For whatever it's worth for anyone having similar issues:
There is a $10 utility for macOS called Choosy that allows you to configure how links are handled from any program. Basically, you set Choosy as your default web browser, then you can set rules on how links are handled.
So, in this case, I can say any links opened in VS Code will be forced to open in a particular browser.
https://www.choosyosx.com/
or
brew cask install choosy
I hope that is helpful!

The feature has not gain any traction in the community. I therefore close the issue. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Failure to bind to socket on libp2p connection triggers reconnects

If address is already in use, return an error and exit the application instead of letting the supervisor restart the listening actor.
There is no point in trying to restart the actor - user should change the listening port or close app that took it.
Note: this sometimes shows up in tests, when we're trying to bind to the same socket.
on legacy connections, such test would fail early, on libp2p connections a test looks like it failed in different place (ie. it's not obvious the Endpoint could not be correctly established at all).

This project is unmaintained


feat: attribute based key splits

With the introduction of attribute based key splitting in the go sdk. We now need to introduce this for ztdf in the javascript sdk. Implement the key splitting logic that was done in the go sdk and update x-tests to make
key splits generated with each sdk can interop.

Dupe @jrschumacher find the dupe

@dmihalcik-virtru will resolve the dupe and add the appropriate decomposition

something with protos
resize

closing, work will continue in this issue - https://github.com/virtru-corp/data-security-platform/issues/606


add h5 extension

Summary
Fix #1113
Details and comments
This just adds h5 file extension in the files api out.

@akihikokuroda just to confirm, I'm not 100% sure. Did you try to do a migration?
python manage.py makemigrations

FYI: https://docs.djangoproject.com/en/4.2/topics/migrations/
I don't know if it applies when we add a new end of file but just to be sure.

@Tansito I didn't do it.  This change doesn't affect the models so it should be fine.

Well, correct me if I'm wrong @akihikokuroda . Maybe this is not needed? We are not storing a QiskitPattern, this is just to upload files as resources, isn't it?

The model attribute is for the tar file that has the program working directory contents created and sent to ray node internally.  It is not the file for the download.


Run ./scripts/code.sh in your terminal.

From the link under "how to contribute" (here):
Run npm run watch


Vickel: Watch couponsbuyer.com

Vickel requests the watch of the watch_keyword couponsbuyer\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

couponsbuyer\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Fix some problems in the exact matcher

This PR fixes some of the most pressing issues in the exact matcher, and allows to switch the cardiology project to a dedicated model.
It is part of #418 but does not include the most extensive parts, like the new on-disk format, so we can backport it to the stable-1-6 branch.
Fixes #419

So the "dummy exact matcher" means no exact matcher and only used for code consistentcy?

Yes. This way we don't have two codepaths when querying or learning.


Remove comments

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.09%. Comparing base (1741481) to head (b15c32b).

Additional details and impacted files
@@                    Coverage Diff                    @@
##           feature/interactive-init    #1617   +/-   ##
=========================================================
  Coverage                     39.09%   39.09%
=========================================================
  Files                            52       52
  Lines                          3535     3535
=========================================================
  Hits                           1382     1382
  Misses                         1978     1978
  Partials                        175      175

Flag
Coverage Δ

unittests
39.09% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bump dart_flutter_team lints to latest across packages

Remove duplicate lints in files

The failure here confuses the heck out of me...

This is the argument for using mono_repo for CI. Keeping track of the scripts and making them consistent is tricky...


⚠ PrivateHD has degraded performance

In 4a54ef3, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 3920 ms

Resolved: PrivateHD performance has improved in 3961c9f.


change opacity for footer svg

test commit

Coverage increased (+2.3%) to 41.048% when pulling b771a91b0467ababa30fb62a39d454af3f3dd9c7 on hetmanchuk:master into f0421aa2e5c2b8d3d778d9bf49c55b315bda2831 on supergiant:master.


Operation returned an invalid status code 'Forbidden

Hi There
I'm seeking some guidance to resolve the issue.
I am a owner and global administrator of the azure tenant. I am receiving a error during the execution as noted below, however, IPAM deployment succeeds and I'm unable to view the subscription under IPAM Application

Deployment logs:
New-AzRoleAssignment: /Users/xxxxxxx/.local/share/powershell/Modules/Az.Resources/6.16.0/MSGraph.Autorest/custom/New-AzADServicePrincipal.ps1:752:13
Line |
752 |        $ra = New-AzRoleAssignment @param
|              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Operation returned an invalid status code 'Forbidden'

Log streams under web apps:
024-03-21T06:14:43.402704667Z Exception Details:	(AccessDenied) Access is denied to the requested resource. The user might not have enough permission.
2024-03-21T06:14:43.402731267Z 	Code: AccessDenied
2024-03-21T06:14:43.402737167Z 	Message: Access is denied to the requested resource. The user might not have enough permission.
2024-03-21T06:14:43.402742467Z 2024-03-21 06:14:43.401 | ERROR    | app.main:find_reservations:480 - Error running network check loop!

Detailed deployment logs
NOTE: IPAM Deployment Type: AppContainer
INFO: Fetching Tenant ID from Azure PowerShell SDK
INFO: Fetching Azure Cloud type from Azure PowerShell SDK
INFO: Validating Azure Region selected for deployment
INFO: Azure Region validated successfully
INFO: Creating Azure IPAM UI Application
INFO: Creating Azure IPAM Engine Application
INFO: Updating Azure IPAM Engine API Endpoint
INFO: Updating Azure IPAM UI Application Resource Access
INFO: Creating Azure IPAM UI Service Principal
INFO: Creating Azure IPAM Engine Service Principal
New-AzRoleAssignment: /Users/xxxxxxx/.local/share/powershell/Modules/Az.Resources/6.16.0/MSGraph.Autorest/custom/New-AzADServicePrincipal.ps1:752:13
Line |
752 |        $ra = New-AzRoleAssignment @param
|              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Operation returned an invalid status code 'Forbidden'
INFO: Creating Azure IPAM Engine Secret
INFO: Azure IPAM Engine & UI Applications/Service Principals created successfully
INFO: Logging in to Microsoft Graph
INFO: Granting admin consent for Microsoft Graph API permissions assigned to IPAM UI application
INFO: Admin consent for Microsoft Graph API permissions granted successfully
INFO: Granting admin consent to the IPAM UI application for exposed API from the IPAM Engine application
INFO: Admin consent for IPAM Engine exposed API granted successfully
INFO: Granting admin consent for Azure Service Management API permissions assigned to IPAM Engine application
INFO: Admin consent for Azure Service Management API permissions granted successfully
INFO: Deploying IPAM bicep templates
INFO: IPAM bicep templates deployed successfully
INFO: Updating UI Application with SPA configuration
INFO: UI Application SPA configuration update complete
INFO: Azure IPAM Solution deployed successfully
Thanks in advance

Hi @sidsajjan1, this is already documented in our Guide here:
https://azure.github.io/ipam/#/troubleshooting/README?id=new-azroleassignment-failed
Essentially you are missing the required permissions under the Root Tenant Management Group as described in the Prerequisites which can be found here:
https://azure.github.io/ipam/#/deployment/README?id=prerequisites
Hope that helps!

Hi there @sidsajjan1, just wanted to circle back and make sure that the details I shared above were helpful. If not please let me know and we'll do what it takes to make sure you're up and running.
Thanks for reaching out!

Hi @DCMattyG Thank you for your quick responses and sorry for the delay replying to the thread.
I have reviewed  tenant level permissions.
Since this was my dev/test tenant, I missed configuring ENTRAID properties to
Access management for Azure resources that my account can manage access to all Azure subscriptions and management groups in this tenant. Once I set this to YES.
IPAM is working as expected :)
ref: https://www.tunecom.be/quick-tip-reset-access-to-your-root-management-group/
Kind regards

Thank @DCMattyG proceeding the issue closure.


Improve contribution/edit history functionality

Consider adding a contributors' section to incentivize participation in the Design System.
Previous mockup/spec ideas:

Avatar circle size: 30px diameter
Circle outline and text color: Gray 80
Circle text size: H6
Overlap width: 7px
Show 4 circles total

To keep hierarchy in order, the github avatar circles could be in B/W like this example, shown below:

The above example has a single link for all contributors. The example below allows clicking on individual avatars. Individual clicking makes more sense since we are showing individual top contributors.

Possible CSS implementation for this: https://codepen.io/joeyquarters/pen/WrXgNX/


For a long list of options (having a scroll bar), SUBMIT button is not working/displayed

Issue summary

My list of options is quite long. It needs a scroll bar.
The SUBMIT button is NOT displayed at all, and scrolling is NOT available!
The SUBMIT button is displayed and scrolling is available, if I add the option fixedHeight={true}. However, clicking on the SUBMIT button has NO effect at all, as if it doesn't exist!
Interestingly enough, if something is entered in the search input and an option is selected (from the short list of options, which satisfy the search criteria), the SUBMIT button works! It seems that the SUBMIT button only works when a short list is displayed!

Library versions
react-native: 0.63.2
react-native-multiple-select: ^0.5.5
Steps to Reproduce

Copy the example, which is in the readme file to my project, and make sure it works fine.
Add more elements to the sample list of items const items = [......]. I simply added 9 elements, so, it became a list of 18 elements, instead of only 9 elements.
Try the app. The SUBMIt button is NOT displayed
Add the option fixedHeight={true}.
Try the app. Clicking on the SUBMIT button has no response at all as if it doesn't exist!

i'm facing the same issue, any solution to this ?


option, error, reader, writer and state effects algebras

WIP DO NOT MERGE
This PR brings popular effect semantics inside Freestyle programs as long as their target M[_] contains evidence of supporting those capabilities such as MonadReader, MonadState, ...

Current coverage is 56.41% (diff: 66.66%)

Merging #18 into master will increase coverage by 9.98%

@@             master        #18   diff @@
==========================================
  Files            12         17     +5
  Lines            84        117    +33
  Methods          84        117    +33
  Messages          0          0
  Branches          0          0
==========================================
+ Hits             39         66    +27
- Misses           45         51     +6
  Partials          0          0

Powered by Codecov. Last update d1004c4...07e51ce


Fix objects merging in loadMore after refetch in usePaginationFragment

The scope of this PR is to fix loadMore function from usePaginationFragment hook after we refetch data with different variables
that contain objects.
Problem
When we have an object as part of the default variables, for example filterBy: {property1: true} and the same object with extended params are passed to the refetch function like filterBy: {property1: true, property2: false}, we end up in the situation where previousVariables in useLoadMore hook is incorrectly combined.
In this case:
const previousVariables = {
    ...metadata.connection?.filterVariableDefaults,
    ...latestVariablesUsedByStandaloneRefetch,
    ...fragmentReference.__fragments,
}

metadata.connection?.filterVariableDefaults.filterBy = {property1: true}
latestVariablesUsedByStandaloneRefetch = {property1: true, property2: false}
fragmentReference.__fragments = {property1: true}
The end result will be missing second parameter from latestVariablesUsedByStandaloneRefetch
const previousVariables.filterBy = {property1: true}
To repro and test this scenario we added a new test case uses correct variable value in load next request when previous variable already contains an object that is different on refetch
Solution
To fix the problem we used merge function of lodash library to recursively merge objects at all levels. In this case we will ensures that every layer of nested properties is combined.

@alloy, @freiksenet, can you please have a look at this PR? :)


when I use probs_map.py, it will work,but when it will succeed,it report an error as following

INFO:root:2020-05-25 00:44:36, flip : NONE, rotate : NONE, batch : 34369/36683, Run Time : 0.96
INFO:root:2020-05-25 00:44:37, flip : NONE, rotate : NONE, batch : 34370/36683, Run Time : 0.97
Traceback (most recent call last):
File "NCRF/wsi/bin/probs_map.py", line 163, in
main()
File "NCRF/wsi/bin/probs_map.py", line 159, in main
run(args)
File "NCRF/wsi/bin/probs_map.py", line 116, in run
probs_map = get_probs_map(model, dataloader)
File "NCRF/wsi/bin/probs_map.py", line 53, in get_probs_map
for (data, x_mask, y_mask) in dataloader:
File "D:\python\lib\site-packages\torch\utils\data\dataloader.py", line 264, in next
batch = self.collate_fn([self.dataset[i] for i in indices])
File "D:\python\lib\site-packages\torch\utils\data\dataloader.py", line 264, in
batch = self.collate_fn([self.dataset[i] for i in indices])
File "C:\Users\Administrator\Desktop\NCRF\NCRF\wsi\bin/../..\wsi\data\wsi_producer.py", line 85, in getitem
(x, y), 0, (self._image_size, self.image_size)).convert('RGB')
File "D:\python\lib\site-packages\openslide_init.py", line 223, in read_region
level, size[0], size[1])
File "D:\python\lib\site-packages\openslide\lowlevel.py", line 222, in read_region
_read_region(slide, buf, x, y, level, w, h)
File "D:\python\lib\site-packages\openslide\lowlevel.py", line 159, in _check_error
raise OpenSlideError(err)
openslide.lowlevel.OpenSlideError: Not a JPEG file: starts with 0xff 0xc0
I have check my openslide:
C:\Users\Administrator>openslide-show-properties --version
openslide-show-properties.exe 3.4.1, using OpenSlide 3.4.1
Copyright (C) 2007-2015 Carnegie Mellon University and others
OpenSlide is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License, version 2.1.
http://gnu.org/licenses/lgpl-2.1.html
OpenSlide comes with NO WARRANTY, to the extent permitted by law.  See the
GNU Lesser General Public License for more details.

@zty12 sorry, but I've never tried NCRF on windows yet.


"allowNull: false" property not working in a one-to-many relationship

Model A definition:
const { DataTypes } = require("Sequelize");

Foo.hasMany(Bar);
Bar.belongsTo(Foo, {
  allowNull: false
});

The migration that gets generated is:
{
    fn: "addColumn",
    params: [
      "Bar",
      "FooId",
      {
        type: Sequelize.INTEGER,
        field: "FooId",
        onUpdate: "CASCADE",
        onDelete: "SET NULL",
        references: { model: "Foo", key: "id" },
        allowNull: true,               //This should have been set false. But is true instead
      },
      { transaction },
    ],
  }

My Bad. The allowNull property should go in a foreignKey object.
As per sequelize-cli documentation

the foreignKey option accepts a string or an object. When receiving an object, this object will be used as the definition for the column just like it would do in a standard sequelize.define call. Therefore, specifying options such as type, allowNull, defaultValue, etc, just work.

Updating the Bar definition to the below definition solves the problem.
Bar.belongsTo(Foo, {
  foreignKey: {
    allowNull: false
  }
});


sbt assembly error

After running "sbt assembly", I got the following error:
[error] learning-spark/src/main/scala/com/oreilly/learningsparkexamples/scala/BasicParseJsonWithJackson.scala:47: not found: type ioRecord
[error]             Some(mapper.readValue(record, classOf[ioRecord]))
[error]                                                   ^
[error] learning-spark/src/main/scala/com/oreilly/learningsparkexamples/scala/BasicParseJsonWithJackson.scala:53: value lovesPandas is not a member of Nothing
[error]     result.filter(.lovesPandas).map(mapper.writeValueAsString())
[error]                     ^
[error] two errors found
[error] (compile:compile) Compilation failed
[error] Total time: 24 s, completed Jun 17, 2015 10:00:31 PM
Removing BasicParseJsonWithJackson.scala and recompiling would result in other errors related to protocol buffer. Has anyone successfully built the project? How did you do it?
Thanks!

So its currently passing in travis, do you have the protocol buffer complier installed? Could you post the full log of your error?

Thanks for your reply. I'm running the build on a mac. I think I have protocol buffer compiler installed. Running "protoc --version" gave me "libprotoc 3.0.0".
The full log after I typed "sbt assembly" is as follows:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
[info] Loading project definition from /Users/stephen/Desktop/learning-spark/project
[info] Updating {file:/Users/stephen/Desktop/learning-spark/project/}learning-spark-build...
[info] Resolving org.scala-sbt.ivy#ivy;2.3.0-sbt-14d4d23e25f354cd296c73bfff40554[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Set current project to learning-spark-examples (in build file:/Users/stephen/Desktop/learning-spark/)
[info] Updating {file:/Users/stephen/Desktop/learning-spark/}learning-spark...
[info] Resolving com.sun.jersey.jersey-test-framework#jersey-test-framework-griz[info] Resol[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] 	* com.hadoop.gplcompression:hadoop-lzo:0.4.17 -> 0.4.19
[warn] 	* com.fasterxml.jackson.module:jackson-module-scala_2.10:2.3.3 -> 2.4.4
[warn] Run 'evicted' to see detailed eviction warnings
[info] Compiling 2 protobuf files to /Users/stephen/Desktop/learning-spark/target/scala-2.10/src_managed/main/compiled_protobuf
[info] Compiling schema /Users/stephen/Desktop/learning-spark/src/main/protobuf/address_book.proto
[info] Compiling schema /Users/stephen/Desktop/learning-spark/src/main/protobuf/places.proto
[error] [libprotobuf WARNING google/protobuf/compiler/parser.cc:491] No syntax specified for the proto file. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
[error] [libprotobuf WARNING google/protobuf/compiler/parser.cc:491] No syntax specified for the proto file. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
[info] Compiling protobuf
[info] Protoc target directory: /Users/stephen/Desktop/learning-spark/target/scala-2.10/src_managed/main/compiled_protobuf
[info] Compiling 43 Scala sources and 40 Java sources to /Users/stephen/Desktop/learning-spark/target/scala-2.10/classes...
[error] /Users/stephen/Desktop/learning-spark/src/main/scala/com/oreilly/learningsparkexamples/scala/BasicParseJsonWithJackson.scala:47: not found: type ioRecord
[error]             Some(mapper.readValue(record, classOf[ioRecord]))
[error]                                                   ^
[error] /Users/stephen/Desktop/learning-spark/src/main/scala/com/oreilly/learningsparkexamples/scala/BasicParseJsonWithJackson.scala:53: value lovesPandas is not a member of Nothing
[error]     result.filter(.lovesPandas).map(mapper.writeValueAsString())
[error]                     ^
[error] two errors found
[error] (compile:compile) Compilation failed
[error] Total time: 26 s, completed Jun 21, 2015 12:10:34 AM
Thank you!

It is failing in travis as well.

The last build in travis was green, https://travis-ci.org/holdenk/learning-spark-examples/builds , but I'll kick of a new build now.

If I remove the BasicParseJsonWithJackson.scala file, build is successful using SBT.
However, Maven build is successful without any changes.

Same is happening to me.  I'm using OSX Mavericks, and protobuf installed with homebrew.

@kevinpauli thanks, I'll take a look at the sbt version.

@yuchaoran2011 hi, have you solve it?

@wenwenlin No. I just kept reading and trying out code in REPL. Will probably get back to it in the future or when somebody here comes up with a solution.

It seems that the databricks repo and my repo diverged (and this error was introduced in the databricks repo). Quite likely my fault. I've updated both and fixed the issue.

I just cloned the repo, ran ./sbt/sbt assembly and I am getting the same errors:
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] 	* com.hadoop.gplcompression:hadoop-lzo:0.4.17 -> 0.4.19
[warn] 	* com.fasterxml.jackson.module:jackson-module-scala_2.10:2.3.3 -> 2.4.4
[warn] Run 'evicted' to see detailed eviction warnings
[info] Compiling 2 protobuf files to /home/emiranda/Desktop/learning-spark/target/scala-2.10/src_managed/main/compiled_protobuf
[info] Compiling schema /home/emiranda/Desktop/learning-spark/src/main/protobuf/places.proto
[info] Compiling schema /home/emiranda/Desktop/learning-spark/src/main/protobuf/address_book.proto
java.lang.RuntimeException: error occured while compiling protobuf files: Cannot run program "protoc": error=2, No such file or directory
Any idea on how I can work-around that?

sudo apt-get install libprotobuf-dev protobuf-compiler
it work for me


Consider adding a license

Any chance of adding a license to this project for reuse etc?

Sure. I'll add one.

added MIT license


Ignore more SQL*Plus statements

This doesn't handle every SQL*Plus statement, but ignores some of the more common ones.
Closes flyway/flyway#1671

Thanks for the pull request. We ended up implementing this differently. See #1845


Added more words which are uncountable

Added more words which are uncountable for better pluralizer.

Please resubmit this while undoing style and quote changes. Thanks.

@driesvints thanks but just realized that some of these really depend on the context as well.
For example: art can be arts when discussing various types. So it becomes tricky to generalize this and say to always not count these.
Not sure what the right thing to do in such a case 🤷♂


Remove old exclusion reasons

note: the number of terms for which removal of the obsoletion reasons did not match between the PR and the tsv list. After investigation:

39 terms were de-obsoleted between the beginning of this work and when this PR was created
2 terms had 2 exclusion reasons, one on 2 separate lines (instead of one line with exclusion reason separated by | ). These were not removed (--> will add  to the documentation)

@sabrinatoro is this ready to merge? It looks okay to me

yes it is ok to merge. Thank you!


IDEA v15 build.

0.9.8 build for v15.  IDEA v13 support has been dropped.

@sganapavarapu1 Can you give me a code review?

Approved

Thank you very much!


[AutoPR cosmos-db/resource-manager] Cosmos DB Private Link Resources Swagger

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7249

(message created by the CI based on PR content)


Cannot open any worlds

Monday, July 13, 2015
Boardwalk Version 1.1
Samsung Galaxy Tab 4 7.0 (SM-T230NU)
Android 4.4.2
No screenshot available, as it doesn't have anything.
When I try to open or create a world, Minecraft seems to "crash", even though it doesn't have a crash report. The saves aren't corrupt (at least I don't think they are) because I just tried to create a world and it crashed. Also, the saves worked the last time I opened them up! What could this be? Is anything corrupted? Do I need to delete anything? I don't want to restart with my saves because I worked so hard to start them! Help! (ASAP?)

NVM, the game works now! :D

I can't play it because I don't have a PC can I make a account from
boardwalk?
On Jul 14, 2015 9:58 AM, "Kristomayo (aka DotComCrash)" <
<EMAIL_ADDRESS>wrote:

Closed #205.
—
Reply to this email directly or view it on GitHub.


[Bug]: Bracket matching does not work with comma

Is there an existing issue for this?

[X] I have searched the existing issues

Description
https://user-images.githubusercontent.com/94514895/172036916-09892883-cdd4-4c52-b920-a3dedaef3f0a.mov
Steps To Reproduce

I have a google sheet datasource, and have added a select query to this
Now I want to add an insert query, but I don't want to be bothered to construct the required row structure, so I copy it from the select query
In the copied content, I want to replace the literals with dynamic binding to widgets from my canvas
check the video, when I remove the string and add {{, the matching }} is not added because there is a comma at the end of the line. If I remove the comma and add {{, then the matching closing counterparts are added properly

Public Sample App
No response
Version
Cloud

Duplicate of #11642


Install TPRs concurrently

Closes: #435
This resolves the issue in #435
TPR creating and status polling is running parallelly in a goroutine.
k8s client fakes are used

yet to be tested
Timeout of our polling for result (needs fake timer to reduce testing time)

@simonleung8 I'll mark LGTM assuming we figure out https://github.com/kubernetes-incubator/service-catalog/pull/466#discussion_r105225052

Let's make the installer tests a little better in a follow-up.


Flexget: 3.11.39 -> 3.11.40

Description of changes
Updating Flexget to latest version. Also using python 3.11 because python 3.12 is not support.
Fixes: https://github.com/NixOS/nixpkgs/issues/327906
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build flexget

I incorporated your fix into the pre-existing https://github.com/NixOS/nixpkgs/pull/325938

I incorporated your fix into the pre-existing #325938

3.11.41 must have been released shortly after my PR :) Thanks.

superseseed by https://github.com/NixOS/nixpkgs/pull/325938


Update travis

Codecov Report

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

@@           Coverage Diff           @@
##           master      #31   +/-   ##
=======================================
  Coverage   34.68%   34.68%
=======================================
  Files          24       24
  Lines         369      369
=======================================
  Hits          128      128
  Misses        241      241

Continue to review full report at Codecov.

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


Support Powershell sessions via SSH

Title: Support for AksHci Powershell scriptlets via SSH
Description: Some of the AksHci Powershell commandlets like Set-AksHciConfig (and others) will not work when executed within a Powershell session over OpenSSH. For example, when running Set-AksHciConfig inside an SSH Powershell session (with administrator rights), it will show this error:

WinRM service is already running on this machine.
WinRM is already set up for remote management on this computer.
Powershell remoting to MICROSO-97BAHKT was not successful.
At C:\Program Files\WindowsPowerShell\Modules\Moc\0.2.25\Moc.psm1:2973 char:17

...             throw "Powershell remoting to "+$env:computername+" was n ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Powershell remo...not successful.:String) [], RuntimeException
FullyQualifiedErrorId : Powershell remoting to MICROSO-97BAHKT was not successful.

When opening a Powershell session via RDP with the same user, it works.
In general, all Powershell libraries should be tested with SSH sessions.
thanks,
Tobias Weisserth

This is probably related to https://github.com/Azure/aks-hci/issues/211


Loops

[x] #92

[x] #94
Inspired by Fortran's do construct, which is surprisingly beginner friendly.

[x] ~for each loop
Depends on #96~ Moved to Release 2

[x] ~Loops as evaluable expressions
It would be neat if loops could be evaluable themselves.~ Moved to Release 2
Proposed syntax (Moved to Release 2)
test = fn() {
  i = 0

  my_variable: str = while i < 5 {
    api_response = send_api_request()
    if api_response.status == 200 {
      break api_response.message
    }
    i = i + 1
  } default "Error! Tried five times and could not get result"

  print my_variable
}

test()

for each loops requires the implementation of an Iterator class, which will be a part of the standard library and consequently part of Release 2.


KAFKA-7126: Reduce number of rebalance for large consumer group after a topic is created

This patch forces metadata update for consumers with pattern subscription at the beginning of rebalance (retry.backoff.ms is respected). This is to prevent such consumers from detecting subscription changes (e.g., new topic creation) independently and triggering multiple unnecessary rebalances. KAFKA-7126 contains detailed scenarios and rationale.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@lindong28 @hachikuji @tedyu Can you take a look? Thanks.

Raised INFRA-16796 for Jenkins

LGTM. @junrao @ijuma @hachikuji Would you have time to review this patch if you have time?

Thanks much for your review @hachikuji. Yeah it is better to have a test.

@hachikuji @lindong28 Thanks for the review. I added a unit test. Can you take a look?

The PR has been merged to 2.0 branch as well.


Attack Tree render code

Add ability to visualize/build/render Attack Trees using existing Attack Flow infastructure

Add attack tree option to scope dropdown
Redirect render code based on the scope value
Render attack trees based on specifications
Condense operator/action node combination down into one node

Looks good to me. @mikecarenzo do you want a chance to review this or should we merge?

@mehaase I've already reviewed a large portion of the code. Now that all the test cases are in, I'll give it one last review before merging.


split out Octavian deps?

I'm trying to use this package to replace PaddedMatrices in BQCESubroutines, where I don't need matrix multiplication but just the StrideArray type. And the package BQCESubroutine does not require multithreading by default. There is an annoying warning every time I use BQCESubroutines tho Octavian is not my direct dependency. It would be nice if I could use StrideArray as a lower-level dependency.

Does https://github.com/JuliaSIMD/StrideArraysCore.jl work?

It does depend on ThreadingUtilities.jl still, and defines the AbstractStrideArray abstract type.
I could move a little more there, like the definition of the actual StrideArray type if you'd like.

Yeah, this sounds good, I also want to use your CheapThread or ThreadingUtilities to support multithreading in the generic & specialized subspace matrix multiplication in BQCESubroutine.

Which multithreading?

I meant the warning below, e.g you don't need to use julia -t12 to use BQCESubroutine (there will be CUDA methods too)

Which warning? Why should depending on StrideArrays give a warning if you aren't also directly depending on Octavian?
That is definitely not intended and something I was unaware of. Any more info/reproducer?

so if you use BQCESubroutine via using BQCESubroutine without any threading options, it will give you a warning as following
julia> using BQCESubroutine
┌ Warning: Your system has static(12) physical cores, but `Octavian.jl` only has 1 thread available. For the best performance, you should start Julia with at least static(12) threads.
└ @ Octavian ~/.julia/packages/Octavian/P5B9l/src/init.jl:11

but I'm not depending on Octavian
name = "BQCESubroutine"
uuid = "29e2bfda-5ba7-471c-9125-afac425f1f80"
authors = ["Roger-Luo<EMAIL_ADDRESS>and contributors"]
version = "0.1.0"

[deps]
ExprTools = "e2ba6199-217a-4e67-a87a-7c52f15ade04"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
StrideArrays = "d1fa6d79-ef01-42a6-86c9-f7c551f8593b"
VectorizationBase = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
YaoLocations = "66df03fb-d475-48f7-b449-3d9064bf085b"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]

I think it's just because StrideArrays depends on Octavian?

Closing this as solved because

The next release of Octavian should no longer be emitting those warnings:
https://github.com/JuliaLinearAlgebra/Octavian.jl/pull/77
The definition of StrideArrays itself has been split out.


IP addresses of service connections

I'm trying to setup a service connection to my k8s master for GKE but the master node is configured to only accept connections from whitelisted IPs (master authorized networks in Google lingo). What IPs do I need to whitelist to allow the service connection to be permitted to connect?

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

ID: 72b90dd0-49f9-4ed4-3010-9a64dde6ae5a
Version Independent ID: 6e679d50-4e94-eee3-8793-af884cc909ca
Content: Service connections in Azure Pipelines & TFS - Azure Pipelines
Content Source: docs/pipelines/library/service-endpoints.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

If you are using Microsoft hosted agents, you need to whitelist the agent ip ranges. For self hosted, it would be your agent host ip address.
@azooinmyluggage

Looking at the referenced file in the article you linked, it's 30000 lines long. My organisation is located in West Europe; am I right in assuming I should white list the IPs under the AzureCloud.westeurope group?
For relevance the list of items referencing West Europe is as follows:
ApiManagement.WestEurope
AppService.WestEurope
AppServiceManagement.WestEurope
AzureBackup.WestEurope
AzureCloud.westeurope
AzureConnectors.WestEurope
AzureContainerRegistry.WestEurope
AzureCosmosDB.WestEurope
AzureDataLake.WestEurope
AzureIoTHub.WestEurope
AzureKeyVault.WestEurope
AzureMachineLearning.WestEurope
AzureMonitor.WestEurope
BatchNodeManagement.WestEurope
EventHub.WestEurope
HDInsight.WestEurope
MicrosoftContainerRegistry.WestEurope
ServiceBus.WestEurope
ServiceFabric.WestEurope
Sql.WestEurope
Storage.WestEurope

@justhchung

@aodj  You need to whitelist all regions in Europe geography which includes North Europe and West Europe. https://azure.microsoft.com/en-us/global-infrastructure/geographies/
Due to capacity restrictions, some organizations in the West Europe regions may occasionally see their hosted agents located outside their expected geography. In these cases, additional IP ranges must be included for regions in the capacity fallback geography. If your organization is in the West Europe region, the capacity fallback geography is France. So you need to whitelist France Central and France South regions.

Can you clarify that for me: if I'm wanting to handle deployments from Azure DevOps into my GKE cluster, I need to whitelist over 1000 IP ranges? I used the following jq query to get all the addressPrefixes from the file linked in the article:
[.values[]|select(.name|contains("westeurope", "WestEurope", "northeurope", "NorthEurope"))|.properties.addressPrefixes]|flatten|unique

Here's the list of IPs for reference.
What I need to know is can I just whitelist a subset of the ranges defined in that file, or are you seriously saying that I need to whitelist the IPs listed under EventHub.WestEurope, and
HDInsight.WestEurope to allow Azure DevOps to deploy?

@aodj That is correct. If you are using Microsoft hosted agents, you need to whitelist the entire geography with 1,000 IP ranges. If this is a concern, you can use self-hosted agents.
We are working on elastic self-hosted agent pools where Azure Pipelines can dynamically provision VMs in a customer's subscription. This will have some of the benefits of hosted agents in that Azure Pipelines will manage the lifecycle of these machines. However, since they are in the customer's subscription, they will have more control on the types of machines, images, and networking. Then, customers can whitelist the IP addresses of the elastic self-hosted agents they control. This will be available by Q2 CY2020.


Back camera opened when front was set

I setup the cameraManager as follows, and the back camera was presented in the preview layer instead of the front camera. This only happened one time.
CameraManager.sharedInstance.addPreviewLayerToView(self.previewView!)
CameraManager.sharedInstance.cameraDevice = .Front
CameraManager.sharedInstance.cameraOutputMode = .StillImage
CameraManager.sharedInstance.cameraOutputQuality = .High

@tonacy, do you still have this issue? If so, can you give me more details e.g. device and iOS version.
Thanks

@torrao the issue just randomly cropped up again. It doesn't happen every time, but it has happened several times. Issue is on iPhone 6, 6s, 6s+ running on iOS 9+.
Thanks!

Same here! I set it up with front and the back camera appeared!
Device: iPhone 6+
OS: iOS 9

Having the same issue
iOS 8 on all iOS testing devices (iPad Air 2 and iPhone 6S, 6, 5S)

Hi @tonacy @liltimtim @PedroAnibarro1,
can anyone please provide me the code you are using, for me to use in trying to reproduce the issue.
Thanks in advance

@torrao I was using your example project and was able to reproduce it but again it "sometimes" works sometimes doesn't.  Don't know why.

I am having the same issue as well. Has this been fixed?
I have just a very basic setup with a previewLayer and the cameraDevice

Thanks for the report.
We can't reproduce this issue and need a small piece of code that exploits the bug. Can someone put that together and pull it to github?
Thanks.

Device: iPhone 6s
iOS Version: 9.3.2
Problem: Chooses wrong camera, sometime gets the correct camera. But mostly doesn't.
I have done a bit since the below but it has consistently happened throughout.
Full code is here: https://github.com/robertmylne/cameraManager
`
import UIKit
import CameraManager
class MasterViewController: UIViewController {
let cameraManager = CameraManager()
var image: UIImage?

@IBOutlet weak var imagePreview: UIImageView!

override func viewDidLoad() {
    super.viewDidLoad()

    cameraManager.addPreviewLayerToView(imagePreview)
    cameraManager.cameraDevice = .Front
    cameraManager.cameraOutputMode = .StillImage
    cameraManager.cameraOutputQuality = .High
    cameraManager.writeFilesToPhoneLibrary = false
}

}
`

Bump on this one as well!

@robertmylne
I have the same issue and solved by moving
cameraManager.addPreviewLayerToView(imagePreview)

to the bottom like this.
cameraManager.cameraDevice = .Front
cameraManager.cameraOutputMode = .StillImage
cameraManager.cameraOutputQuality = .High
cameraManager.writeFilesToPhoneLibrary = false
cameraManager.addPreviewLayerToView(imagePreview)


APT whitelist request for mysql-server-5.7 in TRUSTY

This needs travis-ci/apt-source-whitelist#291

@BanzaiMan I don't suppose you could retrigger this now that travis-ci/apt-source-whitelist#291 has merged? Many thanks!

Hmmm. How did it not see the new source?

Thank you for retriggering.
However my bad - in the upstream repo the package doesn't have a version suffix, it's always called mysql-server. As such, this issue is not needed after travis-ci/apt-source-whitelist#291, since mysql-server is already on the whitelist:
https://github.com/travis-ci/apt-package-whitelist/blob/d9f4ec8801f4c29dd5460acffe5cedde59c62992/ubuntu-trusty#L3740

Ah, sweet! :-) We can close this, then?

Yeah :-)


[WIP] Pedagogical example of surface-based analysis

Still needs some more explanation, but the code is relatively simple.

Merging.


fix(composer): Don't callback twice

If connected streams downstream from gulp-uglifuy throw, gulp-uglify
was calling back twice which masks the original error.
This change ensures the callback is only ever called once.
A test case is provided that fails on the old code and passes with the fixed code.

Coverage decreased (-4.8%) to 91.045% when pulling e33e138a1c18a3ab665eac80ec538c4bfd1cf93b on robpalme:bug/double-callback into 14f1d7190fc94efd6f29b2e16957418bbf1a3adf on terinjokes:master.

You have some lint failures. Also, please use testdouble doubles as inputs to composer.

Fixed lint failures.  Composer inputs now use testdouble doubles.  Increased test coverage of composer.js to 100%.

Merged as 27b26d4f8f337386ac7cce6bc4e09effb066e1a4.


Add more tests for TweakController

Coverage increased (+1.3%) to 82.051% when pulling b3c4cf102cd2f1537a087cd99019f6a15c9ad753 on moar-tests into 1f83a880b978ae45cfc36ffa1a96706b18be3631 on master.


Revert LS issue template changes

Undoing the template change in #11834.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] ~Has a news entry file (remember to thank yourself!).~
[x] ~Appropriate comments and documentation strings in the code.~
[x] ~Has sufficient logging.~
[x] ~Has telemetry for enhancements.~
[x] ~Unit tests & system/integration tests are added/updated.~
[x] ~Test plan is updated as appropriate.~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed).~
[x] ~The wiki is updated with any design decisions/details.~

Thanks, @jakebailey!


Android build job fails with got 'NOSPLIT' (does the network require authentication?)

Get:1 https://deb.kcubeterm.me/termux-main stable InRelease [512 B]
Err:1 https://deb.kcubeterm.me/termux-main stable InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists...
E: Failed to fetch https://deb.kcubeterm.me/termux-main/dists/stable/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://deb.kcubeterm.me/termux-main stable InRelease' is not signed.
+ echo 100

Termux has a script to change mirrors unfortunately it relies on dialog.
Possible solution could be creating custom script to select single mirror similar to:
https://github.com/termux/termux-tools/blob/master/scripts/termux-change-repo.in#L98-L136
without using dialog.
Other solution could be to try to remove the kcubeterm from mirror directory and run pkg update. Mirrors are located in /data/data/com.termux/files/usr/etc/termux/mirrors at least directly on android device.
It looks like outdated mirror.


Add circular prop to arc element

Make Arc Elements depended on Circular prop. From issue https://github.com/chartjs/Chart.js/issues/10357
You can check the build with changes here

Yeah similar like how you can set the borderWidth, backgroundColor etc, make another option to make the arc flat or curved

@LeeLenaleee I've added a new Circular prop in the Arc element's option.
You can check the build with changes here.

Added a description to the docs

@thabarbados @LeeLenaleee sorry if I jump in the thread. I think the elements doc should be updated accordingly with new option. Am I wrong?
https://github.com/chartjs/Chart.js/blob/master/docs/configuration/elements.md

@stockiNail, I think you are right. I added a description to this section of the docs.

@thabarbados apologize again... the curcular option must be but in the stylying section where is reported that the fallback is to arc element

@stockiNail Sorry, I don't understand. The description of circular option should be in the Arc Styles section, like a description of the pointStyle here?

@stockiNail Sorry, I don't understand. The description of circular option should be in the Arc Styles section, like a description of the pointStyle here?

I meant, in the polar.md, row 69, you have the circular option which is linked to general section. In my opinion should be linked to styling section.
In PR:
| [`circular`](#general) | `boolean` | Yes | Yes | `true`

should be
| [`circular`](#styling) | `boolean` | Yes | Yes | `true`

because in styling section is written that
All these values, if `undefined`, fallback to the associated [`elements.arc.*`](../configuration/elements.md#arc-configuration) options.

and this should be the behavior of circular option when missing.

And the row 78 must be moved in row 90

@stockiNail Thank you very much for your review. I have fixed these errors.

We need to wait with merging before we are sure we want to release a version 3.9.
If we merge it now we can't do a bug fix release (3.8.x) anymore. So when there are no plans for a bugfix release all the enhancements for 3.9 will get merged into master and bundled in the next release.

Thanks a lot for the answer. I understand your workflow now :)

@kurkle do you want to review this at all?

This one is hard to review on phone. I can give it a proper look tomorrow, but I'm quite sure I'll have nothing to comment. So its ok if you want to go ahead and merge.


Added notebook titled "backoff_and_retry_for_LLMs.ipynb" to the /notebooks/community/generative_ai/ directory

Summary:
I added a new notebook titled "backoff_and_retry_for_LLMs.ipynb" to the /notebooks/community/generative_ai/ directory.
This notebook demonstrates how to trigger and handle 429 Quota exceeded errors using backoff and retry strategies with Dynamic shared quota. The notebook includes the accompanying code for an upcoming blog post on the same topic.

PR is for Community Notebooks under the notebooks/community folder:

[x] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team. The change is included on this PR
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

@pemujo Looks good. Please fix the linter errors


Configurable field for login check

Currently openmaize forces you to use the "name" field in User model for Authentication, but I think by a having a additional config parameter (defaulted to name, so it maintains its' current usability) but that might add easier adoption for existing systems, that use email, or username fields as login method.

Just saw that this was implemented on last commit

With version 0.12, the way you implement this has changed.
Now there is no configurable value for unique_id. You need to call unique_id when running Openmaize.Login, like this:
plug Openmaize.Login, [unique_id: :email] when action in [:login_user]


Remove all opinionated rules

Remove changing the default font family in all browsers.
Remove the removal of margin on body in all browsers.
Remove the removal of outline on focused links when they are also
active or hovered in all browsers (opinionated).
Remove changing the font styles of input controls in all browsers.
Remove the changing of border, margin, and padding of fieldsets in
all browsers.

Happy new year :smile:
What's the status of this issue?

Remove changing the default font family in all browsers.
Remove the removal of margin on body in all browsers.
Remove the removal of outline on focused links when they are also
active or hovered in all browsers (opinionated).
Remove changing the font styles of input controls in all browsers.
Remove the changing of border, margin, and padding of fieldsets in
all browsers.

I already add first thing after font-face paths and normalize, a normalizer of normalizer, i.e I remove webkit outline on focused links and select/buttons. By the way,
thanks for Remove changing the font styles of input controls, and Remove the changing of border, margin, and padding of fieldsets

@zemirco, it is merged, tagged, and published.
normalize.css no longer includes opinionated rules, and focuses exclusively on browser normalization.

Thanks for removing this stuff. I'm confused/slightly annoyed how opinionated rules made their way into this project in the first place!

@jonathantneal Can you elaborate a little what constitutes an opinionated rule? For instance, I'd assume that the font settings for input elements are not the same across different browsers so it'd make sense to normalize things like font-size et al.

@jonathantneal In my case select's font-family set to sans-serif broke lots of styles. Form elements styling is an ungracious task.


Compilations fails: "city.c:405:10: fatal error: 'citycrc.h' file not found"

city.c conditionally includes citycrc.h if the macro __SSE_4_2__ is defined, which it is on all processors sold in the last decade. However, this file is not checked into git and the make all step fails.
Steps to reproduce:

git clone --recursive https://github.com/mcveanlab/mccortex
edit mccortex/libs/misc and add -march=native to the OPT variable
make

Expected behavior:
No errors.
Actual behavior:
cc -Wall -Wextra -O3 -march=native -c city.c -o city.o
city.c:405:10: fatal error: 'citycrc.h' file not found
#include "citycrc.h"
         ^~~~~~~~~~~
1 error generated.
make: *** [city.o] Error 1

I'm trying to get this software into Homebrew. While our binary builds use -march=core2 and will thus be unaffected, builds from source always use -march=native and thus break installation.

I've added the missing file on the master branch -- could you try now?

I've added the missing citycrc.h file and created a new release -- please let me know if this resolves your issues.


Multiple Blockquotes separated by a newline being grouped in single blockquote

Describe the bug
Parsedown does not identify different blockquotes when the blockquotes are just separated by a newline. The following markdown file:
> This is a blockquote

> This is another blockquote

results in the following HTML

This is a blockquote

This is another blockquote

Note that this is an upstream issue.
To Reproduce
Steps to reproduce the behavior:

Go to the Parsedown Demo
Enter the markdown file listed in the issue description

Expected behavior

This is a blockquote

This is another blockquote

Workaround

Add a newline and regular text between the elements

Screenshots

Desktop (please complete the following information):

OS: Ubuntu 22.04
Browser Firefox 102

Solution proposal
I tested the newest Parsedown beta v2.0.0-beta-1 and it looks like the problem is fixed in this version.
We may consider switching to this beta release and test how stable it works with our existing test documents. When upgrading to the latest version, I suggest to use Php Composer as well for managing the dependency.
Here is a step by step guide, how I tested the behavior with the beta release:
Setup
$ sudo apt install php8.1
$ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
$ php composer-setup.php
$ php -r "unlink('composer-setup.php');"
# Dependencies
$ sudo apt-get install php8.1-mbstring
$ php ../composer.phar require erusev/parsedown:v2.0.0-beta-1
$ php demo.php

demo.php
<?php

require __DIR__ . '/vendor/autoload.php';

use Erusev\Parsedown\Configurables\Breaks;
use Erusev\Parsedown\Configurables\SafeMode;
use Erusev\Parsedown\Configurables\StrictMode;
use Erusev\Parsedown\State;
use Erusev\Parsedown\Parsedown;

$markdown = <<<EOD
> This is a blockquote

> this is another blockquote
EOD;

$state = new State([
    new Breaks(true),
    new SafeMode(true),
    new StrictMode(false)
]);

$Parsedown = new Parsedown($state);
echo $Parsedown->toHtml($markdown);
?>

Hi @Tooa,
I can confirm the bug. I also recognized that there is a new beta release for parsedown, but for the moment I don`t want to switch to the beta release. The effort for testing and possible error handling is not worth it. At least not because of this "little" bug.
I will wait until there is a stable 2.0 release or if we really "need" to switch for other reasons. Iam completely with you regarding the composer, also thought about it and I want to do that for the JS dependencies as well (as soon I have some time for).

fixed in the next release 1.5.1


Update tajriba.json file name in builder

Currently, when a container image is  built, it tries to update empirica.toml before building up the image to include the image tag:
 - name: Update empirica.toml
        run: |
          sed -i 's/tajriba.json/tajriba_${{ env.BUNDLE_DATE }}.json/' .empirica/empirica.toml

unfortunately, it doesn't work

Fixed in https://github.com/Watts-Lab/deliberation-empirica/pull/565/files#diff-9dd8530cbba6e38b969622aefb070157ecc3fd953721b7c032523bd785f81c86


Apollo3 merge

-Added support for Apollo3 Blue and Apollo3 Blue Plus SoCs
-Added support for Apollo3 EVB and Apollo3P EVB boards
-Added support for Apollo3 pinctrl, system timer and uart to make the hello_world sample work fine

Overall, it looks good to me.
Suggest using one clear PR title (always similar style as git commit title) in the official PR. And use the HAL PR ID (pull/x/head) of hal_ambiq official PR for the revision of hal_ambiq in zephyr/west.yml.
Suggest creating the "Draft Pull Request" to Zephyr base firstly to trigger the CI check and click "Ready for review" when you think it is ready for review (after fixing the failure of CI check).


Custom validation based on other values within the form

Hey there, I'm wondering how to take into account the values of other inputs within the form when doing validation:
<Input1 />
<Input2 validations={function that depends on the value of Input1 as well}/>

I think this should solve my problem(!):
https://github.com/christianalfoni/formsy-react/blob/master/API.md#formsyaddvalidationrule

Right! :)


Can't get the openCL acceleration to work

I built a project with the latest V-HACD code and was try to speed up Hull generation by using the oclAcceleration option. However,  the call to clEnqueueNDRangeKernel in VHACD.cpp returns CL_OUT_OF_RESOURCES.
I googled this problem and a post suggested reducing the local work size parameter. I reduced it from 4096 to 128 and then the call was successful ( no larger values would work ).
Running with this value however did not improve performance over not running GPU acceleration.

I don't know what type of hardware you are running on. OpenCL, could very well be running on your CPU's GPU-area, and it doesn't always provide much greater computing performance than the CPU, depending on the task.
You running out of CL-resources hints at this.
Did you try with reducing it by less, say 2048?

Nothing above 128 seemed to work and I've tried 3 different machines. Are the platform id and device id parameters significant? Also I compiled the code with OPENCL_FOUND and CL_VERSION_1_1 as pre-processor defines but there are others used in the code e.g. OCL_SOURCE_FROM_FILE, _OPENMP, USE_SSE. Which would you recommend?

Hi smjonson, I haven't looked into opencl with VHACD myself yet, so I don't have any specific knowledge for you (unless I sit down and investigate closer). But for completeness of information (if someone else has a look at the issue) I think you should post a copy of the output from clinfo.
Windows: Open cmd > clinfo

Ok thanks, here is my openCL configuration:
Number of platforms:				 1
Platform Profile:				 FULL_PROFILE
Platform Version:				 OpenCL 2.1 WINDOWS
Platform Name:				 Intel(R) CPU Runtime for OpenCL(TM) Applications
Platform Vendor:				 Intel(R) Corporation
Platform Extensions:				 cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_dx9_media_sharing cl_intel_dx9_media_sharing cl_khr_d3d11_sharing cl_khr_gl_sharing cl_khr_fp64 cl_khr_image2d_from_buffer cl_intel_vec_len_hint
Platform Name:				 Intel(R) CPU Runtime for OpenCL(TM) Applications
Number of devices:				 1
Device Type:					 CL_DEVICE_TYPE_CPU
Device ID:					 32902
Max compute units:				 6
Max work items dimensions:			 3
Max work items[0]:				 8192
Max work items[1]:				 8192
Max work items[2]:				 8192
Max work group size:				 8192
Preferred vector width char:			 1
Preferred vector width short:			 1
Preferred vector width int:			 1
Preferred vector width long:			 1
Preferred vector width float:			 1
Preferred vector width double:		 1
Max clock frequency:				 3700Mhz
Address bits:<PHONE_NUMBER>5531667488
Max memory allocation:			 536838144
Image support:				 Yes
Max number of images read arguments:		 480
Max number of images write arguments:		 480
Max image 2D width:				 16384
Max image 2D height:				 16384
Max image 3D width:				 2048
Max image 3D height:				 2048
Max image 3D depth:				 2048
Max samplers within kernel:			 480
Max size of kernel argument:			 3840
Alignment (bits) of base address:		 1024
Minimum alignment (bytes) for any datatype:	 128
Single precision floating point capability
Denorms:					 Yes
Quiet NaNs:					 Yes
Round to nearest even:			 Yes
Round to zero:				 No
Round to +ve and infinity:			 No
IEEE754-2008 fused multiply-add:		 No
Cache type:					 Read/Write
Cache line size:				 64
Cache size:					 262144
Global memory size:				 536838144
Constant buffer size:				 131072
Max number of constant args:			 480
Local memory type:				 Global
Local memory size:				 32768
Error correction support:			 0
Profiling timer resolution:			 100
Device endianess:				 Little
Available:					 Yes
Compiler available:				 Yes
Execution capabilities:
Execute OpenCL kernels:			 Yes
Execute native function:			 Yes
Queue properties:
Out-of-Order:				 Yes
Profiling :					 Yes
Platform ID:					 00031F0C
Name:						 Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
Vendor:					 Intel(R) Corporation
Driver version:				 <IP_ADDRESS>0
Profile:					 FULL_PROFILE
Version:					 OpenCL 2.1 (Build 0)
Extensions:					 cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_dx9_media_sharing cl_intel_dx9_media_sharing cl_khr_d3d11_sharing cl_khr_gl_sharing cl_khr_fp64 cl_khr_image2d_from_buffer cl_intel_vec_len_hint


H3 functions missing methods on Databricks: java.lang.NoSuchMethodError: com.uber.h3core.H3Core...

Expected behavior
When following the install information to use Sedona with Databricks.
When using ST_H3CellIDs
I expect to get the H3 indices of the given polygon.
As example I run this SQL query:
SELECT ST_H3CellIDs(ST_GeomFromText('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0))'), 12, FALSE)

Actual behavior
I get this error:
NoSuchMethodException: java.lang.NoSuchMethodError: com.uber.h3core.H3Core.polygonToCells(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;

Steps to reproduce the problem
I used both the pip installation route, and the pure SQL on Databricks.

https://sedona.apache.org/1.5.0/setup/install-python/
https://sedona.apache.org/1.5.0/setup/databricks/#install-sedona-from-the-init-script

Both result in the same error.
Settings
Environment Azure Databricks
Databricks runtime: 13.3 LTS
Operating System: Ubuntu 22.04.2 LTS
Java: Zulu <IP_ADDRESS>-CA-linux64
Scala: 2.12.15
Python: 3.10.12
R: 4.2.2
Delta Lake: 2.4.0
Thoughts
I thought H3 might not be included in the shaded version. So I also tried to add the h3-4.1.1.jar to the init script. But this also doesn't solve the issue.
I finally used these scripts:
Download jars
# Create JAR directory for Sedona
mkdir -p /dbfs/FileStore/sedona/jars

# Remove contents of directory
rm -f /dbfs/FileStore/sedona/jars/*.jar

# Download the dependencies from Maven into DBFS
curl -o /dbfs/FileStore/sedona/jars/geotools-wrapper-1.5.0-28.2.jar "https://repo1.maven.org/maven2/org/datasyslab/geotools-wrapper/1.5.0-28.2/geotools-wrapper-1.5.0-28.2.jar"

curl -o /dbfs/FileStore/sedona/jars/sedona-spark-shaded-3.4_2.12-1.5.0.jar "https://repo1.maven.org/maven2/org/apache/sedona/sedona-spark-shaded-3.4_2.12/1.5.0/sedona-spark-shaded-3.4_2.12-1.5.0.jar"

curl -o /dbfs/FileStore/sedona/jars/h3-4.1.1.jar "https://repo1.maven.org/maven2/com/uber/h3/4.1.1/h3-4.1.1.jar"

Create init script
# Create init script
cat > /dbfs/FileStore/sedona/scripts/sedona-init.sh <<'EOF'
#!/bin/bash
#
# File: sedona-init.sh
#
# On cluster startup, this script will copy the Sedona jars to the cluster's default jar directory.
# In order to activate Sedona functions, remember to add to your spark configuration the Sedona extensions: "spark.sql.extensions org.apache.sedona.viz.sql.SedonaVizExtensions,org.apache.sedona.sql.SedonaSqlExtensions"

cp /dbfs/FileStore/sedona/jars/*.jar /databricks/jars

EOF

All the other functions of Sedona do work. So Sedona is installed properly, I am only unable to use the H3 functions.
Did I miss a step in the set-up? I checked the documentation multiple times, but couldn't find any clue. I hope someone can help me out.

After some further investigation I see the Databricks runtime also contains H3 functionality. For this it uses com.uber h3 version 3.7.0. Could this be conflicting with the version 4.1.1 which is being used by Sedona? It would explain it as polygonToCells is not available in version 3.x of H3.

The main reason is that we shaded the uber-h3 jar into sedona-spark-shaded which leads to conflicts. Another alternative to fix this is that: use sedona-spark jar which does not shade anything, and manually download all dependency jars of Sedona: https://github.com/apache/sedona/blob/master/pom.xml#L139

Another alternative to fix this is that: use sedona-spark jar which does not shade anything, and manually download all dependency jars of Sedona
Please correct me if I am wrong. With this method you also will not be able to use both the H3 of Sedona and the H3 of Databricks. Because they use different major versions (Sedona uses 4.1.1, Databricks uses 3.7.0), which are incompatible.

My personal recommendation would be to remove the H3 3.7.0 jar from the Databricks runtime. This disables the H3 functions of Databricks, but allows the use of the H3 functions of Sedona.
In my opinion the H3 functions of Sedona are more feature complete.
For example one of the features I need is the fullCover of the ST_H3CellIDs function. Which is not available at the Databricks implementation, but is at Sedona

@remibaar Makes sense to me. Would you please update the doc of Sedona website and create a PR? I am happy to accept it!

On Databricks, I too am getting NoSuchMethodError: 'java.util.List com.uber.h3core.H3Core.polygonToCells(java.util.List, java.util.List, int)'.  This is weird since I am on a Databricks cluster that should NOT support H3 - it neither SQL nor Photon.

The main reason is that we shaded the uber-h3 jar into sedona-spark-shaded which leads to conflicts. Another alternative to fix this is that: use sedona-spark jar which does not shade anything, and manually download all dependency jars of Sedona: https://github.com/apache/sedona/blob/master/pom.xml#L139

I think that the issue is that h3 is not shaded currently?  It appears that Sedona is using the package com.uber.  If it was shaded, wouldn't it use a different package name?
I think the current "shaded" JAR might currently just be an Uber Jar - not to be confused with the company behind H3.  To shade, I think we need some relocations.

@jacob-talroo if you are not planning to use Databricks' h3 functions, maybe you can delete the h3 jars from databricks jars folder, like what described above? rm -f /databricks/jars/*com.uber*h3*.jar And please use sedona-spark-shaded.
Sedona h3 has been used extensively on AWS EMR and Glue. Maybe relocations solved the databricks problem but will cause problems on other platforms.

Thank you - that work around is working for now.
Does the comment about the shaded jar actually being an Uber JAR make sense?

@jiayuasu @remibaar have the docs been updated to mention this workaround (i.e. adding rm -f /databricks/jars/*com.uber*h3*.jar to the init file)? Could you link the page here.


Fix size gif preview

Preview on MacBook 13 & 15 do not fit on the screen. I set the width to 440px for easy viewing.

Screenshoot preview with new size:


Roadmap for v0.4.0

The v0.4.0 is mainly meant for introducing Java to the benchmark. There are two main goals

Simply to the same evaluation we did with 0.3.0 with plain.go, but this time with a plain.java.
Automate the interpretation of the evaluation result as much as possible so we can iterate on new releases faster (every release needs a blog post about the results)

Tasks:

[ ] Make assessments (and metrics) of tasks more generic and automated:

[x] Refactor metrics into a common assessment map #34 #33
[x] Move all metrics to be automatically interpreted:

[x] "Execute" #38
[x] "Problem" #38
[x] "Coverage" #38
[x] "Extra text" #33
[x] Automatic categorization of models #32 #39

[x] Models should have "points" so they can be compared and sorted

[x] Introduce score and sort #41

[ ] Generate .md with a automatically written report

[x] General generation of .md file with SVG #49
[ ] Link models right away to correct file

[ ] Update current blog post to bring in the directory of the repository for the evaluation results.
[x] Update current blog post to link to the evaluation files of the models

[x] Test all the code we have, so from now on we only allow changes with tests

[x] Evaluation package #40
[x] Binary #46

[x] Split results into separate files

[x] Split logs of models #25
[x] Use relative file paths in logs (not absolute, because absolute paths are hard to verify and compare by others)

[x] Automatic tool installation with fixed version

[x] Symflower #47 #50

[x] "plain.java" #61
[ ] Release

[x] Do a full evaluation with the new version
[ ] Tag version
[ ] Blog post
[ ] Adapt README
[ ] Announce and eat cake

Follow-ups:

[ ] Bug that hinders more repositories: when an LLM is evaluated to successfully do "plain" and Go fails bug Java works, then it will be blocked to do ALL repositories. In that case it should only be blocked for Go and not Java.
[ ] Clean up and extend README

[ ] Less fuzz and fluff (see Thomas' feedback)
[ ] Bring in the current blog post, its information, especially the blog post image to showcase the evaluation
[ ] Better examples for contributions
[ ] Readme extension: The nice thing about generating tests is that it is easy to automatically check if the result is correct. Needs to compile and provide 100% coverage. But one can only write such tests if they understand the source, so implicitly we are evaluating the language understanding of the LLM.

[ ] Automatically updated leader board for this repository: #26
[ ] Report generation and logs

[ ] Remove absolute paths completely e.g. in stack traces too.

[ ] Metrics

[ ] Automatically interpret "Extra code" #44

[ ] Java

[ ] Log Maven commands because they can be faulty (remember that the "surefire" plugin needs a fixed version because GitHub's is tooooo old). With that it is easier to debug
[ ] Let the Java test case for No test files actually identify and error that there are no test files (needs to be implemented in symflower test)

[ ] LLM

[ ] Log request and response in their own files, so both can be used 1:1 (character for character) directly for debugging them

[ ] Improve LLM prompt

[ ] Add an app-name to the requests so people know we are the eval https://openrouter.ai/docs#quick-start shows that other openapi-packages implement custom headers, but the one Go package we are using does not implement that. So do a PR to contribute.
[ ] Add markers for system and user

[ ] Prepare for files with more paths

[ ] Do not use percentage for coverage but absolute metrics where we then show percentage if needed https://github.com/symflower/eval-symflower-codegen-testing/pull/8#discussion_r1549404830

[ ] Prepare language and evaluation logic for multiple files:

[ ] Do clean up of generated files
[ ] Use symflower symbols to receive files

[ ] Sandboxed execution #17 e.g. with Docker as its first implementation
[ ] Do an evaluation with different temperatures
[ ] Automatic tool installation with fixed version

[ ] Go
[ ] Java

[ ] Evaluation tasks

[ ] Introduce the interface for doing "evaluation tasks" so we can easily add them
[ ] Add evaluation task for "querying the relative test file path of a relative implementation file path" e.g. "What is the test relative file path for  some/implementation/file.go" ... it is "some/implementation/file_test.go" for most cases.
[ ] Add evaluation task for transpilation Go->Java and Java->Go

Scoring, Categorization, Bar Charts split by language.

Check determinism of models e.g. execute each plain repository X-times, and then check if they are stable.

Save the descriptons of the models as well: https://openrouter.ai/api/v1/models
The reason is that these can change over time, and we need to know after a while what they where. e.g right now i would like to know if mistral-7b-instruct for the last evaluation was v0.1. or not

Order models by open.weight, allows commercial-use, closed, and price(!) and size: e.g. https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1 is great because open-weight, and Apache2 so commerical-use allowed. Should be better rated than GPT4

Write down a playbook for evaluations

e.g. one thing that should happen is that we let the benchmark play 5 times and then sum up  points, but ... the runs should have at least one hour berak in between to not run into cached responses.

Bar charts should have have their value on the bar. The axis values do not work that well

Pick an example or several examples per category: goal is to find interesting results automatically, because it will get harder and harder to go manually through results.

Do test file paths through

symflower symbols
Task for models

Added all follow ups to https://github.com/symflower/eval-dev-quality/issues/79 so this issue is officially closed for changes. We only do the last tasks and then close it
CC @bauersimon

Finally. Eating that cake!


What is the performance of the generative setting?

Hi,
Maybe I misread the paper.. Could you let me know what the performance of the generative setting is?
Thank you :)

See tables 5 and 10 in our paper.
On Mon, Apr 4, 2022, 2:20 AM heyzude @.***> wrote:

Hi,
Maybe I misread the paper.. Could you let me know what the performance of
the generative setting is?
Thank you :)
—
Reply to this email directly, view it on GitHub
https://github.com/airbert-vln/airbert/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC52MDXVCWB24HOEIBCUMHDVDIYUBANCNFSM5SN5ZFUA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


ion-img doesn't use new angular HttpClient, preventing custom header usage

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[X] 3.7.1
[ ] 4.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[X ] feature request
Current behavior:
The ion-img component, besides being fairly hamstrung by it's limited use cases (within virtual scroll linear list only), doesn't appear to be using the new HttpClient for requests. In a mobile context, where token based auth is increasingly the norm, I can't send an http Authorize header with normal image requests.  This is currently a big hole in ionic/cordova that doesn't have a clean solution in apps that use images in a variety of places.
Expected behavior:
Ideally, the ion-img would not only work for ANY image use case (not just in virtual scroll) but also be using the HttpClient so one could provide an app-global HttpInterceptor to authenticate img requests.
Steps to reproduce:
Self explanatory
Related code:
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils  : 1.13.0
ionic (Ionic CLI) : 3.13.0

global packages:
cordova (Cordova CLI) : 7.1.0

local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.4.0 windows 5.0.0
Ionic Framework    : ionic-angular 3.7.1

System:
Android SDK Tools : 26.1.1
ios-deploy        : 1.9.1
Node              : v6.11.3
npm               : 3.10.10
OS                : macOS Sierra
Xcode             : Xcode 9.0 Build version 9A235

Misc:
backend : legacy

Hell0! Thank you for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to ionic-team/ionic-feature-requests#318


Add deferrable constraints management for PSQL

Hello,
With this PR, I am trying to implement the deferrable constraints management for PSQL, related to issue #1665.
This is my first PR here, let me know what I can improve, happy to contribute into it.

Thanks for your contribution!


scrollbar scroll isn't possible as it triggers dragging

Scrolling this content with the scrollbar will trigger dragging action:

I have disabled the "draggable" feature when the note flips to any of the "back" panels, so now should works fine.
https://github.com/txusko/PostItAll/commit/f29c06129f98ef9f4e5e9e319f001ebccee192a6
Thanks!
Javi Filella

@txusko I don't think disabling the dragging completely would be necessary. Just check event.target against the div with all the informations inside. If they are equal, dragging should not be triggered.


(refactor): replace rimraf, mkdirp, util.promisify with fs-extra funcs

they're a lot cleaner and this is one of the explicit goals of
fs-extra per its "Why?" section of its README

it's also already used internally in most places, so this nixes
the remaining places

(deps): remove rimraf, mkdirp, and their @types/ packages
Built on top of #500 , please merge that first
#500 actually took care of most of these use-cases, so this just finishes nixing the rest.

Resolve conflicts and merge

Done (just cherry-picked to master).


IPv6 statement no longer true

The statement "Because Azure virtual networks do not support IPv6" is no longer true as VNETs do now support IPv6.  In fact the link you have on the page gets directed to this page https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#do-vnets-support-ipv6 where it's clearly stated it's now supported.

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

ID: 60b0097c-668e-1d37-22b0-89d0bf649f8a
Version Independent ID: 49ccfef6-05bb-9c93-5a05-a2e2fe632b3c
Content: Install Active Directory Domain Services on an Azure virtual machine
Content Source: WindowsServerDocs/identity/ad-ds/deploy/virtual-dc/adds-on-azure-vm.md
Product: windows-server
Technology: identity-adds
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Thank you for pointing out this change in support for IPv6 and the implication it has on this document page.
I will start a Pull Request to have those 2 paragraphs altered to remove the incorrect statement.

There you go. PR #4513 is ready for review, comments and suggestions.


Add missing dependencies to get test:examples to run

Ran into this while trying to add component tests to the todos example. Currently running npm run test:examples results in the following error:
npm run test:examples

><EMAIL_ADDRESS>test:examples /Users/jon/Documents/Coding/Open Source/redux
> cross-env BABEL_ENV=commonjs babel-node examples/testAll.js

><EMAIL_ADDRESS>test /Users/jon/Documents/Coding/Open Source/redux/examples/async
> echo "Error: no test specified"

Error: no test specified

><EMAIL_ADDRESS>test /Users/jon/Documents/Coding/Open Source/redux/examples/counter
> cross-env NODE_ENV=test mocha --recursive --compilers js:babel-register --require ./test/setup.js

/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:393
          throw new Error("Couldn't find preset " + JSON.stringify(val) + " relative to directory " + JSON.stringify(dirname));
          ^

Error: Couldn't find preset "es2015" relative to directory "/Users/jon/Documents/Coding/Open Source/redux/examples/counter"
    at /Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:393:17
    at Array.map (native)
    at OptionManager.resolvePresets (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:385:20)
    at OptionManager.mergePresets (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:10)
    at OptionManager.mergeOptions (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328:14)
    at OptionManager.addConfig (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:10)
    at OptionManager.findConfigs (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:434:16)
    at OptionManager.init (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-core/lib/transformation/file/options/option-manager.js:482:12)
    at compile (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-register/lib/node.js:83:45)
    at loader (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-register/lib/node.js:128:14)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-register/lib/node.js:138:7)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at /Users/jon/Documents/Coding/Open Source/redux/node_modules/mocha/bin/_mocha:310:3
    at Array.forEach (native)
    at Object.<anonymous> (/Users/jon/Documents/Coding/Open Source/redux/node_modules/mocha/bin/_mocha:309:10)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:467:10)
    at startup (node.js:136:18)
    at node.js:963:3
npm ERR! Test failed.  See above for more details.
/Users/jon/Documents/Coding/Open Source/redux/examples/testAll.js:67
      throw new Error('Building examples exited with non-zero');
      ^

Error: Building examples exited with non-zero
    at Object.<anonymous> (testAll.js:33:13)
    at Module._compile (module.js:435:26)
    at loader (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-register/lib/node.js:128:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-register/lib/node.js:138:7)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:467:10)
    at /Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-cli/lib/_babel-node.js:161:27
    at Object.<anonymous> (/Users/jon/Documents/Coding/Open Source/redux/node_modules/babel-cli/lib/_babel-node.js:162:7)
    at Module._compile (module.js:435:26)

This PR adds the missing dependencies to get that script to run correctly.

I don’t think these are missing dependencies. They are specified in the individual examples. Each example has its own package.json.
Maybe we should modify testAll to also run npm install like buildAll does.

Thanks @gaearon, I missed that they all had their own package.jsons. I updated the PR to add the npm install command prior to running the tests in testAll.js. Oddly there was already a comment explaining that npm install needed to come first, so it appears as if it was there at one point.

Yup, it’s weird. Thanks!


drop CI testing and docs for SDKs older that 2.12

We have some support for SDKs older than 2.12 (docs in the readme, and additional testing in our .github ci script). I'd like to drop references to sdks older than 2.12 for simplicity of implementation here.
cc @mit-mit

related: https://github.com/dart-lang/setup-dart/issues/73


fix: enforce a lower case letter at the beginning of the summary content

Hey @aeyoll I am a bit confused, is this mentioned in the conventional commit spec ?

I understand that it can be out of scope for this project if its not described in the spec.
However, maybe it could be a configurable option in the parser?
(My goal behind all this is to ditch commitlint and replace it with cog verify in all my repositories, where the "lowercase" rule is already in place)
Thanks a lot

Hey @aeyoll,
Thanks for the suggestion but  I cannot merge this as is.
Adding angular commit to cocogitto as an additional layer on top of the conventional commit spec seems ok to me.
That said, breaking the current implementation ( which is conform to the spec ) is not an option here.

However, maybe it could be a configurable option in the parser?

This is the way to go. Ideally we could expose a parser builder which would allow to add more parsing options without breaking the public API again.
Also adding the lowercase rule only is not ideal. I'd rather have the angular commit spec implemented all at once.
Regarding the implementation I think the pest grammar file for the conventional commit spec should be left untouched.
It describes the conventional commit parser and should not be mixed with angular commit.
Their are few additional rules a second pass on the already parser conventional commit would do. I am not even sure
pest is needed here.
Once we have this in the parser I would be trivial to add an angular commit flag/config to the cli.
Let me know if you want to work on it.

Thanks for the feedback, I totally understand that you can't merge it.

Also adding the lowercase rule only is not ideal. I'd rather have the angular commit spec implemented all at once.

The Angular spec is actually not that different from conventional commit spec, I think it only adds this lower case rule, plus a max length of 100 of every line of the message.

Ideally we could expose a parser builder which would allow to add more parsing options without breaking the public API again.
Their are few additional rules a second pass on the already parser conventional commit would do. I am not even sure
pest is needed here.

It would be the easiest way, but it adds another layer of verification on top of pest, I'm not sure if it's the most elegant solution. We could have multiple grammar files, but they would have a lot of similarities, which is not ideal either. Too bad pest doesn't allow to share rules between multiple grammars.


Inconsistency in styling of comment and like button

Feature request-
Make the comment button orange like the Like button and turn to blue on hover.

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign

Currently, like button is set such that on hover white border changes to blue color

But other buttons don't have same hover effects, on hover over other buttons color changes but border remains white

So should I make like button same as others too? or make other buttons similar to like button

Currently, like button is set such that on hover white border changes to blue color

But other buttons don't have same hover effects, on hover over other buttons color changes but border remains white

So should I make like button same as others too? or make other buttons similar to like button

Yes make the Like button same shade of blue (on hover) as the other buttons


Add visitors to UsersSessions

Usecase: Publish the number of visitors.
Example:
// percolatestudio/publish-counts
const countVisitors = new Counter('visitors', UsersSessions.find({visitor: true}));

Meteor.publish('visitors', function() {
  return countVisitors;
});

Visitors (without userId) are identified by their connection.id.

@rodrigok any feedback?

I am not sure how your solution works.
We have a online users and visitors count and use UsersSessions.find({ visitor: true }).count() which is a very simple solution.
How can I get the number of visitors with the metadata callback?


RabbitMQCollector fails if vhost starts with /

I've seen numerous systems where vhosts are created starting with "/", like "/logstash". when the API calls occur, multiple slashes are condensed: /api/queues//logstash => /api/queues/logstash. this causes a 404 because no vhost "logstash" exists.
it needs to be url-encoded instead: /api/queues/%2Flogstash.

This repo has moved to https://github.com/python-diamond/Diamond
Please open a new ticket there if this issue is not resolved with the current code there.
Thanks!