Release the demonstration/grasp collection code

See: https://github.com/f3rm/f3rm/issues/4#issuecomment-1744692600
Need to test out VR support @geyang

how can I make my owe datesets? The robotic manipulation needs a  Franka Panda gripper ,but I do not have this machine. Does It mean that I can not test the robotic manipulation by myself?

You can create your own datasets using the instructions from Nerfstudio: https://docs.nerf.studio/quickstart/custom_dataset.html
Training a feature field and interacting with it through the visualizer does not require a robot.
The robot optimization code assumes:

You know the transformation to get from the NeRF coordinate frame to the world coordinate frame (i.e., the robot's coordinate system) so we can limit the workspace of the optimization and ensure correct scale
You are using a Franka Panda gripper collision checking purposes. You can check the instructions here for how to modify it to suit your robot platform: https://github.com/f3rm/f3rm/tree/main/f3rm_robot#what-if-im-using-a-different-gripper-or-robot

Hello! I would like to ask where the code of learning and testing for ‘Few-Shot Manipulation’ section in the paper is located.

Hi, you should be able to easily implement the few-shot manipulation method by modifying the existing optimize.py script. The main changes you will need to make are removing the language guidance in the loss function, and using different masking to generate initial proposals now that you do not have language.

PR in progress here: https://github.com/f3rm/f3rm/pull/13
You can pip install vuer to start playing around with it

hello! how could I create the 'scene_demo*.json' file on my own demo datasets?

Hi, you can teleop the robot in the real-world to the pose you want to collect the demonstration at. Note that the demonstrations are provided in the world coordinate frame.
You just need to follow the schema. The example files should tell you what you need. Our labeling system was working in the browser but not VR last I tried, so you could try pull the branch in the PR and using this script.

Have you conducted experiments in a simulation environment? (All of your datasets are in real scenarios.)

No we didn't, all the experiments were conducted in the real world. You might find it difficult to get a good quality NeRF unless you use a simulator with high quality rendering and assets with good texture, etc.

Hi, how can I use the dataparser_transforms.json to compute the inverse transformation (Is there a formula) ？ And how can I get nerf_to_world.json with the existing transforms.json？I come from #7 and still have this problem. Thank you :)

If you already have a robot with a calibrated camera, you can use forward kinematics to compute the camera pose and use that to create your own transforms.json file of images captured at different viewpoints.
If you just want to try out the feature fields side (no robot optimization), you can create your own datasets using the instructions from Nerfstudio: https://docs.nerf.studio/quickstart/custom_dataset.html. Training a feature field and interacting with it through the visualizer does not require a robot.
The robot optimization code assumes:

You know the transformation to get from the NeRF coordinate frame to the world coordinate frame (i.e., the robot's coordinate system) so we can limit the workspace of the optimization and ensure correct scale. See Nerf_to_world.json #7

@KamiPan0601 I have added some more details here which may help: #15
For computing the inverse transformation, it would be the opposite of what nerfstudio is doing to compute the forward transformation. So you will need to apply the inverse scale, rotation and translation. You can check how they do it here: https://github.com/nerfstudio-project/nerfstudio/blob/v0.3.4/nerfstudio/data/dataparsers/nerfstudio_dataparser.py#L233-L244

@KamiPan0601 Has the problem been solved?
I had the same problem as you. Now that I have transform and transform_gt and have computed colmap_to_world,
however, how do I compute nerf_to_colmap from dataparser_transforms.json?
How do I combine colmap_to_world (T,scale) and nerf_to_colmap (which seems to be the inverse of dataparser_transforms.json, dataparser_transforms.json only has a 3*4 matrix and a scale. How do I construct nerf_to_colmap)?

Yes, it's been solved. Also suggest you read the source code above.
First apply the inverse scale to the translation part of the 3*4 matrix (last column), by doing the opposite of what the following code does. (I use ns-train f3rm --data 'data_path' nerfstudio-data --auto-scale-poses False so my scale_factor = 1.0)
https://github.com/nerfstudio-project/nerfstudio/blob/v0.3.4/nerfstudio/data/dataparsers/nerfstudio_dataparser.py#L246
Then turn the 3*4 matrix into a 4*4 homogeneous transformation matrix by adding a row [0 0 0 1] at the end. Finally, Compute its inverse matrix.
If you use this nerf_to_colmap matrix as the nerf_to_world.json to optimize, the grasp pose you get is under the colmap coordinate system. Then you need to transform the pose back to the world coordinate with colmap_to_world.

Does "transform the pose back to the world coordinate with colmap_to_world" mean colmap_to_world @ grasp?

When I use ns-train f3rm --data 'data_path' nerfstudio-data --auto-scale-poses False ,nerfstudio can not output a good reconstruction result,How did you solve this problem?

This means that your unscaled poses are not amenable for training a NeRF. This could be because your poses are all outside the unit cube or they are very constrained within it.
You should check the poses in the nerfstudio viewer. To solve the problem you need to rescale the poses, which you can do using --auto-scale-poses True. When computing your NeRF to COLMAP matrix, you will need to use the computed scale.

Thank you for your reply! Is nerf_to_world just colmap_to_world@ np.linalg.inv (scale_matrix @ dataparse_transform)?

Please use Vuer to collect demonstrations in VR: https://github.com/vuer-ai/vuer
Example of teleopping humanoids here: https://github.com/OpenTeleVision/TeleVision


Update migration guide

@pranavkm I think you're working with a stale version. Can you fix merge conflicts?


feat(domain-acl): add domain for anticorruption layer

Closing in favor of https://github.com/topcoder-platform/topcoder-framework/pull/19


Bug with editing closed classes

I'll make an issue for this here incase anyone else wants to take a look at it. I know its an issue with the child window being set, i dont have the time to look into it right now.
Also @dude719 can you update the graphic in the about dialog for ReClassEx?
I'm gonna start working on this more in the coming weeks

What do you mean editing closed classes?

When you close a class child window sometimes it will refuse to open back
up when you try to edit open it with the edit. It should be able to be
fixed by setting the class nodes child window but I don't have time today
On Wed, 8 Mar 2017 at 5:36 am, Aidan Khoury<EMAIL_ADDRESS>wrote:

What do you mean editing closed classes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dude719/ReClassEx/issues/28#issuecomment-284834368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8s5qsNocycBfWqfuBvRKqr69HS5NHaks5rjbG1gaJpZM4MU7_l
.

--
Timothy Muckert - http://timboy67678.com


Upgrade Redis to 2.10.6

Summary: Pulls the code up to 2.10.6 from andymccurdy/redis-py.  I also included one commit to pin pytest to <4.0.0 (otherwise my tests would fail with fixture errors, there was a backwards incompatible change in 4.0.0).

Don't think we want to land this yet, I want to pin the version we use in discord-api first (it's currently unpinned/always picking master on each build)


How to have a floating Group always in front ? (like j:topbar or bottom bar)

Hi,
I make a small app using TDJ structure like this :
</j:Application>
    <j:initialView>
       <j:ResponsiveView>
             <j:ApplicationMainContent>
                   <j:ScrollableSectionContent localId="page1"/>
                   <j:ScrollableSectionContent localId="page2"/>
                   <j:ScrollableSectionContent localId="page2"/>
             </j:ApplicationMainContent>
        </j:ResponsiveView>
    </j:initialView>
</j:Application>

I would like to have an "home" button always visible in the top left corner (or bottom left corner) like topbar or bottom bar.
Was is the best practice to do it ?

If it's always in the same place, you probably want position:sticky or position:fixed. You should be able to apply the css to any element.

Thanks, it do the trick, I thought that I can do it with j:Group


Docker Host Dashboard Issues

Fresh install, I've noticed that the top row (uptime, cpu, memory, etc) all display N/A unless they are deleted and re-created.
Has anyone seen this before, and is there a fix/workaround other than re-creating everything?
edit - this happens on other tabs as well

was able to fix most of them by removing the "override relative time" option, but of course this is not ideal. Still learning quite a bit about prom/grafana, so my simple looking into it hasnt shown any obvious fixes

Closing this. Works fine under Ubuntu, so chalking this up to a CentOS/config issue


Add support for sending page option when tracking events

This adds support for sending the page option to ga() when tracking
events1.
We're trying to use events to track when people reach an outcome in Smart
Answers2. The current set-up is giving us inaccurate data because of the use
of JavaScript to partially replace pages as a user navigates the Smart Answer:
The majority of the events are being recorded against the start page of the
Smart Answer (e.g. /student-finance-forms/y) instead of the outcome page.
I've got an open pull request in Smart Answers that switches us to use ga()
directly so that I can test whether sending the page option actually gives us
the data we're interested in3. Assuming it does then I think the right thing
to do is add support for page in this project.

This looks good to me. Can we also update the documentation here: https://github.com/alphagov/govuk_frontend_toolkit/blob/master/docs/analytics.md#custom-events

Thanks, @fofr. I'll update the documentation soon.

I've updated the README in 2ca19bb14dc010c6aecb7eb34b7daa8ecb0d96b0.

:+1:
(Did you mean to squash the fixup?)

I'd normally squash the fixup at the point it was merged to master so that I can avoid force pushing to this branch. Would you expect me to squash it and force push?

If you could squash and force push the branch I'm happy to merge.

@fofr: I've squashed and force pushed my branch.

Great, thanks @fofr. Do I need to bump the version number and release a new version?

@chrisroos A version bump PR would be great. Here's a recent example: https://github.com/alphagov/govuk_frontend_toolkit/pull/187

I've bumped the version in #205.


Allow configuration of Prometheus hostname

In some cases it is necessary to expose the server on more than just localhost. This adds a configuration for exactly that.

Pull Request Test Coverage Report for Build 142

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

Totals

Change from base Build 120:
0.0%

Covered Lines:
299

Relevant Lines:
308

💛  - Coveralls

Pull Request Test Coverage Report for Build 142

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

Totals

Change from base Build 120:
0.0%

Covered Lines:
299

Relevant Lines:
308

💛  - Coveralls

@icebob I think this should be ready to go

@icebob I think this should be ready to go

I can certainly do that... the reason I had localhost default was because that's what it was before. In fact the motivation for this commit was so that I could use <IP_ADDRESS>. It appeared that Polka used localhost by default? Am I wrong?

I can certainly do that... the reason I had localhost default was because that's what it was before. In fact the motivation for this commit was so that I could use <IP_ADDRESS>. It appeared that Polka used localhost by default? Am I wrong?

If you see the default host setting in the Node HTTP server, the host is <IP_ADDRESS> and polka use it, as well. So if you change it to localhost as default, it can cause breaking change.

If you see the default host setting in the Node HTTP server, the host is <IP_ADDRESS> and polka use it, as well. So if you change it to localhost as default, it can cause breaking change.


New scheduled events for backups

Feature Request
Feature Information:
I would like to see a setting that you can set so that after successfully uploading the backup to the cloud, the local backup deletes. This would save system memory and you do not have to delete them manually.
I confirm:

[x] that I have searched for an existing feature request matching the description.

This is planned to allow for varying backup cycles for local v.s. cloud and will come in a future update :)

That's great to hear, thank you!

Is work happening on the introduction of tiered backups?

Not currently, no. We're in heavy bug fix mode with some features here and there.


[BUG] After resizing window to modile size nav-bar dropdown doesn't work

Viewing page in chrome with basic fluid layout. After resizing browser window to minimum in width and resizing back to normal size the dropdown in nav-bar doesn't open.

Seems to be a duplicate of #1567

Already resolved in 2.0.2-wip.


Exporting diagrams to PNG/JPEG with Google fonts

When exporting diagrams with Google fonts, it is not exported with the selected Google font.

This works for me. Can you share a test case? What export format did you use and with what settings? What browser, operating system and versions did you use? What version of draw.io?

I am using version 12.3.2 of draw.io. Below are two images, first one from the editor with Lobster font from Google, the second one exported as PNG format.

BTW, I talking about the windows desktop version

Just tested with web version, it is working fine. Realized I need to create this bug under drawio-desktop project. Should I move this ticket?


Added Prefix Sum of Array in C

Have you read the Contributing Guidelines on Pull Requests?
YES.
Description
Given an array of N elements , find it's prefix sum array. In Competitive Programming, many times we need to calculate prefix sum array to solve our problem.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes #4040

@all-contributors bot please add @RaiyanMahin for code


Improved header section of README

Fixes #78

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.935%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1183

Relevant Lines:
1220

💛  - Coveralls


Callback undefined when requesting too fast

Hi,
Im having some troubles using this component. I need to do 2 request to the Instagram API:
<!-- Instagram API -->
   <byutv-jsonp
       id="requestPosts"
       url="https://api.instagram.com/v1/users/self/media/recent/"
       params="{{posts_params}}"
       on-response="_posts_response"
       >
   </byutv-jsonp>

    <byutv-jsonp
       id="requestComments"
       url="https://api.instagram.com/v1/media/{{post_id}}/comments"
       params="{{posts_params}}"
       on-response="_comments_response"
       >
   </byutv-jsonp>

The first one works well as its only generated once at the start. But the other one is generated within a loop:
for (var i=0; i < ARRAY.length ; i++) {            ...            this.$.requestComments.generateRequest(); };
When requesting using the same  too many times too fast im getting the "callback is not defined" error therefore i cant get the data from the API.
The callback functions (_posts_response and _comments_response works well the first time so they are not the problem).
Do you have any idea of whats happening? Am i using it right?
Thank you!!

IDs in elements are meant to be unique.  If you are generating the #requestComments in a loop the ID will be duplicated.  Can you try changing the ID for each iteration of the loop?

The components are not generated inside the loop, just the requests. I mean the components are defined on the template just once but i use the method generateRequest() from the second component (#requestComments) inside a loop. Anyways i have tried to change the id of the component for each iteration but nothing happens.
I just put a 400ms delay between each call and it worked. Smaller delays make the call fail again.

You need to create a new element for each iteration of your loop if you want a different response for each iteration.  Each element can only handle one response at a time.  If you only have one element its callback function on the window object will be overwritten every time a request is made.
Can you try creating a new element for each iteration of the loop and see if that works?  Am I correct in assuming that you want different responses for each iteration?

Yes, i want different responses for each iteration. Well, finally i have tried to set the component to auto instead of generating the request myself and it worked. The key is to change the request params when the last request is finished, this is inside the on-response method.
I set the parameters for the first call but i let the component make the request himself:
while(this.i < this.posts.length-1 && !done){
          if(this.posts[this.i].comments.count > 0){
            //Change the postID to generate a new request
            this.post_id = this.posts[this.i].id;
            done = true;
          }
          this.i++;
        }

Then on the response method i set the parameters for the next request
_comments_response: function(event, detail){
        ...
        while(this.i < this.posts.length-1 && !done){
          if(this.posts[this.i].comments.count > 0){
            //Change the postID to generate a new request
            this.post_id = this.posts[this.i].id;
            done = true;
          }
          this.i++;
        }
      },

So every call generates a response and every response generates the next call.
If i use the same logic but i make the requests with the .generateRequest() method instead of setting the component to auto the undefined callback error appears again. So there is something that the component does automatically but it does not when you use the .generateRequest() method.
Thank you for your help!!

Glad you found a solution.  If you run into anything else reopen this issue or create a new issue.


When get-decklists started failing, no indication in logs

get-decklists started failing at some point due to a None where it expected an empty list. This meant the logs just trailed off, no indication they hadn't completed, so it went unnoticed for a while.
Some options:

update-site-stats could shout if there are unprocessed runs/decks/etc
Put try/catches in all the right spots to recover and raise an error to the logs
Build some additional tool which checks for coherence

(The specific get-decklists bug is fixed in https://github.com/PDHdata/SmallFormats/pull/87/commits/36646a002922e507892671ef56555535cba5f367 but who knows where else it might blow up in the future.)


Proposal: Zipper function to break out single subtree level

We currently have top, which moves to the top of the current subtree (but doesn't break out of it), and topmost, which moves to the very top of the Zipper, breaking out of all subtrees. What we don't have is a function that moves to the top of the current subtree and breaks out of it.
This would be really nice. It would let you create a subtree, move within and modify it in the context of that subtree, and then jump back to where you started.

Right, so maybe Zipper.supertree(zipper) :: nil | zipper?

Sounds useful, let's add it
@zachdaniel suggesion for the name sounds good to me, we already have subtree and this new function would do the opposite. Supertree is also the same concept we use in the implementation

Where should this stand with regards to #166? Should Zipper.supertree(nil) return nil or blow up?

🤔 I think blow up? Wouldn't hurt to start with blowing up I think, can always make it return nil until later.

Merged with #167


[594] Callback to sync Computacenter::UserChange

Context

https://trello.com/c/n9stv3jD/594-spike-can-we-generate-the-cc-user-changes-feed-using-papertrail
This change updates the Computacenter::UserChange table as users are added/updated/deleted in our system to keep Computacenter in sync

Changes proposed in this pull request

On creating, updating or destroy a user, write to Computacenter::UserChange table
Only changes to certain fields will write to Computacenter::UserChange table
User must pass a certain criteria otherwise does not write to Computacenter::UserChange table
From Computacenter view a user is considered New if they have not seen the user before
Association changes are attempted to be read to add to the Computercenter::UserChange table, if not found they will not be added

Guidance to review
Backfilling script

If a user has been backfilled any changes should append to the ledger
If a user is already in the ledger and the backfill script is ran it should not cause a duplicate entry

Backfilling existing paper_trail versions into ComputaCenter::UserChange

We can backfill from an existing paper_trail version
UserChangeForVersion.new(PaperTrail::Version.first).call or any other version
This should a ComputaCenter::UserChange if they meet the criteria. Most likely as a New or Change

Expected behaviour once deployed

A user created that is Computacenter concerned will create a Computacenter::UserChange record of type New
A user created that is not Computacenter concerned will not create a Computacenter::UserChange record
A user updated that is Computacenter concerned will create a Computacenter::UserChange record of type Change
A user updated that is not Computacenter concerned will not create a Computacenter::UserChange record
A user deleted that is Computacenter concerned will create a Computacenter::UserChange record of type Remove
A user delete that is not Computacenter concerned will not create a Computacenter::UserChange record
On each new Computacenter::UserChange record, fields should be filled in correctly
A Computacenter::UserChange is only created when certain fields are updated which are relevant to Computacenter

ah, you changed the rules codebase-wide! :) I'm going to ping-in @tonyheadford for a second opinion here, so that it can be a team decision.

I agree that the spec here is doing probably too much for a single model spec - maybe the working-in-unison tests could/should be an integration spec instead?

I don't think integration tests would quite work here. They are typically driven by http requests or endpoints being hit which I don't want to touch for these particular tests as I feel that part can be ignored


Rule to require a $ prefix on jQuery variables

Many style guides have this rule:
/**
 * Require a $ before variable names that are jquery assignments.
 *
 * Type: `Boolean`
 *
 * Values: `true`
 *
 *
 * #### Example
 *
 * ```js
 * "requireDollarBeforejQueryAssignment": true
 * ```
 *
 * ##### Valid
 *
 * ```js
 * var $x = $(".foo");
 * ```
 *
 * ##### Invalid
 *
 * ```js
 * var x = $(".foo");
 * ```
 */

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

It might be good to generalize this rule a bit. jQuery is far from the only library that uses the $ sign for its objects, e.g. Zepto is an alternative. Maybe the rule should be that this covers variables that were set through a $ function call. Possibly with an extra related option to also cover instances like var $el = jQuery("element");


Add distance_unit attribute to countries data

Description
This adds the distance unit (MI/KM) for roading distance and speed for each country. Data for countries using miles (MI) is based on https://en.wikipedia.org/wiki/Mile#International. All other countries are assumed to use kilometres (KM).
Countries using miles (MI)

Liberia
Myanmar
United Kingdom
United States

Territories using miles (MI)

American Samoa
Bahamas
Belize
British Virgin Islands
Cayman Islands
Dominica
Falkland Islands
Grenada
Guam
N. Mariana Islands
Samoa
St. Lucia
St. Vincent & The Grenadines
St. Helena
St. Kitts & Nevis
Turks & Caicos Islands
U.S. Virgin Islands

The spec that I introduced is failing as rake update_cache needs to be run. In the contribution guide it said not to include this in PRs? Also I am unsure why the other spec is failing?


Add optional "Show Password" label to password-reveal

When using a password input:
<b-input type="password"
        placeholder="Password reveal input"
        password-reveal>

It'd be nice if you could hover on the eye and a label would appear that says "Show Password", maybe with another optional flag like password-reveal-tooltip, so the use would be something like this:
<b-input type="password"
        placeholder="Password reveal input"
        password-reveal
        password-reveal-tooltip="Show Password">

Doen anyone else missed this?

First of all, thanks so much for this framework! It's so great!
I'm using it here: http://evangipson.com/vueture/#/login (you can check the code here: https://github.com/evangipson/vueture-game)
The UI is so clean and great, but I think a curious user could really benefit from some contextual tooltip.

Actually, as you said (and I was thinking about this) it's meant to be very clean. The best option IMO here is you use the input with a button add-on and add the tooltip in the button yourself.

I'm fixing that error on password-reveal icon with the invalid icon.


React-Based DMN Editor: allowedValues not allowed for custom type

It is not possible to set constraints for custom types

Both allowedValues and typeConstraint refers to the base type. So, a custom type seems allowed to define such constraints, that will be applied to the base type.
This would make sense because:

a custom type “A” extend a base type “string” (e.g.)
both custom type “B” and “C” extends “A”, but they could have different constraints

@tiagobento @ljmotta @yesamer
There is an ongoing discussion on the OMG group.
My personal understanding of that (but also share by @baldimir ) is that

the spec themselves define/imply a given behavior (i.e. the usage of ? expression types, also on inherited properties),
the idea is somehow enforced by the new typeConstraints, and the only difference with allowedValues is the projection inside collection elements
the introduction of typeConstraint, with its consequences, was dictated bny a sort of contradiction in the specs themselves (that somehow defined constraints as UnaryTests to be applied to base type, but on the other side restriected the full usage of them)
there was an "agreement" in the past, about interpretation of the spec, based on a sentence that has been removed from new specs

So, we are currently discussing of that. I'm new to this decisional mechanism, and I have no idea of the outcome. Regardless, the way we interpeted (and already implemented) the specs would allow much powerful behavior, and IMO it would be interesting to provide it to customer (being, anyway, backward and spec compatible)

This is written in the spec: An ItemDefinition element may restrict the values that are allowed from typeRef, using the allowedValues attribute.
So if typeref references a type that is constraining something, adding allowedValues (and similarly typeConstraint) on the child type using this typeref, will further constraint the already existing constraints.
This is further there in the spec: When an ItemDefinition has sibling itemComponents, their values are available in the evaluation context of the UnaryTests of the allowedValues. - This is not clear to me, I asked for clarification.
Then there is this: An alternative way to define an instance of ItemDefinition is as a composition of ItemDefinition elements. An instance of ItemDefinition may contain zero or more itemComponent, which are themselves ItemDefinitions. Each itemComponent in turn may be defined by either a typeRef and allowedValues or a nested itemComponent. In this way, complex types may be defined within DMN.
In combination with the XSD, where there is a choice element, this implies to me, that there are these possible cases for using allowedValues and typeConstraint:

ItemDefinition with typeRef to base type like string. - Can use allowedValues and typeConstraint. Cannot use itemComponents. Restricts the string type.
ItemDefiniton with typeRef to another custom ItemDefinition. This custom ItemDefinition can also use allowedValues and typeConstraint or itemComponents freely. - Can use allowedValues and typeConstraint. Cannot use itemComponents. If the parent ItemDefinition referenced with typeRef is also using allowedValues, typeConstraint or itemComponents, all restrictions from such parent apply also in the child ItemDefinition. TLDR - If parent ItemDefinition has typeRestrictions, either from allowedValues, typeConstraint or its itemComponents, child ItemDefinition restricts the type further. See my first paragraph in this comment (An ItemDefinition element may restrict the values that are allowed from typeRef, using the allowedValues attribute.).
ItemDefinition with itemComponents. Cannot use allowedValues or typeConstraint. Each itemComponent can have typeRestrictions and if it references a parent type with typeRef, can inherit restrictions.

Regarding item 2:

ItemDefiniton with typeRef to another custom ItemDefinition. This custom ItemDefinition can also use allowedValues and typeConstraint or itemComponents freely.

An ItemDefinition with typeRef cannot have itemComponents.
From the spec:
An ItemDefinition element SHALL be defined using only one of the alternative ways:
• reference to a built-in or imported typeRef, possibly restricted with allowedValues;
• composition of ItemDefinition elements
• function signature element.

Now, regarding the An ItemDefinition element may restrict the values that are allowed from typeRef, using the allowedValues attribute.. It isn't specified if this applies to built-in types, complex types, or both, giving that, I could enable the constraint to all cases. But as we previously discussed, we need to understand if this will work on the engine side or if this will not land for the next release.

@ljmotta I wrote "ItemDefiniton with typeRef to another custom ItemDefinition. This custom ItemDefinition can also use allowedValues and typeConstraint or itemComponents freely." - I meant the ItemDefinition from typeRef can have itemComponents. To be more clear, here is an example:

ItemDefinition tPerson, containing multiple itemComponents.
ItemDefiniton tSlowPerson, that contains typeref="tPerson".

Hope it is more clear.

It isn't specified if this applies to built-in types, complex types, or both, giving that, I could enable the constraint to all cases.
This means that it applies everywhere possible based on specification. It is defined like this. What is not specified is not in the specification.


terraform plan returns Warning: Argument is deprecated - This property has been renamed to authorized_ip_ranges within the api_server_access_profile block

Terraform Version Details
Tried with both latest 1.9.7 and suggested in  https://github.com/sassoftware/viya4-iac-azure?tab=readme-ov-file#terraform-requirements 1.8.2
azureuser@viya-spnmhb-jump-vm:~/deploy/viya4/viya4-iac-azure/files/tools$ ./iac_tooling_version.sh
{
"terraform_version": ""1.9.7"",
"terraform_revision": "null",
"terraform_outdated": "false",
"provider_selections": "{}"
}
azureuser@viya-spnmhb-jump-vm:~/deploy/viya4/viya4-iac-azure/files/tools$ ./iac_tooling_version.sh
{
"terraform_version": ""1.8.2"",
"terraform_revision": "null",
"terraform_outdated": "true",
"provider_selections": "{}"
}
Terraform Variable File Details
tf_files.zip
tf_files.zip contains terraform.tfvars and the main.tf mentioned in the warning obtained (also outputs.tf and variables.tf in the same directory)
Steps to Reproduce

Create jumphost
Install terraform, kubectl, jq, Azure Cli, Docker, helm, kustomize, git
Clone the project
git clone https://github.com/sassoftware/viya4-iac-azure
Create service principal
Generate an SSH key pair that will be used in terraform.tfvars
ssh_public_key              = "~/.ssh/id_rsa.pub"
create terraform.tfvars
terraform init (also tried with terraform init -upgrade
terraform plan
returns the following warning
╷
│ Warning: Argument is deprecated
│
│   with module.aks.azurerm_kubernetes_cluster.aks,
│   on modules/azure_aks/main.tf line 21, in resource "azurerm_kubernetes_cluster" "aks":
│   21:   api_server_authorized_ip_ranges = var.aks_cluster_endpoint_public_access_cidrs
│
│ This property has been renamed to authorized_ip_ranges within the api_server_access_profile block and will be removed in v4.0 of the provider
│
│ (and one more similar warning elsewhere)
╵

Expected Behavior
Output with no warning or error messages
Actual Behavior

terraform plan
returns the following warning
╷
│ Warning: Argument is deprecated
│
│   with module.aks.azurerm_kubernetes_cluster.aks,
│   on modules/azure_aks/main.tf line 21, in resource "azurerm_kubernetes_cluster" "aks":
│   21:   api_server_authorized_ip_ranges = var.aks_cluster_endpoint_public_access_cidrs
│
│ This property has been renamed to authorized_ip_ranges within the api_server_access_profile block and will be removed in v4.0 of the provider
│
│ (and one more similar warning elsewhere)

Additional Context
No response
References
No response
Code of Conduct

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

@spnmhb, this warning has been fixed in the major version of Terraform azurerm v4.0. We are consuming the new major version in the upcoming release. If you are interested please look at the PR #401.
If this answers your question I would like to close this issue.

Thanks for the answer @riragh, that makes sense. So at this moment, for trying to make the terraform plan command work, would it be enough to update azurerm to v4.0 and then re-run terraform init plan / terraform plan? In that case, how can I manage to upgrade azurerm?

@spnmhb, no just updating the azurerm version to v4.0 will not be enough. This was breaking change from the provider so we had to make sure we updated all the pieces in our code correctly to consume the breaking changes.
We have not released the changes but at the moment if you want to use the newer changes please pull "staging" branch and just run terraform plan.

@riragh Thank you very much for the answer. Just for information, is there an estimated date for the changes to be released?


Update angular-cli monorepo to v17 (major)

This PR contains the following updates:

Package
Type
Update
Change

@angular-devkit/build-angular
devDependencies
major
14.2.1 -> 17.0.8

@angular/cli
devDependencies
major
14.2.1 -> 17.0.8

Release Notes

angular/angular-cli (@angular-devkit/build-angular)
v17.0.8
Compare Source
@angular/cli

Commit
Type
Description

6dba26a0b
fix
ng e2e and ng lint prompt requires to hit Enter twice to proceed on Windows

0b48acc4e
fix
re-add -d alias for --dry-run

@schematics/angular

Commit
Type
Description

99b026ede
fix
add missing property "buildTarget" to interface "ServeBuilderOptions"

313004311
fix
do not generate standalone component when using ng generate module

@angular-devkit/build-angular

Commit
Type
Description

cf11cdf6c
fix
add missing tailwind @screen directive in matcher

aa6c757d7
fix
construct SSR request URL using server resolvedUrls

0662048d4
fix
ensure empty optimized Sass stylesheets stay empty

d1923a66d
fix
ensure external dependencies are used by Web Worker bundling

v17.0.7
Compare Source
@angular-devkit/build-angular

Commit
Type
Description

3df3e583c
fix
baseHref with trailing slash causes server not to be accessible without trailing slash

ef1178188
fix
allow vite to serve JavaScript and TypeScript assets

385eb77d2
fix
cache loading of component resources in JIT mode

4b3af73ac
fix
ensure browser-esbuild is used in dev server with browser builder and forceEsbuild

d1b27e53e
fix
ensure port 0 uses random port with Vite development server

f2f7d7c70
fix
file is missing from the TypeScript compilation with JIT

7b8d6cddd
fix
handle updates of an npm link library from another workspace when preserveSymlinks is true

c08c78cb8
fix
inlining of fonts results in jagged fonts for Windows users

930024811
fix
retain symlinks to output platform directories on builds

3623fe911
fix
update ESM loader to work with Node.js 18.19.0

v17.0.6
Compare Source
@schematics/angular

Commit
Type
Description

da5d39471
fix
enable TypeScript skipLibCheck in new workspace

@angular-devkit/build-angular

Commit
Type
Description

048512874
fix
app-shell generation incorrect content when using the application builder

f9e982c44
fix
check namespaced Sass variables when rebasing URLs

a1e8ffa9d
fix
correctly align error/warning messages when spinner is active

46d88a034
fix
handle watch updates on Mac OSX when using native FSEvents API

4594407ae
fix
improve file watching on Windows when using certain IDEs

aa9e7c615
fix
normalize locale tags with Intl API when resolving in application builder

a8dbf1da2
fix
watch symlink when using preserveSymlinks option

e3820cb6c
perf
only enable advanced optimizations with script optimizations

v17.0.5
Compare Source
Rolling back bbbe13d67 which appears to break file watching on Mac devices.

v17.0.4
Compare Source
@schematics/angular

Commit
Type
Description

7a2823080
fix
remove CommonModule import from standalone components

@angular-devkit/build-angular

Commit
Type
Description

0634a4e40
fix
avoid native realpath in application builder

22880d9cb
fix
correct set locale when using esbuild based builders

a0680672f
fix
correctly watch files when app is in a directory that starts with a dot

bbbe13d67
fix
improve file watching on Windows when using certain IDEs

27e7c2e1b
fix
propagate localize errors to full build result

7455fdca0
fix
serve assets from the provided serve-path

657a07bd6
fix
treeshake unused class that use custom decorators

77474951b
fix
use workspace real path when not preserving symlinks

v17.0.3
Compare Source
@angular-devkit/build-angular

Commit
Type
Description

450dd29a1
fix
default to watching project root on Windows with application builder

8072b8574
fix
ensure service worker hashes index HTML file for application builder

d99870740
perf
only create one instance of postcss when needed

v17.0.2
Compare Source
@angular-devkit/build-angular

Commit
Type
Description

023645185
fix
always normalize AOT file reference tracker paths

3b99980bd
fix
emit root files when localize is enabled when using the esbuild based builders

ef3e3abb8
fix
ensure watch file paths from TypeScript are normalized

d11b36fe2
fix
normalize paths in ssr sourcemaps to posix when using vite

62d51383a
fix
only include vendor sourcemaps when using the dev-server when the option is enabled

d28ba8a73
fix
remove browser-esbuild usage warning

v17.0.1
Compare Source
@angular/cli

Commit
Type
Description

5267e6055
fix
handle packages with no version

@schematics/angular

Commit
Type
Description

d9f7d439e
fix
add helper script to spawn SSR server from dist

a80926cdb
fix
html indentation

f7f62c9d6
fix
remove downlevelIteration from tsconfig.json for new workspaces

7cb57317d
fix
use href property binding for links

731917cd0
fix
use styleUrl

@angular-devkit/build-angular

Commit
Type
Description

15dd71aba
fix
deleteOutputPath when using esbuild-builder

fa4d8ff31
fix
add actionable error when file replacement is missing

160a91160
fix
add support for vendor sourcemaps when using the dev-server

5623c193e
fix
cache stylesheet load errors with application builder

1a5538e0c
fix
disable Worker wait loop for TS/NG parallel compilation in web containers

883771946
fix
do not process ssr entry-point when running ng serve

d3b549167
fix
empty output directory instead of removing

596f7639a
fix
ensure compilation errors propagate to all bundle actions

d900a5217
fix
maintain current watch files after build errors

21549bdeb
fix
prerender default view when no routes are defined

4c251647b
fix
rewire sourcemap back to original source root

v17.0.0
Compare Source
Breaking Changes
@schematics/angular

Routing is enabled by default for new applications when using ng generate application and ng new. The --no-routing command line option can be used to disable this behaviour.
ng g interceptor now generate a functional interceptor by default. or guard by default. To generate a class-based interceptor the --no-functional command flag should be used.
rootModuleClassName, rootModuleFileName and main options have been removed from the public pwa and app-shell schematics.
App-shell and Universal schematics deprecated unused appId option has been removed.

@angular-devkit/build-angular

Node.js v16 support has been removed
Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17.
For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule

@angular-devkit/schematics

deprecated runExternalSchematicAsync and runSchematicAsync methods have been removed in favor of runExternalSchematic and runSchematic.

Deprecations
@angular-devkit/build-angular

The browserTarget in the dev-server and extract-i18n builders have been deprecated in favor of buildTarget.

@angular/cli

Commit
Type
Description

f4e7fa873
fix
add @angular/ssr as part of the ng update packageGroup

1f7156b11
fix
add Node.js 20 as supported version

4b9a87c90
fix
ignore peer mismatch when updating @nguniversal/builders

f66f9cf61
fix
remove Node.js 16 from supported checks

@schematics/angular

Commit
Type
Description

741cca73c
feat
add ng new --ssr

3938863b9
feat
add migration to migrate from @nguniversal to @angular/ssr

dc6b6eaf6
feat
add migration to replace usages of @nguniversal/builders

6979eba3c
feat
enable hydration when adding SSR, SSG or AppShell

1a6a139aa
feat
enable routing by default for new applications

ac0db6697
feat
enable standalone by default in new applications

a189962a5
feat
generate functional interceptors by default

ae45c4ab8
feat
update ng new generated application

3f8aa9d8c
feat
update ng new to use the esbuild application builder based builder

03a1eaf01
fix
account for new block syntax in starter template

eb0fc7434
fix
add missing express REQUEST and RESPONSE tokens

ecdcff2db
fix
add missing icons in ng-new template

175944672
fix
do not add unnecessary dependency on @angular/ssr during migration

23c4c5e42
fix
enable TypeScript esModuleInterop by default for ESM compliance

d60a6e86a
fix
noop workspace config migration when already executed

e516a4bdb
fix
pass ssr option to application schematics

419b5c191
fix
remove baseUrl from tsconfig.json

0368b23f2
fix
use @types/node v18

b15e82758
refactor
remove deprecated appId option

@angular-devkit/build-angular

Commit
Type
Description

c48982dc1
feat
add buildTarget option to dev-server and extract-i18n builders

1fb0350eb
feat
add initial support for bundle budgets to esbuild builders

8168ae2a8
feat
apply global CSS updates without a live-reload when using vite

91019bde2
feat
enable localize support for SSR with application builder

3c0719bde
feat
initial i18n extraction support for application builder

8bce80b91
feat
initial support for application Web Worker discovery with esbuild

49f07a84d
feat
standardize application builder output structure

c3a87a60e
feat
support basic web worker bundling with esbuild builders

9e425308a
feat
support component style budgets in esbuild builders

771e036d5
feat
support deploy URL option for browser-esbuild builder

c5f3ec71f
feat
support i18n inlining with esbuild-based builder

fd62a9315
feat
support i18n with service worker and app-shell with esbuild builders

5898f72a9
feat
support namedChunks option in application builder

8f9a0d70c
feat
support standalone apps route discovery during prerendering

6b08efa6f
fix
account for arrow function IIFE

2f299fc7b
fix
account for styles specified as string literals and styleUrl

9994b2dde
fix
add a maximum rendering timeout for SSR and SSG during development

da4e19145
fix
address a path concatenation on Windows

9d4d11cc4
fix
allow SSR compilation to work with TS allowJs option

e3c5b91e8
fix
automatically include known packages in vite prebundling

ca38ee34c
fix
avoid binary content in architect results with browser-esbuild

657f78292
fix
avoid dev server update analysis when build fails with vite

2c33f09db
fix
avoid dev-server proxy rewrite normalization when invalid value

b182be8aa
fix
avoid in-memory prerendering ESM loader errors

0c982b993
fix
avoid repeat error clear in vite development server

e41e2015b
fix
avoid spawning workers when there are no routes to prerender

2d2e79921
fix
clean up internal Angular state during rendering SSR

83020fc32
fix
clear diagnostic cache when external templates change with esbuild builders

c12f98f94
fix
conditionally enable deprecated Less stylesheet JavaScript support

e10f49efa
fix
convert AOT compiler exceptions into diagnostics

667f43af6
fix
correctly resolve polyfills when baseUrl URL is not set to root

d46fb128a
fix
disable dependency optimization for SSR

1b384308c
fix
disable parallel TS/NG compilation inside WebContainers

070da72c4
fix
do not perform advanced optimizations on @angular/common/locales/global

508c7606e
fix
do not print Angular is running in development mode. in the server console when running prerender in dev mode

e817656f6
fix
do not print Angular is running in development mode. in the server console when running prerender in dev mode

f806e3498
fix
elide setClassDebugInfo calls

188a00f3e
fix
elide setClassMetadataAsync calls

05ce9d697
fix
ensure all SSR chunks are resolved correctly with dev server

d392d653c
fix
ensure correct web worker URL resolution in vite dev server

1a6aa4378
fix
ensure css url() prefix warnings support Sass rebasing

52f595655
fix
ensure i18n locale data is included in SSR application builds

3ad028bb4
fix
ensure localize polyfill and locale specifier are injected when not inlining

3e5a99c2c
fix
ensure recalculation of component diagnostics when template changes

fa234a418
fix
ensure secondary Angular compilations are unblocked on start errors

c0c7dad77
fix
ensure that externalMetadata is defined

ac7caa426
fix
ensure unique internal identifiers for inline stylesheet bundling

1f73bcc49
fix
ensure Web Worker code file is replaced in esbuild builders

23a722b79
fix
exclude node.js built-ins from vite dependency optimization

fd2c4c324
fix
expose ssr-dev-server builder in the public api

9eb58cf7a
fix
fail build on non bundling error when using the esbuild based builders

a3e9efe80
fix
fully track Web Worker file changes in watch mode

b9505ed09
fix
generate a file containing a list of prerendered routes

192a2ae6b
fix
handle HTTP requests to assets during prerendering

19191e32b
fix
handle HTTP requests to assets during SSG in dev-server

8981d8c35
fix
improve sharing of TypeScript compilation state between various esbuild instances during rebuilds

5a3ae0159
fix
in vite skip SSR middleware for path with extensions

f87f22d3f
fix
keep dependencies pre-bundling validate between builds

0da87bf1c
fix
limit concurrent output file writes with application builder

391ff78cb
fix
log number of prerendered routes in console

c46f312ad
fix
media files download files in vite

87425a791
fix
normalize paths when invalidating stylesheet bundler

d4f37da50
fix
only show changed output files in watch mode with esbuild

0d54f2d20
fix
only watch used files with application builder

1f299ff2d
fix
prebundle dependencies for SSR when using Vite

58bd3971f
fix
process nested tailwind usage in application builder

60ca3c82d
fix
provide server baseUrl result property in Vite-based dev server

0c20cc4dc
fix
re-add TestBed compileComponents in schematics to support defer block testing

9453a2380
fix
remove CJS usage warnings for inactionable packages

5bf7022c4
fix
remove support for Node.js v16

c27ad719f
fix
remove unactionable error overlay suggestion from Vite-based dev server

263271fae
fix
resolve and load sourcemaps during prerendering to provide better stacktraces

651e3195f
fix
resolve and load sourcemaps when using vite dev server with prerendering and ssr

b78508fc8
fix
several fixes to assets and files writes in browser-esbuild builder

c4c299bce
fix
silence xhr2 not ESM module warning

f7f6e97d0
fix
skip checking CommonJS module descendants

c11a0f0d3
fix
support custom index option paths in Vite-based dev server

6c3d7d1c1
fix
update ssr option definition

4e89c3cae
fix
use a dash in bundle names

83b4b2567
fix
use browserslist when processing global scripts in application builder

ca4d1634f
fix
use component style load result caching information for file watching

34947fc64
fix
use incremental component style bundling only in watch mode

ec160fe4e
fix
warn if using partial mode with application builder

559e89159
fix
Windows Node.js 20 prerendering failure (#26186)

2cbec36c7
perf
cache polyfills virtual module result

e06e95f73
perf
conditionally add Angular compiler plugin to polyfills bundling

61f409cbe
perf
disable ahead of time prerendering in vite dev-server

01ab16c5d
perf
fully avoid rebuild of component stylesheets when unchanged

99d9037ee
perf
only perform a server build when either prerendering, app-shell or ssr is enabled

c013a95e2
perf
only rebundle browser polyfills on explicit changes

e68a662bc
perf
only rebundle global scripts/styles on explicit changes

28d9ab88f
perf
only rebundle server polyfills on explicit changes

6d3942723
perf
optimize server or browser only dependencies once

2e8e9d802
perf
patch fetch to load assets from memory

49fe74e24
perf
reduce CLI loading times by removing critters from critical path

07e2120da
perf
remove JavaScript transformer from server polyfills bundling

c28475d30
perf
reuse esbuild generated output file hashes

59c22aa4c
perf
start SSR dependencies optimization before the first request

223a82f5f
perf
use incremental bundling for component styles in esbuild builders

4b67d2afd
perf
use single JS transformer instance during dev-server prebundling

@angular-devkit/schematics

Commit
Type
Description

f600bbc97
refactor
remove deprecated runExternalSchematicAsync and runSchematicAsync

@angular/pwa

Commit
Type
Description

81e4917ce
fix
replace Angular logos

@angular/ssr

Commit
Type
Description

dcf3fddff
feat
add performance profiler to CommonEngine

6224b0599
fix
correctly set config URL

8d033841d
fix
enable prerender and ssr for all build configuration

ee0991bed
fix
enable performance profiler option name

@ngtools/webpack

Commit
Type
Description

f43754570
feat
add automated preconnects for image domains

4fe03266a
fix
account for arrow function IIFE

828030da0
fix
account for styles specified as string literals and styleUrl

16428fc97
fix
adjust static scan to find image domains in standlone components

486becdbb
fix
remove setClassDebugInfo calls

89f21ac8c
fix
remove setClassMetadataAsync calls

8899fb9e3
fix
skip transforming empty inline styles in Webpack JIT compilations

v16.2.11
Compare Source
@angular-devkit/build-angular

Commit
Type
Description

e0e011fc4
build
update dependency vite to v4.5.1

v16.2.10
Compare Source
@angular-devkit/build-angular

Commit
Type
Description

bab3672cd
fix
normalize exclude path

v16.2.9
Compare Source
16.2.9 (2023-11-01)
@schematics/angular

Commit
Description

allow dash in selector before a number

@angular-devkit/schematics

Commit
Description

running external schematics with yarn pnp

v16.2.8
Compare Source
@angular/cli

Commit
Type
Description

44275601b
fix
remove the need to specify --migrate-only when --name is used during ng update

v16.2.7
Compare Source
@schematics/angular

Commit
Type
Description

f1a0c3361
fix
change Twitter logo to X

v16.2.6
Compare Source
@angular-devkit/build-angular

Commit
Type
Description

c6ea25626
fix
fully downlevel async/await when using vite dev-server with caching enabled

v16.2.5
Compare Source
[@angular-devk

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/compiler-cli
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\Mykola\AppData\Local\Temp\renovate\cache\others\npm\_logs\2023-12-27T15_59_34_273Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\Mykola\AppData\Local\Temp\renovate\cache\others\npm\_logs\2023-12-27T15_59_34_273Z-debug-0.log


Are functions allowed to start with a  non-capital letter?

Reported by dietmarw on 14 Sep 2011 14:15 UTC
According to Modelica.UsersGuide.Conventions.ModelicaCode.Naming it says in 2.:
"Class names start always with an upper case letter."
Does this also hold for functions in the MSL? If not we should add this exception to the User's Guide.
If yes, then we need to change quite a number of functions in the MSL.

Migrated-From: https://trac.modelica.org/Modelica/ticket/610

Modified by dietmarw on 31 Oct 2011 08:42 UTC

Modified by dietmarw on 2 Aug 2012 13:37 UTC

Comment by dietmarw on 17 Oct 2012 16:23 UTC
Since not handled at the last meeting rescheduling to the next one.

Comment by dietmarw on 20 Dec 2012 08:08 UTC
Since not handled at the last meeting rescheduling to the next one.

Comment by otter on 30 Mar 2013 09:46 UTC
In trunk of MSL (3.2.1) it is stated:
Class names start always with an upper case letter, with the exception of functions, that start with a lower case letter.
So, it seems that this ticket has been fixed previously.

Changelog removed by otter on 30 Mar 2013 09:46 UTC


Add custom errors

Default errors do not provide much information to the user about the error.

God 👏


Update NSFileProtection samples to set attributes on lock files

This issue is very similar to https://github.com/realm/realm-cocoa/issues/1260 .
Application tries to select data from Realm db when app fetch in background handler is called.
And I
disabled protection at all:
+ (void)initialize {
    NSError *error = nil;
    NSURL   *fileUrl = [NSURL fileURLWithPath:[RLMRealm defaultRealmPath]];

    [fileUrl setResourceValue:@YES forKey:NSURLIsExcludedFromBackupKey error:&error];

    [[NSFileManager defaultManager] setAttributes:@{NSFileProtectionKey:NSFileProtectionNone}
                                     ofItemAtPath:[RLMRealm defaultRealmPath]
                                            error:&error];
}

tried also with NSFileProtectionCompleteUntilFirstUserAuthentication but still the same.
What I'm doing wrong?

I tried to compare behaviour with https://github.com/marcoarment/FCModel and FCModel works fine even in background locked mode.

What sort of error are you seeing when realm crashes? It'd be really helpful if you could share a stack trace!

failed to open(). something related with permissions...

It seems like NSFileProtectionKey:NSFileProtectionNone needs to be applied to db log file or something else you guys use in addition to main db file.

Hi @kronik, you're right that you'll have to set the NSFileProtection file attributes for the lock and log files if you're writing to the realm in the background.
NSString *pathToRealmFile = [RLMRealm defaultRealmPath];
NSArray *allRealmRelatedFiles = @[
  pathToRealmFile,
  [pathToRealmFile<EMAIL_ADDRESS>  [pathToRealmFile<EMAIL_ADDRESS>  [pathToRealmFile<EMAIL_ADDRESS>  [pathToRealmFile<EMAIL_ADDRESS>];
for (NSString *path in allRealmRelatedFiles) {
  NSError *error = nil;
  [[NSFileManager defaultManager] setAttributes:@{NSFileProtectionKey: NSFileProtectionNone}
                                   ofItemAtPath:path
                                          error:&error];
}

We'll be updating our NSFileProtection related samples to reflect this as soon as possible.

That's what we'll do in the short term. However users really shouldn't have to know about all these potential ancillary files so we'll be adding a convenience method like setFileProtectionKeyForRealmsAtPath:. We'll track this in a more flexible RLMConfiguration in #1584.

Lets just do #1584 rather than adding a new global configuration method that we will remove soon after adding.

Similarly, do I need to delete all these five files explicitly if I want to delete a Realm?

If you're just deleting and recreating the Realm file, then no (barring bugs in Realm).

If not, will it take more disk space?

This is now documented in https://realm.io/docs/objc/latest/#encryption.


Update object-replication-overview.md

This is also capped for the destination storage account as well. For e.g. if there are more than 10 containers in source storage account, then only 10 of them can be mapped to destination storage account under a single replication policy. The rest need to be mapped to another destination storage account or accounts (capped to 10).
The destination account can be specified only once and only 10 rules (source and destination container mapping) can be created.
Proposing these changes to be clearer in documentation.
Kindly review

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

@Amrinder-Singh29 - Thanks for making that suggestion!
It's not exactly accurate to say that the number of source or destination containers in the storage account is capped to 10. It's the number of containers in the object replication policy that is limited. Each policy can have up to 10 replication rules, and each rule may have only one source and one destination container.
I've made a couple of updates to the doc to clarify this:
A source account can replicate to no more than two destination accounts, with one policy for each destination account. Similarly, an account may serve as the destination account for no more than two replication policies.
And:
Each replication rule defines a single source and destination container, and each source and destination container can be used in only one rule, meaning that a maximum of 10 source containers and 10 destination containers may participate in a single replication policy.
Those changes are now live. I'm going to close out your two pull requests.
#please-close


ImageDataGenerator Epoch comprised more than samples_per_epoch samples

UserWarning: Epoch comprised more than samples_per_epoch samples, which might affect learning results. Set samples_per_epoch correctly to avoid this warning.
I have around 20k training images,
        train_datagen = ImageDataGenerator(
                zoom_range=0.2,
                rotation_range=20,
            width_shift_range=0.1,
            height_shift_range=0.1,
                horizontal_flip=False)
...
...
model.fit_generator(
                train_datagen.flow(train_data,train_target,batch_size=40,shuffle=1),
                samples_per_epoch=2520,
                nb_epoch=400)

Ideally this should train with 2520 each epoch, however I gives 2507 on the 9th epoch every time.  It says " UserWarning: Epoch comprised more than samples_per_epoch samples, which might affect learning results. Set samples_per_epoch correctly to avoid this warning."

I had this warning and solved it by having samples_per_epoch a number that can be divided by batch_size
e.g. batch_size 32 ... and samples_per_epoch 256

@abdelrahmansaud is right, this warning occurs because the number of samples in your training set cannot be divided envenly. You have 20K training images, perhaps you should set samples_per_epoch to 2500.


Add  friction coefficient to InteractiveViewer

It would be nice if the kDrag parameter were public to change the scrolling behavior.
For example I've changed the kDrag var into a public parameter called scrollFriction.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

I agree with this change, it would be nice if the constant internal value could be changed. I think the solution is quite simple. Thanks for raising the PR!
I just added small nit comments regarding naming and documentation, overall looks good to me. Are you planning to add tests?

Thank you @alestiago! I can add some tests but first I have to look at the documentation what I have to do to add a test. It was my first PR.

I've added a test but I don't know what I should test exactly. That parameter is very random.

You could test that the amount of scroll differs when a value x is provided compared to when a value y is given.

I agree with @justinmc making use of a subclass of ScrollPhysics to achieve the effect is an interesting and more consistent solution with the framework and other Scrollables.
I'm curious about @Piinks insights and opinion on this PR to 👀

Thanks @Piinks.
So using ScrollPhysics is off the table, but does it make sense to allow customizing the entire Simulation (here)?  Or maybe that would still be far too complicated and we should just stick with the coefficient?

does it make sense to allow customizing the entire Simulation (here)? Or maybe that would still be far too complicated and we should just stick with the coefficient?

@codeforce-dev is there an open issue that this is seeking to resolve? It would be very helpful in answering these questions and better understanding the request.

The coefficient would be the simplest way to optimize the "scrolling" behaviour for some purposes. A more complex solution is not necessary. For example, pdf_render uses InterativeViewer to handle the user interaction. But in my opinion, the default drag behaviour with a value of 0.0000135 feels not good for that purpose.
FrictionCoefficient
Screen 1 = 0.0000135 | Screen 2 = 0.01

Hi @codeforce-dev, would you like to address the outstanding comments from @justinmc so this can land? Thanks!


No menuoption in treeview on atom1.19.0

No menuoption in treeview on atom1.19.0
hotfix https://github.com/yongkangchen/remote-sync/issues/388#issuecomment-302121984 not working, please, help me!

The fix described here also works with versions 1.18 and 1.19 of Atom: #388

Sorry. "v1.19.5" no menuoption too. Version package is "remote-sync 4.15"

I've created a pull request for this issue: https://github.com/yongkangchen/remote-sync/pull/438
If you want to fix it manually, then open remote-sync/menus/context.cson and change the following:
'atom-text-editor, .tree-view .full-menu .file' to '.entries.list-tree .file.entry.list-item'
and
'.tree-view .full-menu .header.list-item' to '.entries.list-tree .header.list-item, .entries.list-tree .directory.entry.list-nested-item.collapsed'

On closer inspection, it appears that the changes made to resolve the issue in Atom 1.17 have been reverted to what they were before this commit: https://github.com/yongkangchen/remote-sync/pull/400
Those selectors seem to still work, so by all means use them instead of my pull request, but please use either.

This has now been merged and a patch released... https://github.com/yongkangchen/remote-sync/commit/3432d5287fa035dea822e7a7599bab62454cdf69


Add appView event and update subscription event

This requires a new version to be released. Can you do it?

Yes. I'll do it after merging this PR. I also need to update the changelog with the latest changes.


Make Augur more human

Problem:
Augur today doesn't do a good job of revealing the humans that use the protocol to create, trade and report on markets. As a result it feels like an isolated and unsocial place. Humans are by nature social. In order to create a product people can form a connection with we need to introduce features that address this problem.
Ideas:

Usernames
User profiles
Leaderboard of top traders
User success stories "@Joey made 10ETH on his market 'xyz'"
Chat/market commenting (#503)
Reactions
Follow users trading activity

@cillianhunter0 -- Let's move this into the product ideas list in Wrike since product is working out of that.


Web app deployed via NodeJS to Azure but no permission to view

Repro steps.

Project built successfully on my VS Code but failed on Azure deployment
Microsoft Visual Studio Code version 1.39.2

Project structures.

https://github.com/hoyeehong/TaskListApp.git

The log/error given by the failure.

Tried to access the web app on Azure but gotten this: "You do not have permission to view this directory or page."

Debug your Azure website remotely.

https://tasklistapp1.azurewebsites.net/

what is the  framework required to run this type of application?  yarn?  My apology as I ma not familiar with this.  Linux or Windows support only or both?

Hi @suwatch, yarn or npm.  I think Windows.

I meant to run .. not to deploy.  So it is a nodejs application (since you mentioned npm).

Yes its a nodejs application, you may use yarn start:server or yarn start:client to run.

For nodejs, you need server.js file - see this https://github.com/KuduApps/NodeHelloWithNpm for example.  I am afraid the webapp is unaware of how to run yarn.

He has a backend/server.js, let's see if we can get things to install with just npm first. If that works, I can point you to creating your own deployment file to install yarn.
You want to set your port to the value of process.env.PORT, not process.env.API_PORT. This is the env variable Azure uses to pass your application the info for the named pipe it will use (rather than a port).
Next, the auto deployment script pulls some info from your package.json file, but it can be a little funny about a nested start file.
in package.json, under "scripts", add "start":"node ./backend/server.js". and set "main" to ./backend/server.js.
The last bit might be a bit more tricky: It looks like you have been using nodemon to run the backend while you have been developing. It also looks like nodemon has been using babel to transpile your js into the form that actually gets executed.
you do have nodemon listed as a main dependency, rather than a dev dependency. Normally nodemon is only used on the development side, but you need it so that it can apply babel. we can try to use nodemon to get you up and running, but I would recommend looking into something like webpack for transpiling your js code before you upload it to the app service, but one thing at a time...
last but not least, try hard not to commit "keys" to the repository, like you have in backend/server.js.
I recommend you set these values with more environment variables. In the final app service, you can change the environment variables in the Application Settings. For your local development, I recommend adding dotenv to your project, as well as a .gitignore file that excludes *.env from the repository.
This means: when someone pulls your project from the repo, they must either copy or make a .env file to get the secrets into the application, but the keys will be safer.
https://medium.com/the-node-js-collection/making-your-node-js-work-everywhere-with-environment-variables-2da8cdf6e786

Thanks @carson-nr for your great advice! Now it seems like I am able to deploy to Azure as per your recommendations. However, I have amended the port value and package.json file and tried to deploy to Azure just for testing and I have gotten an issue as per below.
So I am wonder if, like you had mentioned with regards to setting environment variables, is the root cause for this issue?

Sorry for the delayed response.
That actually looks like a valid error message from Express. I would verify that you have a route defined for the "root"
If that's not the case, I'd just make sure that app.get('port') === process.env.PORT before you tell the server to begin listening for requests.
Yes, Azure uses the Application Setting (Environment Variable) PORT to provide the required info to connect to incoming requests.
NOTE: azure defines this as a string naming a pipe, rather than a number defining an actual port. I can't speak for all frameworks, but at the very least express.js will happily handle this. In my experience, the only time this has produced an error is when we had an express app checking data types, and we told it that PORT must always be a number.
Also, just to confirm: on your local working copy, with nothing running, are you able to start the project using the "node" command, or do you still require nodemon?

Thanks for responding.
Yes, I am able to start the project with just the 'node' command.

Ok good deal, is your master branch currently up to date?
If not, I recommend creating a new branch, and pushing your current project state into that branch so I can take a look.

I'm encountering what appears to be the same issue trying to deploy a minimal NodeJS application to Web App on Windows using the Quick Start at https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-nodejs. The application runs local just fine, but is giving "Directory Listing Denied" error after deployed using the VS Code Azure App Service extension. I'm not seeing a "PORT" environment in Kudu.

@kyleburnsdev
The "PORT" env variable/application setting isn't exposed in the portal, but if you just console.log(process.env.PORT) You should get a string identifying the pipe to use rather than the port. Fortunately Express based applications (probably the http/s modules as well, but not sure) are able to use this format without modification.

@hoyeehong, how are u installing the backend dependencies like mongoose, Morgan etc. During deployment? I would expect a package.json under backend folder to be used by kudu deploy.cmd?!

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


StatementVisitor not visisting the whole query

Describe the bug
I want to count the amount of subqueries (i.e., Delete, Select, ...) in a parsed query. However, the visitor seems to only visit the first element which is inconsistent with my understanding of the visitor pattern.
To Reproduce
Visitor Implementation (in Scala):
class SubqueryCounterVisitor extends StatementVisitorAdapter {
  var counter = 0
  override def visit(delete: Select): Unit = {
    counter += 1
  }
  override def visit(delete: Delete): Unit = {
    counter += 1
  }
  override def visit(delete: Update): Unit = {
    counter += 1
  }
  override def visit(delete: Insert): Unit = {
    counter += 1
  }
}

Visitor usage
val query1 = "SELECT column FROM ttest"
val query2 = "SELECT column FROM ttest WHERE elem IN (SELECT id FROM etest)"
val visitor1 = new SubqueryCounterVisitor()
val visitor2 = new SubqueryCounterVisitor()
CCJSqlParserUtil.parse(query1).accept(visitor1)
CCJSqlParserUtil.parse(query2).accept(visitor2)
println(visitor1.counter)
println(visitor2.counter)

Expected behavior
Both visitor have a counter of 1 but the second should have a counter of visitor 2.

As far as I understand it (I will look into the code for details later), SubSelect != Select Statement.
You would need to add the particular SubSelect Expression and SubSelect FromItem to your visitor.

This subselect is not a statement in itself. The statementvisitor only gets called for the so called primary statement (select column from ...).
In this example I use the table name finder because it has a nearly complete visitor implementation:
String sql = "SELECT column FROM ttest WHERE elem IN (SELECT id FROM etest)";

Statement statement = CCJSqlParserUtil.parse(sql);

TablesNamesFinder tablesNamesFinder = new TablesNamesFinder() {
    @Override
    public void visit(SubSelect subSelect) {
        System.out.println("subselect " + subSelect.toString());
        super.visit(subSelect);
    }

    @Override
    public void visit(Select select) {
        System.out.println("select " + select.toString());
        super.visit(select);
    }

};
tablesNamesFinder.getTableList(statement);

This delivers:
select SELECT column FROM ttest WHERE elem IN (SELECT id FROM etest)
subselect (SELECT id FROM etest)

You get the idea.

Can we close this as answered and explained?


Remove old-stye DBS emulators

Last commit is just a squash. @ticoann please review and merge. This eliminates the old DBS emulator entirely.

And the Pylint stuff is as good as I can get it. :-)

Thanks Eric


CAMEL-8371 Improvements and enhancements to camel-docker component

Improvements and enhancements to camel-docker component and updated to support docker-java 0.10.5

Thanks we got it, do you mind closing this PR


chore(main): release 0.1.1

User description

:robot: I have created a release beep boop
0.1.1 (2024-08-19)
✨ New Features

add code metadata to FastAPI entrypoints (#15) (89c88f4)
improve support for DD decorator (#13) (f16106a)

This PR was generated with Release Please. See documentation.

Generated description

This pull request updates the project version to 0.1.1, reflecting new features added to the FastAPI entrypoints and improved support for the DD decorator. The changes include updates to the version in the manifest and project configuration files, as well as an updated changelog.
Topics
Update project version to 0.1.1

.release-please-manifest.json
pyproject.toml

Update changelog with new features

CHANGELOG.md

:robot: Created releases:

v0.1.1
:sunflower:


[FLINK-20695][ha] Clean up ha data for job if globally terminated

What is the purpose of the change
At the moment Flink only cleans up the ha data (e.g. K8s ConfigMaps, or
Zookeeper nodes) when shutting down the cluster. This is not enough for
a long running session cluster to which you submit multiple jobs. In
this change, we clean up the data for a particular job if it reaches a
globally terminal state.
Brief change log

Clean up the ha data for a particular job if it reaches a globally terminal state.

Verifying this change
This change added tests and can be verified as follows:

Added test that validates that the ha data for a particular job is properly deleted.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@tillrohrmann PTAL.

I see, they are currently being taken care of by the CompletedCheckpointStore and the CheckpointIDCounter when they are being shut down.

I've checked the /checkpoint-counter and /checkpoints paths for the particular job has be properly deleted.

Then let's also make sure that we also delete the checkpoints and checkpoint-id-counter paths when calling ZooKeeperHaServices.internalCleanupJobData().

Yes, with the new structure, it's always guaranteed.

Also w/o this change, we should include these paths (/checkpoint-counter and /checkpoints) to be deleted as well. This makes the internalCleanupJobData(JobID) self-contained and independent of the what the other components do before this method is called.

Agree, I'll add it later.

@tillrohrmann i've add the delete of  /checkpoint-counter and /checkpoints the internalCleanupJobData of the ZooKeeperHaServices.

Thanks @tillrohrmann , really appreciate for your help.

@tillrohrmann looks like the failed case has nothing to do with this PR? It passed when i run it locally.

Hi @tillrohrmann, i just rebased this PR to the newest master to try to pass the AZP.

@flinkbot run azure

@flinkbot run azure

Hi @tillrohrmann , would you merge it ? Just remind you to confirm you didn't miss it, :) thanks again.

Yes, I will merge it now. Sorry, we had a long weekend with a public holiday in Germany so I was a bit out of office.

haha, sounds good :).
Thanks


Workaround to use only Qt5.7 API

Here is a workaround for #3244. This remove the use of tryTake in a lazy way.
If we want to create a bug fix release, I suggest to only apply that in the branch, and update the supported Qt version on the master branch.
I still have to setup a Qt5.7 env to check it manually.

Changelog:

Fix use of QThreadPool.tryTake to be Qt5.7 complient

I did check it. Sounds good.

Yes good idea.


Upgrade JTS to org.locationtech v1.16.0 (geotools >= 20)

Upgrade JTS to org.locationtech v1.16.0 (geotools >= 20)
Remove dependency of "org.mapfish.geo:mapfish-geo-lib:1.2.0"

http://osgeo-org.1560.x6.nabble.com/Possible-bug-with-printing-plugin-td5387582.html
https://groups.google.com/forum/#!topic/mapfish-print-users/chiSYWZFmtk

@pvalsecc ,
In the last version (2.1.3) you told the tests are not ok, so why maintain it?
https://github.com/mapfish/mapfish-print/issues/143#issuecomment-428835765
Can i remove those tests on this Pull Request too? I think the print-lib become "cleaner". :)

@pvalsecc/@sbrunner, can you make the 2.1.4 release?
After that i can do a PR on Geoserver to use this new version.
Thanks

Hi @tixvieira,
Thanks for being the last maintainer of V2!
I've made the 2.1.4 release. It will be eventually pushed by nexus to mvnrepository.
CU

You're welcome!
Geoserver issue:
https://osgeo-org.atlassian.net/browse/GEOS-9051

Hi @tixvieira,
Thanks for being the last maintainer of V2!
I've made the 2.1.4 release. It will be eventually pushed by nexus to mvnrepository.
CU

It doesn't appear to be released on maven yet.
https://mvnrepository.com/artifact/org.mapfish.print/print-lib
Do you know what is the status of ir? Or how many time it will take to get there?
Thanks

It takes ages to be re-indexed by them. The files are already there, though:
http://central.maven.org/maven2/org/mapfish/print/print-lib/2.1.4/

:)
Thank you very much!


Bring in onnxruntime-1.17 and openblas-0.26

@aressem @toregge @arnej27959 PR

Also need to update the runtime dependencies in this file for onnxruntime and openblas.


JSONDecodeError: Expecting value: line 1 column 1 (char 0)

When I run test_hashtag.py I get this error:
File "/home/usr/python_tiktok_venv_3/lib/python3.7/site-packages/PyTikTokAPI-0.0.4-py3.7.egg/TikTokAPI/utils.py", line 43, in get_req_json
print(r.json())
File "/home/usr/python_tiktok_venv_3/lib/python3.7/site-packages/requests-2.24.0-py3.7.egg/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
It happened even when I tried to perform the test from repl.it.
How can I handle it?

The status_code of the request is 403. Does it mean that i exceeded request?
How I can handle it?

Hi, same problem, without exceeded requests ...

@tommeuh  you need to put you cookie into of Header

So... how to fix it? how to put the cookie in the header in the wrapping tiktok api?

Same problem here also.

I try with python 3.7 same Json error   File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Released a new version.
Adapted to all changes from Tiktok.
Please run
pip install PyTikTokAPI --upgrade

Also please checkout new README to add your cookie parameters

Released a new version.
Adapted to all changes from Tiktok.
Please run
pip install PyTikTokAPI --upgrade

Also please checkout new README to add your cookie parameters

Same error after fresh installation!!


Making one-time pledges doesn't work

Describe the bug
When selecting "One-Time" frequency for pledges, the form fails to submit.
To Reproduce
Steps to reproduce the behavior:

Search for a non-existent project
Click on 'Make a pledge'
Fill out the form, specifying "One-Time" frequency
Submit form
See error 'Error: GraphQL error: Validation error'

@piamancini No, I logged with<EMAIL_ADDRESS>and tried both company account (https://opencollective.com/drivenet-inc) and my personal one (https://opencollective.com/onyxmast3r).

ok thanks. we'll look into it.

@onyxmaster The fix for this has been deployed this morning. Please let me know if you're still encountering an issue.


Interpolate ki/kp for steering PID loop

Very much needed for the Volt port: car ping-pongs with low kp on high speeds, and the loop is unstable with high kp on low speeds.
Also, removes "number or array?" logic from PIController, now that all the callers use interpolation for ki/kp.

@vntarasov this is a good generalization (we are already doing it for long control). I made a minor comment, other than that it looks ok.

Will this help with ping-ponging in general, or just for the Volt? I'm seeing high rates of ping-pong at higher speeds >~60mph.

@mwkrieger I don't have data for other cars. But I do believe openpilot needs a self-tuning PID loop for steering, parameterized by speed.

@rbiasini , Greetings to you! Will I need to compile the file again, after modifying car.capnp? Thanks!

@vntarasov , one last change so that the Python linter check will not fail. Can you fix this?
Pyflakes found errors in the code. Please fix and try again
selfdrive/controls/lib/pid.py:3: 'numbers' imported but unused
Exited with code 1

I've already patched this PR in our internal repo, so after this change I can go ahead and merge it.

@rbiasini, done, thanks!


Finalize the March 2018 release in GitHub

Draft release: https://github.com/garys-esri/geodev-dc-labs/releases/tag/untagged-5b807f9503a01a58f6f1
Tag it as v2018.03 and release it when all other issues are completed.

Release: https://github.com/garys-esri/geodev-dc-labs/releases/tag/v2018.03
Pull request: #145


Raspberry pi agent

Did an ARM version of the docker image in order to integrate AzureDevop build/releases pipelines on personal project.
Tested successfully on a raspberry model 3 with multiple workloads.

@TingluoHuang @juliobbv Can you provide some feedback here? Is the recent ARM support in the agent ready to also ship as a Docker container?

@TingluoHuang @juliobbv @dakale : Some feedback to share?


Build the pydantic model for airbnb and also made the route for airbnb and put the model in a file called models

Richard... hey this looks good to me [as far as I can follow it :)]... I think I have a similar question here as I had elsewhere.  That is how does the item parameter get passed into the predict function?  Or does it get instantiated as a new object that gets updated.
@router.post('/predict')
async def predict(item: Item):
   # ...

The Pydanctic Model is defined above. For the "/airbnb" router is defined above this is how you define the request body that is sent to the server.

Stopping the pull request and will re-push the airbnb stuff back up after doing a pull request.


Fix compiler warnings

Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: " to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.
--> contracts/testing/MedianOracle.sol
Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: " to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.
--> contracts/testing/TellorProvider.sol

fixed


Additional Files are shown

Additional Files should not be shown in the widget because they are not real releases of the mod.
This seems to be a problem with my project, because EE3 is not having the same issue.
Lastest File: http://minecraft.curseforge.com/projects/tickratechanger/files/2250609
Widget: http://widget.mcf.li/mc-mods/minecraft/230233-tickratechanger
EE3 Lastest File: http://minecraft.curseforge.com/projects/ee3/files/2239230
EE3 Widget: http://widget.mcf.li/mc-mods/minecraft/ee3

The widget doesn't pull in files from curseforge.com, instead it pulls from curse.com because that is the "consumer" portion of CurseForge -- or at least, that's my understanding. The curse.com page for your mod will display any file marked as beta or release (no alpha files), and the widget will default to displaying files marked as release with the option to include beta files (if you specify beta in the version parameter).
If you visit the curse.com page for your mod you'll see that the file you're seeing in the widget "v1.0.2c DEV" is marked as a release, which is why the widget is defaulting to it. The reason this isn't happening for EE3 is because the parent file is marked as beta, whereas your parent file is marked as a release.
The problem seems to be a bug with curse.com, and there's no data exposed on the curse.com page for your mod that I can access to determine automatically if a file is an "additional" file to a release. I'll take a look around and see what I can do but unfortunately, for now, it seems that you can't attach beta files to a release (as "additional files") without this happening.
As a potential temporary "solution", if you're using the widget, you can override the file selection by specifying a file ID, although this won't help for third parties using the widget API to retrieve information about your mod.

For a workaround, I had to mark my files as alpha.
Thanks for your fast reply :)

Great! That's not ideal but it's better than my suggested workaround. I'll file a bug with the curse.com team about this, in the mean time I'll make a note about this in case anybody else has problems :) Thank you for letting me know about the workaround.


[C++][FS][Azure] Add support for azure-storage-blobs-cpp 12.12.0

Describe the enhancement requested
Our bundled Azure SDK for C++ is azure-core_1.10.3 but conda uses more recent version:
https://github.com/ursacomputing/crossbow/actions/runs/10391631674/job/28774978364#step:7:933
azure-core-cpp            1.13.0               h935415a_0    conda-forge
azure-identity-cpp        1.9.0                hd126650_0    conda-forge
azure-storage-blobs-cpp   12.12.0              hd2e3451_0    conda-forge
azure-storage-common-cpp  12.7.0               h10ac4d7_1    conda-forge
azure-storage-files-datalake-cpp 12.11.0              h325d260_1    conda-forge

It causes test failures:
https://github.com/ursacomputing/crossbow/actions/runs/10391631674/job/28774978364#step:7:13273
C++ exception with description "400 The API version 2024-08-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.
The API version 2024-08-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.

Component(s)
C++

Would it be enough to pass --skipApiVersionCheck? or does Azure really change its HTTP API every so often?

Yes. --skipApiVersionCheck is enough.
In general, using the latest dependencies are good. So let's update our bundled Azure SDK for C++ too.

Issue resolved by pull request 43723
https://github.com/apache/arrow/pull/43723


modifies workflow to update search.json for searching docs

Well, I tried many things, but this is the best and simplest solution I came up with..!
If its fine then I can update this in docs repo too!

One simple solution is to keep a separate copy of the index file for each site, i.e.:
* `search_local.json`: (original, unmerged) search index for each site

* `search.json`: merged search index from all sites.

We can store the original index in gh-pages but still, it will only search from the file named search.json and there is no way to add another index!

we still have one issue as this does not solve the issue for the docs site as it still cannot search the main site content!
I tried to do the same process but it searches URLs from turinglang.org/docs instead of directly from turinglang.org!
I also tried giving absolute URLs to main sites URLs in the merged docs search index like this:
this is merged - https://github.com/shravanngoswamii/docs/blob/gh-pages/search.json
{
"objectID": "https://turinglang.org/news/posts/2022-02-17-gsoc/index.html",
"href": "https://turinglang.org/news/posts/2022-02-17-gsoc/index.html",
"title": "Google Summer of Code 2022",
"section": "",
"text": "content........"
},
but even after doing this, it searches like https://turinglang.org/docs/https://turinglang.org/news/posts/2022-02-17-gsoc/index.html
I asked for help in Quarto's community  - https://github.com/quarto-dev/quarto-cli/discussions/9804#discussioncomment-9612399
for now, we can merge this PR! Only blogs are in the original search index of the main site! so now users can search docs/tutorials from anywhere and only blogs cannot be searched from the docs site which is not a big deal I guess! I will look for more solutions!


Feature request

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Please add more details and feel free to reopen


WIP: feature:  support for pages for an specific locale

I propose a new feature, to enable users to have fully customized pages for specific locales. This can be very useful for content pages, that using translation tools will not be beneficial for them, say FAQ or about-us.
Note that using some tricks, like creating a directory for the locale (like what is done in basic fixture) will not always work, especially in scenarios including nested pages.
Using this feature, localized page 'sth.vue' can be overridden for a specific locale 'xx', using the file 'sth.xx.vue' near the original file.

Hmm, I suppose I'm not entirely against it but does it work correctly with dynamic routes like _foo.vue or _.vue? I guess not?


how to use in window platform

When I use this package in window, I got this error. How I fix ?
CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
Cannot find source file:
smart_bluetooth_pos_printer_plugin.cpp

Hello, I ran into the same problem, were you able to solve it?

Same problem here!
CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
  Cannot find source file:

    smart_bluetooth_pos_printer_plugin.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
  No SOURCES given to target: smart_bluetooth_pos_printer_plugin

CMake Generate step failed.  Build files cannot be regenerated correctly.
Building Windows application...                                     6,2s
Error: Unable to generate build files


Remove wgt,xpk config from suite.json

Remove wgt, xpk config from suite.json
Remove inst.xpk.py used for installing .xpk

https://crosswalk-project.org/jira/browse/XWALK-5273

LGTM