[Question] urldate not exported

Hi
for website references, the urldate does not get exported. Is there anything I need to activate for that? Should it happen automatically?

The issue type picker starts off with:

Export bug/enhancement/question
You appear to have found a bug in BBTs export, are proposing an enhancement to the exports, or have a question about exporting items

That would have brought you to

you have included an error-report ID here generated by reproducing the problem, selecting the problematic reference(s), right-clicking, and submitting an BBT error report from that popup menu, not from the Help menu.
you have included the actual output you got from exporting the items you sent in the debug log, not simplified fictional output or a description of the output, and a sample (not a description) of how you want it to look instead, again based on the actual items you selected in the previous step.

I really need these. Otherwise I'm just guessing at what your situation looks like.

Whoops. Sorry for picking the wrong category
I just figured it out myself. Thanks for the quick reply though

@elya5 Can you help everybody landing on this issue by letting us know how did you manage to add a urldate field?
I'm trying to set the urldate to the item.accessDate but no matter what I do, urldate never gets added

Most likely cause is that there's no url field in the entry. BBT doesn't
export the urldate field of there's no url. To get the urldate she
must have either added an URL to the zotero item, or added the urldate
with a postscript.
On Fri, 30 Oct 2020, 04:33 Felipe Castillo<EMAIL_ADDRESS>wrote:

@elya5 https://github.com/elya5 Can you help everybody landing on this
issue by letting us know how did you manage to add a urldate field?
I'm trying to set the urldate to the item.accessDate but no matter what I
do, urldate never gets added
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/retorquere/zotero-better-bibtex/issues/1645#issuecomment-719150834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABAIDGLI65UR5OXZULTXT3SNIXZNANCNFSM4RRV35NA
.

For me, I had to set the option to add the URLs to the export in the "automatic export" section.

And that meant the export has an url, so urldate gets output.


Crashes right after i try to run it.

It said to "Contact the developer with the information below".
System.IO.FileFormatException: The image format is unrecognized. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x88982F07
--- End of inner exception stack trace ---
at System.Windows.Media.PixelFormat.GetPixelFormat(SafeMILHandle bitmapSource)
at System.Windows.Media.Imaging.BitmapSource.UpdateCachedSettings()
at System.Windows.Media.Imaging.BitmapSource.set_WicSourceHandle(BitmapSourceSafeMILHandle value)
at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapSource.CompleteDelayedCreation()
at System.Windows.Media.Imaging.BitmapSource.get_DpiX()
at System.Windows.Media.Imaging.BitmapSource.GetWidthInternal()
at System.Windows.Media.Imaging.BitmapSource.get_Width()
at ThemeEditor.WPF.Markup.IconExtension.b__10_0(BitmapFrame f) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\Markup\IconExtension.cs:line 42
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at ThemeEditor.WPF.Markup.IconExtension.ProvideValue(IServiceProvider serviceProvider) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\Markup\IconExtension.cs:line 42
at ThemeEditor.WPF.MainWindow.LoadTheme_PostExecute(LoadThemeResults result) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:line 188
at ThemeEditor.WPF.RelayCommandAsync`1.d__11.MoveNext() in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Happens when you open the editor, or load a theme?
Also which Operating System?

Hi,
I think that I have a similar issue. I start the program and after about 2 to 3 minutes it says that Usagi 3DS Theme Editor doesn't work right and is going to be closed.
I downloaded the zip file and always open ThemeEditor.WPF.exe.
I'm using Windows 10.
Thanks in advance :)


Feat/add info dialog permissions list

Codecov Report

Merging #34 into master will decrease coverage by 0.14%.
The diff coverage is 0.78%.

@@            Coverage Diff            @@
##           master     #34      +/-   ##
=========================================
- Coverage    1.47%   1.32%   -0.15%
=========================================
  Files          28      30       +2
  Lines         678     678
  Branches      180     176       -4
=========================================
- Hits           10       9       -1
- Misses        668     669       +1

Impacted Files
Coverage Δ

src/capabilities.tsx
0.00% <0.00%> (ø)

src/components/InfoDialog.tsx
0.00% <0.00%> (ø)

src/containers/AppBar.tsx
0.00% <0.00%> (ø)

src/containers/MyApp.tsx
0.00% <0.00%> (ø)

src/postMessageServer/methods/methodMapping.ts
0.00% <0.00%> (ø)

src/postMessageServer/postMessageServer.ts
0.00% <0.00%> (ø)

src/machines/appMachine.tsx
3.19% <2.77%> (-1.75%)
:arrow_down:

Continue to review full report at Codecov.

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

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

1.2.0
GitHub release
1.2.0

Your semantic-release bot :package::rocket:


Display puzzle name and answer editing buttons on hover.

Addresses #667 and #280 by making the editing buttons appear only on hover. This significantly reduces the UI clutter.
https://github.com/cardinalitypuzzles/cardboard/assets/342514/bb3419f4-89c1-4104-87fb-470d634aadc7

I think for css in general, it might be good to use tailwind.


more dev reports infrastructure

this PR

adds a new folder tools/dev_reports/
moves the script from #11975 into that folder
adds a Makefile there
adds a .jq script that gets unacknowledged bug reports

I know @larsoner prefers that we use Python / avoid JQ so it's easier for others to maintain. Since I had already written the script I figured I'd open the PR, my thinking is that (1) someone can translate it if they want to; (2) it's short and IMO fairly easy to follow even if not familiar with JQ; (3) one nice feature is you don't have to deal with access tokens / env variables because gh handles authentication for you (on each machine you auth once via a browser window and your normal GitHub credentials)
If this is still a non-starter LMK and I'll take the time to translate it to Python.

I'm fine with a mix of whatever works, thanks @drammock !


Add ability to specify a default value for environment variable in the yaml file

[x] Feature request

Current behavior
right now if you have such a config yaml file for example:
logs:
  colorize: ${LOGS_COLORIZE}

and have a default value in the class
export default class LoggerConfig {
  @IsBoolean()
  @Allow()
  colorize = true;
}

you will get an error when the app is starting
Error: Environment variable is not set for variable name: 'LOGS_COLORIZE'

Expected behavior
It will be nice to have the ability to specify a default value in the file itself. Like this:
logs:
  colorize: ${LOGS_COLORIZE:true}

What is the motivation/use case for changing the behavior?
it just will be convenient, I've seen this behavior in all config libs in java and .net.

Closed by #447


validate only files changed are in new_reviews

Review PRs coming in should only modify new_reviews, else don't automate workflow and consider the PR

Can you assign this issue to me, please?
I will resolve it.


Incorrect error for bad argument of a DOM type

declare var ohno: new () => Node;
declare function ff(t: Node): void;
ff(ohno)

Expected behavior:
Error: "Argument of type 'new () => Node' is not assignable to parameter of type 'Node'
Actual behavior:
Type 'new () => Node' is not assignable to type 'Node'.
Only seems to repro when both the source and target types are in the DOM.

Could be caused by #27016 or #27013?

Probably the latter - it'd be great if these baselines included related error spans.

Yeah, definitely the latter. As is, an elaboration overrides the default error message, even if the elaboration occurs right at the top level. It's fixable, if we'd like to fix it.


Handle rummager and email-alert-api requests asynchronously in specialist-publisher-rebuild

https://trello.com/c/ITpVoqdD/141-offload-search-and-email-alert-requests-to-a-message-queue-when-publishing-medium
This is one of four pull requests to make the handling of rummagerand email-alert-api requests asynchronous in specialist publisher rebuild. We are making this change so that the application is more resilient to network and wider-system problems. Here are all the pull requests:

https://github.com/alphagov/specialist-publisher-rebuild/pull/792
https://github.com/alphagov/govuk-puppet/pull/4478 (this one)
https://github.com/alphagov/govuk-app-deployment/pull/16
https://github.gds/gds/development/pull/323

@elliotcm I have addressed comments. Please could you take another look? Thanks.

👍 Ready to merge when you're ready to merge.


GC-1111_allow-multiple-lines-in-ai-input-v1

…ut element
💬 Description
What the PR does with as much context as possible. All the changes in your PR should be described here.
🔗 Links
Links that relate to the PR (Trello, Figma etc.)
📹 GIF (optional)
A short GIF of the changes in action.
🚪 Start Points
Where is a good place to start the review? If there are multiple changes it may be worth listing multiple files.
👫 Related PRs (optional)
Any PRs that relate to the changes.

This was just an example of a bad approach if anyone asks!


Main Page of Doxygen Needs to be more robust introduction

Content defined here:
contracts/eoslib/mainpage.md

Wrote the outline and pushed to docs-416 moving to another issue before I call it a night.

Crowdsale related documentation cannot exist unless it is behind a purchase agreement.

Collecting the last bits and pieces on this, opened pull request for review.


Document ManifoldSDK

Create some documentation for the manifold sdk so that developers know how to use what we've created

I have created the documentation for the manifold sdk and I am awaiting review.

Jace Reviewed with me and we are now closing this issue.


Always correctly reset state when drag is cancelled

What changed?
Move code for resetting of drag preview states into cancellation handling, so it is always executed.
Fixes #493

@VacuumBreather your changes have been merged, thanks for your contribution 👍


Parsing Chart.yaml ?

Hi,
Your project is really geat :+1:
However, why do we have to provide a doc.yaml which contains a chart block ?
The Chart.yaml could be used as an input, no ?

Some fields in doc.yaml don't have a correspondence in Chart.yaml, e.g. doc.yaml's repository.url/name. But I think the Chart.yaml's annotations could be used for this, something like:
apiVersion: v2
name: test
description: A Helm chart for deploying the test app on Kubernetes.
type: application
version: 1.0.0
annotations:
  chart-doc-gen.appscode.com/repository-url: https://charts.appscode.com/stable/
  chart-doc-gen.appscode.com/repository-name: appscode
  # ...

With some reasonable defaults if the annotations aren't used?


Add structs for commonly used storage formats

add Array2D struct for storing 2D rectangular data
add AdjacencyList struct for storing 2D data with a different number of items in each row

Short examples added. I think this is ready for merging now


Tip appears even when not tapping the (i) icon

Steps to reproduce:

Start uploading an image
At the caption step, enter a short caption such as "Obama in Sofia"
Tap just a few pixels at the right of the word "Sofia"
Problem: Tooltip appears
Problem2: Sometimes it seems to happen when coming back from another field, even when clicking on "Obama" for instance.

It is annoying when I just want to put the focus on that line.
The "description" field does not seem to have that problem.

Thanks for fixing, it really improves my life!


1512 modify claim page texts

Description
Parent branch 1450_1432_User_should_see_new_claim_screen
settings for phase0 and phase1 need set to env REACT_APP_ENV_PHASE_ZERO
REACT_APP_ENV_PHASE_ZERO = true - phase0
REACT_APP_ENV_PHASE_ZERO = false - phase1
Modify Claim page texts
About #1512
How Has This Been Tested?
Go to Claim screen
Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[x] I have added screenshots related to my pull request ( for frontend tasks)
[x] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes

Phase - 0

Phase - 1

Please, also provide how to configure switching between phases (in the task definition)

Description
Parent branch 1450_1432_User_should_see_new_claim_screen
Modify Claim page texts
About #1512
How Has This Been Tested?
Go to Claim screen
Checklist:

[x]  PR title matches follow: (Feature|Bug|Chore) Task Name
[x]  My code follows the style guidelines of this project
[x]  I have followed all the instructions described in the initial task (check Definitions of Done)
[x]  I have performed a self-review of my own code
[x]  My changes generate no new warnings
[x]  I have added tests that prove my fix is effective or that my feature works
[x]  New and existing unit tests pass locally with my changes
[x]  I have added reference to a related issue in the repository
[x]  I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[x]  I have added screenshots related to my pull request ( for frontend tasks)
[x]  I have pasted a gif showing the feature.
[x]  @mentions of the person or team responsible for reviewing proposed changes

Phase - 0

Phase - 1

@serdiukov-o-nordwhale

Please, also provide how to configure switching between phases (in the task definition)

done, added to description

@StanislavShevchenko Couple of thinks:

The white line at the bottom of the background is not in the correct width.
The background should be lowered by 2 pixels so the color switch will look seamless.
Is the rectangle with the daily G$ responsive and will change according to the amount? if not it should be as per design.
the font text is not the correct one.

If it's a work in progress then forget about it :)

@LiavGut

The white line at the bottom of the background is not in the correct width.

This is the line of background from the SVG, we do not control it. In reality, it looks more

The background should be lowered by 2 pixels so the color switch will look seamless.

done

Is the rectangle with the daily G$ responsive and will change according to the amount? if not it should be as per design.

responsive and will change according to the amount

the font text is not the correct one.

done

Thanks!

Phase 0

Phase 1


Fixed various date parsing issues for card and cardbill

Fixed date parsing for card and cardbill where the program crashes when detected d/M/yyyy.
Edited printing and error messages to display MM/yyyy for card bill date instead of yyyy/MM.

Codecov Report

Merging #230 into master will decrease coverage by 0.04%.
The diff coverage is 18.18%.

@@             Coverage Diff              @@
##             master     #230      +/-   ##
============================================
- Coverage     29.57%   29.53%   -0.05%
  Complexity      570      570
============================================
  Files           127      127
  Lines          5968     5990      +22
  Branches        710      710
============================================
+ Hits           1765     1769       +4
- Misses         4085     4103      +18
  Partials        118      118

Impacted Files
Coverage Δ
Complexity Δ

...ney/logic/command/cardbill/AddCardBillCommand.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../owlmoney/logic/parser/cardbill/ParseCardBill.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

src/main/java/owlmoney/model/card/Card.java
55.43% <62.5%> (-0.19%)
28 <0> (ø)

src/main/java/owlmoney/model/profile/Profile.java
23.98% <9.09%> (-0.14%)
27 <1> (ø)

Continue to review full report at Codecov.

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


Using an image from asset editor adds it back to asset editor

Describe the bug
When I was using an image from my asset editor to spawn ever second, I saw it got added back to the asset editor.
To Reproduce
Steps to reproduce the behavior:

Make a new sprite, name it to "cool girl"
Make an On Game Update - make a new sprite and select the image from the asset editor
Go to the Asset Editor tab again
There's two cool girls!

My project:
https://makecode.com/_WWq39YgduTim
Screenshots

Desktop (please complete the following information):

OS: ChromeOS
Browser Chrome 85

(other notes)
Images get added to my asset editor even if I don't name them. Not sure if this is intended

Caused by https://github.com/microsoft/pxt-arcade/issues/2483

Resolving as duplicate for now.


Can we / shouldn't we use Dart VM (GC) to auto manage non-Dart objects?

Hi thanks for the Dart language, the Flutter framework, and the ecosystem! I wonder, in 2023, should or should not we use Dart VM (GC) to manage non-Dart objects? It seems that, if I understand correctly, there are two conflicting view of points as follows. Please correct me if I am wrong!
Positive
The https://github.com/dart-lang/native/tree/main/pkgs/jnigen seems to manage Java objects automatically, and does not require a manual call of dispose. It uses the native finalizer to auto dispose the object. In the example, it seems that JObjects are created, and no manual dispose is called (but rely on Dart VM's GC to auto clear it).
P.S. https://pyo3.rs/ (the binding between Rust and Python) seems to also let Python heap to manage the Rust objects as well, if I understand correctly. But that is a different story, since people do not use Python for mobile apps (which has quite limited memory).
Negative
A long time ago, there were some discussions, and @dnfield said in the comments:

I would strongly discourage anyone from using GC to manage non-Dart objects. If you want to manage native object lifetimes, have an explicit method like close or dispose to release native resources. GC might not ever run, or run too late.

(there are some context to read around that comment as well)
Question
Therefore, I wonder whether in 2023 we can / should do that? I personally hope we can do it, because it can make https://github.com/fzyzcjy/flutter_rust_bridge v2 much easier to use when it comes to arbitrary non-serializable types - users do not need to remember calling dispose here and there (which is quite annoying).

If you are only dealing with a few small objects that do not hold indirect references to larger objects, it's ok to rely on the gc.
If you are holding anything of significant size or that holds significant/limited native resources, you should not rely on the gc.

@dnfield Thank you very much! I will add this to doc telling the users (properly quoting the source, surely).

The main difference between holding on to large Dart objects and holding on to large foreign objects, is that if the Dart heap is running out of space, it will trigger a GC to clean itself up. If the foreign heap is running out of space, it won't be able to trigger a Dart GC to free up the remote pointers into its heap. So, unless Dart provides a way for the foreign heap's GC to trigger a Dart GC (and it knows how to use it), the memory might not be freed even if it's GC'able and needed.

@lrhn Thank you for the reply!
My case (flutter_rust_bridge) is Rust, which does not have a GC or a heap (unlike Java). Thus, if I understand correctly, this means, holding on to large Dart objects and holding on to large foreign objects do not have big differences?

My case (flutter_rust_bridge) is Rust, which does not have a GC or a heap (unlike Java). Thus, if I understand correctly, this means, holding on to large Dart objects and holding on to large foreign objects do not have big differences?

The main difference is that the garbage collector will eventually (possibly after a long time) invoke the finalizer that then frees up the native resource. So reclaiming the native resource is delayed - compared to an eager, manual disposal.
As was stated earlier, it depends what native resource you're managing: Imagine your native resource is an opened file (i.e. we have a file descriptor to close). Imagine now you have a loop that opens thousands of files and rely on the GC to eventually invoke a finalizer on them (which will trigger closing of the file descriptor). Now the actual file objects in the Dart heap are very small, so it's very likely that the GC won't run for a while and one runs into the nofile / maxfiles limits of the process (i.e. cannot open new files anymore). So in this case it's much better to manually close the files instead of relying on the GC. On the other hand, if the native resource you hang on to is 10 bytes, then the Dart wrapper is probably bigger than that, so it really doesn't matter so much if we delay freeing this resource by letting the GC do it (via invoked finalizer).

Now the actual file objects in the Dart heap are very small, so it's very likely that the GC won't run for a while and one runs into the nofile / maxfiles limits of the process (i.e. cannot open new files anymore).

Would it make a positive difference here if we tell the NativeFinalizer.attach that the externalSize of our objects are the actual consumed size of external mapped memory?

@julemand101 From my naive understanding, if the externalSize is also small (since in rust, an opened file may be just some kind of descriptor), then it may not be super helpful.

@fzyzcjy Ah yeah that is a fair assumption. I thought your Rust objects had a large size but yeah, if both Dart and native side are small, that would make GC unaware of the benefit of freeing these resources.

Btw I cannot make any assumptions about "my" rust objects, since https://github.com/fzyzcjy/flutter_rust_bridge is a library, so the dev who uses it can do anything ;)

Now the actual file objects in the Dart heap are very small, so it's very likely that the GC won't run for a while and one runs into the nofile / maxfiles limits of the process (i.e. cannot open new files anymore).

Would it make a positive difference here if we tell the NativeFinalizer.attach that the externalSize of our objects are the actual consumed size of external mapped memory?

This ended up being an anti-pattern for Flutter. Telling the VM about the external size made GCs trigger more often but not always for the reasons you'd want - the VM would see the heap was super big, run a GC, and collect no memory because the super big external object was still "alive". It would then see another really large allocation come in (and now the original large allocation was unreachable as a dart object), schedule a GC, but oops! the process ran out of memory and got killed by the LMK before the GC could run because it tried to allocate too much memory before freeing the old stuff.

This was particularly bad for images, which tended to be large, but also extended to other objects that end up with a shared pointer to the image (or to another shared pointer that has a shared pointer to the image) natively, like Picture and EngineLayer objects.

We also had spots in the code base where we literally were just "guessing" how big the native allocation would be because the library we were using didn't provide it, and there would be comments like // 3000 seems to trigger enough GCs without triggering too many GCs, but for what application is that true, and on what device with ho wmuch memory?

@dnfield Thank you for the details!

I presume the question has been answered so closing issue.


Support Extras

Feature Request: Ability to provide a template to add extra functionality to a chart.
Scenario: I pull a vendor chart and a feature isn't supported. For example, we might run additional deployments or a different ingress.
These are usually things that are extra and bespoke to our running of this chart.
Similar to https://github.com/helm/helm/issues/7076 except that usually means a small modification to the templates of the vendor chart, mostly until those changes get merged upstream. In this case, it is adding completely new functionality, but is driven by the same values.yaml in most cases (otherwise we would just create another chart for these).
Currently I have a folder called /manifest/extras that is in the same structure as the chart, I run a helm fetch, copy the extras on top and then run helm template.
The goal of this issue is to have the discussion about options for accomplishing this in a supported or well known paradigm.

@michelleN Here is the other scenario I brought up at the KubeCon table last week. Mind pulling in the right folks to noodle on this one as well?

potentially related: https://github.com/helm/helm/issues/5276

Hi, @zendril - I'm closing this issue because we now have a recommended path forward for proposals: if you'd like to formally propose this idea, please file a Helm Improvement Proposal to discuss it with the community. Thanks!


Collect the number of bundles and transactions the builder puts in a block

To bootstrap data collection from our builder, I propose we collect these two numbers:
How many bundles are included in a block
How many transactions come from the mempool

There will be more builders, so how do we collect this information from them?
Do we ask them to provide some metadata along with the block?
Do we ask them to provide a data API to consult?
Do we trust them?
Should we do the calculations ourselves by looking at the data collected from our relay?


TRIM errors on CF card (like #2357)

I am seeing #2357 again after upgraded to 20.1.3. In fact I have trouble upgrading to it completely it seems. I installed from usb stick a view days ago and upgraded to 20.1.2 on the gui without any incidence, but now I am seeing strange effects after I did an upgrade to 20.1.3 and the console is throwing alot of ata trim errors (for the first time here). I tried adding the # no trim option as described to my fstab to no avail.
My changes in settings are not persistent through reboots any longer (like enabling ssh). Its gone after a reboot and my opnsense reports having 20.1.2 installed again instead.
Difference to the OP is that I do not have a nano install, but installed via the usb installer to the CF card.

closing this for now, as I a) didnt fill out your froms I guess and b) get a feeling that this is not an opnsense issue, but just my own, as the ssd seems to have just died in a very strange way (being read only now)...


ResponseHeaders appear in reverse alphabetical order. How do I sort them alphabetically?

Here is the @ApiResponses annotation I currently have:
@ApiResponses(
        value = {
                @ApiResponse(code = 200, message = "OK", responseContainer = "List",
                        responseHeaders = {
                            @ResponseHeader(name = "aX-RateLimit-Reset", description = "The time, in seconds, until the limit expires and another request will be allowed in. This header will only be present if the limit is being enforced.", response = Integer.class),
                            @ResponseHeader(name = "zX-RateLimit-Remaining", description = "The number of calls remaining before the limit is enforced and requests are bounced.", response = Integer.class),
                            @ResponseHeader(name = "dX-RateLimit-zLimit", description = "The defined maximum number of requests available to the consumer for this API.", response = Integer.class)

                        }
                ),
                @ApiResponse(code = 400, message = "Bad Request"),
                @ApiResponse(code = 404, message = "Not Found"),
                @ApiResponse(code = 415, message = "Unsupported Media Type"),
                @ApiResponse(code = 500, message = "Internal Server Error"),
                @ApiResponse(code = 503, message = "Service Unavailable"),
                @ApiResponse(code = 504, message = "Gateway Timeout"),
                @ApiResponse(code = 505, message = "HTTP Version Not Supported")
        }
)

These response headers end up being shown in reverse alphabetical order in the ui, as seen here:

How do I get these to sort alphabetically? I originally assumed that it would be in the order that the responseHeaders list is in, but that doesn't seem to be the case.
Thanks in advance!

Let's isolate the problem by looking in your swagger definition rather than the UI.  What order are they in there?

@fehguy Thanks for the quick reply! They appear in reverse alphabetical order in the JSON as well.
"responses":{
  "200":{
    "description":"OK",
    "schema":{
      "type":"object"
    },
    "headers":{
      "zX-RateLimit-Remaining":{
        "type":"integer",
        "format":"int32",
        "description":"The number of calls remaining before the limit is enforced and requests are bounced."
      },
      "dX-RateLimit-zLimit":{
        "type":"integer",
        "format":"int32",
        "description":"The defined maximum number of requests available to the consumer for this API."
      },
      "aX-RateLimit-Reset":{
        "type":"integer",
        "format":"int32",
        "description":"The time, in seconds, until the limit expires and another request will be allowed in. This header will only be present if the limit is being enforced."
      }
    }
  },

OK great, then you've got the ticket in the right place.  I'll check into this, it should retain the order inserted as we're using LinkedHashMap

Great, thanks!
Also, I couldn't find any good examples of having multiple @ResponseHeader annotations in the documentation or online after a bit of searching. If there is a better way of doing it than what I have above, let me know. Maybe something with the responseContainer attribute? I don't quite understand what that does yet.

You might check the tests for usage examples

Oh nice, I found an example here.
If there is any other information you need from me on this issue, let me know.

@fehguy I have another odd ordering issue. I can put this in a new issue if you want.
We're sending many of our params using a custom object, so most of them don't appear in the method params directly. To get these to show up in the documentation, I'm using @ApiImplicitParam. The order of these parameters is quite confusing to me. Maybe you can shed some light on what is going on.
@ApiImplicitParams( {
        @ApiImplicitParam(name = "product_id", paramType = "query", dataType = "string", required = true, value = "Product ID to lookup."),
        @ApiImplicitParam(name = "key", paramType = "query", dataType = "string", required = true, value = "Valid API Key."),
        @ApiImplicitParam(name = "channel_id", paramType = "query", dataType = "string"),
        @ApiImplicitParam(name = "disable_location_filter", paramType = "query", dataType = "boolean"),
        @ApiImplicitParam(name = "esfs_locations", paramType = "query", dataType = "int"),
        @ApiImplicitParam(name = "multichannel_option", paramType = "query", dataType = "string"),
        @ApiImplicitParam(name = "field_groups", paramType = "query", dataType = "string"),
        @ApiImplicitParam(name = "inventory_type", paramType = "query", dataType = "string"),
        @ApiImplicitParam(name = "is_parent_id", paramType = "query", dataType = "string"),
        @ApiImplicitParam(name = "limit", paramType = "query", dataType = "int"),
        @ApiImplicitParam(name = "location_available_to_promise_quantity", paramType = "query", dataType = "double"),
        @ApiImplicitParam(name = "location_available_to_release_quantity", paramType = "query", dataType = "double"),
        @ApiImplicitParam(name = "location_ids", paramType = "query", allowMultiple = true, dataType = "string"),
        @ApiImplicitParam(name = "mixed_cart", paramType = "query", dataType = "boolean"),
        @ApiImplicitParam(name = "onlyGetEligibilitiesForSpecifiedMCOption", paramType = "query", dataType = "boolean"),
        @ApiImplicitParam(name = "ignoreComputedLocationEligibility", paramType = "query", dataType = "boolean"),
        @ApiImplicitParam(name = "nearby", paramType = "query", dataType = "string"),
        @ApiImplicitParam(name = "radius", paramType = "query", dataType = "double"),
        @ApiImplicitParam(name = "requested_quantity", paramType = "query", dataType = "double"),
        @ApiImplicitParam(name = "skip_sameday_route_calculation", paramType = "query", dataType = "boolean"),
        @ApiImplicitParam(name = "sort", paramType = "query", dataType = "string"),
        @ApiImplicitParam(name = "stores_limit", paramType = "query", dataType = "int")
    }
)

And here's how it ends up in the JSON, and the ui.

I'd like product_id and key to be at the top, since they are both required. It doesn't take the order of my annotations, it doesn't go alphabetical, it doesn't prioritize params with a description (value in @ApiImplicitParam).
The only thing that might cause this, is that product_id is the only param that appears in the method itself.
public ResponseEntity<?> networkAvailabilityJsonResponse(
            @RequestHeader HttpHeaders headers,
            @PathVariable("product_id") String productId,
            @Valid NetworkAvailabilityCmd cmd,
            BindingResult result)
            throws Exception {
            [...]
            }

Any ideas?

What version of swagger-core are you using?  Can you please try 1.5.11-SNAPSHOT?

Currently on 1.5.10. I'll try the newest snapshot.

I did find a couple places that weren't using linked hash maps, this is in #2051

This should be fixed, and is tested by https://github.com/swagger-api/swagger-core/blob/3290187ebb746881e19a4b3fe2afc0bf90e92c31/modules/swagger-jaxrs/src/test/java/io/swagger/SimpleReaderTest.java

@fehguy I have updated to 1.5.12, and this issue is still occurring.
@ApiResponses(
        value = {
                @ApiResponse(code = 200,
                        message = "OK",
                        responseHeaders = {
                                @ResponseHeader(name = "A-X-RateLimit-Limit", description = "The defined maximum number of requests available to the consumer for this API.", response = Integer.class),
                                @ResponseHeader(name = "B-X-RateLimit-Remaining", description = "The number of calls remaining before the limit is enforced and requests are bounced.", response = Integer.class),
                                @ResponseHeader(name = "C-X-RateLimit-Reset", description = "The time, in seconds, until the limit expires and another request will be allowed in. This header will only be present if the limit is being enforced.", response = Integer.class)
                        }
                )
        })

Here is the JSON output:
"responses":{
  "200":{
    "description":"OK",
    "schema":{
      "type":"object"
    },
    "headers":{
      "C-X-RateLimit-Reset":{
        "type":"integer",
        "format":"int32",
        "description":"The time, in seconds, until the limit expires and another request will be allowed in. This header will only be present if the limit is being enforced."
      },
      "B-X-RateLimit-Remaining":{
        "type":"integer",
        "format":"int32",
        "description":"The number of calls remaining before the limit is enforced and requests are bounced."
      },
      "A-X-RateLimit-Limit":{
        "type":"integer",
        "format":"int32",
        "description":"The defined maximum number of requests available to the consumer for this API."
      }
    }
  }

I've tested this at both the method level, and the class level. The odd ordering issue with my @ApiImplicitParam annotations is still happening as well.
swagger-annotations, swagger-core and swagger-models are all on 1.5.12

I've been doing some more playing with this, and now I'm running into other odd situations.
@ApiResponse(code = 200,
                        message = "OK",
                        responseHeaders = {
                                @ResponseHeader(name = "aaa", description = "The defined maximum number of requests available to the consumer for this API.", response = Integer.class),
                                @ResponseHeader(name = "bbb", description = "The number of calls remaining before the limit is enforced and requests are bounced.", response = Integer.class),
                                @ResponseHeader(name = "ccc", description = "The time, in seconds, until the limit expires and another request will be allowed in. This header will only be present if the limit is being enforced.", response = Integer.class)
                        }
                )

gives me...
"responses":{
  "200":{
    "description":"OK",
    "schema":{
      "type":"object"
    },
    "headers":{
      "aaa":{
        "type":"integer",
        "format":"int32",
        "description":"The defined maximum number of requests available to the consumer for this API."
      },
      "ccc":{
        "type":"integer",
        "format":"int32",
        "description":"The time, in seconds, until the limit expires and another request will be allowed in. This header will only be present if the limit is being enforced."
      },
      "bbb":{
        "type":"integer",
        "format":"int32",
        "description":"The number of calls remaining before the limit is enforced and requests are bounced."
      }
    }
  }

I'm not sure what it's doing, but order isn't being persevered.

@fehguy Any ideas on the odd examples above?


chore(blog): add another issue to OpenForce related article

added issue #259 from asyncapi/glee
ref- comment from @derberg

@alequetzalli we need your approval to merge. When you approve, please just merge it in

@alequetzalli ping 😉

eeeek! done @derberg 😬✌🏽


BRS-031/032/033: VR.630

The VAT entitlement for a charge cannot be updated

This rule might already be implemented in ChangingTariffVatValueNotAllowedRule.cs

That's right. I just checked up on this, and we need to make this rule applicable for fees and subscriptions as well


Friend packages or modules

[@gavinking] Occasionally we encounter a situation where two packages share the same development lifecycle, but are packaged into separate archives for purely practical reasons relating to how the software is distributed. For example, an API implementation org.hibernate.impl, and its tests org.hibernate.test are developed together, but are compiled into separate archives.
In this kind of situation, it makes sense to be able to suppress the usual visibility control checks, for example, allowing test code in org.hibernate.test to access unshared declarations of the unshared package org.hibernate.impl, even though the two packages reside in different modules.
It seems to me that a nice way to address this would be via the concept of friends.
I'm not 100% sure of the right granularity here: package or module? If module level is the best option, this is what the module descriptor might look like:
module org.hibernate.impl {
    allow org.hibernate.test;
}

This approach would work well if all we need to do is grant access to shared declarations of unshared packages.
But I think package granularity makes more sense, like this:
package org.hibernate.impl {
    allow org.hibernate.test;
}

Since I think we probably need to grant access into contents of the package, not just the contents of the module. (Well, I'm not totally sure about this.)
Thoughts?
[Migrated from ceylon/ceylon-spec#668]

This has been solved in 1.3.3. by restricted shared packages.

Remind me what restricted does again?

Let's you restrict a shared thing to an enumerated list of modules.

Ah, then yes.


bug(controller): If is not possible to access etcd it should fail with an error

Right now any command that uses etcd (like upload the user key) will just show this message
WARNING Cannot synchronize with etcd cluster

and continue, but the user key is not stored in etcd.
For instance if etcd is not available when the user upload the ssh key it will fail to do any push.

Does this mean the deis CLI doesn't see an error in this case?

@mboersma that warning is from deis-controller If is not possible to access etcd during any get/set operation.

I think this was resolved with https://github.com/deis/deis/pull/3791. Is this correct, or is this still an ongoing issue?

@bacongobbler no, I'm sorry, my fault to not be clear.
I mean here https://github.com/deis/deis/blob/master/controller/api/models.py#L1059
if there's any error connecting to etcd you just see a warning in the controller logs and the content of etcd is not the correct one (the operation from the controller failed)

Ah, I see where you're coming from here. I know that this is a workaround so we can run unit tests locally without having to set up etcd, but yes that would indeed be an issue.

This is not something we'll be able to get to for the LTS release (#4776), and etcd is going away in Deis v2 so I'm going to go ahead and close this. Thanks!


Add the new mal compiler

I added an new subpackage maltoolbox.lexer_parser. I added all related files in its folder, we can move them around as needed. The code is minimal, it contains:

the grammar
antlr-generated files based on the grammar
a tree parser module
a runner script with just one argument required and supported

To run the compiler, you run python -m maltoolbox.lexer_parser path/to/corelang_or_other/main.mal.

This was manually squashed and merge into main.


Pockethost Down

I'm getting Gateway time-out - Error Code 504 when accessing any instance

Now the login at app.pockethost.io is down too

It seems to be a cors issue

We're back up. For fastest support, please use our Discord server.


Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.

Renames PackedIntArray to PackedInt32Array.
Renames PackedFloatArray to PackedFloat32Array.
Adds PackedInt64Array and PackedFloat64Array.
Renames Variant::REAL to Variant::FLOAT for consistency.

Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.
For Variant, the float datatype is always 64 bits, and exposed as float.
We still have real_t which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.
Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
Edit by Akien: Amended commit and PR to include a proper description based on https://github.com/godotengine/godot/pull/36515#issuecomment-590543561

Ok, I guess this deserves more clarification. Keep in mind the changes I do always have a practical purpose, and not theoretical.
real_t is the datatype we use in Godot that can change from 32 to 64 bits depending on compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only.
For Variant, the float datatype is always 64 bits. Packed Arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type.
As neither Variant nor PackedArray make use of real_t, which is only intended for math precission, the term must be removed from there.

That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type.

So both will be exposed? The PR in its current state appears to only have the 32-bit version exposed.

@aaronfranke yes, both will be exposed

ahh and I just amended :D ok

Ok, all should be resolved now.

Did some testing, I get various crashes when using export on these types. Here's some test code:
extends Node

export(PackedInt32Array) var i32
export(PackedInt64Array) var i64
export(PackedFloat32Array) var f32
export(PackedFloat64Array) var f64

I can confirm crashes when using type hints in GDScript.
This works fine:
export var typed_i32 : PackedInt32Array = PackedInt32Array([5, 2, 1])
export var typed_i64 : PackedInt64Array = PackedInt64Array([5, 2, 1])
export var typed_f32 : PackedFloat32Array = PackedFloat32Array([5, 2, 1])
export var typed_f64 : PackedFloat64Array = PackedFloat64Array([5, 2, 1])

But the inspector shows the wrong types:

Then I added this and saved, it was OK:
export(PackedInt32Array) var hint_i32 = PackedInt32Array([5, 2, 1])

And then added this, and it crashed:
export(PackedFloat32Array) var hint_f32 = PackedFloat32Array([5, 2, 1])

Backtrace:
Thread 1 "godot-llvm" received signal SIGSEGV, Segmentation fault.
0x0000000001960488 in CowData<float>::size (this=0xc41e1f0) at ./core/cowdata.h:128
128                             return *size;
(gdb) bt
#0  0x0000000001960488 in CowData<float>::size (this=0xc41e1f0) at ./core/cowdata.h:128
#1  0x0000000001d71f09 in Vector<float>::size (this=0xc41e1e8) at ./core/vector.h:84
#2  0x00000000049f38b7 in Variant::hash_compare (this=0xc430e90, p_variant=...) at core/variant.cpp:3592
#3  0x00000000021f792d in VariantComparator::compare (p_lhs=..., p_rhs=...) at ./core/variant.h:507
#4  0x00000000021f78ad in HashMap<Variant, int, VariantHasher, VariantComparator, (unsigned char)3, (unsigned char)8>::get_element (this=0x7fffffff7c58, p_key=...) at ./core/hash_map.h:191
#5  0x00000000021f77ec in HashMap<Variant, int, VariantHasher, VariantComparator, (unsigned char)3, (unsigned char)8>::getptr (this=0x7fffffff7c58, p_key=...) at ./core/hash_map.h:331
#6  0x00000000021f48dd in HashMap<Variant, int, VariantHasher, VariantComparator, (unsigned char)3, (unsigned char)8>::has (this=0x7fffffff7c58, p_key=...) at ./core/hash_map.h:285
#7  0x00000000021e836b in GDScriptCompiler::_parse_expression (this=0x7fffffff8230, codegen=..., p_expression=0xc41e1c0, p_stack_level=0, p_root=false, p_initializer=true, p_index_addr=0)
    at modules/gdscript/gdscript_compiler.cpp:374
#8  0x00000000021ee488 in GDScriptCompiler::_parse_assign_right_expression (this=0x7fffffff8230, codegen=..., p_expression=0xc3f3fb0, p_stack_level=0, p_index_addr=0)
    at modules/gdscript/gdscript_compiler.cpp:205
#9  0x00000000021ecf55 in GDScriptCompiler::_parse_expression (this=0x7fffffff8230, codegen=..., p_expression=0xc3f3fb0, p_stack_level=0, p_root=true, p_initializer=false, p_index_addr=0)
    at modules/gdscript/gdscript_compiler.cpp:1143
#10 0x00000000021ef93e in GDScriptCompiler::_parse_block (this=0x7fffffff8230, codegen=..., p_block=0xc4aa000, p_stack_level=0, p_break_addr=-1, p_continue_addr=-1) at modules/gdscript/gdscript_compiler.cpp:1561
#11 0x00000000021efe91 in GDScriptCompiler::_parse_function (this=0x7fffffff8230, p_script=0xb63cc10, p_class=0xc4332c0, p_func=0x0, p_for_ready=false) at modules/gdscript/gdscript_compiler.cpp:1620
#12 0x00000000021f3644 in GDScriptCompiler::_parse_class_blocks (this=0x7fffffff8230, p_script=0xb63cc10, p_class=0xc4332c0, p_keep_state=false) at modules/gdscript/gdscript_compiler.cpp:2035
#13 0x00000000021f41d7 in GDScriptCompiler::compile (this=0x7fffffff8230, p_parser=0x7fffffff82d8, p_script=0xb63cc10, p_keep_state=false) at modules/gdscript/gdscript_compiler.cpp:2171
#14 0x00000000021c22f8 in GDScript::reload (this=0xb63cc10, p_keep_state=false) at modules/gdscript/gdscript.cpp:585
#15 0x00000000021ce0ac in GDScriptLanguage::reload_tool_script (this=0x7cd4720, p_script=..., p_soft_reload=false) at modules/gdscript/gdscript.cpp:1829
#16 0x00000000021d1f8e in ResourceFormatSaverGDScript::save (this=0x7ce1700, p_path=..., p_resource=..., p_flags=96) at modules/gdscript/gdscript.cpp:2423
#17 0x0000000004c0bc8e in ResourceSaver::save (p_path=..., p_resource=..., p_flags=96) at core/io/resource_saver.cpp:119
#18 0x0000000002a803fe in EditorNode::save_resource_in_path (this=0x7fbc330, p_resource=..., p_path=...) at editor/editor_node.cpp:788
#19 0x0000000002a80a5f in EditorNode::save_resource (this=0x7fbc330, p_resource=...) at editor/editor_node.cpp:807
#20 0x00000000030babee in ScriptEditor::save_all_scripts (this=0xa6f6740) at editor/plugins/script_editor_plugin.cpp:2199
#21 0x00000000030cfc8c in ScriptEditorPlugin::save_external_data (this=0x90483f0) at editor/plugins/script_editor_plugin.cpp:3480
#22 0x0000000002975588 in EditorData::save_editor_external_data (this=0x7fbca90) at editor/editor_data.cpp:408
--Type <RET> for more, q to quit, c to continue without paging--
#23 0x0000000002a86b4a in EditorNode::_save_scene (this=0x7fbc330, p_file=..., idx=-1) at editor/editor_node.cpp:1340
#24 0x0000000002a860ff in EditorNode::_save_scene_with_preview (this=0x7fbc330, p_file=..., p_idx=-1) at editor/editor_node.cpp:1192
#25 0x0000000002a75405 in EditorNode::_menu_option_confirm (this=0x7fbc330, p_option=3, p_confirmed=false) at editor/editor_node.cpp:2192
#26 0x0000000002a821cd in EditorNode::_menu_option (this=0x7fbc330, p_option=3) at editor/editor_node.cpp:882
#27 0x0000000002add2ba in MethodBind1<EditorNode, int>::call (this=0xb5d9880, p_object=0x7fbc330, p_args=0x7fffffffaec0, p_arg_count=1, r_error=...) at ./core/method_bind.gen.inc:867
#28 0x0000000004936378 in Object::call (this=0x7fbc330, p_method=..., p_args=0x7fffffffaec0, p_argcount=1, r_error=...) at core/object.cpp:903
#29 0x0000000004887439 in Callable::call (this=0xc44ee68, p_arguments=0x7fffffffaec0, p_argcount=1, r_return_value=..., r_call_error=...) at core/callable.cpp:52
#30 0x000000000493824e in Object::emit_signal (this=0x8dfc750, p_name=..., p_args=0x7fffffffaec0, p_argcount=1) at core/object.cpp:1199
#31 0x00000000049369da in Object::emit_signal (this=0x8dfc750, p_name=..., p_arg1=..., p_arg2=..., p_arg3=..., p_arg4=..., p_arg5=...) at core/object.cpp:1256
#32 0x000000000387ee54 in PopupMenu::activate_item (this=0x8dfc750, p_item=6) at scene/gui/popup_menu.cpp:1162
#33 0x0000000003888dd2 in PopupMenu::activate_item_by_event (this=0x8dfc750, p_event=..., p_for_global_only=false) at scene/gui/popup_menu.cpp:1095
#34 0x000000000385a59d in MenuButton::_unhandled_key_input (this=0x8fa6770, p_event=...) at scene/gui/menu_button.cpp:47
#35 0x000000000385c892 in MethodBind1<MenuButton, Ref<InputEvent> >::call (this=0x782de00, p_object=0x8fa6770, p_args=0x7fffffffb450, p_arg_count=1, r_error=...) at ./core/method_bind.gen.inc:867
#36 0x0000000004934f6e in Object::call_multilevel (this=0x8fa6770, p_method=..., p_args=0x7fffffffb450, p_argcount=1) at core/object.cpp:746
#37 0x00000000036bb81b in SceneTree::_call_input_pause (this=0x7e532d0, p_group=..., p_method=..., p_input=...) at scene/main/scene_tree.cpp:948
#38 0x00000000036ec74e in Viewport::unhandled_input (this=0x7e54090, p_event=...) at scene/main/viewport.cpp:2823
#39 0x00000000036ec5e7 in Viewport::_vp_unhandled_input (this=0x7e54090, p_ev=...) at scene/main/viewport.cpp:1456
#40 0x00000000037149a2 in MethodBind1<Viewport, Ref<InputEvent> const&>::call (this=0x77cee30, p_object=0x7e54090, p_args=0x7fffffffb800, p_arg_count=1, r_error=...) at ./core/method_bind.gen.inc:867
#41 0x0000000004936378 in Object::call (this=0x7e54090, p_method=..., p_args=0x7fffffffb800, p_argcount=1, r_error=...) at core/object.cpp:903
#42 0x0000000004935eb8 in Object::call (this=0x7e54090, p_name=..., p_arg1=..., p_arg2=..., p_arg3=..., p_arg4=..., p_arg5=...) at core/object.cpp:830
#43 0x00000000036b61b5 in SceneTree::call_group_flags (this=0x7e532d0, p_call_flags=2, p_group=..., p_function=..., p_arg1=..., p_arg2=..., p_arg3=..., p_arg4=..., p_arg5=...) at scene/main/scene_tree.cpp:277
#44 0x00000000036b7336 in SceneTree::input_event (this=0x7e532d0, p_event=...) at scene/main/scene_tree.cpp:450
#45 0x0000000001916ec0 in InputDefault::_parse_input_event_impl (this=0x76784d0, p_event=..., p_is_emulated=false) at main/input_default.cpp:442
#46 0x000000000191533f in InputDefault::parse_input_event (this=0x76784d0, p_event=...) at main/input_default.cpp:259
#47 0x0000000001917fea in InputDefault::flush_accumulated_events (this=0x76784d0) at main/input_default.cpp:678
#48 0x0000000001902207 in OS_X11::process_xevents (this=0x7fffffffcfd0) at platform/x11/os_x11.cpp:2748
--Type <RET> for more, q to quit, c to continue without paging--
#49 0x00000000019060e9 in OS_X11::run (this=0x7fffffffcfd0) at platform/x11/os_x11.cpp:3317
#50 0x00000000018f54b8 in main (argc=2, argv=0x7fffffffd798) at platform/x11/godot_x11.cpp:56

@aaronfranke @vnen mentioned he is not going to add these types and ensure they work in gdscript yet, since he is refactoring the parser.

But the inspector shows the wrong types:

Fixed in my last amend.
@reduz and my recent changes also seem to fix the crashes when using export hint and type hints.
The EditorPropertyArray doesn't seem able to handle 64-bit values, nor properly doubles, as everything seems to be converted from strings using to_int() (32-bit). But that's a broader issue that predates this PR.

@akien-mga that probably needs to be changed to to_int64 then.

Yeah it's in Expression, I'll do it in a separate PR as it can be cherry-picked for 3.2 too.

Thanks!


apachetomcatscanner: add missing dependencies

relax requests and urllib3

ZHF: #352882

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353617

x86_64-linux

:white_check_mark: 2 packages built:

apachetomcatscanner
apachetomcatscanner.dist

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353617

aarch64-darwin

:white_check_mark: 2 packages built:

apachetomcatscanner
apachetomcatscanner.dist


Use consistent API schema between @datadog/mobile-react-navigation and @datadog/browser-rum

Is your feature request related to a problem? Please describe.
Currently there is a significant amount of divergence between the config schema + method names in @datadog/mobile-react-navigation and @datadog/browser-rum — and this creates extra implementation / maintenance overhead for users who are working on cross-platform expo apps (Web, iOS, Android).
For example: every time there's an update to any of the datadog RUM packages, where config has changed, we need to review the configuration and figure out which entries are still valid between the different RUM client packages.
Describe the solution you'd like
It would be great if the configuration schema + method names were the same between the RUM clients — and where they are not the same, it would be great if the differentiation were clearer.
I've outlined the differences here:

API Mismatch Summary
Native- vs web-specific config

only relevant to particular platform <-- perfectly legit, but ideally distinct from possibly similar sounding options

eg nativeCrashReportEnabled

seemingly missing feature

eg version (recently added!)

Overlapping config

same key / same value <-- this is the dream 😄
different key / same value <-- requires some aliasing, but not too bad

eg service vs serviceName

same or slightly different key / slightly different value 🤕

eg firstPartyHosts vs allowedTracingOrigins or siteParameter vs site

different key / same value, BUT unclear if features actually overlap 🤔

eg trackErrors vs forwardErrorsToLogs

Misc Other Issues

Method mismatch - names but also sync vs async
Companion libraries eg @datadog/browser-logs @datadog/mobile-react-navigation
CI / SourceMap orchestration
constructor vs init

In particular, it'd be cool to align the schema for these properties

service vs serviceName
firstPartyHosts vs allowedTracingUrls

Describe alternatives you've considered
Initially I tried to create a single abstraction for RUM client config, but I realized that the properties changed too much and weren't safe to assume as equivalent.
So now I have a subset of core properties that are shared: env service applicationId clientToken version
And for everything else I have platform-specific config objects, so my abstraction looks approximately like this:
export const initDatadog = async () => {
  await customDatadog.init(
    {
      applicationId: process.env.DD_RUM_APPLICATION_ID,
      clientToken: process.env.DD_RUM_CLIENT_TOKEN,
      env: process.env.DD_RUM_ENVIRONMENT,
      serviceName: process.env.DD_SERVICE_NAME, // RN alias of `service`
      version: process.env.APP_VERSION_DATADOG,
    },
    {
      rumNative: {
        firstPartyHosts: TRACING_ORIGINS,
        sessionSamplingRate: 90,
        resourceTracingSamplingRate: 90,
        telemetrySampleRate: 90,
      },
      rumWeb: {
        allowedTracingUrls: TRACING_ORIGINS,
        sampleRate: 90,
        sessionReplaySampleRate: 90,
        telemetrySampleRate: 90,
      },
    },
  );
};

Thanks!

Hi @leggomuhgreggo, thanks for reaching out!
This is indeed something we're aware of, we're trying to have our web and mobile APIs match as much as possible, but there are indeed some of the cases you mentioned where they differ.
Bringing full support for react-native-web is high in our backlog and will very likely improve this as we'll expose a single interface for both RN and web, I can let you know when it is ready.
I'll also raise this internally so we can see which improvements we can make in the short term.
Finally, I can maybe share some insights on some discrepancies to help you understand better the differences.
firstPartyHosts (mobile) vs allowedTracingOrigins (web): allowedTracingOrigins includes the host of your website by default, but not firstPartyHosts - since we cannot guess it on mobile. So if you copy from web to mobile, be sure to add the host of your website to your firstPartyHosts as well if that is relevant. Yet I also agree that the naming is very different when the concept is quite close, so this could be improved.
trackErrors (mobile) vs forwardErrorsToLogs (web):  trackErrors enables you to report JS errors and console.error calls in React Native, to both RUM and Logs. forwardErrorsToLogs enables you to forward console.error calls in the web to Logs.
I also believe the version and site attribute is available in both browser and RN SDKs: https://docs.datadoghq.com/real_user_monitoring/browser/#configuration
I hope this clarifies a few things, let me know if you have further questions on this topic :)

Thank you for the thoughtful response!

Bringing full support for react-native-web is high in our backlog and will very likely improve this as we'll expose a single interface for both RN and web, I can let you know when it is ready.

Oh nice!!!

Finally, I can maybe share some insights on some discrepancies to help you understand better the differences ...I hope this clarifies a few things

Thanks for this — I didn't fully appreciate some of those nuances.
Sincerely appreciate the attention / consideration @louiszawadzki


Explore changing "sign up" button text

Description
@zdeveloper brought up a good point in our latest 1:1, that the "Sign up" button on the static site may be too generic and potentially the source of some duplicate user issues. This ticket is to determine if we think changing the button text would help, and if so what alternatives might be considered.
Additional context
I remember this coming up in a recent team sync, but can't remember either the outcome of that conversation or the original conversation that prompted us to switch to the "Sign up" text. Feel free to close this ticket as a no-op if there have been conversations around this that I'm not aware of.

Related to #2609


Debounce Example

Description
I would find it very helpful if you provided a debounce example and how that works with DeepSleepScheduler. I have tried with my own intuition and have been so far unsuccessful.
Problem
I am trying to fire a single interrupt on pin 2 of my Elegoo Mega2560 using the CLK pin of a rotary encoder. My aim is to wake up my system from sleep with a turn of the rotary encoder, turning on an LCD display eta. When I attempt to implement this myself using DeepSleepScheduler, instead of the expected one interrupt on rotation of the rotary encoder, I get 2 (I also see sometimes 1 and 3, although less frequently).
Steps to Reproduce
I suspect this is due to debounce and my bad implementation of it in your library. Below I have the non-DeepSleepScheduler version which works, followed by non-working versions which use DeepSleepScheduler.
// Interrupt routine runs if CLK goes from HIGH to LOW
void isr ()  {
  delay(4);  // delay for Debouncing
  if (digitalRead(CLK_PIN))
    rotationdirection = digitalRead(DT_PIN);
  else
    rotationdirection = !digitalRead(DT_PIN);
  TurnDetected = true;
}

This is a working example that doesn't use the DeepSleepScheduler library and works correctly - firing only once for each turn of the rotary encoder.
void measure_rotation ()  {
  if (digitalRead(CLK_PIN))
    rotationdirection = digitalRead(DT_PIN);
  else
    rotationdirection = !digitalRead(DT_PIN);
  TurnDetected = true;
  attachInterrupt(CLK_PIN, isr, FALLING);
}

void isr() {
  scheduler.scheduleDelayed(measure_rotation, 4);
  // detach interrupt to prevent executing it multiple
  // times when touching more than once.
  detachInterrupt(digitalPinToInterrupt(CLK_PIN));
}

This is what I assumed the same code might look like using DeepSleepScheduler. Notice the scheduleDelayed with the same 4 milliseconds for debouncing. Increasing the value here made no difference. I also tried delayed re-attaching of the interrupt, and combination of scheduleOnce and scheduleDelayed to make sure only one measure_rotation call was ever in the job queue. However, nearly every time there was a second delayed measure_rotation call.
// Interrupt routine runs if CLK goes from HIGH to LOW
void measure_rotation ()  {
  uint32_t interrupt_time = scheduler.getMillis();

  if (interrupt_time - last_interrupt_time > DEBOUNCE_DELAY) {
    //  delay(4);
    if (digitalRead(CLK_PIN))
      rotationdirection = digitalRead(DT_PIN);
    else
      rotationdirection = !digitalRead(DT_PIN);
    TurnDetected = true;
    Serial.println("Turn detected!");
    check_inputs();
  }

  last_interrupt_time = interrupt_time;

}

void isr() {
  scheduler.scheduleOnce(measure_rotation);
//  // detach interrupt to prevent executing it multiple
//  // times when touching more than once.
//  detachInterrupt(digitalPinToInterrupt(CLK_PIN));
}

This example was an attempt inspired by EnableInterrupt's Debounce example. This, unfortunately, did not allow any interrupt calls.
Any advice or guidance would be much appreciated. Thanks!

Hi @scottkelso,
The library DeepSleepScheduler does not support debouncing as such. I only added the possibility to schedule a task once until it is actually executed.
It does this by first removing all scheduled tasks of the same task and then add it again. This means that as soon as the tasks executes, it can be added again if the interrupt still triggers an execution. That's why you see multiple executions of your task measure_rotation().
I suggest to still follow the recommendations of the EnableInterrupt's Debounce example and call scheduleOnce() instead of digitalWrite() in that example.
Do not use delay() in an ISR as it must run as short as possible and as I remember does delay() do nothing inside an ISR.
I suggest something like the following.
Cheers,
Pete
#include "DeepSleepScheduler.h"

#define DEBOUNCE_DELAY_MS 100
#define INTERRUPT_PIN 2
#define LED_PIN LED_BUILTIN

unsigned long lastInterruptTimeMs = 0;
unsigned long isrCount = 0;

void task() {
  Serial.print("isrCount: ");
  Serial.println(isrCount);
  digitalWrite(LED_PIN, !digitalRead(LED_PIN));
}

void isrInterruptPin() {
  isrCount++;
  unsigned long interruptTimeMs = millis();

  if (interruptTimeMs - lastInterruptTimeMs > DEBOUNCE_DELAY_MS) {
    scheduler.scheduleOnce(task);
  }

  lastInterruptTimeMs = interruptTimeMs;
}

void setup() {
  Serial.begin(115200);
  delay(150);
  Serial.println("======================= start");

  pinMode(INTERRUPT_PIN, INPUT_PULLUP);
  attachInterrupt(digitalPinToInterrupt(INTERRUPT_PIN), isrInterruptPin, FALLING);
  pinMode(LED_PIN, OUTPUT);
  digitalWrite(LED_PIN, HIGH);

  scheduler.acquireNoSleepLock();
}

void loop() {
  scheduler.execute();
}


Issue with the GET method of a REST API as a source

The requestBody property is missing in the JSON when choosing the GET method, but prensent in the documentation
While it is present when choosing the POST method but not in the documentation

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

ID: c9da1816-3f64-bd45-443f-5bdb48bacc24
Version Independent ID: e649f787-62da-fc97-2e9a-ba89765beed4
Content: Copy and transform data from and to a REST endpoint - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/connector-rest.md
Service: data-factory
Sub-service: data-movement
GitHub Login: @jianleishen
Microsoft Alias: makromer

@Geradav
Thanks for your feedback! We will investigate and update as appropriate.

@jianleishen
Could you please review add comments on this, update as appropriate.

@Geradav
Thank you for bringing this to our attention.
I've delegated this to content author @jianleishen, who will review it and offer their insightful opinions.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Is there a way to check if a relationship is preloaded or not?

I'm looking for a way to check if a relationship is preloaded or not. I'm specifically looking for a method like this: http://rubyquicktips.com/post/6467112014/check-if-your-associations-have-been-eager-loaded

Just check it has value or not.


Navigating backwards and forwards results in squigs being replaced by strokes

This was reported by @sderickson. It can be reproduced by switching on raw squigs, partially completing a prompts, navigating backwards and then forwards. The partially drawn squigs are replaced by actual strokes rather than the partially drawn squigs.

#340 is also not quite fixed - left a comment there but I can't see how to reopen it.


Unable to obtain location information.

phone:nubia NX569H
android:6.0.1
The execution method console.log no information.
//定位
public getGPS(){
let that=this;
this.geolocation.getCurrentPosition().then((resp) => {
console.log(1,resp.coords.latitude,resp.coords.longitude);
}).catch((error) => {
console.log('Error getting location', error);
});
}

Could you solve it? not working for me either, it doesn't even get into the error catch, it simple doesn't execute any log

Actually I just fixed 😬, just add { enableHighAccuracy: true }

I am trying on a
Samsung J5 with android 7.0
cordova 8.0
cordova-android 7.1.2 / 7.11 / 7.00

The method
this.geo.getCurrentPosition({timeout: 30000, maximumAge: 0, enableHighAccuracy: true})
Jumps to catch with no error descrition
{}
What would be wrong?

I added { enableHighAccuracy: true },but there is no return.

I've made a detailed answer on #119 on why obtaining GPS may be slow or not possible. Using { enableHighAccuracy: true like @maitscha suggested may help, but that option will only work if the user has the Android's GPS settings configured in a certain way. Unfortunately this is also something outside of Cordova or the apps control.
https://github.com/apache/cordova-plugin-geolocation/issues/119#issuecomment-463897045

Closing due to lack of response.


Continued enhancements for x/.../sam package

PR here https://github.com/dagger/dagger/pull/2435/

[ ] tests
[ ] ???

cc @munichbughunter

Any progress on this issues?

Not at the moment. But there will be adjustments so that the package also works via TCP connection.


[BUG] It's possible to login to Opensearch Dashboards without any Opensearch roles

What is the bug?
With LDAP authentication and authorization it's possible to login to Opensearch Dashboards even if the use doesn't have any roles. If authentication succeeds but authorization returns no AD groups, and therefore the user has no Opensearch roles, the user is still logged in. The user is not able to see any data or interact with the cluster in any way so I don't think it's a security risk, it's just strange behavior because it can lead to confusion from users that think they have access when in fact they don't.
How can one reproduce the bug?
Steps to reproduce the behavior:

Set up Opensearch and Opensearch Dashboards with LDAP authentication and authorization.
Log in with a user that exists but is not in any AD groups that are mapped to Opensearch roles.

What is the expected behavior?

Do you have any additional context?
How this was handled in Kibana: https://github.com/elastic/kibana/pull/75538

[Triage] Hi @Martin-Kemp, thank you for taking the time to file this issue. Currently, there is not a permission for accessing OpenSearch Dashboards/Kibana. There are no plans to add an additional permission configuration for this option, but we would be curious to hear what alternative you would be interested in. It may be helpful to consult @shanilpa or @opensearch-project/dashboards-anywhere-contributor. Thank you.

Thank you for your feedback. I understand that this is not a bug, but rather a feature of the current RBAC implementation.
As an alternative, I propose showing an "access denied" page or a similar notification to users whose authorization returns no roles. This would immediately inform them that although their login credentials are correct, they do not currently have access to any data or dashboards.
To provide a bit more context: In our organization, we have many non-technical users who request access to OpenSearch Dashboards via a company portal. When they attempt to log in and succeed, they naturally assume that their access request was successful. If, for some reason, their request didn't go through correctly (e.g., they requested access to the wrong application), they are confused because they can log in but see no data or dashboards.
I believe this alternative solution would not only resolve the confusion for our users, but it could potentially improve the user experience for other organizations that use OpenSearch Dashboards in a similar context.
However, I understand if this behavior is by design and there is no current interest in changing it. In that case, feel free to close this issue.
Thank you again for your time and consideration.


[BUG] SliverPersistentHeader does not work inside SliverMainAxisGroup wrapped by another SliverMainAxisGroup

Steps to reproduce
For example, we have a widget that returns Sliver to reuse it in many places, we wrap the result slivers list in the SliverMainAxisGroup and it breaks the SliverPersistentHeader pin option.
Expected results
SliverPersistentHeader pinned option have to work in this case.
Actual results
SliverPersistentHeader scrolls together with list.
Code sample
Code sample
        StreamBuilder(
          builder: (context, snapshot) => allItems.isEmpty
            ? const SliverFillRemaining(
                hasScrollBody: false,
                child: Center(child: Text('No Items found')),
              )
            : SliverMainAxisGroup(
                slivers: [
                  ...allItems.map((i) => i.groups).toSet().map(
                    (group) {
                      final items = allItems.where((i) => i.status == group).toList();

                      return SliverMainAxisGroup(
                        slivers: [
                          SliverPersistentHeader(
                            pinned: true,
                            delegate: AdSetsListHeaderDelegate(group),
                          ),
                          SliverFixedExtentList(
                            itemExtent: 54,

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.24.2, on Microsoft Windows [Version 10.0.22631.4169], locale ru-RU)
    • Flutter version 3.24.2 on channel stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cf269e36d (2 weeks ago), 2024-09-03 14:30:00 -0700
    • Engine revision a6bd3f1de1
    • Dart version 3.5.2
    • DevTools version 2.37.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK
    • Platform android-35, build-tools 35.0.0
    • Java binary
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.3)
    • Visual Studio
    • Visual Studio Community 2022 version 17.11.35303.130
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4169]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 128.0.6613.138
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 128.0.2739.79

[√] Network resources
    • All expected network resources are available.

• No issues found!

Hi @zs-dima, this seems like a duplicate of https://github.com/flutter/flutter/issues/154615. Can you check to confirm this? If it is not, please provide a complete runnable code sample so that we can properly investigate this.
Thank you

@danagbemava-nc , it is different case

Hi @zs-dima, please provide a complete minimal reproducible code sample without any third-party packages so that we can properly investigate this.
Thank you

Hi @zs-dima, the code you have provided is not complete. There are missing variables and widgets. Please provide a complete minimal reproducible code sample so that we can properly investigate this.
Thank you

I found a workaround to solve this issue, anyway, it is not critical, would be better to pay attention to critical issues instead:
https://github.com/flutter/flutter/issues/149031
https://github.com/flutter/flutter/issues/104509


About the updated download_taxibj.sh file and his dataset

First of all, thank you very much for your work.
I saw your update about the taxibj dataset and showed the format of the dataset in tools\prepare_data\download_taxibj.sh. I downloaded https://github.com/chengtan9907/OpenSTL/releases/download/v0.1.0/taxibj_dataset.zip
dataset and looked at the format of the .npz file.
My problem is that by looking at the X_train dataset in .npz, he structure is (20461,4,2,32,32) for a 5D tensor data. But in the original author's explanation of the dataset you gave it shows that the dataset is a 4D tensor, so I would like to ask you what does this 5D structure represent respectively?

Also, when I train,test and visualize the taxibj dataset in vis_vidio.py, the result shows not the traffic data corresponding to taxibj but the visualized heatmap of the mmnist dataset, the taxibj dataset you provided has a different structure than the original author's dataset, are you sure this is correct?

The first dimension is the number of data samples. (20461,4,2,32,32) is corresponding to (B, T, C, H, W).


⚠ ClamAV has degraded performance

In 601485b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 243 ms

Resolved: ClamAV performance has improved in 6a09ec7.


html/template: URL path/fragment component not properly escaped

Given the following two templates:
link
link

When . is "hello#param1=value1&param2=value2", the templates produce the following HTML output:
link
link

Example at https://play.golang.org/p/pbdV0f9DdE.
Notice that the interpolated fragment separator #, and the & sub-delimiter is escaped (via percent-encoding) in the first template, but not the second, despite the fact that both URLs are equivalent (%3F is the percent encoding of ?). This allows parameters and fragments to be injected into the URL in the second template.
The problem is that the state machine only transitions into the URL query/frag component state when the # or ? rune is found. It does not account for their percent-encoded equivalents.
The fix for this is simple, but it would break users by changing html/template's URL-escaping behavior. I'm not sure if such a change would be worth it.

@mikesamuel

Are the URLs really equivalent? I would not expect %3F to behave like the unquoted question mark -- how else would you quote a question mark that is part of the URL path?
Consider:

https://github.com/golang/go/issues?q=foobar   does a search
https://github.com/golang/go/issues%3Fq=foobar   gives 404

As far as I understand, /bar?{{.}} will quote as query, /bar%3F{{.}} will quote as URL path.

@tv42 Yes, looks like they aren't equivalent.
node.js:
let url = require('url');
console.log(url.parse('http://www.foo.com/bar?x=y').pathname);
console.log(url.parse('http://www.foo.com/bar%3Fx=y').pathname);

Output:
/bar
/bar%3Fx=y

@tv42  @opennota Thanks for pointing that out. I once again confused myself over how percent-encoded and HTML-escaped characters get interpreted by the browser.
My concern should have been if ? in link is properly un-escaped into ?, and interpreted by the URL parser. As it turns out, it is, and the action after the HTML-escaped question mark gets query-escaped properly.


Events are added to days past

System Information:

Version: 1.5.3
Language: en-us
Timezone Offset: -06:00
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36

What steps will reproduce the problem?

Click on extension
Click "+"
If it is Wednesday type event with day of the week "Tuesday" and calendar will take you to the day before instead of the following tuesday

What is the expected result?
Calendar should open an event with the calendar day specified.
If today is Wednesday and I type "Coffee with Joe 3pm Tuesday" the calendar should create an event on Tuesday of the following week. Not the day before today Wednesday.
What happens instead?
Calendar opens an event on the previous day of that same week.
Screenshot URL:
Logs:
[2015-02-04T18:40:14.255Z] Creating bug report.

This is a bug with the Quick Add implementation in Google Calendar. I have brought this to the attention of the Calendar team in August 2014 but they have so far not acted upon it.
Unfortunately, there is nothing more I can do about this, sorry.


Crash on key value 1000111

I see a crash inside RV32.py when it encounters key '1000111'. See Python crash stack:
Traceback (most recent call last):
File "test_with_dump_file.py", line 38, in
test_dump_file()
File "test_with_dump_file.py", line 35, in test_dump_file
DumpFileReader("I32_asm_test.dump")
File "test_with_dump_file.py", line 27, in init
decoded_str = rv.decodeHex(instruction_word)
File "/home/UNT/ndg0068/rv_tools/riscv-newop/rvnewop/RV32.py", line 50, in decodeHex
return self.decode(ba)
File "/home/UNT/ndg0068/rv_tools/riscv-newop/rvnewop/RV32.py", line 53, in decode
return self.instructionTableRVFormatParser.getOpcode(ba)
KeyError: frozenbitarray('1000111')

It looks like the key 1000111 is only for F,D, and Q extensions which we do not support yet.

Aha ok.. Any way that we can report this as such and not crash?
On Wed, Jul 8, 2020 at 4:22 PM pry<EMAIL_ADDRESS>wrote:

[image: image]
https://user-images.githubusercontent.com/19543889/86971495-e6a21c80-c136-11ea-985e-c7ac29564d53.png
[image: image]
https://user-images.githubusercontent.com/19543889/86971571-02a5be00-c137-11ea-879d-3c1c7e99a2e9.png
It looks like the key 1000111 is only for F,D, and Q extensions which we
do not support yet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv-newop/riscv-newop/issues/12#issuecomment-655764717,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDU2YM272PNCLIVVFNABBLR2TPRDANCNFSM4OSFQOJA
.

Yea I'll invoke get() on the instructionTable with a default value which should not crash. Thanks.

That sounds good..
On Wed, Jul 8, 2020 at 4:26 PM pry<EMAIL_ADDRESS>wrote:

Yea I'll invoke get() on the instructionTable with a default value which
should not crash. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv-newop/riscv-newop/issues/12#issuecomment-655766351,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDU2YORMLHZALMVZABMZLTR2TP7LANCNFSM4OSFQOJA
.


PreserveCompilationReferences=false breaks runtime compilation in 2.x desktop targeting projects

ref files are required for runtime compilation during build (dotnet run) on .NET Fx targeting projects. At the same time we want this flag off by default to avoid copying ref assemblies in .NET Core targeting projects. The plan is to

Set PreserveCompilationReferences = false in the RazorSDK props file
Set PreserveCompilationReferences = true in the RazorSDK targets file if you’re targeting < 3.x. Additionally for these projects run the target that removes the files during publish while honoring the older RazorSDK specific flags.

cc @mkArtakMSFT \ @rynowak \ @nguerrera


Testing

Checklist

[ ] I ran npm test locally and it passed without errors.

[ ] I only edited the _data/pixels.json file.

[ ] I entered the username in the pixels.json that I'm also using to create this pull request.
[ ] I acknowledge that all my contributions will be made under the project's license.

Verified

Woops accidental closure...

realized package-lock was edited when installing packages and audit fixing. Closing and attempting again.


Added service to update an entity's ID

Description
Add a new service to update an entity's Entity ID.
Motivation and Context
I run a rather large and sprawling Home Assistant instance. Sometimes I add an integration that creates 20+ entities. I don't like the way HA automatically builds the entity_id for new devices/entites and so have to manually go and rename them. The idea behind this is that, instead of having to manually rename every entity, or shutdown home assistant and mess with the entity_registry file in .storage I can do a bunch of service calls and get the result I want.
How has this been tested?
Used on my own instance to rename entities. Service call was simple enough
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

PR is missing the change to the entities documentation page. Wanted to make sure the change is welcomed before updating that and creating the screenshot

Updated everything. Should be ready to merge


Implements covariation structures as defined by Aitchison (1986) in definitions 4.4, 4.5 and 4.6

This is a clean PR. As discussed earlier, the other one was poluted. I would appreciate if you could review this piece of code.

This is a clean PR. As discussed earlier, the other one was poluted. I would appreciate if you could review this piece of code.

Furthermore, I have the test code for these new features, but it is dependent on the approval of this PR.

@mrr00b00t I have accepted the suggestions directly on GitHub. In order to continue working on this branch, please pull the changes first.

Codecov Report

Merging #24 (e271fc9) into master (796f83b) will decrease coverage by 17.44%.
The diff coverage is 0.00%.

:exclamation: Current head e271fc9 differs from pull request most recent head 2f1cab0. Consider uploading reports for the commit 2f1cab0 to get more accurate results

@@             Coverage Diff             @@
##           master      #24       +/-   ##
===========================================
- Coverage   84.11%   66.66%   -17.45%
===========================================
  Files           4        5        +1
  Lines         107      135       +28
===========================================
  Hits           90       90
- Misses         17       45       +28

Impacted Files
Coverage Δ

src/covariances.jl
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Amazing PR! 🎉 ❤


 But we also have generated code, i.e. we need to invoke go generate before building.
This isn't supported in go get afaik. Best way I can think is to check in the generated files (these are the skeleton files ex gauge.propertiesetc).

should be available in nightly >= 10-jul-2017

Ignore commit https://github.com/getgauge/gauge/commit/b4ea028adfdbf24c1b15ad2d2a14ba33edf0b24a


216 update font family

connects to #216

:tada: This PR is included in version 3.5.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add josh martin

@josh-martino, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

@Roshanjossey Absolutely, the tutorial felt clean and organized. A few spots I got hung up but solved the problem. It may have been something I had done but I wasn't sure. Specifically: git commit -m "Add  to Contributors list"
This would not work & continuously gave me: "Changes not staged for commit, no changes added."
In order to fix this I found that using this:
git commit -am "Add  to Contributors list"
solved the problem.
Other than that it was great! Thanks for continuing to accept PR's!

@josh-martino: That error will happen if you miss the step to add changes
git add Contributors.md
I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com

Ah I see! Cool I'll check it out. Thanks!


fix: hero section typo & add dynamic icons

Fix:

Typo in hero section for 'experience' written as 'experiece'

Add:

Add dynamic theme based color scheme for sponsor icons. (Sponsor icons weren't visible in light theme)

@nobruf Review.


error CS0101: when moving to Directory.Build.props

When building; I get the warning to following warning:

C:\Program Files\dotnet\sdk\2.1.201\Microsoft.Common.CurrentVersion.targets(818,5): warning MSB3539: The value of the property "BaseIntermediateOutputPath" was modified after it was used by MSBuild which can lead to unexpected build results. Tools such as NuGet will write outputs to the path specified by the "MSBuildProjectExtensionsPath" instead. To set this property, you must do so before
Microsoft.Common.props is imported, for example by using Directory.Build.props.  For more information, please visit https://go.microsoft.com/fwlink/?linkid=869650

I had the following construction:
Project file:
<Project Sdk="Microsoft.NET.Sdk.Web">
  <Import Project="../config/configuration.props" />
[snip]
</Project>

configuration.props:
<Project>
  <PropertyGroup>
    <Configurations>Debug;Release</Configurations>
    <Platforms>AnyCPU</Platforms>
    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    <BaseIntermediateOutputPath>..\..\artifacts\obj\</BaseIntermediateOutputPath>
    <OutputPath Condition="'$(Configuration)' == 'Release'">..\..\artifacts\build\</OutputPath>
  </PropertyGroup>
</Project>

I had created a configuration.props to unify the same properties across a couple of projects within the solution. As the warning suggests; I created a Directory.Build.props on solution-level; remove the line from the configuration.props and added it to a newly created Directory.Build.props:
<Project>
    <PropertyGroup>
      <BaseIntermediateOutputPath>..\..\artifacts\obj\</BaseIntermediateOutputPath>
    </PropertyGroup>
</Project>

I do see some files appearing in the artifacts\obj folder; but:
Actual behavior
{Project1} -> r\artifacts\build\win10-x64\{Project1}.dll
obj\Debug\{Project2}.Program.cs(3,7): error CS0101: The namespace '<global namespace>'
already contains a definition for 'AutoGeneratedProgram' [\src\{Project2}\{Project2}.csproj]

Expected  behavior
A working build.
I even tried
<BaseIntermediateOutputPath>..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>

but, this also doesn't work.

When you change your BaseIntermediateOutputPath, be sure to delete the default obj folder in your project file since the generated .cs files in there will conflict with the ones in the new location.

That's it!


cue/interpreter/embed: missing help text

What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20240703133932-f1f0963cb0f9

go version go1.22.3
      -buildmode exe
       -compiler gc
  DefaultGODEBUG httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
     CGO_ENABLED 1
          GOARCH arm64
            GOOS linux
             vcs git
    vcs.revision f1f0963cb0f978020fc895202c50f40452da31b9
        vcs.time 2024-07-03T13:39:32Z
    vcs.modified false
cue.lang.version v0.10.0

Does this issue reproduce with the latest release?
Yes
What did you do?
cue help embed

What did you expect to see?
Some help text about embedding.
What did you see instead?
$ cue help embed
Unknown help topic: embed

Note that https://review.gerrithub.io/c/cue-lang/cue/+/1197335 added the skeleton here, so the page is no longer missing.


VSCode can't open browser as superuser

VSCode Version: 1.63.2
Local OS Version: Ubuntu 20.04.3 LTS

Steps to Reproduce:

Run VSCode as useruser with command 'sudo code --user-data-dir'
Install any extensions that require login Github with browser like GitHub Pull Requests and Issues or GitHub Copilot
Accounts > Sign in with Github to user ...

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

/gifPlease