ORG $-1 directive recognised in listing but not in the generated binary file.

Version 1.4 of the Agon Light ez80asm assembler.
Code such as:
DW	LABEL-$
ORG	$-1
DW	LABEL-$
ORG	$-1
DS	48
LABEL:
Will show in the ez80asm listing that the ORG statement decrements the assembly address.
However, the bin file does not show this. The .lst and .bin files disagree.
The generated code is different from the listing.
Background: a common coding technique is the generate an array of offsets to relevant code.
This is often an array of single bytes with low offsets.
DB LABEL-$ will not be accepted by the Agon Light ez80asm.
The Zilog ZDS tool has an embedded ez80asm assembler that offers LOW( ) and HIGH ( ) functions to assist e.g. LOW(LABEL-$).
The documntation says ORG should be followed by a constant.
Does this mean that ORG $-1 is itself invalid?
How should the coding required be generated?

I'm currently at release 1.6, which does support DB label-$

I accept your explanation but with some minor points: the error does not get shown in the assembler output messages or the listing. It doesn't fail the assembly or warn that the code generated will be different from the listing.Does it need a setting to show warnings?I am now completely stuck on how to generate a value that is acceptable to a DB instruction from an expression using a relocatable value (a location). Can you help?I can understand that the assembler may not know whether the expression would be corrupted on only moving bits 7-0 to the DB. But isn't this over-protective? Isn't this similar to type-casting in the C language e.g.... = (byte) valueor... LOW(value)In fact the assembler can know on pass 2 whether the expression will actually fit in a byte or on pass 1 if the location is before the DB.It could warn then...Thank you for you help and assembler.On 23 Apr 2024 13:57, Jeroen Venema @.***> wrote:
I've checked ZDS, which gives 'ERROR (507) Relocatable values not allowed in this expression' when given a
ORG $-1
While both ez80asm and ZDS allow for setting a different ORG later on in code, it doesn't reflect on either's assembled output.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Good to hear; starting 1.6, the DB/DW statements are much less strict and only give warnings if fed a larger number than the length can hold.
You can also use compound statements to get to the high/low byte of a constant or label, like so
.db $>>16 ; gives the high byte
.db $ & 0xFF; gives the low byte
As a side-note, the AgonLight2 is less risky then you might think. When the agon-flash utility fails somehow and the MOS gets borked, you can always use the agon-recovery utility, which requires just two dupont jumpercables to recover MOS. I've written both utilities and done literally hundreds of flash installs/recoveries.

Some news:I tried the fab-agon-emulator 9.0.43 with ez80asm 1.6.Happily DB label-$ now passes. Didn't try if the calculation is >255.However ORG $-1 behaviour is unchanged (but I don't need it now!).When trying to assemble 20,000 source lines and generate around 16k of binary I get "out of memory" and an ungraceful end. Worked on 1.2! Trivia: assembler now objects to 1234 // 5.I was looking for a modulus operator like 1234 % 256. Would be useful.Thanks.Simon.On 23 Apr 2024 17:22, Jeroen Venema @.***> wrote:
Good to hear; starting 1.6, the DB/DW statements are much less strict and only give warnings if fed a larger number than the length can hold.
You can also use compound statements to get to the high/low byte of a constant or label, like so
.db $>>16 ; gives the high byte
.db $ & 0xFF; gives the low byte
As a side-note, the AgonLight2 is less risky then you might think. When the agon-flash utility fails somehow and the MOS gets borked, you can always use the agon-recovery utility, which requires just two dupont jumpercables to recover MOS. I've written both utilities and done literally hundreds of flash installs/recoveries.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

org behavior is similar to other assemblers on the market, which I agree with behavior-wise, so that will not be changed.
Original question has been resolved a while back. User was running an older version of the assembler.


[BUG] Create the charts button does not work - Strapi backend URL is not populated

At the end of this thread there is some more specific error logic I have noticed. Not sure why this is all happening though. Still, there is good screenshots and comments in here too. Thank you for your help!
I will be debugging it more tonight...
Have you ever seen this happen? I got the chartbrew plugin loaded up, configured etc (it is running in the heroku cloud, with a postgres database). I deployed the latest Corporate starter pack Admin panel (and that is where I installed the Chartbrew plugin too).  I have seen this happen on localhost version of the Admin Panel, as well as in the heroku version. That is the version you see in the screenshot.
Thought I did everything correctly...but when I try to create a new Data Visualization from my strapi collections in the Heroku version of the strapi Admin Panel, there are no options to choose from. It says "Select the charts you want to create"...but there are none listed.

I have got this working before in a different (and similiar implementation) and used that to compare any differences. I am not sure why it doesnt seem to be working here in this strapi Admin Panel. Was hoping you might have an idea about what I may have done wrong? Or maybe that you have seen this happen before.

I logged in with the Owner account, and created a new API from there (I had been logged in and using a Test user account which was not the owner). Once I did that, now I can at least see the list of charts showing up, when I click on the different strapi collection types. But no matter if I choose an existing dashboard to place the charts, or leave that field blank and let it create a new dashboard....it doesnt do anything,
I mean, when I click the Create the Charts button, the screen flashes briefly, and no charts are created in the Chartbrew frontend. As in the screenshot below it did create a 'pages repot' dashboard, but no charts are actually created in there.
When I look at the actual running Chartbrew frontend, I see the 'pages report' but it is empty.
Any idea why, when clicking the Create the charts, it ends up not creating anything???

Here is the Dashboard screen, after it did create the 'pages report', but notice its empty. Nothing was created :-(

Here is what the Chartbrew admin panel looks like after attempting to create those data visualizations of the Strapi data. Notice the 'pages repot' is there. But when I open it up...its totally empty

Also, here is another project I created in the Chartbrew Admin panel like shown in the screenshot above.
And when I refresh the strapi chartbrew plugin, you can see it there. So there is some communications happening here between the entities involved.

And here is when I just now had created it in the Chartbrew Admin screen.

And here is my Chartbrew plugin settings.

I checked the heroku logs, for where this strapi Admin Panel is running, and notice the error I am getting when I try to click the Create the Charts button. Hopefully this will be helpful to determine what is going wrong??

Here is the chartbrew code where I see this error message may be coming from

Also, for what its worth, when I attempt to run this on localhost where I initially got the strapi admin panel running (and then added the chartbrew plugin, and configured it)....that is broken too. Seeing two potential errors

Thanks for the detailed logs and all the debugging @scottdevopsgithub 🙏 I'll look into it and let you know as soon as I find the issue

Im still digging into whatever I can. Hope you find something soon. :-)

PS I  am wondering, in the interim, if I could rollback to 1.22.1 of Chartbrew (I just realized that line of code I showed above was in the chartbrew repo and not the Chartbrew plugin repo)
Well anyways, I believe I had it working in that 1.22.1 version. What do you think?
Here is what I am running right now in the Strapi Admin Panel that is hosting my Chartbrew plugin

I tried Strapi 4.2.2 and 4.3.6 and I could not replicate the issues (using the latest plugin and chartbrew versions).
Some other things I tried:

Create a dashboard with an Editor role in Strapi
Create a dashboard with an Author role
Refresh both Chartbrew token and the Strapi one

Can you let me know what roles the Mr Dashboard Chartbrew user has?
Also, can you try and refresh the tokens to see if that fixes the issue?

OK, let me try these things. Ill let you know what I find. may have a question for you about these things.

I did create a new token while logged in to Chartbrew admin panel as Mr Dashboard (owner). And I put that token into the Chartbrew plugin.  Here is what I see when I click the test button using the newest token I created when in the chartbrew admin panel earlier today

PS, is there any possibility I have something wrong in my ENV vars that could cause something like this? I just wanted to mention it. I thought I entered them all properly, but who knows.

I created an Editor Account, logged in as that user, and attempted to create a new Visualization. Got same error in the terminal window.
But also, as before, it does at least create an empty 'project' in the Chartbrew Admin panel

So, just for the heck of it, I went into the Chartbrew Dashboard and created a new Connection, and pointed to one of my strapi blog sites with a public facing API. I saved the dataset etc. Then I made a new chart from it, while in Chartbrew Admin panel.
Then I went back to the Chartbrew Plugin/dashboard screen in my Strapi Admin Panel, and I can see the chart I just created. So it is working OK from that standpoint.

By the way what is this for? Am I supposed to fill this in?  I noticed this was empty.

Would it be possible for you to add the following lines in the chartbrew code at line 322?
console.log("templateData", templateData);

Maybe easier to do it on the localhost version of Chartbrew. Something is missing from the data and this will give me a better idea in what to investigate

I may need to clarify something here. The version of Chartbrew that I am using, came into existence by me forking the chartbrew repo, and then just pointing a heroku app at that github repo. So my current Chartbrew is hosted in heroku and not on local machine.
I think the chartbrew code you are referring to, would be located inside of that instance of my heroku version, isnt that correct?
So, is there anyway to make this happen whilst still using my forked copy of the chartbrew code (located in my heroku app)?

Here you go

These are the config vars, masked, for this running instance (forked copy) of chartbrew

PS Am I supposed to fill this in? I am not sure what the purpose of this is...

Just to put the results here at end, easier to spot from the screenshots above.
It seems to be telling me that strapiHost is empty?? Not sure why that would be. Can you tell me where that is set at? is it taking it from an ENV var?

Hmm, it looks like the Admin UI can't find the backend URL from the env variables.
The line in question is here: https://github.com/chartbrew/strapi-plugin-chartbrew/blob/master/admin/src/pages/Create/index.js#L28
Maybe for now, you can set this manually where you deployed Strapi. The Env variable that needs to be set is STRAPI_ADMIN_BACKEND_URL
The value depends on your backend URL. For example on localhost this would be http://localhost:1337 by default

Hello, thanks for info. Im parsing it now...

PS you said
1. It looks like the Admin UI can't find the backend URL from the env variables
Are you talking about the Chartbrew frontend/Admin UI or my Strapi Admin UI?

PS you said 1. It looks like the Admin UI can't find the backend URL from the env variables Are you talking about the Chartbrew frontend/Admin UI or my Strapi Admin UI?

Strapi's Admin UI. So you will need to set up the variable in the place where you've deployed Strapi. That variable should be set automatically, so not really sure why it's not working

alrighty, so these are my ENV vars in the heroku instance that is hosting the Strapi Admin panel. Looks like there is no sign of a STRAPI_ADMIN_BACKEND_URL

You will need to add it there for now. Normally that gets populated automatically by Strapi so there's no need to set it up there. But it seems it doesn't work on your end for some reason. I'll need to see how I can handle this differently in the plugin

OK, I will add it and deploy and hopefully that resolves this!

its working better this time! But, there's always a but lol....I think we discussed this other issue before. But at least part of it makes more sense to me this time around. Let me post a few more screenshots....and let me know if I should create a new issue.

It created the charts, but the data doesnt show up, until I went into the Chartbrew Admin panel, and hit the refresh button. Then it showed up as seen below

And lastly, I see what is happening here, but I dont know why. After it creates the charts it redirects back to https://backend.herokuapp.com/plugins/chartbrew
It does that each time I made some new charts. So its repeatable consistently each time.
But instead it should be redirecting to here instead:
https://backend.herokuapp.com/admin/plugins/chartbrew
So its like missing the /admin/ part of the URL during the redirect
So anyways, to solve it for now, I just manually put in https://chartbrewcorpbackend-staging.herokuapp.com/admin/plugins/chartbrew and hit enter, and then it shows the screenshot you see above.

thanks for your help!

Thanks a lot for all the details and debugging! I'll have a look into these issues as soon as I can.
For now, I separated these into separate issues because the discussion here is getting very difficult to parse

Yep, I see the other new issues. If I can troubleshoot anymore I will add more info :-)

Just wondering, do you have any hunches or guesstimates, of where I might start looking in the chartbrew code to do more debugging on those other two issues? If not, thats fine too... I will just start 'somewhere in the middle' :-)

You will need to add it there for now. Normally that gets populated automatically by Strapi so there's no need to set it up there. But it seems it doesn't work on your end for some reason. I'll need to see how I can handle this differently in the plugin

Do you think maybe we need another text box in the Chartbrew plugin Settings in the Strapi Admin panel, where we could type in the URL for the STRAPI_ADMIN_BACKEND_URL. And if the strapi backend url is null/undefined at runtime, then you use the value of the STRAPI_ADMIN_BACKEND_URL that is specified in a new Chartbrew settings value?

PS, been debugging some more...not sure what this is about, Connection refused? hmmm
I think it happens four times (once for each chart it is trying to get data for? or push data back into the strapi instance?)
022-09-02T05:11:02.414934+00:00 app[web.1]: Unhandled rejection RequestError: Error: connect ECONNREFUSED <IP_ADDRESS>:80
2022-09-02T05:11:02.414937+00:00 app[web.1]:     at new RequestError (/app/node_modules/request-promise-core/lib/errors.js:14:15)
2022-09-02T05:11:02.414938+00:00 app[web.1]:     at Request.plumbing.callback (/app/node_modules/request-promise-core/lib/plumbing.js:87:29)
2022-09-02T05:11:02.414939+00:00 app[web.1]:     at Request.RP$callback [as _callback] (/app/node_modules/request-promise-core/lib/plumbing.js:46:31)
2022-09-02T05:11:02.414939+00:00 app[web.1]:     at self.callback (/app/node_modules/request/request.js:185:22)
2022-09-02T05:11:02.414939+00:00 app[web.1]:     at Request.emit (node:events:513:28)
2022-09-02T05:11:02.414940+00:00 app[web.1]:     at Request.onRequestError (/app/node_modules/request/request.js:877:8)
2022-09-02T05:11:02.414940+00:00 app[web.1]:     at ClientRequest.emit (node:events:513:28)
2022-09-02T05:11:02.414941+00:00 app[web.1]:     at Socket.socketErrorListener (node:_http_client:481:9)
2022-09-02T05:11:02.414941+00:00 app[web.1]:     at Socket.emit (node:events:513:28)
2022-09-02T05:11:02.414941+00:00 app[web.1]:     at emitErrorNT (node:internal/streams/destroy:157:8)
2022-09-02T05:11:02.414942+00:00 app[web.1]:     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
2022-09-02T05:11:02.414942+00:00 app[web.1]:     at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-09-02T05:11:02.415073+00:00 app[web.1]: Unhandled rejection RequestError: Error: connect ECONNREFUSED <IP_ADDRESS>:80
2022-09-02T05:11:02.415074+00:00 app[web.1]:     at new RequestError (/app/node_modules/request-promise-core/lib/errors.js:14:15)
2022-09-02T05:11:02.415075+00:00 app[web.1]:     at Request.plumbing.callback (/app/node_modules/request-promise-core/lib/plumbing.js:87:29)
2022-09-02T05:11:02.415075+00:00 app[web.1]:     at Request.RP$callback [as _callback] (/app/node_modules/request-promise-core/lib/plumbing.js:46:31)
2022-09-02T05:11:02.415075+00:00 app[web.1]:     at self.callback (/app/node_modules/request/request.js:185:22)
2022-09-02T05:11:02.415076+00:00 app[web.1]:     at Request.emit (node:events:513:28)
2022-09-02T05:11:02.415076+00:00 app[web.1]:     at Request.onRequestError (/app/node_modules/request/request.js:877:8)
2022-09-02T05:11:02.415076+00:00 app[web.1]:     at ClientRequest.emit (node:events:513:28)
2022-09-02T05:11:02.415076+00:00 app[web.1]:     at Socket.socketErrorListener (node:_http_client:481:9)
2022-09-02T05:11:02.415077+00:00 app[web.1]:     at Socket.emit (node:events:513:28)
2022-09-02T05:11:02.415077+00:00 app[web.1]:     at emitErrorNT (node:internal/streams/destroy:157:8)
2022-09-02T05:11:02.415078+00:00 app[web.1]:     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
2022-09-02T05:11:02.415078+00:00 app[web.1]:     at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-09-

also, wondering if strapi permissions issues are playing into this or not.

I'll close this because I created separate issues #9 and #8


Location of detected sign does not match with iD and JOSM

Here the location of the detected signage (on the right) does not correspond to iD and JOSM. Both iD and JOSM locates the same image where the left dot is (on the left). Also, the left dot is no longer clickable.
cc @planemad @amishas157

My hunch is this might be something to do with the location precision in the zoom level of vector tiles.
Also the reason why the previous marker is not clickable is that there is no detected restriction there. The current logic has this check before being able to create/update markers. This should be fixed to allow one to delete outdated/incorrect markers.

Another similar instance where the location of the detected signage does not match with that in iD/JOSM: http://mapbox.github.io/osm-navigation-map/#19.07/45.35007/-75.65503

This no-u-turn sign opens up in the following locations in iD and JOSM respectively:

Note that the locations exactly match on iD and JOSM
@gyllen It would be great if you could please have a look and shed some light on why this is happening.
cc @planemad

Tracking in feature ticket


CI: Build contracts prior to run cargo test

Adds make build-contracts to drone step.

It turns out adding #[ignore] to the test was the way to go.


Changing the contents of a template file referenced with template_name = doesn't rebuild the component

When I change the template that is in a separate file (referenced by template_name in the component), the overall component doesn't reload. Have to restart the server (or change the .py component) to trigger a refresh.

As the discussion is already completely there, I'll mark this one as duplicate of #74.
(issues were opened almoust sumultaneously, 4h diff :laughing:)


Podcasts not editable in Favorites

I'm a superhappy Material Skin User since the beginning, so a big thank you to the developers!
I wanted to edit a Podcast entry in Favorites, all empty fields exept the title (see Screenshot 1). So I do it in the StandardUI an edit is easy possible (see Screenshot 2). I did the setup of the Podcasts listed in the Favorites in Settings -> Plugins -> Podcasts (see Screenshot 3).
As it works in the old StandardUI, I believe it's simply a bug and therefore I've entered here in Github, I hope ok so :-)
Thanks for any follow up.
Cheers
Enrico

Unfortunately LMS is not providing the 'preset parameters' for this item. These contain the URL, title, and image - title and image duplicated elsewhere, hence shown here. But, without the 'preset params' Material cannot editing anything, hence for the next release I'll hide the 'Edit' action for such items.
However, the issue is with LMS - it should provide the 'presetParams' attribute.
As to how Default skin works, not sure. I know it uses a different API to Material. Material is more like an app (Squeezer, iPeng, etc.) than a skin.


AWS worker node detected to be dead after running for some time and a new node launched

======== Cluster Scaler status: 2022-04-13 03:05:43.381991 ========
Node status
Healthy:
1 worker.default
1 head.default
Pending:
(no pending nodes)
Recent failures:
(no failures)
2022-04-13 03:05:48,518	INFO load_metrics.py:163 -- LoadMetrics: Removed ip: <IP_ADDRESS>.
2022-04-13 03:05:48,519	INFO load_metrics.py:169 -- LoadMetrics: Removed 1 stale ip mappings: {'<IP_ADDRESS>'} not in {'<IP_ADDRESS>'}
2022-04-13 03:05:48,519	INFO cluster_scaler.py:291 --
======== Cluster Scaler status: 2022-04-13 03:05:48.519250 ========
Node status
Healthy:
1 head.default
Pending:
(no pending nodes)
Recent failures:
<IP_ADDRESS>: worker.default
2022-04-13 03:05:48,519	INFO cluster_scaler.py:1033 -- StandardClusterScaler: Queue 1 new nodes for launch
2022-04-13 03:05:48,519	INFO cloudtik_cluster_controller.py:245 -- :event_summary:Adding 1 nodes of type worker.default.
2022-04-13 03:05:48,519	INFO node_launcher.py:108 -- NodeLauncher1: Got 1 nodes to launch.
2022-04-13 03:05:48,520	INFO node_launcher.py:108 -- NodeLauncher1: Launching 1 nodes, type worker.default.
2022-04-13 03:05:53,666	INFO load_metrics.py:163 -- LoadMetrics: Removed ip: <IP_ADDRESS>.
2022-04-13 03:05:53,666	INFO load_metrics.py:169 -- LoadMetrics: Removed 1 stale ip mappings: {'<IP_ADDRESS>'} not in {'<IP_ADDRESS>', '<IP_ADDRESS>'}
2022-04-13 03:05:53,667	INFO cluster_scaler.py:291 --
======== Cluster Scaler status: 2022-04-13 03:05:53.667126 ========
Node status
Healthy:
1 head.default
Pending:
<IP_ADDRESS>: worker.default, uninitialized
Recent failures:
<IP_ADDRESS>: worker.default
2022-04-13 03:05:53,667	INFO cluster_scaler.py:982 -- Creating new (spawn_updater) updater thread for node i-06354b97c63235580.
2022-04-13 03:05:58,832	INFO load_metrics.py:163 -- LoadMetrics: Removed ip: <IP_ADDRESS>.
2022-04-13 03:05:58,833	INFO load_metrics.py:169 -- LoadMetrics: Removed 1 stale ip mappings: {'<IP_ADDRESS>'} not in {'<IP_ADDRESS>', '<IP_ADDRESS>'}
2022-04-13 03:05:58,833	INFO cluster_scaler.py:291 --
======== Cluster Scaler status: 2022-04-13 03:05:58.833324 ========
cloudtik_cluster_controller.txt

Does it happen in the run data generation phase? It's similar to the problem I encountered before. https://github.com/oap-project/cloudtik/pull/66.

@yao531441 No.  No workoad is running.
When I am trouble shooting some ganglia problem on a small cluster. I found the new worker node was started every 30 -60 minutes. (The old worker was mentioned to be stale as the log says)
I didn't see the same problem on a new cluster today. Not sure about what happening ( cloud provider terminate the node or instability of the NonTerminatedNodes API?)

If this problem happens again. I suggest  shut down all cloudtik processes  to confirm whether it is caused by cloudtik.

The problem should be related to spot instances which may terminated by AWS for capacity reasons.


Gulp breaks

Hi,
After successfully(?) scaffolding then running gulp it breaks with:
[13:58:38] 'bower:js' errored after 17 ms
[13:58:38] Error: Bower components directory does not exist at /var/www/vhosts/violacase.nl/httpdocs/slush.mijnspeelplek.com/bower_components
at Error (native)
at Object.module.exports (/var/www/vhosts/violacase.nl/httpdocs/slush.mijnspeelplek.com/node_modules/main-bower-files/lib/index.js:76:17)
A bower_components directory has not been created.
Regards

Hi,
this mean you didn't installed bower components, so did you start kickstart by this :
slush kickstart --skip-install

if yes so you need to run this :
bower install

please check this :
https://github.com/mohamdio/slush-kickstart#getting-started

I didn't slushed kickstart with --skip-install. param.
Also  bower installdoesn't perform any action.

did you have bower.json file inside your project folder ? if yes the command bower install should install all components inside the folder.

Contents of bower.json:
{
  "name": "kickstart",
  "description": "none",
  "private": true,
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {

    "foundation-sites": "~6.0.5",

    "font-awesome": "~4.5.0",

    "jquery": "~2.1.4"
  },
  "overrides": {

    "foundation-sites": {
      "main": [
        "scss/**/*.scss",
        "dist/foundation.css",
        "dist/*.js"
      ]
    },

    "font-awesome": {
      "main": [
        "scss/**/*.scss",
        "css/font-awesome.css",
        "fonts/**/*"
      ]
    },

    "jquery": {
      "main": [
        "dist/jquery.js",
        "dist/jquery.min.js"
      ]
    }
  }
}

Great this should working fine after insert the command, so what you get exact in terminal after insert
bower install
also i tested everything from beginning and all working fine, can you try slush kickstart in the new project folder and let me what will happened ?

That's odd. It works on Window 10 but fails on Centos 7. Perhaps it's Slush? Perhaps dependencies?
I've decided to go for Yeoman gulp-angular. Thanks for your attention.


Add translators to About Us

[x] probably should make this translatable with the data-i18n tag

@nburt the Smartling translation failed b/c I had a merge conflict with some other rows from data tagged -makers- Is there anyway to salvage? I'm happy to just open a new branch and copy over everything if that's easier. Let me know, thanks~!!

@linderr I made some minor tweaks to move HTML out of the translation text which should have the side effect of re-triggering Smartling then we can merge

@ngottlieb sorry I was in calls --- okay I'm going to close this PR and do a new one to just check the deployment? @traction-corgi  told me Heroku deployments expire ~24 hours to save $ lol


Improve plotting of resource Gantt chart

Currently, when using the machine Gantt chart to plot resources with cumulative demands, the tasks overlap. This makes the Gantt chart visualization quite useless for resource-constrained problems. Earlier, I had implemented a 2-D Gantt chart plotter, but it required a lot of complexity to get it done.
I just came across this Gantt chart visualizer from AIMSS which I really like:
https://documentation.aimms.com/webui/gantt-chart-widget.html

When tasks are overlapping (only in capacity-based resources) then we can visualize them by introducing vertical offsets. Need to work this out a bit better.

From #242:

[ ] Would it not be more natural to name plot_machine_gantt like  plot_resource_gantt?


Add option to have viewport render into supplied texture (VR)

It has become a common theme with many of the VR implementations that we're directed to render our image into a texture provided by the SDK. Oculus does this with both their desktop and mobile SDKs and its corner stone to OpenXR as well.
The texture is then used as the input of an internal shader that performs things such as lens distortion. Also important here is that these platforms form "texture chains", basically we keep the resulting textures for each eye for at least two frames. This enables things such as timewarp.
Right now we work around this by performing a relatively expensive copy from our buffers into the VR buffers. This gets double sour when we take into account that we already do a copy for the GLES3 renderer to apply tone mapping and that OpenVR also performs this same copy internally in a number of its drivers towards SDKs that require a texture chain.
This PR simply adds the ability to provide an external texture and tell the render engine to use that instead of its own color buffer for the final output.
In GLES3 we still use our internal color buffer for rendering the unaltered 3D image but the final tone mapping step will output to this texture and use it for further displaying. Any 2D rendering after 3D has been rendered will also go directly into the external FBO
In GLES2 we're simply ignoring the internal image and rendering to the external FBO. We do thus reuse the depth texture of our main FBO here.
Only thing I'm having trouble with is the proxy texture which is either still linked to the original texture or I'm missing something in the settings. Could use some help with this.
For an example of this actually being used see: https://github.com/GodotVR/godot_oculus/pull/22
Note that I've implemented the Oculus driver to fall back on the old approach if started in Godot 3.1

I guess this can be used for things like a Navie-stock simulation on GPU. I am right ?

@Chaosus no I think that is a totally different use case, this only changes the final destination to a texture controlled externally for use with VR hardware. The render buffer itself that is used pre-tonemapping is still the normal HDR render buffer (atleast in GLES3) with all the bells and whistles to support all the effects.
The PR you reference is about creating extra render buffers to the viewports framebuffers to write additional data into. An interesting concept but that would also require control over the final render pass.

GLES2 works now as well.
This is pretty much done, the only issue I have left is that I'm having problems with the proxy texture. It's either still grabbing the wrong texture or it's having problems because I'm not setting all the settings of the texture.

Found this out purely by accident but the blit code I was using because we couldn't do what this PR enables, doesn't work on GLES2.
So a bonus of this PR is that the Oculus and OpenHMD drivers will actually work with the GLES2 renderer.
I do have a problem that what is being shown on screen is too dark. I think this is because blit_render_target_to_screen uses the canvas shader but isn't setting all the conditionals and probably thus applies canvas lighting code.

It seems good I guess, so I guess you rely on also creating a texture RID for whathever the API uses and pass it, I like the approach.

It seems good I guess, so I guess you rely on also creating a texture RID for whathever the API uses and pass it, I like the approach.

Yes, I create a separate RID for the texture inside of the external struct and returning that texture if the external texture is provided.
The ARVR interface provides an opengl texture ID.  I do think I may need to see if I can interogate the texture ID to get its type, I'm assuming RGBA8 which will be correct in 99% of the cases.
I would like the ARVR interface to provide the RID instead but the problem I have is that inside of GDNative I don't have access to the required functions to do so. I've been wondering about creating a GDNative bridge that exposes far more of the visual server then we currently expose through GDScript bindings.
I'm happy with the approach and I'd like to merge it in its current state so I can start changing the drivers over and people can start testing this better and help fix any problems there are.

Thanks!


Empty repo (zero commits) is missing buttons for "new file" and "upload file"

Create a new Repo.

Take note that the "New File" and "Upload File" buttons are no present.
Clone the repo as normal.
push a commit to the repo as normal.
The "New File" and "Upload File" buttons are now present.

I expected the "New File" and "Upload File" buttons to always be present and not require the repo to have at least one commit first. Small issue in html templates?

Hi, this is expected behavior. If you want first commit, just don't make empty repository at the beginning, e.g. choose a README file.


feat(atomic): added live region for screen readers

https://coveord.atlassian.net/browse/KIT-244
Follow-up to https://github.com/coveo/ui-kit/pull/1441
This time, we can create a setter from any other component in order to set separate aria-live regions. This works even on iOS.
Seems a little flaky with VoiceOver for iOS, JAWS for Windows and NVDA for Windows, but works especially well for VoiceOver for Mac OS and TalkBack for Android. Maybe I was testing it wrong? Specifically, the aria-live region is sometimes not read, and other things are read instead.
I tried supporting aria-live elements inside each component separately, but VoiceOver for iOS ignored some of them.

Amazing, great job, seems pretty simple to use too!
Can we easily test this with cypress?

I didn't think about this, but yes, I imagine it would be very easy. I'll add some tests.


Is it possible to monitor asterisk connections and channels with ReactPHP?

Hello, siri.
I am trying to build a system to see the Asterisk calls and channel
in real time on a WEB interface. After a lot of research, I found your
framework, and I believe that it could help me resolve to build the
project, but I have no idea where to start. Can you help me with this?

@silvasilas99, yes, you can use this library to monitor absolutely anything that happens in Asterisk.
As an example, the code below will get information about BridgeEnter and BridgeLeave events.
use Clue\React\Ami;

$factory = new Ami\Factory();

$url = 'localhost';
$user = 'name';
$pass = 'password';

$factory->createClient($url)->then(
    function (Ami\Client $client) use ($user, $pass) {
        echo 'Client connected ' . PHP_EOL;

        $client->on('close', function() {
            echo 'Connection closed' . PHP_EOL;
        });

        $client->on('event', function (Ami\Protocol\Event $event) {
            echo 'Event: ' . $event->getName() . ': ' . json_encode($event->getFields()) . PHP_EOL;
        });

        $sender = new Ami\ActionSender($client);

        // Make login separate of connection because events may be enabled by default.
        return $sender->login($user, $pass, false)->then(
            function () use ($client) {
                echo 'Client logged' . PHP_EOL;

                // In my experience, this is the most optimal way.
                $filterAction = $client->createAction('Filter', [
                    'Operation' => 'Add',
                    'Filter' => '\bEvent: Bridge(Enter|Leave)\s', // It's just regex, but more limited than PHP.
                ]);

                $client->request($filterAction)->then(
                    function () use ($client) {
                        echo 'Event filter added' . PHP_EOL;

                        $sender = new Ami\ActionSender($client);

                        $sender->events(['call'])->then(
                            function () {
                                echo 'Events enabled' . PHP_EOL;
                            },
                            function (Exception $error) {
                                echo 'Enable events error: ' . $error;
                            }
                        );
                    },
                    function (Exception $error) {
                        echo 'Add events filter error: ' . $error;
                    }
                );
            },
            function (Exception $error) {
                echo 'Login error: ' . $error;
            }
        );
    },
    function (Exception $error) {
        echo 'Connection error: ' . $error;
    }
);

Thanks, friend. I'm grate


GameLift Server SDK Error in Built Unity 2019.4.4f1 Player

Hi,
I'm not sure if this is the right place, but I'll give it a shot.
I cloned this repository and ran build.bat. Then, I copied the DLLs generated over to my project in Unity 2019.4.4f1. I have a MonoBehavior in my scene with the following:
private void Start()
{
    GenericOutcome outcome = GameLiftServerAPI.InitSDK();
    if (!outcome.Success)
    {
        Debug.LogError($"Failed to initialize server SDK {outcome.Error}");
        return;
    }
    var logParameters = new LogParameters(new List<string> {Application.consoleLogPath});
    var processParameters = new ProcessParameters(OnStartGameSession, OnProcessTerminate, OnHealthCheck,
                                                  m_ServerPort, logParameters);
    GameLiftServerAPI.ProcessReady(processParameters);
    Debug.Log("GameLift server process ready");
}

Now, this works in the editor. It connects to my local game lift server (the .jar provided in the SDK download from the main Amazon GameLift page).
However, as soon as I build the project for Windows Stadalone x64 (with Mono backend), I receive an error from log4net, which I know is one of the dependencies after calling the InitSDK() function:
ArgumentOutOfRangeException: Parameter: defaultRepositoryType, Value: [log4net.Repository.Hierarchy.Hierarchy] out of range. Argument must implement the ILoggerRepository interface
Parameter name: defaultRepositoryType
Actual value was log4net.Repository.Hierarchy.Hierarchy.

The error happens twice and the Start() function exits so nothing is set up properly. Based on the fact it works in the editor, I think that it probably has to do with a .NET DLL not being copied over into the build properly. See: https://stackoverflow.com/questions/58099681/unitypython-working-on-editor-but-not-on-build for an example of this happening with another plugin.
Even if I modify the Game Server SDK project and remove all logging calls, I get another error:
DescriptorValidationException: com.amazon.whitewater.auxproxy.pbuffer.BackfillMatchmakingRequest.players: Property Players not found in Com.Amazon.Whitewater.Auxproxy.Pbuffer.BackfillMatchmakingRequest.

So something in the final built setup is definitely malformed or missing.
Thanks!

Test class builds (server only)

Building using GameLift Server SDK 4.0.0 (the default since my last commit on 2020-07-16Z18:39).
Continuing tomorrow.

Thank you for the quick response and testing! It must be something specific to my project. I just tested what you did with a blank project and I had no issues.
I will do some more testing, trying to slowly add components that my project has to the blank one until I get the error again.

Found the issue! I set Project Settings -> Player -> Other Settings -> Managed Stripping Level to 'Disabled' instead of 'Low'.
One note is that IL2CPP requires 'Low' or higher so this effectively makes the SDK only work for Mono. Looking at the Unity documentation at: https://docs.unity3d.com/Manual/ManagedCodeStripping.html it may be possible for me to add some custom markers (Preserve) to try and fix this. That is what I will try next as ideally I would have my build in IL2CPP due to the performance it allows in my game.
I'm sorry about not trying a blank project first and sending you down that rabbit hole. Oops

Success, I have gotten my build to work in IL2CPP and with stripping levels of 'Low' and 'Medium'. I added a link.xml file to my project as per the documentation above and added:
<linker>
    <assembly fullname="System.Reflection" preserve="all"/>
    <assembly fullname="System.Collections.Immutable" preserve="all"/>
    <assembly fullname="System.Memory" preserve="all"/>
    <assembly fullname="System.Buffers" preserve="all"/>
    <assembly fullname="System.Runtime.CompilerServices.Unsafe" preserve="all"/>
    <assembly fullname="log4net" preserve="all"/>
    <assembly fullname="GameLiftServerSDKNet45" preserve="all"/>
    <assembly fullname="Google.Protobuf" preserve="all"/>
    <assembly fullname="Newtonsoft.Json" preserve="all"/>
    <assembly fullname="websocket-sharp" preserve="all"/>
</linker>

Now, this is quite liberal and not all entries are needed. I experimented with removing some (like System.Memory, System.Buffers, and a few others) and my build still worked ( I also noticed, they aren't used in the project?). However, I haven't determined a set of efficient rules that can include the very least possible since I'm not very familiar with the codebase of the SDK.
Side note: I used Unity 2020.1.0b16 to test all this but I presumes it works in the 2019 LTS.

Very nice. Understand issue resolved by the customer. Appreciate the feedback on usage of IL2CPP with the SDK. Thank you and please allow me to assist further if you need.
Al :)


Add build TSAN test macro

Signed-off-by: Juan López Fernández<EMAIL_ADDRESS>

We should check if TSAN has any problem using signals, as all these tests have failed due to timeout.
If so, add a new flag xtsan to those tests that cannot run with tsan, and skip them in tsan job


PyTorch Support

Given the amount of work in ML community of academia being implemented on PyTorch, can Strawberry Fields interface with any sort of project that's using PyTorch instead of using the existing Tensorflow backend in SF?
(Disclaimer: Accidentally put this issue in the wrong repo before this, however,  I closed it afterwards so all good now) .

Hi @sonamghosh. The main reason there is currently no PyTorch backend in Strawberry Fields is that PyTorch (unlike TensorFlow) has no support for complex numbers and complex-valued functions. Some useful links regarding this issue include:

The main GitHub issue in which complex number support is discussed: https://github.com/pytorch/pytorch/issues/755

Work in progress complex-valued tensor support for PyTorch: https://github.com/Roger-luo/pytorch-complex

Another repository working on unofficial complex tensor support in PyTorch: https://github.com/williamFalcon/pytorch-complex-tensor

This is something we would love to add if and when PyTorch supports complex maths!

Note that our quantum machine learning library, https://github.com/XanaduAI/pennylane, supports both TensorFlow and PyTorch.
PennyLane is designed for hybrid quantum-classical computation, with the quantum backpropagation calculated via querying quantum hardware devices directly, and the classical portion of the backpropagation using a ML backend such as TF/PyTorch.


Incorrect terminal size on unix platforms

Terminal::new().terminal_size() reports a height and width smaller by one compared to the number of characters you can count (and the one reported by ncurses or termion).
The error is here: https://github.com/TimonPost/crossterm/blob/master/crossterm_terminal/src/sys/unix.rs#L31

Closing this in favor of #162

I repeat there's zero relation with indexing. You can still have a 0 or 1 indexing and report the real number of characters fitting the width or height.

What do you purpose as a solution, I think that it makes stuff more complicated if we return both the index and the number of characters that fit in a with or height.

Indexing is a different problem. I'm just proposing to change the terminal_size function so that it returns the size of the terminal.
You just have to remove the -1 here.

Alright, so we can continue the description of this issue: #162 which is fixed in #170


"`has_many': wrong number of arguments (given 2, expected 1) (ArgumentError)" error is raised since 3.3.0

This PR introduces a new extension method has_many that overrides the one from ActiveRecord::Base, but they have a different argument signature, so the following code raises an error:
class Country < ActiveHash::Base
end

class Post < ActiveRecord::Base
  belongs_to :person
end

class Person < ActiveRecord::Base
  extend ActiveHash::Associations::ActiveRecordExtensions
  belongs_to_active_hash :country

  # This association is for two ActiveRecord models
  has_many :posts, -> { order(:created_at) }, dependent: :destroy
end

This has_many takes three arguments according to the original ActiveRecord's method signature:
def has_many(name, scope = nil, **options, &extension)

https://github.com/rails/rails/blob/v<IP_ADDRESS>/activerecord/lib/active_record/associations.rb#L1522
but extended one takes only two:
def has_many(association_id, **options)

https://github.com/active-hash/active_hash/blob/v3.3.0/lib/associations/associations.rb#L9
Any idea to resolve it? I'm using Rails 7.1.3.

@flavorjones ugh. we may need to check active record version when calling super

I have created a PR that may solve this issue.
https://github.com/active-hash/active_hash/pull/306

Closed by #306

Fixed in https://github.com/active-hash/active_hash/releases/tag/v3.3.1


Sorry，this not a issue! i want to know how to train my own model,thanks!

Sorry，this not a issue! i want to know how to train my own model,thanks!

#21 can you follow this one?


change metav1.Object to runtime.Object so we can test moar objects

Without this fix you can't expect unstructured.Unstructured object creations which are needed for some duck related stuff.

/lgtm
/approve

🦆


redis dependency check

Hello there
So, because <projectname> depends on both redis (^5.0.1) and celery-heimdall (^1.0.0), version solving failed.

Thanks, versions wild-carded in 1.0.1


Stacked Bar Chart with time scale weird visualisation error

What it looks like (false behavior)

My Options
options = {
    {
        legend: {
            display: false
        },
        maintainAspectRatio: false,
        scales: {
            xAxes: [{
                stacked: true,
                title: 'time',
                type: 'time',
                gridLines: {
                    lineWidth: 2
                },
                time: {
                    unit: 'day',
                    unitStepSize: 1
                },
                ticks: {
                    maxRotation: 0
                }
            }],
            yAxes: [{
                stacked: true,
                ticks: {
                    beginAtZero: true
                }
            }]
        }
    }
}

My datasets
datasets: [{
        label: 'one',
        data: [{
                x: '2016-12-25',
                y: 20
            },
            {
                x: '2016-12-26',
                y: 10
            }
        ],
        backgroundColor: 'green'
    },
    {
        label: 'two',
        data: [{
                x: '2016-12-27',
                y: 20
            },
            {
                x: '2016-12-28',
                y: 10
            }
        ],
        backgroundColor: 'red'
    }
]
}

your dates are different. have two values on the same date and it should work

But why can't it display the chart if I have two different dates wtf

Obviously that's the way stacked graph works. I will give you an opportunity to review your comment and remove profanity before i report you to the moderators.


Prevent redirect loops when still using authorize

The authorize before filter is deprecated in favor of require_login.
However, just switching Clearance's internal filters is not sufficient. We're
dependent on users updating any before_filter :authorize calls.
If they still have before_filter :authorize in their application controller,
then they will see a deprecation on calls to authorize but the method will
still run (it's aliased to require_login). This may cause them to be
redirected to sign in. Sign in is set to
skip_before_filter :require_login, but will happily still run authorize if
instructed to by the application controller. Then you're stuck in a redirect
loop.
By duplicating the skip_before_filter calls to also skip authorize we can
be sure this doesn't happen.

See also #517

Can we write tests for this, or this is inherently untestable?

I think testing it would be difficult, but not impossible. I'd need to temporarily create an application controller (since that's what the clearance controllers inherit from) that uses the authorize filter then be sure I don't get stuck in a redirect loop.
Not sure of the best way to do that because I can't easily undo the side effects of before_filter. That is, I can't simply undef a method when I'm done.

I suppose this is OK then.


avast.rb: added must_succeed false

Changes to a cask
Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

I still would like to double-check whether this option maybe needs to be enabled in the core first.

I still would like to double-check whether this option maybe needs to be enabled in the core first.

It seems like it is, which is why I went ahead with it. We documented it and I retried the install/uninstall of this cask in a clean VM. It previously failed but now works.


Fixes #37977 publish-marketplace-app.md should link to cpp-publish-offer

I used a relative URL.  Not sure if that's the right way, but that way
is already used several times in the document.

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

@edburns - thanks for adding that link. It would need to be formatted as:
../marketplace/cloud-partner-portal/azure-applications/cpp-publish-offer.md

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

@edburns - the ".md" is missing from the end of the path.
Given the number of changed files that are now in this PR, I don't think we will be able to merge it. Do you want to me to submit a new PR with this change?

I appreciate your willingness to do that, but you needn’t  I’ll make a new branch and submit another PR.
Thanks for your support.
Sorry for the complication.
Ed
|<EMAIL_ADDRESS>| office: +1<PHONE_NUMBER>
| 6 business days until Jakarta One Live
| 10 business days until Oracle Code One
| 60 business days until JVM-CON 2019
From: Tom FitzMacken<EMAIL_ADDRESS>Sent: 29 August, 2019 23:50
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Edward Burns<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Fixes #37977 publish-marketplace-app.md should link to cpp-publish-offer (#37978)
@edburnshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fedburns&data=02|01|Edward.Burns%40microsoft.com|1249d6ad1e8b4d00fbb308d72c988c7c|72f988bf86f141af91ab2d7cd011db47|1|0|637026906023072299&sdata=fz20kgJaFibni8NBTfK7f3RAk6ZTNP8JHG4A2hQ20zQ%3D&reserved=0 - the ".md" is missing from the end of the path.
Given the number of changed files that are now in this PR, I don't think we will be able to merge it. Do you want to me to submit a new PR with this change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F37978%3Femail_source%3Dnotifications%26email_token%3DAAASQLKB4BIRK4X5JUZYSK3QG7V2PA5CNFSM4IR654JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5O6NGI%23issuecomment-526247577&data=02|01|Edward.Burns%40microsoft.com|1249d6ad1e8b4d00fbb308d72c988c7c|72f988bf86f141af91ab2d7cd011db47|1|0|637026906023082299&sdata=2NQMoJkUhbgkKTbViG2MF51lQMCMfqi3OjnWCOy0tOI%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAASQLP6WFKFSIIQ3HMUZ3TQG7V2PANCNFSM4IR654JA&data=02|01|Edward.Burns%40microsoft.com|1249d6ad1e8b4d00fbb308d72c988c7c|72f988bf86f141af91ab2d7cd011db47|1|0|637026906023082299&sdata=BgM6BDl0129a0zo7JRLntYXwO9Jcbtw2n9hG1agU%2F3c%3D&reserved=0.

@edburns - when you've opened your new PR and are done with this one, can you close this PR? thanks.

Closed and submitted another PR https://github.com/MicrosoftDocs/azure-docs/pull/38045 .


Added my Paris event

As the title says, I simply added my Paris event to the event list !

Awesome @Vertmo thanks for contributing!


Generalize VQE interface to accept custom losses

Following @joseignaciolatorre suggestion, we should reconsider the VQE class to accept custom loss functions, and provide some common loss functions.

Related to this issue, similarly to the loss functions, we can reconsider the possibility to provide a "bag" of circuit ansatz.

Implemented in #298


unable to load sitemap on max rendering

Describe the bug
The sitemap return an error when accessing to a portlet in maximized rendering
To Reproduce
Steps to reproduce the behavior:

Go to a portlet, like portlet Amdinitration
See error at the bottom unable to load sitemap

Stacktrace
here is the console.log
Unable to load sitemap. ReferenceError: pathCeck is not defined
    at render.uP:855
    at aY (lodash.min.js:1)
    at Function.mh (lodash.min.js:6)
    at sitemapJsonCheck (render.uP:853)
    at render.uP:896
    at aY (lodash.min.js:1)
    at Function.mh (lodash.min.js:6)
    at render.uP:895
    at aY (lodash.min.js:1)
    at Function.mh (lodash.min.js:6)

I think it's more a misspelling than ohter thing
Platform:

uPortal Version: 5.x (Not tested with 5.2)
Browser: Chrome and Firefox

Good catch!

Hi!
I could not reproduce the bug with the steps presented in the issue,
however, I could break the sitemap with the following steps:

Visit http://localhost:8080/uPortal/
Scroll to the bottom of the page, click the "uPortal Links" entry in the sitemap.
Which leads to the login page; sign in with "admin".
The sitemap will not work on any of the pages anymore, no matter where I navigate. (The "unable to load sitemap" message is shown.)

As a first step, I've corrected the typo, suggested in the issue. This did not solve the Sitemap problem,
but at least it makes the ReferenceError disappear, so another error message is visible in the Console:
Unable to load sitemap. Error: Missing required object path [layout.navigation.tabs] > content > content
    at render.uP:739
    at aY (lodash.min.js:1)
    at Function.mh (lodash.min.js:6)
    at sitemapJsonCheck (render.uP:737)
    at render.uP:780
    at aY (lodash.min.js:1)
    at Function.mh (lodash.min.js:6)
    at render.uP:779
    at aY (lodash.min.js:1)
    at Function.mh (lodash.min.js:6)

I've compared the layout.json that is downloaded by the Sitemap script, and it seems that it contains an additional invalid entry when it can't render. It is indeed missing the tabs > content > content entry:
            "tabs": [

                {
                    "ID": "ft1",
                    "name": "uPortal Links",
                    "type": "regular",
                    "hidden": "false",
                    "unremovable": "true",
                    "immutable": "true",
                    "addChildAllowed": "false",
                    "deleteAllowed": "false",
                    "editAllowed": "false",
                    "moveAllowed": "false",
                    "precedence": "100.0",
                    "transient": "true",
                    "tabGroup": "DEFAULT_TABGROUP",
                    "width": "100%",

                    "content": [

                                        {
                                            "_objectType": "portlet",
                                            "url": "/uPortal/api/v4-3/portlet/uportal-links.html",
                                            "iconUrl": "/uPortal/media/skins/icons/mobile/links.png",
                                            "ID": "ctf1",
                                            "typeID": "3",
                                            "deleteAllowed": "false",
                                            "moveAllowed": "false",
                                            "name": "uPortal Links",
                                            "description": "Useful uPortal links.",
                                            "title": "uPortal Links",
                                            "chanID": "112",
                                            "fname": "uportal-links",
                                            "timeout": "10000",
                                            "transient": "true",
                                            "windowState": "maximized",
                                            "portletMode": "view",
                                            "portletName": "cms",
                                            "lifecycleState": "PUBLISHED",
                                            "webAppName": "\/SimpleContentPortlet",

                                            "parameters": {

                                                    "mobileIconUrl": "\/uPortal\/media\/skins\/icons\/mobile\/links.png",
                                                    "iconUrl": "\/ResourceServingWebapp\/rs\/tango\/0.8.90\/32x32\/mimetypes\/text-html.png",
                                                    "disableDynamicTitle": "true",
                                                    "configurable": "true"
                                            }
                                        }
                    ]
                },
...

The "bad" JSON contains all the good data as well, but currently, the sitemap script blows up as it encounters the first entry it can't handle.
I think there are (at least) two ways to solve this problem:

modify the layout.json to exclude such entries
make the sitemap generation script more resilient

I am not familiar with the layout.json generation (and it might be used somewhere else outside the sitemap), so I created a fix using the latter approach: now the sitemap simply ignores the elements it does not know.
Please let me know if this approach is okay.
Cheers and thanks,
David


As a User, I want to be able to open a overview screen to be able to see the game on a different, open screen

[x] #85
[x] #84
[x] #83
[x] #82
[x] #81
[x] #80

8d3665986ebbf29adeffbe7c2b5eccff3e38dff7


Questions

Hello, i have some questions about your library

Could you explain the pros and cons of the two coding styles object and ruleset ?
Could you provide a example of reading in a BNF file and parsing some content?
Is the library compatible with EBNF? I have one EBNF file which uses { some rules}- (notice - on the end) to denote one-or-many and also ANY - 'literal char' where - is the exception symbol. So when the literal char is C for example it would be the same as regex [^C]. There is also the syntax 4 * RULE for denoting a fixed number qualifier. Is there a special token for end of file?
Is it possible to access/traverse the grammar nodes?
can you put the state of the library alpha/beta/... in the readme? Can you also point to the docs directory (even though there is not much content yet). Generated API docs would be nice, but not urgent.
is it possible to dumb the content AST after it's been read? Similar to https://hoa-project.net/En/Literature/Hack/Compiler.html#Compilation_process and https://hoa-project.net/En/Literature/Hack/Compiler.html#Abstract_Syntax_Tree
Is it possible to get a token list with offsets? Similar to https://hoa-project.net/En/Literature/Hack/Compiler.html#Namespaces
Is it possible to get traces which rules have been considered and found to match or not to match? Similar to https://hoa-project.net/En/Literature/Hack/Compiler.html#Traces
Not really a question but since i'm refering to hoa\compiler manual a lot. I just notice that it would be great to be able to generate random inputs based on the grammar. https://hoa-project.net/En/Literature/Hack/Compiler.html#Generation The property random AST -> pretty print -> parser -> AST should hold
How are the error messages? Do they show which rule fails? Does it show which tokens would be a valid choice in that position?
Is it possible to make custom error messages in places where a particular rule does not match?
is there any detection for infinitive loops, for example ( some_rule* )+, + must match at least one, but the inner rule is allowed to match nothing.
Can you put some benchmarks of different sizes of grammar and input and perhaps compare to some other libraries?
Are tokens literals only? Can they be regular expressions? Sometimes several rules can be folded into one big regular expression (probably a trade off with some other features), in general this will be a massive speedup because PCRE is really fast in comparison to logic in PHP itself. It would be interesting to detect these cases and rewrite rules.
Can you explain what you mean with the difference between lexer and tokenizer in my mind they are the same, but in the library description they are separate things.
Can an example be given how to generate a lexer, a tokenizer and a parser separately? Or perhaps i misunderstood and they must always be created together?
Are the created lexer/parser compiled to PHP code, or must the grammar be interpreted without compilation phase?

The library looks in an early stage so i realize most of the things i ask for are likely not available. But perhaps some things are. Also it's possible that some things will never be included in the design of the parser. Maybe it's possible to already comment on some of the points even though it's early.
Thanks for putting your creation online :)

Hi, Sorry for not replying sooner, but I'm swamped with personal business. I'll get to the full replies soon.
For now a few quick ones:

Ruleset is easier to manage, as it automatically resolves recursion. With objects, you need to handle recursion yourself using "Stub" (placeholder) objects. Note that rulesets are largely based on objects too.
This framework does not parse BNF (yet, it's planned), but lets you create your own parsers by transcribing BNF into it's own objects.
Yes. You'll get a tree of every token parsed. In order for the tokens to be identified by name you can set one yourself or use a ruleset to name tokens automatically.
Currently Beta due to missing docs mostly. It's got very high unittest coverage and should be very stable, but it is sadly still mostly undocumented.
Currently not. This is actually a significantly more difficult problem than it appears at first. It should be possible to use the token mechanism for this. Tokens were only recently added, so I'm still figuring out how to fully utilize it.
Assuming errors based on tokens is a working solution, appending error messages to those tokens should be trivial.
I'm assuming by "token" you mean a terminal like a character or word. If so then yes; a regex terminal is included and is in fact probably the best choice in most practical situations (though not necessarily the best performing).
Put in the most basic terms, a tokenizer breaks the input into parts, a lexer identifies the parts. In terms of the Comprehend framework (and most parser frameworks), they are the same thing. If you attach "token names" (I know the naming seems confusing) to the parser rules, the tokenizer becomes a lexer.
Not currently. It's something on my wishlist, but has a low priority. You should probably look at  YACC/Lexer/Bison/Flex PHP conversion for this.

I'm not familiair with Hoa as it covers a different use case.

1 -> 1
2 -> 2
4 -> 3
5 -> 4
? -> 5
10 -> 6
14 -> 7
15 -> 8
? -> 9

I guess this is how the questions map to the answers, i'm not sure to which question answer 5 and 9 belong to.

The numbers map to the same numbers you used
Op za 3 nov. 2018 21:04 schreef flip111<EMAIL_ADDRESS>
1 -> 1
2 -> 2
4 -> 3
5 -> 4
? -> 5
10 -> 6
14 -> 7
15 -> 8
? -> 9
I guess this is how the questions map to the answers, i'm not sure to
which question answer 5 and 9 belong to.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vanderlee/Comprehend/issues/5#issuecomment-435616896,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAnoGH61x8Hb8A-QtDgjIJCssrb3wdTcks5urfbXgaJpZM4XysH8
.


every time I go to the map tab pecan is shown

create a visualization and apply a query
go from table to map

pecan is always shown no matter you close it several times

By closing you mean pressing the skip button?

the close button in the progress dialog


Update gcc to at least version 4.6 where available

Ensures we have at least 4.6 on Debian 6 (previously 4.4) and 4.9 on FreeBSD 9 (previously had 4.1)

@chef-cookbooks/engineering-services

@tas50 fyi

:-1: This does not seem to work for debian 8.2.
         * apt_package[gcc-4.7] action install

           ================================================================================
           Error executing action `install` on resource 'apt_package[gcc-4.7]'
           ================================================================================

           Chef::Exceptions::Package
           -------------------------
           gcc-4.7 has no candidate in the apt-cache

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/build-essential/recipes/_debian.rb

            28:   package 'gcc-4.7'
            29: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/build-essential/recipes/_debian.rb:28:in `block in from_file'

           apt_package("gcc-4.7") do
             package_name "gcc-4.7"
             action [:install]
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :package
             cookbook_name "build-essential"
             recipe_name "_debian"
           end

       Running handlers:
       [2016-03-21T17:51:12+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2016-03-21T17:51:12+00:00] ERROR: Exception handlers complete
       Chef Client failed. 14 resources updated in 03 minutes 04 seconds
       [2016-03-21T17:51:12+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2016-03-21T17:51:12+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2016-03-21T17:51:12+00:00] ERROR: apt_package[gcc-4.7] (build-essential::_debian line 28) had an error: Chef::Exceptions::Package: gcc-4.7 has no candidate in the apt-cache
       [2016-03-21T17:51:13+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> Converge failed on instance <default-debian-82>.
>>>>>> Please see .kitchen/logs/default-debian-82.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level warn --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
>>>>>> ----------------------
zlib(finalizer): the stream was freed prematurely.

We can't break Debian 7 / 8 support.

Ok that is weird @rhass @tas50 - I tested on Debian 6 and it worked, so I assumed (bad Scott!) that later would also work... Will reinvestigate.

@scotthain We should also add Debian 7/8 to the kitchen.docker.yml file so Travis catches these sorts of breaks in the future. Take a look at the omnibus cookbook's .kitchen.docker.yml for an example:
https://github.com/chef-cookbooks/omnibus/blob/master/.kitchen.docker.yml#L5-L8

@tas50 @schisamo @rhass I've backed out the debian gcc changes (they were 'nice to have' for me, not required) because there is a lot of work that would need to be done to verify on all the debian and ubuntu versions.
This updated PR simply updates Freebsd and adds Debian 7/8 to the travis matrix.

Can you squash this down to a single commit?

Verified working on freebsd 10.2


The links respond with an application error

Actual Behaviour

The links for web app installation test generator in the readme throws an application error.
Expected Behaviour

The links should respond with a web app generator website.
Steps to reproduce it

Go to the Web App Generator Test Installation section in the readme.md file.
You'll see the links mentioned there do not work.

Screenshots of the issue

Would you like to work on the issue?
Yes

Solved.


Update scala-library to 2.12.16

Updates org.scala-lang:scala-library from 2.12.10 to 2.12.16.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.12.10).
You might want to review and update them manually.
.travis.yml

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #321.

Superseded by #339.


Symbol highlighting is confused

Testing #199155

open https://github.com/microsoft/vscode/pull/194712 in the multi-diff without checking it out (via GHPRI extension)
go to the second section of linesLayout.ts and click on a symbol
observe how the highlighting is all messed up

https://github.com/microsoft/vscode/assets/5047891/bf44246d-a31e-4cce-9bae-50bd4e560c9d

/duplicate #196083


[18026] Refactor utils infraestructure

This Pull Request includes the following changes:

Add new utils functions to please the API requirements as set_attribute_to_node, set_siblings_attribute, get_node_value and get_node_attribute_value
Refactor get_node functions to improve their functionality, and add a get_locator_node to abstract the difference between an external locator and a "common" locator.
Add a private method in each namespace to initialize base node to be used along the methods.

New method included to detect if loaded XML file has standalone structure, and transform it to rooted 😅


OTel collector to report Initialization and Overhead segments of Lambda calls

Is your feature request related to a problem? Please describe.
At the moment, the only traces that get reported by the OTel collector are the ones that involve Lambda itself that belong to the Invocation segment of Lambda runtime. X-Ray supports reporting additional segments that Lambda runtime goes through: Initialization and Overhead and it can be valuable to report on these segments as well.
Describe the solution you'd like
OTel to report the full picture of Lambda lifecycle, including Overhead and Initialization, similar to how X-Ray reports it:

Hi @michaelhyatt ,
Thanks for the feature request.
The Lambda runtime will generate X-Ray segments (Initialization and Overhead) and export them to X-Ray backend using X-Ray Daemon. This process is integrated in Lambda and doesn't provide us any possibility to modify. As a result of that, the tracing SDKs are not able to be instrumented in the area that is outside the Lambda function handler (invocation). Hence, what we can do so far is to apply the trace header from the X-Ray segments, propagate it to the spans created by OTel SDK  within invocation and further export them to X-Ray backend using OTel collector so that you're able to see a complete and connected trace graph. I would say changing the default X-Ray Daemon to OTel collector in Lambda would address your issue but currently we're really not confident to say that this will be done in near future. Any specific reason why you would like Initialization and Overhead segments to be exported by OTel collector?

Hi @lupengamzn
Thanks for getting back to me.
One such use case is to be able to track lambda cold starts and how long they take. I know I can get it through Lambda insights, but this requires ingesting a Cloudwatch logs feed which is not yet supported by ADOT and I would like to use ADOT to receive the data.
Another case is the spans reported by ADOT have parent.id that points at non-existing spans/segments. There are parent segments in X-Ray that represent Lambda runtime and API-GW, so I suspect these missing segments are the ones reported by either the Lambda runtime or API-GW.
This is the trace between 2 lambdas calling each other through the API-GW:

Timing and the 3 spans ADOT is reporting with unlinked (missing parents):

ADOT debug log with producer Span 0 being a child of Span 1, but Span 1 having a non-existent parent

There are older events to load.  Begin running and processing data.
2021/06/29 00:28:51 Registered extension ID: "c292077b-dbed-4a4a-a787-18d28522fe9c"
2021/06/29 00:28:51 [collector] Register response: {
"functionName": "aws-python-api-worker-project-dev-producer",
"functionVersion": "$LATEST",
"handler": "handler.producer"
}
2021/06/29 00:28:51 [collector] Waiting for event...
START RequestId: c505bd1d-ccfa-435a-b013-1b6847f4abec Version: $LATEST
EXTENSION	Name: cloudwatch_lambda_agent	State: Ready	Events: [INVOKE,SHUTDOWN]
EXTENSION	Name: collector	State: Ready	Events: [INVOKE,SHUTDOWN]
2021/06/29 00:28:52 [collector] Received event: {
"eventType": "INVOKE",
"deadlineMs":<PHONE_NUMBER>710,
"requestId": "c505bd1d-ccfa-435a-b013-1b6847f4abec",
"invokedFunctionArn": "arn:aws:lambda:ap-southeast-2:401722391821:function:aws-python-api-worker-project-dev-producer",
"tracing": {
"type": "X-Amzn-Trace-Id",
"value": "Root=1-60da6942-51511f142c4eb98a6271f0b0;Parent=14b8b85f0f6dcb45;Sampled=1"
}
}
2021/06/29 00:28:52 [collector] Waiting for event...

[DEBUG]	2021-06-29T00:28:55.226Z	c505bd1d-ccfa-435a-b013-1b6847f4abec	sending: {     "format": "json",     "version": 1 }{     "id": "aa52e2561a104893",     "name": "a76ahpomn5.execute-api.ap-southeast-2.amazonaws.com",     "start_time":<PHONE_NUMBER>.714969,     "parent_id": "e4559134ec0f2a45",     "in_progress": false,     "http": {         "request": {             "method": "get",             "url": "https://a76ahpomn5.execute-api.ap-southeast-2.amazonaws.com/dev/consume"         },         "response": {             "status": 200         }     },     "trace_id": "1-60da6942-51511f142c4eb98a6271f0b0",     "type": "subsegment",     "namespace": "remote",     "end_time":<PHONE_NUMBER>.2263606 } to <IP_ADDRESS>:2000.
2021-06-29T00:28:55.236Z	INFO	loggingexporter/logging_exporter.go:42	TracesExporter	{     "#spans": 2 }
2021-06-29T00:28:55.236Z	DEBUG	loggingexporter/logging_exporter.go:48	ResourceSpans #0
Resource labels:
-> telemetry.sdk.language: STRING(python)
-> telemetry.sdk.name: STRING(opentelemetry)
-> telemetry.sdk.version: STRING(1.2.0)
-> cloud.region: STRING(ap-southeast-2)
-> cloud.provider: STRING(aws)
-> faas.name: STRING(aws-python-api-worker-project-dev-producer)
-> faas.version: STRING($LATEST)
-> service.name: STRING(aws-python-api-worker-project-dev-producer)
InstrumentationLibrarySpans #0
InstrumentationLibrary opentelemetry.instrumentation.requests 0.21b0
Span #0
Trace ID       : 60da694251511f142c4eb98a6271f0b0
Parent ID      : 8b4abf4054e4a63e
ID             : a05b87fbb86fafed
Name           : HTTP GET
Kind           : SPAN_KIND_CLIENT
Start time     : 2021-06-29 00:28:52.715105133 +0000 UTC
End time       : 2021-06-29 00:28:55.226321929 +0000 UTC
Status code    : STATUS_CODE_UNSET
Status message :
Attributes:
-> http.method: STRING(GET)
-> http.url: STRING(https://a76ahpomn5.execute-api.ap-southeast-2.amazonaws.com/dev/consume)
-> http.status_code: INT(200)
Span #1
Trace ID       : 60da694251511f142c4eb98a6271f0b0
Parent ID      : e4559134ec0f2a45
ID             : 8b4abf4054e4a63e
Name           : handler.producer
Kind           : SPAN_KIND_SERVER
Start time     : 2021-06-29 00:28:52.71392873 +0000 UTC
End time       : 2021-06-29 00:28:55.228214816 +0000 UTC
Status code    : STATUS_CODE_UNSET
Status message :
Attributes:
-> faas.execution: STRING(c505bd1d-ccfa-435a-b013-1b6847f4abec)
-> faas.id: STRING(arn:aws:lambda:ap-southeast-2:401722391821:function:aws-python-api-worker-project-dev-producer)
-> faas.name: STRING(aws-python-api-worker-project-dev-producer)
-> faas.version: STRING($LATEST)

END RequestId: c505bd1d-ccfa-435a-b013-1b6847f4abec
REPORT RequestId: c505bd1d-ccfa-435a-b013-1b6847f4abec	Duration: 2567.60 ms	Billed Duration: 2568 ms	Memory Size: 1024 MB	Max Memory Used: 176 MB	Init Duration: 1978.96 ms	XRAY TraceId: 1-60da6942-51511f142c4eb98a6271f0b0	SegmentId: 14b8b85f0f6dcb45	Sampled: true
2021/06/29 00:34:50 [collector] Received event: {
"eventType": "SHUTDOWN",
"deadlineMs":<PHONE_NUMBER>349,
"requestId": "",
"invokedFunctionArn": "",
"tracing": {
"type": "",
"value": ""
}
}
2021-06-29T00:34:50.950Z	info	service/application.go:212	Received stop test request
2021-06-29T00:34:50.950Z	info	service/application.go:307	Starting shutdown...
2021-06-29T00:34:50.950Z	info	service/service.go:225	Stopping receivers...

For the record, leaving the Python code I used to create these two lambdas:
import logging
import os
import requests

from aws_xray_sdk.core import xray_recorder
from aws_xray_sdk.core import patch_all

patch_all()

logger = logging.getLogger()
logger.setLevel(logging.DEBUG)

URL = os.getenv('CONSUMER_API')

def producer(event, context):

    logger.info(f'Message: {event}')

    res = requests.get(url=URL, headers={
        "Content-Type": "application/json"
    })

    return {'statusCode': res.status_code}

def consumer(event, context):

    logger.info(f'Message: {event}')

    return {'statusCode': 200}

@michaelhyatt Thanks for providing the context!
The parents for Lambda server spans do exist. They're exported by Daemon, not collector, and that's the reason why you're not seeing them in collector's log. You can open the raw trace context in X-Ray console to see that it should have a segment with Id(e4559134ec0f2a45) there, otherwise you'll not be able to see a complete and connected service graph like the one you provided at all. Can you confirm this on your end? Or does the service graph you provided fail to represent the actual workflow of your service?

Thanks, @lupengamzn. I can confirm that I can see the parent of the traces I am receiving from the OTel collector being the "Invocation" segments that are visible in X-Ray. Is there a way for these to be reported by the OTel collector as well?
My problem is not having these Invocation and API-GW segments reported by the OTel collector.

@michaelhyatt Thanks for the confirmation.
We can leave this thread open for more observability. At the same time, we'll wait to see if there is any update on Lambda side that we can adopt to get this addressed.

Tested the ADOT OTel collector traces in Jaeger and it is reporting missing parent traces.

@michaelhyatt, Thanks for bringing this up. We're aware of this situation, and currently using AWS OTel managed Lambda layer on both X-Ray and other tracing service is not fully supported. Sorry for the inconvenience and we'll try to include that in future updates.


refactorDockerfile shell refactor

Proposed changes
Change FE&BE Dockerfile

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildadd

run buildall


Allow to set file path for result compare tests

This PR allows to explicitly set the name for the reference file when comparing MeshPy meshes during testing.
@davidrudlstorfer is this similar to what you were mentioning when we last talked about the switch to pytest?

Yes, we can definitely drop the _reference going further (maybe in a follow up PR).
I get your point regarding the arguments, but providing the full name (with extension) is not possible because some tests have the additional_identifier argument, which allows to test multiple files in a single test while still having the test name as the first part of the reference file. Maybe the naming of the argument can be improved: reference_file_name -> reference_file_base_name.
Or do you have another idea on how to pass the arguments here?

Yes, we can definitely drop the _reference going further (maybe in a follow up PR).
I get your point regarding the arguments, but providing the full name (with extension) is not possible because some tests have the additional_identifier argument, which allows to test multiple files in a single test while still having the test name as the first part of the reference file. Maybe the naming of the argument can be improved: reference_file_name -> reference_file_base_name.
Or do you have another idea on how to pass the arguments here?

The renaming of the argument sounds like a good option for now to improve the clarity of the variable. So let's rename it and lets get it merged :rocket:


mindev linting errors

Describe the issue
I'm writing a rule similar to https://github.com/mindersec/minder-rules-and-profiles/pull/228/files#diff-c403aa914bf9da4592bdc7034803e737cabb0713223d0c07ddb4a8ba99004936
When i run mindev ruletype lint -r [my.yaml] on a file I get the following errors:
aggregates: {}
metrics: {}
aggregateprofile: {}
ignoredirectives: {}
violations:
    - title: opa-fmt
      description: File should be formatted with `opa fmt`
      category: style
      level: error
      relatedresources:
        - description: documentation
          reference: https://docs.styra.com/regal/rules/style/opa-fmt
      location:
        end: null
        text: package minder
        file: gitleaks_github_action.yaml
        column: 1
        row: 1
        offset: 0
      isaggregate: false
    - title: directory-package-mismatch
      description: Directory structure should mirror package
      category: idiomatic
      level: error
      relatedresources:
        - description: documentation
          reference: https://docs.styra.com/regal/rules/idiomatic/directory-package-mismatch
      location:
        end:
            row: 1
            column: 15
        text: package minder
        file: gitleaks_github_action.yaml
        column: 9
        row: 1
        offset: 0
      isaggregate: false
notices:
    - title: implicit-future-keywords
      description: Rule made obsolete by rego.v1 capability
      category: imports
      level: notice
      severity: none
profile: []
summary:
    filesscanned: 1
    filesfailed: 1
    rulesskipped: 0
    numviolations: 2

The file was located in the github rules folder: https://github.com/mindersec/minder-rules-and-profiles/tree/main/rule-types/github so it looks like it was expecting the package to be "github". I also couldn't get rid of the "File should be formatted with opa fmt" error unless I ran mindev ruletype lint -r [my.yaml]  --skip-rego
Should the linter work out of the. box for these scenarios?
To Reproduce
Run on mindev ruletype lint -r on https://github.com/mindersec/minder-rules-and-profiles/pull/228/files#diff-c403aa914bf9da4592bdc7034803e737cabb0713223d0c07ddb4a8ba99004936
What version are you using?
No response

So, unfortunately, a bunch of our rules have linting warnings from OPA. They still work but don't follow all practices set by the linter. These are non-fatal errors. I understand it's confusing though.


Claiming Bitcoin Diamond Fork

Claiming Bitcoin Diamond Fork easily with Electrum Wallet!
As you all already know, Electrum released a version 3.1.2 of Electrum Diamond, for the fork on December 2017.
anyway to claim the coins, you can download the electrum wallet choose your OS, once downloaded, open Electrum
do not use existing wallet file, you have to restore the wallet if you not used segwit..
Works perfect on Ledger wallet, Trezor Wallet, Bitcoin Core tested myself.
here is link: http://www.electrumdiamond.org/

Hello, I lost my EOS tokens using this


Create a Parallax "about page" it  should  have proper scroll animations. HTML, CSS, JS.

You have to use the following materials in the page and create successful parallax. :))
👍

You can use gradient dark backgrounds.
You can use any custom API's also to meet your requirements.
complete in 1 day

hey @Codetoadeath  i would really like to work on this issue under the label of hacktoberfest Would you please assign it to me so i can right away start the work on it

hey @Codetoadeath i have generated the PR for this issue which is under the label of hacktoberfest please check and merge if you like the work else provide me the feedback so i can make the required changes


Send limit of 402.75 cac at a time

Cactus version: 1.21.dev1
Error occurs when sending more than<PHONE_NUMBER>00000 (402.75 cac) mojo in a single transaction:
Submitting transaction... Exception from 'wallet' {'error': "Can't send more than<PHONE_NUMBER>00000 in a single transaction", 'success': False}

This error occurs if you are trying to send more CAC than you have in your wallet. Thank you


NullPointerException mapping class implementing an interface

Using Morphia 1.0.0-rc0:
Invoking Morphia.map() on a class which implements an interface produces a NullPointerException because:
in ReflectionUtils.getParameterizedClass:
public static Class getParameterizedClass(final Class c, final int index) {
    final TypeVariable[] typeVars = c.getTypeParameters();
    if (typeVars.length > 0) {
        final TypeVariable typeVariable = typeVars[index];
        final Type[] bounds = typeVariable.getBounds();

        final Type type = bounds[0];
        if (type instanceof Class) {
            return (Class) type; // broke for EnumSet, cause bounds contain
            // type instead of class
        } else {
            return null;
        }
    } else {
        final Type superclass = c.getGenericSuperclass();
        if (superclass instanceof ParameterizedType) {
            final Type[] actualTypeArguments = ((ParameterizedType) superclass).getActualTypeArguments();
            return actualTypeArguments.length > index ? (Class<?>) actualTypeArguments[index] : null;
        } else if (!Object.class.equals(superclass)) {
            return getParameterizedClass((Class) superclass);
        } else {
            return null;
        }
    }
}

This line:
final Type superclass = c.getGenericSuperclass();

when executed on an interface results in superclass being null which causes a consequent invocation during execution of
getParameterizedClass((Class) superclass)

to fail with NPE.

Please target this fix for the next 1.0.x release.  This is an old bug and is preventing us from upgrading.  It looks like trishagee has a fix for you.

@trishagee how is this looking in your fork?  there's no PR just yet...


Login language

While trying to upload an offline repository I got:
Current login language 'DE' does not match main language 'EN'. Select 'Advanced' > 'Open in Main Language'
but I could not find "Open in Main Language" in the menu. I can vaguely recall it existing many iterations ago, or I am missing something.
best regards,
JNN

ZABAPGIT tcode will automatically exist for the dev version. If you are using the stand-alone version, you have to create a tcode for program ZABAPGIT_STANDALONE yourself.

Thank you all for the feedback.


Create abstract interface

Context
Created a Parser Interface for AddTaskParser, AddEventParser, ...

ParserManager is now responsible for the Switch Case.

Links
#22
Media

Reviewers
@CS2103AUG2016-F09-C4/developers

The codes LGTM.
However, for the UML diagram. I guess the ParserManager does have association with all the different parsers right? Since it is going to do a switch on different command parsers.

ParserManager will have association to the other different command parsers. But that will be through the interface. I'm not sure if this UML diagram can represent the association. What alternative UML do you suggest? Just link all the parsers to the ParserManager?
Besides that, I was thinking of just having a single AddParser instead of AddTaskParser and AddEventParser. The AddParser class will distinguish the elements in the arguments parsed and call for AddEventCommand or AddTaskCommand. Opinions?

Agree with the AddParser design.
Right, if follow strictly this diagram ParserManager should have association with Parser interface only. But in our implementation of ParserManager, there is coupling with all the specific parser classes rather than the interface alone.
As for now, I can't think of a way to prevent that, so we can keep with the implementation.
I just checked how the address book implementation. I think we can keep with this diagram.

@githubxxcc Sorry, what changes to make for this? The UML diagram? I have it on my desktop. Can update here too. Anything else?

No, the combining of parsers u suggested.
Otherwise I will merge it.

Oh, I dont think i'll do now. I'll do in a separate branch under "implementing add command". Can merge? TY!


Improve API returning errors

Now many functions in Ebiten can return an 'error' value, but what error can be returned in what situation is not determined. For cleaner API, I need to define, implement and document that.

As there is no way to handle OpenGL errors, I'm thinking of changing implementation just to panic when an OpenGL error occurs

Next, fix Wiki document and webpages not to handle errors.

Audio still remains


Fix coding standards

You need to fix coding standards in all .js file like whitespaces, semicolons, quotes, etc. Use ESlint and prettier to do that.

Already fixed


Notes from first brainstorming session

I just want them here as well. Moved from the Google Doc.

After an individual brainstorm the ideas were organized in 5 (?) items

Organisation
Data
General conduct
Support/help
Onboarding/new comers

Three groups were made and each group had 1 or 2 of the above mentioned items.
Minutes/notes from the groups discussions:
Organisation

Common research staff
Easy access, central calendar (meetings, Steno Thursdays, PhD defense, courses, conferences, etc)

Needs to be accessible to non-RM people

Overview of groups, people, etc. (not just RM people, e.g. also PhD students)
List of current projects?
Vision/strategy/mission?
Guide to using social media, communications, etc like with Slack, Twitter

Data and Support/help, in prioritized order:

Data - description (M-lab, Register, DST servers, other cohorts, international data eg Withehall, Addition, DD2 ect) and applications including examples
Meetings (zoom, booking rooms, food ect)
Money (list of funds, deadlines, examples of successful application, how to get/use internal funds)
Analysis (getting help, code reviews, best practices, how to share code, etc)
Software (R, redcap, metaanalysis software, python ect)

Other notes:

Funding/grants, with examples of others applications, sharing experiences etc.
Legal
How to run online events, running meetings
Framework for research projects (SAP, Data application, Analysis etc)
How to constructively give help
How to effectively get help

Onboarding/new comers and General conduct

Guides (part of checklist) like online events, meetings, etc.
General code of conduct
Buddy system
Overall manual

Overview of where to look for what:

Checklist
Flowchart
Steno starters?
Slack
List of stuff (e.g. office supplies)

Asking for help, getting help, etc

Welcome mail to newcomers
Introduction program

Maybe a twice-yearly research meeting to introduce everyone? (Research Retreat was good!)

Misc notes

Online access point
Pictures of people at entrance?
Culture: Setting aside time to document and evaluate stuff to share with others

Closing for now, since many of these items have been added.


Adding the images requested to finish the latex tables

le pido me aprueben la solicitud de extraccion

This does not need to be merged into master, this was just a temporary branch to share the images needed for PR #23.

Thanks for the pull request, but we were able to transfer all the necessary images and they have been merged per PR #23.


OS region setting requirements for TDVT test

Things To Remember:

Be sure to merge into the right branch. The choices are:

master if your PR runs on the current version of Tableau.
dev-2021.2

You should update at least one of the following:

The changelog of the project you modified.
The root README.md if the PR is a release of the SDK, Connector Packager, or TDVT.
=====

It is the TDVT expected files that require that format correct?
Also I'm not sure documentation should recommend modifying the test date.
I noticed there is a bit of a troubleshooting section here too, but this file seems to be the primary location.


Add a Unique identifier to all the codes

The stock codes need to report a Globally Unique Identifier (GUID) to FIRMS.
In order for each stock to have a GUID associated and the best place to do that is RECO.
This was also an ISSUE in the advisory board team, maybe someone could link this issue.

https://github.com/ices-tools-prod/icesSAG/issues/216
add new code type GRSF Global Record of Stocks and Fisheries unique identifiers @odontaster
please download and check the list of UIs and get Mehdi to import to RECO

@odontaster we have a deadline for this - the FIRMS meeting in June!

Reminder sent to Aureliano today.

Dear Adriana,
Sorry for the delay. With the aim of providing the full list of ICES stocks vs. the FIRMS / GRSF unique identifiers we needed more time to ensure the overall consistency and uniqueness of the records.
The attached file is indeed not a final one since 8 Nephrops stocks have not been loaded yet.
And for other Nephrops, the semantic identifiers (column I) will change as well since we have now fixed their area codes in the FIRMS/GRSF database.
All the other records are now fine with their UUIDs (see column J).
We have only two questions for you in cells M133 and M317. Please, if you can provide feedback on that.
We should load and assign the remaining UUIDs in the very next days, we will inform you when done. (They will arrive jointly with the Spring!) 😉
Thanks for the continued collaboration and sorry again for the delay.

Suggested action points for Adriana:

Create Code Type GRSF  with description "Subset of FAO Global Record of Stocks and Fisheries unique identifiers"
Populate it with the list received from FAO, description being stock code?
Link each GRSF code to corresponding ICES_StockCode, is this needed?

UUID (column J on the file above) to be used as the code and FIRMS title (column H on the file above) to be used as the description. Link to ICES stock codes.
Title for CodeType "FAO Global Record of Stocks and Fisheries Unique Identifiers".
@mehdiabbasi to create a link to the external codes.

example https://ckan-grsf.d4science.org/dataset/a9ea3b7a-f115-3f8c-b4bd-bfc772298ab2

Added external relation through new available feature available as bulk upload.

Aureliano reviewed our vocab and asked for some changes:
-They believe the GRSF Semantic ID would be more useful as description (Column J)

The FIRMS title could be kept as long description
The external link should be this
https://i-marine.d4science.org/web/grsf/data-catalogue?path=/dataset/

RMG agrees with FAO requests.
@neil-ices-dk @cekv please let us know if you have any comments.

all good from me 👍🏼

I would think it is ok - since you are only changing descriptions. But I m not the expert... ;)

https://vocab.ices.dk/?codetypeguid=3b2c4f50-c75f-446a-a15b-c5693a829dd5
RMG kindly requests @mehdiabbasi to perform a one-time task:

Either delete all codes in the codetype
Or change descriptions and external links programatically

Mehdi deleted all codes in the code type.
Bulk uploaded all codes, descriptions and long descriptions. Bulk uploaded all relations to ICES_StockCode. Bulk uploaded all external links.
Done


SBT should zip native resource jar/zips into fat pathway jar

Quoth @ArcticLight on chat:

I have no idea how to get SBT to build the JAR that we want to see happen with a Pathway build, and this we're actually going to need to have a great deal of manual control over in order to orchestrate the classpath-mangling that will occur to get everything playing nicely with each other.

Yeah. We're going to need to be able to arbitrarily mount random zips and jars into the resultant fat Pathway jar.

This happens, but they're not currently going to the location Max's unpacking code (#65) expects them to be in. I'm still working on that.

Finished in 0fe15da5a426233540b1e1ee862b59ec65ef76d3


download udemy with error: cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

udemy course url: [e.g https://www.udemy.com/machinelearning/] '...'
Run the following command to reproduce the error.
See error

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

OS Platform: [e.g. Windows 10, Ubuntu 16.04, macOS Sierra]
Python Version [e.g. 3.x.x]

Additional context
Add any other context about the problem here.

cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

the error is related to 3rd party you should use cookie based method instead.

the error is related to 3rd party you should use cookie based method instead.

the error is related to 3rd party you should use cookie based method instead.

how to do that


No longer builds on GHC 7.0

I get an error building hashable-<IP_ADDRESS> on GHC 7.0 because unsafeDupablePerformIO doesn't exist:
% cabal install --with-ghc=/opt/ghc-7.0.4/bin/ghc hashable
Resolving dependencies...
cabal: Entering directory '/tmp/cabal-tmp-18858/hashable-<IP_ADDRESS>'
Configuring hashable-<IP_ADDRESS>...
Building hashable-<IP_ADDRESS>...
Preprocessing library hashable-<IP_ADDRESS>...
[1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o )

Data/Hashable/Class.hs:89:26:
    Module `System.IO.Unsafe' does not export `unsafeDupablePerformIO'

I'm not sure if you still support GHC 7.0, but if not, it would be good to have a version bound on base so that Cabal sticks with older versions of hashable. I think base >= 4.4 would do the trick.

We only support the last 3 major releases so it's not expected to build, but adding a base constraint would be helpful for error messages. Mind creating a pull request?

Fyi, I took care of the meta-data on Hackage: http://hackage.haskell.org/package/hashable-<IP_ADDRESS>/revisions/

Sure, will do. And thanks @hvr for fixing it on Hackage!


Migrate to shapely 2.0

clisops version: the next one
Python version: any
Operating System: any

Description
Shapely 2.0 has been recently released. A great feature it brings is its inclusion of the work of pygeos. Thus, we could migrate the pygeos code we have in  core.subset.create_mask to pure-shapely, which would remove pygeos as an optional dependency.

@tlogan2000 FYI

Excellent.