Codegen mode

I want to use ngraph in codegen mode to generate C/C++ code from a pre-trained ONNX model that can link to my project in C. I used the tutorial below to create an ng_function and do a computation with some input, however I couldn't find any new files created with the optimized low level code. Do I need to change something in the way I ran the model or is this to do with how nGraph is compiled?
https://www.ngraph.ai/tutorials/onnx-tutorial

Our pre-built package is DEX only. If you want CODEGEN, you need to build nGraph from source using that tutorial. Please add  -DNGRAPH_USE_LEGACY_MKLDNN=FALSE to cmake option.
After nGraph is build, stay in build directory.

use serialization tool to convert onnx model to serialized model.
$ src/tools/serialize_onnx/serialize_onnx -i <.onnx> -o <.json>

use nbench to run the serialized model.
$ NGRAPH_CODEGEN=1 src/tools/nbench/nbench <*.json> -i 1 -b CPU

You will get Function_0_codegen.cpp in build/cpu_codegen.

Thanks, I now have the Function_0_codegen.cpp file following the steps you described.
In order to compile and link it against some main file I assume we need to create CPURuntimeContextCG with init_cg_ctx API? But how do we create cpu:CPURuntimeContext struct? We can not find the relevant API.

This is not a supported feature yet. You can take a look at setup_runtime_context in cpu_call_frame.cpp. For CODEDEN, we don't need to setup everything since we have CPURuntimeContextCG. You can try this:
auto ctx = new CPURuntimeContext;
    // num_inputs is the number of Parameters to the model, set the value of ctx->p_en[i] to false if that Parameter does not change from iteration to iteration, otherwise, set it to true.
    ctx->p_en = new bool[num_inputs];

    ctx->first_iteration = true;

    // Create temporary buffer pools
    size_t alignment = 4096; // you can change this number.
    // modify compile() at https://github.com/NervanaSystems/ngraph/blob/master/src/ngraph/runtime/cpu/cpu_external_function.cpp#L763  in cpu_external_function.cpp to write the definition of "buffer_size_vec" to the Function_0_codegen.cpp file before Function_0
    // the value of buffer_size_vec comes from m_memory_buffer_sizes.

    for (auto buffer_size : buffer_size_vec)
    {
        auto buffer = new AlignedBuffer(buffer_size, alignment);
        ctx->memory_buffers.push_back(buffer);
    }

Hi, I'm Elad and I'm working with Gal.
I figured it is not supported any longer ,but the generated code in Function_0_codegen.cpp is referring to this struct the following way
size_t pool_base_ptr = (size_t) ctx->memory_buffers[0]->get_ptr();
The parameter 'pool_base_ptr' is later used to set the data handler of the mkldn_memories in the CPURuntimeContextCG.
cg_ctx->set_memory_ptr(1, ((float*)(pool_base_ptr + 0)));
....
cg_ctx->set_memory_ptr(30, ((float*)(pool_base_ptr + 124112896)));
it is done for all primitives in net.
The mkldn_memories in the CPURuntimeContextCG are created in 'deserialize_memory_descs_and_build_memory' with NULL handle, so the actual data location is only set by set_memory_ptr API.
Since the setting of the data handler is done by pool_base_ptr + some offset, I assume that we need only one big buffer in memory_buffers[0].
My questiona are:

how do I know the required size of this buffer?
why not to re-use the buffer as input/output between layers?

As I said before, the buffer size comes from m_memory_buffer_sizes of CPU_ExternalFunction. You need to modify compile() in cpu_external_function.cpp to write that value out to the Function_0_codege.cpp:  https://github.com/NervanaSystems/ngraph/blob/master/src/ngraph/runtime/cpu/cpu_external_function.cpp#L763.
Something like this:
writer << "size_t buffer_size = " << to_string(m_memory_buffer[0] << ";\n";
Then you use buffer_size to allocate buffer:
size_t alignment = 4096; // you can change this number.
auto buffer = new AlignedBuffer(buffer_size, alignment);
ctx->memory_buffers.push_back(buffer);
We allocate one large buffer for all the intermediate values at the beginning. This is for performance reason. Input/output of layers would use that buffer with an offset. I am not sure what kind of re-use you're referring to since every layer is using the same buffer with different offsets.

Hi, i'll get the value the way you said. Meanwhile i just calculated it
manually and built exe.
There are several place holders in generated code for layers param (W+B)
that point to fixed addresses, using these as appear in code leads to
seg-fault.
I guess i need to replace them with valid addresses and load params, right?
Thanks
Elad
בתאריך יום ב׳, 18 בנוב׳ 2019, 20:30, מאת Amy Zhuang <
<EMAIL_ADDRESS>
As I said before, the buffer size comes from m_memory_buffer_sizes of
CPU_ExternalFunction. You need to modify compile() in
cpu_external_function.cpp to write that value out to the
Function_0_codege.cpp:
https://github.com/NervanaSystems/ngraph/blob/master/src/ngraph/runtime/cpu/cpu_external_function.cpp#L763
.
Something like this:
writer << "size_t buffer_size = " << to_string(m_memory_buffer[0] << ";\n";
Then you use buffer_size to allocate buffer:
size_t alignment = 4096; // you can change this number.
auto buffer = new AlignedBuffer(buffer_size, alignment);
ctx->memory_buffers.push_back(buffer);
We allocate one large buffer for all the intermediate values at the
beginning. This is for performance reason. Input/output of layers would use
that buffer with an offset. I am not sure what kind of re-use you're
referring to since every layer is using the same buffer with different
offsets.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NervanaSystems/ngraph/issues/3870?email_source=notifications&email_token=ADYLNCPZWFTK5IDWUM6V63DQULNMLA5CNFSM4JLXOG2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEELOBIA#issuecomment-555147424,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYLNCNALTHOYTNQHYEHNM3QULNMLANCNFSM4JLXOG2A
.

Those under the comment "// Declare all constants"? Yes, you need to replace those.

Thank you @ayzhuang. wityh your guidance this works well. I am nowtrying to install this setup on SUSE (rather than Ubuntu) - is there any guidelines of how to go about installing the dependencies and main software?

This issue is very helpful, thanks! It does appear that since https://github.com/NervanaSystems/ngraph/pull/4679 the code generation step mentioned above is now:
NGRAPH_CODEGEN_DUMP_SOURCE=1 src/tools/nbench/nbench -f <*.json> -i 1 -b CPU:CODEGEN

@ayzhuang in your estimate, would it be hard to implement code generation for the GCPU backend? Seems like a great feature, enabling smooth integration of ngraph with, among others, IoT and Edge targeted code.


createHIT example

are there any examples of stuff going to createHIT? The reward and question parameters are undocumented

I'm currently maintaining (not really) this pretty shitty API: https://github.com/jefftimesten/mturk
It would be nice to switch to and contribute to something better. May I ask where this package has been deployed in production and at what scale?
Thanks,
Andrew


increname command prevent using <up> to get previous command

Normally, we can use up and down key to rotate the command in history after typing :. But if we used IncRename command we cannot do that
https://github.com/smjonas/inc-rename.nvim/assets/62557596/4f5157bb-2865-497e-a944-71fe2cf3dac9

I also noticed that. IncRename kinda "blocks" the command history, since the moment you re-select the command, it's most likely invalid, preventing you from going further up in your history.
I think the solution would be to remove IncRename from the command history in general, since it's not really useful as a command you want to run again.

I also noticed that. IncRename kinda "blocks" the command history, since the moment you re-select the command, it's most likely invalid, preventing you from going further up in your history.
I think the solution would be to remove IncRename from the command history in general, since it's not really useful as a command you want to run again.

Yeah, but are there any workaround to removs the command in history after renaming? I tried to do some tricks but failed eventually.

yep, I think I got it: use histdel as a post_hook for IncRename. This seems to work for me.
post_hook = function()
	vim.fn.histdel("cmd", "^IncRename ")
end,

Thanks, it does work!

glad to hear it works, but nonetheless, I'd maybe not close the issue, since this problem should probably be fixed in the plugin?

Ummm, I don't think it's possible to fix the problem inside the plugin. That's because inc-rename use  the command-preview feature, which is not only the source of the problem, but also the "selling point" of inc-rename.
Maybe we could turn to @smjonas . If necessary, we could reopen the issue later.

why wouldn't it be possible? I mean, the plugin would pretty much only have to add the post_hook I just shared?

Oh, got it. Maybe whether add a hook is user's choice. Although sometimes it (this "problem") may be a obstacle, but sometimes it can be useful. For instance, we wanna rename the current word to a word that I renamed.

@chrisgrieser
I sill had troubles with the hook you provided.
A workaround:
		vim.api.nvim_create_augroup("IncRenameGroup", {})
		vim.api.nvim_create_autocmd({ "CmdlineEnter" }, {
			pattern = "*",
			callback = function()
				return vim.fn.histdel("cmd", "^IncRename")
			end,
			group = "IncRenameGroup",
		})

Hi all, I am now deleting the command from the commandline history by default.  Unless that is the case, I won't add a separate option to reenable the old behavior for now.

Hi all, I am now deleting the command from the commandline history by default.  Unless that is the case, I won't add a separate option to reenable the old behavior for now.

Just found this issue because I actually use command-line history for :IncRename.
I actually use the command line history a lot when mass renaming in multiple files in JavaScript. For example if I have a variable named foo and I want to convert it into bar in multiple files I would go to the variable definition, use my keybind for :IncRename and press <C-f> to open the history and press <Up> until I found the last rename I did for that symbol.
I know it is not an optimized workflow and I could do it a lot faster with something like grep 'foo' and cdo s/foo/bar/g but it works well for me at the moment and would like be able to conserve it.
I actually haven't had issues with this command and the history, maybe because I disabled dressing.nvim for inputs as I like to use <C-f> for editing commands.

Though i am satisfied with the new commit, it is a  breaking change to some extent.

use my keybind for :IncRename and press  to open the history

Off topic: you can press q: in normal mode to do so.

@smjonas IMO, reverting the commit and adding some hints in README is not bad. As we have done (https://github.com/smjonas/inc-rename.nvim/issues/40#issuecomment-1702399880), user just need to add three lines in their configuration.

@datwaft I have now reverted the change in the latest commit and will add the possibility to opt-in to the feature instead.

You can now set save_in_cmdline_history = false to prevent the command from being saved to the cmdline history (works both when running the command as well as just previewing the rename, then cancelling the command)


Disable route info layers (lane details and speed limits) on the sket…

…ch page, because they both show incomplete data, haven't had much user testing yet, and likely to just cause confusion
Only change is to remove two things from the UI:

We keep the route info web worker loading in the background, because it is useful for the "Auto-fill name" tool for routes.

Closing this, since we're not imminently releasing anything new


Trying to always set conclusion to cancelled

Current dependencies on/for this PR:

main

PR #704

PR #707

PR #708

PR #709

PR #710   👈

This comment was auto-generated by Graphite.


Settings page UI Changed

Solves #168
Changed the UI for settings page
from

to

@ashitaprasad please let me know if there any other changes required for the page

Closed as per comment in https://github.com/foss42/apidash/issues/168


CI: add tests for different Go versions

Signed-off-by: Sven Anderson<EMAIL_ADDRESS>

Conceptually, it looks good. I think the test failures are caused by your patch though. In the case of check I think it needs to strip off the "go" prefix from "go1.20.7". I'm not sure why the others are failing but there's something about the generated URL that isn't working properly.  But the general gist looks nice. I didn't know you could chain results from one job into the matrix of another. Seems neat!

I think the test failures are caused by your patch though.

Sure, this is a draft. I'm still playing around.

😳 https://github.com/ceph/go-ceph/actions/runs/5771417293/job/15645353599?pr=911#step:3:1570


Cleanup the 'site' value if it's empty

The values extra, tags, user, and request get removed if they are empty.
This pull request does the same for the site value.
I added a screenshot to show how this affects users in the UI:

Thanks for the contribution! Can you add a small test to avoid regressing on this bug?


Durable nonces for reliable transactions

blockheight that goes into each transaction expires after every 2 minutes.  Nonce accounts are used to create a hash that is unique to that transaction and will provide for reliable failure and retry capabilities.  The nonce is unique to the transaction, whereas the current retries are prone to failure and duplicate transactions.

Phase 1 - Reliable transactions using nonces

[ ] implement e2e tests
[ ] implement ability to use durable nonces for transactions

[ ] optional nonce accounts
[ ] Nonce authority to fee payer wallet
[ ] Advancing of nonce account by Kinetic at regular intervals

[ ] update documentation

Phase 2 - Offline sending

[ ] Offline sending

[ ] Reliable sending P2P offline
[ ]  safeguards for reliable failure

[ ] implement e2e tests
[ ] test failure scenarios
[ ] update documentation


Cm/canon oncology

Added Logistic and Gompertz growth models to Canon.Oncology. coded by @lukem12345 @GeorgeR227 and researched by myself

I agree. Along the same...vein, I've discussed with @lukem12345 last week that a model for angiogenesis in tumor growth appear to be compositions of two growth models, and that we could be a neat compositional example.

@quffaro I know that you will be further investigating applications, but is this PR ready to merge?

@quffaro In the future please squash


Convert registry_key resource to setup properties via property DSL

registry_key still uses set_or_return throughout the resource. We should convert this to setup properties via the property resource DSL.

This is needed to enable our automatic documentation

Fix merged to main branch


Add 'Create Collective' button to host dashboard or host page

User story
As a fiscal host admin, I want to easily create new Collectives under my host, which don't need to go through an approval process.
It's possible to do this now, but it's hard to find and not intuitive.

Best solution for this problem
There's probably a great design solution but I don't know what. @Memo-Es - can you think about this for the host dashboard project?
MVP
Add a Create Collective option on the host dashboard or host page that only host admins can see, which automatically creates it under that host.

Related #3244


add zh /docs/reference/glossary/preemption.md

to address https://github.com/k8smeetup/website-tasks/issues/3266

/lgtm
/approve


How to connect to database MongoDb in EMUwebApp

You would have to implement a server that supports the EMU-webApp-websocket-protocol that is described here: https://github.com/IPS-LMU/EMU-webApp/blob/master/dist/manual/EMU-webAppWebsocketProtocol/EMU-webApp-websocket-protocol-0_0_2.md

Closing this for now. If you are interested in the database format that we support in the emuR package (server implementations already exist for this format), a good  starting point is the emDB vignette of the emuR package: https://github.com/IPS-LMU/emuR/blob/master/vignettes/emuDB.Rmd


Sync eng/common directory with azure-sdk-tools for PR 1243

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1243  See eng/common workflow

/check-enforcer override


License identifier does not match License

Hi,
I just observed that the license identifier in PyPi (OSI Approved :: MIT License) does not match the license file (Apache). I am not sure if the maintainers of this project also manage the PyPi project, but would be glad if this could be fixed as it returns incorrect reports in pip-licenses.
https://pypi.org/project/label-studio-tools/
Thanks!
Johannes
CC: @niklub, who seems to be the maintainer in PyPi

Thanks for reaching us about the license. We are moving this repo to Label Studio SDK and this lib will be a part of SDK. So, we will update the license as well.

Awesome, thanks!


Strings

How do I add the base64 strings in the loader section? Do I add the base64 at the end of the url? I cant figure it out I am lost. Settings.ini is the file. I figured out the rest that is the only thing I don't get. I am new to injecting in this way.

hey c4retro, you find a way to fix crypted injection?


phonon + vue2

Hi,
Pizza sample is very usefull, many thanks.
Is it possible to realise a vue2 version ?
(i didn't succeed yet as I'm not a vue/vue2 specialist!)
Regards
Benjamin

HI @bdedardel,
Thank you for opening this issue.
I'll build a Vue2 version of the pizza app sample asap!

Vue example has been updated to Vue2 since the v1.4.0.


what library to use if I want to fetch the translation from Database instead?

https://www.i18next.com/overview/plugins-and-utils#backends
https://www.i18next.com/misc/creating-own-plugins#backend


Cannot cast object '[Digest Input Stream] MD5 Message Digest from SUN

Why am I getting this error when running grails war?
I'm using asset-pipeline:2.7.4  on grails 2.4.5.
It used to work for asset-pipeline:1.9.9 but upgrading seems to break it.
| Processing File 452 of 1527 - app/manifest.js.
| Error WAR packaging error: Cannot cast object '[Digest Input Stream] MD5 Message Digest from SUN, <initialized>
' with class 'java.security.DigestInputStream' to class 'java.io.ByteArrayInputStream'

This is what my manifest.js looks like:
//= require scripts/scripts.js
//= require app/app.module.js

//= require app/blocks/logger/logger.module.js
//= require app/blocks/logger/logger.js

.... other requires here...

scripts.js is another one that look like this:
//= require jquery-2.1.3/jquery-2.1.3.min.js
//= require jquery-2.1.3/jquery.price_format.2.0.min.js
//= require jquery-ui-1.10.4/ui/minified/jquery-ui.min.js
//= require jquery-ui-1.10.4/ui/minified/jquery.ui.datepicker.min.js
//= require jquery-ui-1.10.4/ui/jquery.ui.timepicker-addon.js

--- other requires here ---

Hi I am also having the very same issue. Would you mind sharing why this issue was closed? Is it fixed in some version?

Try doing a clean as we can't get it to happen
Sent from my iPhone

On Sep 27, 2016, at 4:30 AM, Piotr Zakrzewski<EMAIL_ADDRESS>wrote:
Hi I am also having the very same issue. Would you mind sharing why this issue was closed? Is it fixed in some version?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

The issue persists after clean as well. It is hard to figure out what is causing it - it fails on (the same in the original issue by @rodriguezkatarina ) on manifest files (with //= require )
Mine looks like this:
/**
* Original
* File: AdminResources
* Module: adminTab
*/
//= require jquery
//= require extjs
//= require session_time.js
//= require usergroup.js
//= require utilitiesMenu.js

What grails version by chance? It almost seems as if Groovy CompileStatic is messing up

Oh @PiotrZakrzewski send me your build.gradle or BuildConfig

The build file https://github.com/thehyve/transmart-upgrade/blob/master/transmartApp/build.gradle
Grails version is 3.1.10 with Groovy Version: 2.4.7 and JVM Version: 1.8.0_45

I'd bump your dependency version your build cradle indicates you are running 2.8.2
Sent from my iPhone

On Sep 28, 2016, at 9:10 AM, Piotr Zakrzewski<EMAIL_ADDRESS>wrote:
The build file https://github.com/thehyve/transmart-upgrade/blob/master/transmartApp/build.gradle
Grails version is 3.1.10 with Groovy Version: 2.4.7 and JVM Version: 1.8.0_45
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi Davy,
Thanks for suggestion - i bumped it to com.bertramlabs.plugins:asset-pipeline-gradle:2.11.1
but I still get the same error. Do you have an idea how can I workaround this issue?

I have found out the issue - what is causing this bizarre error is a reference to a nonexistent .js file. It would be great if this case was covered and error reported was e.g. "file x.js does not exist"

I also got the same error,when used the fullPage(https://github.com/alvarotrigo/fullPage.js) in grails plugin

Upgrade to latest
Sent from my iPhone

On Nov 9, 2016, at 11:17 PM, doracl<EMAIL_ADDRESS>wrote:
I also got the same error,when used the fullPage(https://github.com/alvarotrigo/fullPage.js) in grails plugin
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Proxied Angular tries to get assets/artifacts through HTTP even though the browser navigated via HTTPS

Bug Report
Affected Package
<EMAIL_ADDRESS>Description
While...

served by .NET inside a Docker container with HTTP,
ran through a Nginx reverse proxy,
and navigated with the browser via HTTPS,

...a production build of Angular is trying to get its assets/artifacts such as runtime.js, polyfills.js, main.js, favicon through HTTP, which is causing a Mixed Media error in the browser. No additional packages that should impact this behaviour were used and there's only the default builder.
Please scroll to the bottom for a temporary workaround in index.html.
Is this a regression?
Yes, the issue was caused by migration from Angular 7. I apologise for not having more precise information about the exact version causing regression. Will try to provide if it turns out to be necessary.
Minimal Reproduction

The issue should apply to any Angular application serving via HTTP and running through a Nginx reverse proxy providing HTTPS connection - more detailed setup in Description above.
Observe main.js, styles, polyfills, favicon being requested through HTTP and being blocked by the security policy as below.

Exception or Error
Mixed Content: The page was loaded over HTTPS, but requested an insecure X. This request has been blocked; the content must be served over HTTPS.
Your Environment
Angular Version:

Angular: 12.0.5
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, localize, platform-browser
... platform-browser-dynamic, platform-server, router

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.1201.1
@angular-devkit/build-angular              12.1.1
@angular-devkit/core                       12.1.1
@angular-devkit/schematics                 12.0.5
@nguniversal/module-map-ngfactory-loader   6.1.0
@schematics/angular                        12.0.5
rxjs                                       6.6.7
typescript                                 4.2.4

Workaround
This issue can be temporarily fixed by adding the below in src/index.html:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
I think this is not a bad fix, although it should not be required. It has to be noted that there's good browser compatibility with the exception of the beloved Internet Explorer.

It would be helpful if you could provide the contents of your index.html.

@lukaszpochron, as @petebacondarwin  can you please share the generated index.html.

<!DOCTYPE html>

  <meta charset="utf-8">
  <title>Title</title>
  <base href="/en/">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
  <link rel="stylesheet" href="styles.a36f351ab5d42cf04ccf.css" media="print" onload="this.media='all'">
    <link rel="stylesheet" href="styles.a36f351ab5d42cf04ccf.css">

  <app-root>

Loading...

  </app-root>

The resources are relative therefore if the application is accessed via HTTPS the resources will be served through HTTPs.
That is, unless there is some missing configuration in the server or/and proxy.

@alan-agius4, is your first statement a rule in new Angular? I found some information saying that it will be the case on some servers, which is down to the configuration.
However I inspected the generated html (for the same input) and it doesn't seem that there's a difference in the url relativity, although the script types have changed.
Angular 7:

Angular 12:

is your first statement a rule in new Angular?

No, this is how browsers works, therefore indeed it is likely that it’s some server / proxy configuration.

I have been using https://github.com/microsoft/reverse-proxy across different angular 12 workspaces and haven't noticed any HTTP/HTTPS issues.

Thanks, is your app HTTP and getting HTTPS from the proxy?

No, this is how browsers works, therefore indeed it is likely that it’s some server / proxy configuration.

It looks a lot as if it was, but deployment of the app with Angular 12 into the test environment is introducing the issue and re-deployment of the one with Angular 7 is fixing it. The aforementioned fix does the trick, but I would like to get to the bottom of the issue so it's fully under control.

HTTPS Everywhere

During local development using https://github.com/microsoft/reverse-proxy
Staging/QA environments
Production environment

dotnet dev-certs https --trust provides SSL certificate for local development -> https://localhost:443

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


Doesn't seem to work on Oculus controllers

Using Armswinger and Classic controls, I can't seem to figure out how to get this to work properly. The mag palming seems to work fine, but taking multiple rounds from a quickbelt doesn't work no matter which buttons are held, and the revolver eject feature doesn't seem to work either. For context, the 'grab' button by default is the trigger.

is smart palming on? also it does work on oculus controllers, I have one.

I'm not sure, I just use the Classic Armswinger controls - I think it might be the "force vive style grab" setting since that's the only way to get toggle grip in this game.

yeah I didn't really test these options, I'll try and see if I can add some checks and stuff

Ah cheers for that, appreciated :)


Rename of inputs props

Each input component has it own prop name for his value and his change event. It would be far more better to have all input component having at least a value, onChange and name props according to native inputs.
This is for allowing the use of enhancers like redux-form that rely on inputs props to do his magic.
It should also be good to have onBlur and onFocus events when appropriate.

Those properties are available, we simply don't document native properties that are available on a <input />.


Implement sys_clock_gettime

Some games run this with clock_id = 4(CLOCK_MONOTONIC), some with clock_id = 15 (CLOCK_PROCESS_CPUTIME_ID), unless Sony swapped some of the around.

the CLOCK_MONOTONIC case can probably be implemented using the corresponding Linux syscall


Using session token for post request

Hello,
I found this example very useful for my case, but I am wondering if there is a way to use session token (which we get from GET request in start_requests) inside parse function to make post request with headers and body.
In my case the problem is that I have a for loop inside start_requests and when I get session storage token and start making another Request inside parse function, I get huge memory increase. If I close the context and page, then some products are missing during the crawling.
Could you please give an example how to use scrapy-playwright in order to make GET Request in start_requests and then make POST Request inside parse using session token?
Thank you in advance.

Closing as a resolved issue based on this test example.


Calendar Module API Issues

Hi Team,
We tried the calendar module API. Some of the APIs did not function. See the issues details below.
1.composeMeeting(ComposeMeetingParams): Working but one scenario is not working.
Scenarios -
We pass the parameter tomorrow's date and time, but it's taking the current date and time.
2.openCalendarItem(OpenCalendarItemParams): It's working only on the v-account, but on the test tenant, it's not working.

Doc Link
PR Link

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

ID: 8934a3ca-8bd9-2504-956b-ef0991b000aa
Version Independent ID: 8934a3ca-8bd9-2504-956b-ef0991b000aa
Content: Teams JavaScript client library support across Microsoft 365 - Teams
Content Source: msteams-platform/m365-apps/teamsjs-support-m365.md
Service: msteams
GitHub Login: @erikadoyle
Microsoft Alias: mosdevdocs

Thank you for reporting this issue, we will check this and get back to you.

Bug has been raised for this issue, we will keep you posted on the updates. Thank you.


since #5984, add DeepSeek as a new ModelProvider (with deepseek-chat&deepseek-coder models), so that user can use openai and deepseek at same time with different api url & key

since #5984, add DeepSeek as a new ModelProvider (with deepseek-chat&deepseek-corder models), so that user can use openai and deepseek at same time with different api url&key

Summary by CodeRabbit
Release Notes

New Features

Introduced support for the DeepSeek API, enhancing routing and authentication processes.
Added a new DeepSeekApi class for chat interactions and API calls.
Expanded client API to integrate DeepSeek functionality.

Configuration Updates

Added new environment variables for DeepSeek configuration.
Updated constants and enums to include DeepSeek service and model identifiers.

Access Store Enhancements

Implemented validation for DeepSeek API key and added related state properties.

please resolve the conflicts


Edited descriptions for length US1609891.

Edited descriptions for length (100-160 characters) for SEO. Made a minor edit to the ImageCropper.md intro sentence for clarity.
User Story 1609891

Docs Build status updates of commit 6ba53f1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/controls/StaggeredPanel.md
:white_check_mark:Succeeded
View

docs/controls/TabView.md
:white_check_mark:Succeeded
View

docs/controls/wpf-winforms/WindowsXamlHost.md
:white_check_mark:Succeeded
View

docs/extensions/ArrayExtensions.md
:white_check_mark:Succeeded
View

docs/extensions/MatrixExtensions.md
:white_check_mark:Succeeded
View

docs/extensions/MatrixHelperEx.md
:white_check_mark:Succeeded
View

docs/extensions/StringExtensions.md
:white_check_mark:Succeeded
View

docs/extensions/TransformExtensions.md
:white_check_mark:Succeeded
View

docs/services/Weibo.md
:white_check_mark:Succeeded
View

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

#sign-off

Hi @michael-hawker
Would you be able to review and merge this PR into live?
Thanks

Docs Build status updates of commit 52cdc78:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/controls/StaggeredPanel.md
:white_check_mark:Succeeded
View

docs/controls/TabView.md
:white_check_mark:Succeeded
View

docs/controls/wpf-winforms/WindowsXamlHost.md
:white_check_mark:Succeeded
View

docs/extensions/ArrayExtensions.md
:white_check_mark:Succeeded
View

docs/extensions/MatrixExtensions.md
:white_check_mark:Succeeded
View

docs/extensions/MatrixHelperEx.md
:white_check_mark:Succeeded
View

docs/extensions/StringExtensions.md
:white_check_mark:Succeeded
View

docs/extensions/TransformExtensions.md
:white_check_mark:Succeeded
View

docs/services/Weibo.md
:white_check_mark:Succeeded
View

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


Query: Add support for owned reference navigation

Part of #15285

Will work on collections after your PR is merged.


storage: delete key instead of setting it to false

When getting the watched events, it iterate all keys in putm and delm
to generate the events. If we don't delete the key from putm/delm,
it would range on the key that is not actually put or deleted. This is
incorrect.
Fix the panic that happens when single put/delete is watched.

Not sure if we really need the bool type. Hope to make this a set with empty value (struct{})

Hope to make this a set with empty value (struct{})

done. PTAL

Please add a test. thanks.

@xiang90 I would like to change it to return happened events from the underlying kvstore in short time. So I don't want to add struct tests now. I would add some functional tests to cover the panic case.

@yichengq Do you mean ongoingTx will be removed?

@xiang90 Yes. Current solution is heavy and it disrupts the metrics of Range event count. The idea is to return txn events from kvstore directly.

@yichengq I do not really think tx accounting will go away... You need to filter events in tx anyway... But if you are sure, then fine with me.

@xiang90 Add one functional test around expected watch behaviors on events. PTAL.

i will send watch tests in another PR. merging this one.


Custom restrictor using JolokiaHttpHandler

I wonder what are my options to use custom restrictor when I have already HttpServer setup (sun).
I would like to define my own restrictor, not using policy.
Could we?

make protected method Restrictor createRestrictor(Configuration pConfig)
give possibility to define class for restrictor in configuration
accept restrictor in constructor in similar way as AgentServlet does it

Yes, restrictor should be more extensible (Jolokia 2.0 already will provide the proper hooks)
Since I'm currently on vacations this might take two Wood until I can pick that up. Hope that's OK.

Hi guys,
if you think this change (https://github.com/nevenr/jolokia/commit/94a1ed5f6fa8aa28dc34b84d17e26517b48db788) is good enough I will create PR.
Regards,
N.

Closed as fixed here: 94a1ed5f6fa8aa28dc34b84d17e26517b48db788


feat: better exception handling

If approved this PR:

Adds support for passing the request and the response for a failed request in a SmarterUException
Attempts to sanitize the request by scrubbing credentials
Where SmarterUException is thrown from Client, passes the request and response as constructor parameters.

With this change in place, we can actually capture information we need to troubleshoot integration issues.

Closing this until I'm done making changes


Add initial support for documenting HTTP/REST requests

Bug/issue #, if applicable:
rdar://101408429
rdar://101409112
rdar://101408868
rdar://101408667
Summary
Adds initial support for parsing HTTP/REST structures defined in https://github.com/apple/swift-docc-symbolkit/pull/54.
Dependencies
https://github.com/apple/swift-docc-symbolkit/pull/54
Testing
Generate documentation for a documentation catalog that contains symbol graphs that define HTTP endpoints, and verify that the corresponding website pages are generated.
Checklist

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
[x] Updated documentation if necessary

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci Please test


cherry pick from master that fixes jersey servlet error

@cetin-altiscale and I encountered a java.lang.IncompatibleClassChangeError: Implementing class being thrown during Servlet initialization after we upgraded other packages in the pom.
This cherry pick from master resolved the initialization issue.

Good catch. Going to self-merge now


MIC-319 /record-decision/check-answers screen

MIC-319

Codecov Report
Attention: Patch coverage is 73.68421% with 5 lines in your changes missing coverage. Please review.

Project coverage is 75.95%. Comparing base (72999f9) to head (3823f72).

Files
Patch %
Lines

...urneys/record-decision/check-answers/controller.ts
50.00%
4 Missing :warning:

.../journeys/record-decision/conclusion/controller.ts
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
- Coverage   75.97%   75.95%   -0.02%
==========================================
  Files         162      164       +2
  Lines        2256     2275      +19
  Branches      372      372
==========================================
+ Hits         1714     1728      +14
- Misses        522      527       +5
  Partials       20       20

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


Daru::DataFrame#rows regression: cannot create empty data frames.

Commit 760fb19 broke creating empty data frames with Daru::DataFrame#rows. The following used to work up to commit 2ee4c4c.
Note: this is important because if source_data is retrieved dynamically from a database, we have no control when the result may have no rows.
require 'spec_helper.rb'

describe "Daru::DataFrame#rows" do
  it 'can create an empty data frame' do
    source_data = [] # potential result of SomeModel.where(some_condition).pluck(:a, :b, :c)
    expect do
      Daru::DataFrame.rows source_data, order: [:a, :b, :c]
    end.not_to raise_error
  end
end

I'm on it.
I'm a big fan of breaking things (and probably fix them afterwards)

@zverok any update?

Oh damn. I've fixed the issue the next day after it was reported and just forgot to do a PR (some family problems distracted me).


docs: fix link to the example config

Description
Fixed out of date link in docs

[x] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

[x] This change requires a documentation update

Thanks @Omikorin!


Bot not loading in bot framework emulator

I am currently trying to run the C# basic bot with the bot framework emulator but every message I send results in a couldn't send, and the log remains empty.
This is what I have for the settings:

This is my response when I run my bit in visual studio:

An this is what is displayed in the bot framework emulator:

Any help would be much appreciated!

The Bot Framework team prefers "How To" questions be asked on Stack Overflow. This Github repo is used primarily for bugs and feature requests. Addtionally, your question is in the process of being answered on Stack Overflow (https://stackoverflow.com/questions/51287242/cannot-connect-c-sharp-basic-bot-to-bot-framework-emulator). Please see additional comments that have been posted there and respond so that the support engineers can further assist you.

Thanks for posting @Fulljames1  -
For now, we're closing this in favor of Stack Overflow as the platform for questions. I'm confident you'll get the help you need there.


no IPv6 support

two hosts, the sending host dualstacked IPv4/IPv6, receiving host IPv6-only
The receiving host doesn't see the direct connection
instead of an transfer I get the following message:
ERROR: We had a problem connecting to the relay server: (relay URL was ws://relay.magic-wormhole.io:4000/v1) No route to host: 101: Network is unreachable.
The relay server has no IPv6 address.

Also the socket for transfer is only ipv4.
LISTEN   0         50                                           <IP_ADDRESS>:45587                                               <IP_ADDRESS>:*

Hrm, that wasn't intentional. Oops.
The relay server has an ipv6 address of 2600:3c00::f03c:91ff:fe62:b5b5. I don't have a v6-only host to test from, could you try a netcat 2600:3c00::f03c:91ff:fe62:b5b5 4000 and see if it connects? If that works, I'll add an A6 record for relay.magic-wormhole.io. I'll also dig up the A6 record for the transit relay too.
The transfer socket is using Twisted's endpoints.serverFromString('tcp:%d"), which really ought to be v4+v6, but maybe something is less capable than I'd assumed.
Also, we need to update find_addresses(). It just runs ip addr and parses the results, and the current parser only understands v4 addresses right now.

er, make that AAAA records, not A6

I've added AAAA records for both hosts.
BTW, you can do wormhole send --no-listen FILENAME and wormhole rx --no-listen to disable the listening port on that side, which is useful when testing all the different combinations. If you use --no-listen on both sides, the file transfer is forced to go through the transit relay.
The different things we need to test/fix are:

1: client-side support for v6 on the "mailbox"/"rendezvous"/"relay" server connection (the websocket to port 4000 on relay.magic-wormhole.io
2: AAAA record for relay.magic-wormhole.io
3: server-side support for WebSocket listening on a v6 socket on relay.magic-wormhole.io
4: client-side support for v6 on transit connections
5: client-side support for listening on a v4+v6-capable socket for the transit connection
6: client-side support for enumerating both v4 and v6 addresses on that listening socket
7: server-side support for listening on a v6 socket on transit.magic-wormhole.io
8: AAAA record for transit.magic-wormhole.io

I should have just fixed 2 and 8 by adding those DNS records.
For 3, netstat -atn |grep LISTEN |grep 4000 shows:
tcp        0      0 <IP_ADDRESS>:4000            <IP_ADDRESS>:*               LISTEN

which I think means it's only listening on v4 (I see some other services saying e.g. :::NNN instead-of/in-addition-to <IP_ADDRESS>:NNN, so the fact that I don't see any instances of :::4000 suggests we're not listening on v6. So I think items 3 and 7 are both broken, and require changes to the way we set up that socket. That'll be in https://github.com/warner/magic-wormhole-mailbox-server/blob/0.3.1/src/wormhole_mailbox_server/server_tap.py#L100 and https://github.com/warner/magic-wormhole-transit-relay/blob/0.1.2/src/wormhole_transit_relay/server_tap.py#L34 .
And I bet I use the same code pattern to create the client transit listening socket, in https://github.com/warner/magic-wormhole/blob/0.11.2/src/wormhole/transit.py#L668 , so I imagine 5 is broken too.
I'd like to think that 1 and 4 work, because I'm not doing anything v6-specific there, but who knows. 4 happens at https://github.com/warner/magic-wormhole/blob/13102d3eeded33a4ad749078de9bbca5000ffbe6/src/wormhole/transit.py#L964-L966 , and uses HostnameEndpoint, which is supposed to try both AAAA and A records. 1 happens somewhere inside the autobahn library, which accepts a URL, so I'd like to think that's already doing as much IPv6 as we need.
So, the action items are:

fix 3/5/7 by figuring out what sort of server-ish Endpoint is needed to listen on both v4 and v6
update three places to use those: client transit listening socket, mailbox server, transit relay server
make new releases of the two servers, deploy to mailbox.magic-wormhole.io and transit.magic-wormhole.io
test 1/4 (client-side v6 connections) once the servers can accept v6 connections
fix 6 by enhancing find_addresses() to parse IPv6 addresses in the output of ip a list, not just v4

Ah, an endpoint string of tcp:NNN:interface=\:\:0 will get us a v4+v6 listening socket. The default must do interface=<IP_ADDRESS> which results in a v4-only listening socket.

Nope, that gets a v6-only socket. We have to use two separate endpoints to get both. Also, interface=<IP_ADDRESS> is wrong, it's probably interface=<IP_ADDRESS>.

Ok, doing a single endpoint of tcp:4000:interface=\:\: seems to work. On macOS, netstat reports:
% netstat -a -n -f inet|grep LISTEN|grep 4000
tcp46      0      0  *.4000                 *.*                    LISTEN

and both nc -4v localhost 4000 and nc -6v localhost 4000 are able to connect. On linux, netstat reports:
$ netstat -atn |grep 4000
tcp6       0      0 :::4000                 :::*                    LISTEN

and both 4 and 6 netcats can connect.
(I tried using two endpoints, one without an interface= and the other with interface=\:\:.. it worked on macOS, but failed with an EADDRINUSE on linux).

[x] fix 3 and 7: change endpoint to listen on both v4 and v6
[ ] fix 5: change client listener endpoint
[x] make new releases of mailbox server and transit relay server
[x] deploy new releases to mailbox.magic-wormhole.io and transit.magic-wormhole.io
[ ] test 1 and 4 with a v6-only client
[ ] fix 6 by enhancing find_addresses() to parse v6 addresses in ip a list

@thomasschaeferm could you give it another try now? I think your v6-only box should be able to get to both servers, so using --no-listen on both sides should exercise connectivity to both the mailbox/rendezvous/relay server, and the transit-relay server.
When we fix point 5 and 6, the test will be to run the sender from the v4+v6 host with wormhole --transit-helper tcp:localhost:4444 send --no-listen FILENAME, and the receiver from the v6-only host with wormhole --transit-helper tcp:localhost:4444 rx --no-listen. That will effectively disable the transit relay, and disable the listener on the sending side, so the only remaining connection possibility is for the v6 receiver to correctly announce it's IPv6 address, and for the sender to connect to it.
I want to be a bit more cautious about fixing 5, because if the client machine is IPv4-only, doing a listening socket on :: might fail entirely. I want to test this on a machine that has v6 removed entirely (probably by rebuilding the kernel, or maybe there's a sysconfig option), and I may need to have some code that detects whether :: works or not and fall back to a v4-only listening socket if it doesn't.
(I could be somewhat cavalier about changing the servers to unconditionally use ::, because if there's a problem it'll happen right away, and there's an easy --port=tcp:4000 workaround)

Sorry for let waiting you so long. I did not expect such a fast reaction.
Your transit relay now works in both directions. It also translates fine from ipv4-only hosts to ipv6-only hosts and vice versa.
So wormhole works. Of course it could be better in finding better/shorter ways ( my dualstack-host is within the same LAN as ipv6-only host)
For further tests I probably need recent master versions instead of the packaged versions.  I will be glad to do further tests, but not today.
Thanks a lot for providing such a useful tool.

Great, thanks for the update!
I'm going to leave the ticket open until I've landed the client-listener changes too, which ought to help your dual-stack host find the shorter path. I'll ping you here when I have something ready for you to test out.


Exception Handling Business wise

I am onto it

This issue has already been addressed in the PR #15.


✨ Configure deployment profiles for Maven Central and Github releases

Resolves #9

Yeah, that's great! So what is missing then for the user to do? Should we describe this in the README of the generated projects?

Yes. There are a few properties such as the repository url and nexus url that may be configured.
Also the expectations for a sonatype username/passwords, a public GPG key hosted at specific key servers, a $git release token for JReleaser, changelog configuration for JReleaser.


Correct link for environment variables setup

Fixes #788
Checklist

[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added in line documentation to the code I modified

Short description of what this PR does:

Update the link for environment variables to the correct one

If you have questions, please send an email to Sendgrid, or file a Github Issue in this repository.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Missing refund and punish confirmations in state report

We currently include the number of confirmations for cancel but not refund and punish, Alice and Bob will wait for their finality threshold to consider one or the other transaction mentioned final. To display that information on clients (e.g. GUI) we should include these two confirmation counters.

Same for the buy transaction, needs the number of confirmations


Quick Start incorrect example code

Post type is not exported and wrong file imported in with ~/posts, where it should just be ~/post.

thanks! got this in later PRs


Use local raft api for journal writer

This change may improve flushing performance by removing additional network layer from journal flushing.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11280/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11281/
Test PASSed.

Resubmitted as #12174


Allow date prop to be a Date or moment instance

Allowing the date prop to be a moment instance removes some boilerplate coercion for people using this common date library.

I take that back -- a moment instance will break the iOS component.

No worries, thanks for the PR anyway :)


Display Full Name instead of First Name, Middle Name and Last Name if…

… configuration is enabled

In the code, there is only addition of new global configuration. This global configuration is not used for any validations or data management. There will not be any change to existing APIs whatsoever. Such global configurations are not going to help in any way.


Using base64 images

I'm working on a project that would require me to display base 64 images, loaded straight from the encoded data with no external files involved. I can generate the html and open it in another browser no problem, but attempting it on the htmlFrame object always yelds an error message. Is the format not supported?
The HTML tag that generates the error is:
<img src="data:image/png;charset=utf-8;base64,{banner_img}">
where {banner_img} is the encoded data.
Also, the error reads: "[base 64 data] could not be shown because it is corrupt or is not supported yet."

Hi @valtervg13,
Thank you for bringing this issue to my attention. TkinterWeb should support base64 encoded images. Can you please provide an reproducible example of the image causing the error? That way I will be able to try and troubleshoot the problem.
Thanks!

Thanks for the quick response!
I did some testing while trying to make a simple example and found that the problem only arises with big, complex images.
Simple images like the github logo display normally.
I'm sendind a simplified code with the problematic image as an attachment since the encoded base 64 within is simply huge. The html file is generated by the code, but if the sise of the image string starts causing problems with the IDE it should b enough for testing the problem.
Testing.zip
Thanks a bunch!

I'm getting the error 'Compressed (zipped) folder is invalid' when opening your file. Perhaps you could try uploading it again? Thanks!

Sure thing! It opens normally when i download it though.
Here it goes:
Testing.zip

I found out the problem: i was using the wrong image extension in the html. Not a problem with the htmlFrame.
Thanks for your time and effort! Sorry for the blunder.
I will close the topic now and should probably delete it since it was an error on my part.
Thanks again!

No problem! Blunders happen sometimes; don't worry about it. I'm just glad that you have figured out your problem!
As always, never hesitate to reach out if something else isn't working quite right!


Stream attempt to Drive with invalid OAuth2 token can result in lost data

Hi
Following a drive.files.insert with a media.body that is a stream, if the insert fails immediately (for instance due to token expired), it seems that the stream is left partly consumed / read.
Is this the case and if so is it avoidable?

Greetings!  Since our move to axios, this issue has been resolved.  Check out this sample, and let us know if you have any problems!


Hi congratulations for your work, could your work be applied to cross-camera tracking?

Hi @dongxuemin666, thanks for the question. Unfortunately, we don't support cross-camera tracking in our ICCV implementation.
Cross-camera tracking needs a robust high-level representation and geometrical-sound matching, or Re-ID module. We encourage you to check our new work at https://github.com/SysCV/qd-3dt about quasi-dense representation learning. It's the very first step to apply to cross-camera tracking.

Thanks for your reply


Use transclusion slots for editable and static content

BREAKING CHANGE
Allows custom formatting of editable content in its static state.
Merge via rebase after #3.

Thanks for sending these fixes over - I haven't been developing in Angular for a while now since I've been primarily involved in React projects as of late. I've pulled down the latest and just have a couple of requests/recommendations.

The multiline edit makes sense to me, but the new lines are not being preserved when textarea leaves edit mode. If we are going to allow for multiline edit we should probably update the non-edit mode to preserve the new lines.

Can you provide a use case for using the  transclude? Not fully understanding the use case from the updated docs. Since this would be a breaking change I want to understand this feature fully.

Update unit tests to pass with newly added features. I have just noticed that I forgot add the angular-mocks module to the package.json, so you will need to do that in order to have the tests run properly.

Let me know your thoughts on the above, and thanks again for contributing to the module.

I'll get the tests working tomorrow. #2 is there to make addressing #3 possible. There are multiple ways to handle multi line formatting, my use case is using markdown. Basically inside the  I'm rendering the text using a separate angular markdown directive. I personally think it is best to not take an opinionated position on this from the standpoint of your directive, and leave the responsibility up to the end user. But I'm sure that is obvious to you.
Sent from my iPhone

On Dec 26, 2016, at 10:08 PM, Ryan Johnson<EMAIL_ADDRESS>wrote:
Thanks for sending these fixes over - I haven't been developing in Angular for a while now since I've been primarily involved in React projects as of late. I've pulled down the latest and just have a couple of requests/recommendations.
The multiline edit makes sense to me, but the new lines are not being preserved when textarea leaves edit mode. If we are going to allow for multiline edit we should probably update the non-edit mode to preserve the new lines.
Can you provide a use case for using the transclude? Not fully understanding the use case from the updated docs. Since this would be a breaking change I want to understand this feature fully.
Update unit tests to pass with newly added features. I have just noticed that I forgot add the angular-mocks module to the package.json, so you will need to do that in order to have the tests run properly.
Let me know your thoughts on the above, and thanks again for contributing to the module.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Pasting from clipboard into Cerebro Search box not working on MacOS

[x] I am on the latest Cerebro.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: MacOS Ventura 13.3.1
Cerebro.app version: latest v0.11.0

Issue
I can't seem to paste anything into the Cerebro Search box.  Wondering if anyone else was experiencing the same problem I have with cerebroapp on MacOS.
Being able to paste into the search box works well on my windows machine

I'm going to need help fixing the problems that are on the mac, today I don't have an OS to test.


Arbitrary<'_>is not implemented for&dyn SomeTrait`

Hey all,
First off many thanks for the work on cargo fuzz! So, I'm running through some Structure aware fuzzing and attempting to have cargo fuzz generate arbitrary structs of the (simplified) form
struct MyStruct<'a> {
    some_option: Option<&'a dyn SomeTrait>
}

The trait itself has the (simplified) form
pub trait SomeTrait {
    fn fun1(&self, SomeStr: Option<&str>, code: &str) -> String;

    fn fun2(&self, SomeKV: &HashMap<String, String>) -> String;

    fn fun3(&self, SomeKV: &HashMap<String, String>) -> String;
}

Adding the magical incantation #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] above the struct definition starts throwing trait bound errors ala
error[E0277]: the trait bound `&dyn SomeTrait: Arbitrary<'_>` is not satisfied
    |
480 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
    |                                          ^^^^^^^^^^^^^^^^^^^^ the trait `Arbitrary<'_>` is not implemented for `&dyn SomeTrait`
    |

I'm a bit confused as to where to go from here. I've poked around enough to find that the Arbitrary trait doesn't like being made dyn
480 | trait ArbitrarySomeTrait: SomeTrait + arbitrary::Arbitrary {}
    |       ---------------------------------                             ^^^^^^^^^^^^^^^^^^^^ ...because it requires `Self: Sized`
    |       |
    |       this trait cannot be made into an object...

but it's unclear to me how to progress or if I'm hitting a wall. Is there something I'm missing?

It's not theoretically possible to autoimplement Arbitrary for trait objects; Arbitrary is about constructing an arbitrary instance of that object from scratch.
For trait objects you'd need a registry of all possible types in that object (not available in rust, also potentially infinitely-sized. definitely infinitely-sized if you start talking about all potential implementations of the trait instead of just all currently extant implementations). On top of that, each concrete type would also have to impl Arbitrary, so you really need dyn SomeTrait + Arbitrary (which Rust won't allow, so you need to instead make it trait SomeTrait: Arbitrary)
You can, however, write a manual implementation that selects between a list of concrete objects that you decide. An easy way to do this is define an enum of all the concrete objects that implement your trait (that you care about), slap #[derive(Arbitrary)] on that, give it a method that covnerts it to a trait object, and then impl Arbitrary for Box<dyn SomeTrait> that goes through the enum.
(implementing Arbitrary for a reference to a dyn is impossible, it'll have to be owned, you can take a reference in your fuzz code)

For trait objects you'd need a registry of all possible types in that object (not available in rust, also potentially infinitely-sized. definitely infinitely-sized if you start talking about all potential implementations of the trait instead of just all currently extant implementations).

Gotcha. Ya that seems maybe a little hard to do :)
Is there anything written on fuzzing strategies when using cargo fuzz? The docs seem a little anemic at the moment.

There's the fuzzing book (https://rust-fuzz.github.io/book/) but that's about it.

Dang. Well, thank you :)


fixed include only bug

Updated TADA_SummarizeCensoredData to TADA_Stats
Ran check() and fixed other notes. Added global variable to Utils.R and removed flagged.csv from top directory (double check  - this is not needed, right?)


Pass OSC52 from nested tmux session

Disclaimer: I'm not sure if this is relevant to #242 or ever under the scope of this project
A common scenario for nested tmux is the outer one on local machine and the inner one on remote machine over ssh:
Terminal emulator -> Local tmux (outer) -> SSH -> Remote tmux (inner) -> Remote CLI applications
However, OSC52 sequence from remote CLI applications cannot reach the terminal emulator. I tested the following:

Workflow
Working?

Terminal emulator -> Local CLI applications
✔

Terminal emulator -> Local tmux -> Local CLI applications
✔

Terminal emulator -> SSH -> Remote CLI applications
✔

Terminal emulator -> SSH -> Remote tmux -> Remote CLI applications
✔

Terminal emulator -> Local tmux -> SSH -> Remote tmux -> Remote CLI applications
❌

Is it possible to make OSC52 sequence from remote CLI applications "passthrough" remote tmux and reach local machine?

You can do this with vanilla tmux and a carefully-crafted .tmux.conf file.  Here's the relevant documentation on how you can set up your tmux.conf file to allow this: https://github.com/tmux/tmux/wiki/Clipboard#terminal-support---tmux-inside-tmux

You can do this with vanilla tmux and a carefully-crafted .tmux.conf file. Here's the relevant documentation on how you can set up your tmux.conf file to allow this: https://github.com/tmux/tmux/wiki/Clipboard#terminal-support---tmux-inside-tmux

Thanks for the info. It's as simple as adding set -s set-clipboard on to .tmux.conf.local

Keeping this open as I want to come up with a solution that works for tmux 2.4+


Add component to show submission review state

Different components show a submission review state. To do so, they use the reviewStateIcon() function of the useReviewState() composable along with the reviewState.* messages in en.json5. However, one piece of functionality that isn't shared is the review state color: each component that shows a review state manages the color in its own way. This PR changes that by introducing a component named SubmissionReviewState. It will show the icon and message associated with the review state, and it will also add the review state color.
I'm making this change with getodk/central#670 in mind. The hover card for a submission will show the submission's review state, and I didn't want to copy the review state colors to yet another component.
What has been done to verify that this works as intended?
I updated tests. I also checked out a few components where I introduced SubmissionReviewState. If any issues are found during regression testing, we can patch those.
Why is this the best possible solution? Were any other approaches considered?
I think a component is exactly the right thing for the job, and I'm not sure why I didn't add one sooner. I may have been avoiding adding a component with SubmissionMetadataRow in mind. I've been trying to make that component as fast as possible to render, since there can be many submission rows on the page, and I've observed in the past that child components carry a performance penalty. However, in v2025.1, we'll be adding pagination to the submissions table, which should alleviate performance concerns. I've noticed before that one surprising performance bottleneck in components is Vue I18n. However, the new component doesn't have its own i18n messages — it only uses global messages from en.json5 — which should help.
Before submitting this PR, please make sure you have:

[x] run npm run test and npm run lint and confirmed all checks still pass OR confirm CircleCI build passes
[x] verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

I've pushed a commit with some changes. The biggest change is that I've removed some additional tests, similar to changes to other tests that @ktuite and I reviewed. I don't think we necessarily need another round of code review for this commit.


fix(latency): Moving minimum latency measurement from 1sec to 250mS

:tada: This PR is included in version 6.6.5 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


fix: improve api search in platform analytics logs dashboard

Issue
https://gravitee.atlassian.net/browse/APIM-564
Description
In this pull request we introduce a new endpoint dedicated to the load of all api names for the analytics. Today users with a lot of apis have timeouts when they try to access this page.
For example with 2000 apis the time to load the api names is greater than 10s with the classic search. With the /apis/name endpoint the time is around 300ms
To test this improvement you'll need to create a lot of data in your db and elastic. After that you'll be able to acess to the platform analytics dashboard and click on view logs.

🚀 CI was able to deploy the build of this PR, so you can now try it directly here
Notes: The deployed app is linked to the management API of APIM master. (Same login and password as APIM master)

📚  View the storybook of this branch here

Actually, we had the same kind of error on another screen. You can see more details here:
https://github.com/gravitee-io/gravitee-api-management/pull/2489.
The idea was to use an input to filter out APIs by name.

Instead of changing the behaviour on the backend side an other pull request is coming to introduce the pagination on the frontend side with an autocomplete


Disallow method calls from within constructors

Search Terms
call virtual methods from a constructor
Suggestion
The typescript compiler should give an error when a method call is made in a constructor, or at least it should be a configurable error.
Use Cases
Calling (virtual) functions from a constructor is dangerous, and in Javascript, all functions can be virtual. This could be also lead to errors when someone extends a class from a class that was made outside his project's code base.
Examples
Even with all private members and methods, it can go wrong, see the Typescript implementation of the Hitchhiker's supercomputer
or this more abstract example that generates a type error
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code,
when it's made a configurable error
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[X] This feature would agree with the rest of TypeScript's Design Goals.

i see the problem but how you define "virtual" in typescript?

I don't see how this could get turned into anything useful in practice. You can arrange a similar sequence of incorrect calls outside of a constructor, too, but the problem here is the contractual relationship between the base class and its derived classes, not the location of those calls.

lastly it's rather a straightforward thing to do for a linter: to prevent calling methods from a constructor
i bet i can write this rule for $50, what's your bet?

You can arrange a similar sequence of incorrect calls outside of a constructor, too

How could you do that, without the compiler complaining?

Why would you want to delegate this to a linter?
The compiler does not allow
class C { x:T; constructor(){} }
as it leaves the x being undefined.
Similarly, the es6 compiler does allow, but it will give a runtime error
class E extends C { y:Y; constructor() { this.y=42; super() } }
because the this isn't yet fully defined
So, since all methods are possibly virtual, this need not be explicitly defined, nor is it a problem. But you can end with runtime errors, although you think you do keep up with the contractual relationship between the base class and its derived classes.

what's your bet?

I honestly would not have a clue as how to write a linter rule, so I better not bet ;-)

linting rules are generally easy to write, they have a huge return on investment ratio, i say if you spend an evening of your weekend writing a rule you will save hours of worry free time down the road
try it


[analysis] More scoring dimensions

We should probably call it out very directly if a flutter plugin doesn't even have an Android or iOS implementation

Blocked on #144.

@isoos @xster I think we can close this now that we have support for platform keys in the pubspec, and tags like here? https://pub.dev/packages/provider


Edit bookings

User story

As a user
I want / need to be able to edit my bookings
So that I can quickly adjust them for my favorite desk

Acceptance criteria

Full feature
When hitting the edit button next to a specific desk, the same options appear like when adding a new booking preset with the specific bookings data
Contains a update button
When the update button is clicked, the booking is updated if the new settings are available(+success message), otherwise an error message is displayed

Definition of done (DoD)

The code has been peer-reviewed by at least one team member
The documentation was updated if necessary
The bill of materials was updated if necessary
Working dev setup was created

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Should later on when connecting BE and FE display error and success messages if booking could be updated.

#72


Comparisons: Add Java

Still incredibly popular for some applications, including large-scale
servers. Need to get some experts in this area to help make the
comparison.

Some brief, unedited thoughts as a person who works with large Java deployments/servers:

Java's garbage collector, as nice as it is, introduces all sorts of unpredictable memory behavior that manifest themselves in highly variable latencies. Even a single latency spike in a service, across a 20-service hop can impact a surprisingly large number of users.
A big win of using a language like Rust is far more predicable memory usage, and therefore, latencies. As a colleague put it:

I think the  issue is java gets you within spitting distance of close to "optimal" performance but then leaves you high and dry when you try and cross the finish line. That and every instinct people seem to have about writing code in java is wrong for perf at that level, and the perf isn't reliable across the percentiles.

Rust's pitch could be “memory usage is less variable and makes it easier to avoid making silly mistakes that hurt you in production.“
More broadly, Java's GC (to the best of my recollection—this may change in Java 11) scales with heap size, not live set size. After a certain point, the number of GC pauses spike.
No-pause garbage collection (or even the absence of a garbage collector!) would turn latency problems into throughput problems, which can be solved by “throw more/larger machines“ at the problem.

(Sorry for not editing this better, figured that some experience report is better than none.)

To pile onto what @davidbarsky said, I've seen the same doing services in C#: the GC is the most complex, least safe, and poorest-understood part of our services.


Access to the path of the application's config directory

I would like to be able to cross-platform access to the standard application config directory. That is:
$HOME/.config
C:\Users\UserName\AppData\
etc.
I didn't find that in path_provider

Can you give a full list of what you expect this to return on each platform? If the two you listed, the Windows path is the same as what's already provided, and I don't know what directory you're looking for on iOS or macOS.
It's not clear to me that this is actually a cross-platform concept.

That's a very good idea. More specifically, I would like to access the following directories:
System-wide configuration:
Windows: %PROGRAMDATA%\_APPNAME_ or C:\ProgramData\_APPNAME_
Linux: $XDG_CONFIG_DIRS/_APPNAME_ or /etc/xdg/_APPNAME_
macOS: /Library/Application Support/_APPNAME_
System-wide temp directory:
Windows:  %TEMP%\_APPNAME_ or %TMP%\_APPNAME_ or C:\Users%\USER%\AppData\Local\Temp\_APPNAME_
Linux: $TMPDIR/_APPNAME_ or var/tmp/_APPNAME_ (more persistence as with Windows, suitable for large files, always mountable)
macOS: $TMPDIR/_APPNAME_ or var/tmp/_APPNAME_
User-level configuration of applications:
Windows: %APPDATA%\_APPNAME_ or C:\Users\%USER%\AppData\Roaming\_APPNAME_
Linux: $XDG_CONFIG_HOME/_APPNAME_ or $HOME/.config/_APPNAME_
macOS: $HOME/Library/Application Support/_APPNAME_
User-level application cache dir:
Windows: C:\Users\%USER%\AppData\Local\_APPNAME_
Linux: $XDG_CACHE_HOME/_APPNAME_ or $HOME/.cache/_APPNAME_
macOS: $HOME/Library/Caches/_APPNAME_
User-level application data:
Windows: %LOCALAPPDATA%\_APPNAME_ or C:\Users\%USER%\AppData\Local\_APPNAME_
Linux: $XDG_DATA_HOME/_APPNAME_ or $HOME/.local/share/_APPNAME_
macOS: ~/Library/Application Support/_APPNAME_
User-level application logs:
Windows: %TEMP%\_APPNAME_\Logs or %TMP%\_APPNAME_\Logs or C:\Users%\USER%\AppData\Local\Temp\_APPNAME_\Logs
Linux: XDG_STATE_HOME/_APPNAME_/logs or $HOME/.local/var/lib/_APPNAME_/logs (according to XDG)
macOS: ~/Library/Logs/_APPNAME_
I could be wrong about the paths, but this is how I see it so far.
I don't know about mobile devices, I have a Nokia 3220
The _APPNAME_ variable is supposed to consist of producer_name/project_name if producer_name is set or just project_name, where project_name = name in pubspec.yaml.

I'm still not clear what conceptual difference you are drawing between "user-level data" (which is already there) and "user level config". On macOS going listed the same path. On Windows you've listed the same path except that one is roaming and the other is local, for reasons that are not clear to me; I don't see why data would be local-only.
If really only want the config directory on Linux, why not just use xdg_directories to get it?

@stuartmorgan The difference is simple, the data is e.g. a database file, the config are settings.json. Cross-platform variant, should take into account the peculiarities of different operating systems. If in macOS it is common to store different things in the same directory, then it should be in the same directory. In Linux it is common to separate configs and data.
On Windows, large files are not stored in Roaming because of the overhead of roaming. So configs go into Roaming, big files like the database go into Local. You can take a look at the example paths in the JetBrains products.
Using the xdg_directories is Linux-centric and not cross-platform.

If in macOS it is common to store different things in the same directory, then it should be in the same directory.

Abstracting this away is potentially dangerous, however. It is very non-obvious that storing a file with the same name in two "different" directories would be fine on Windows and Linux, but silently destroy data on macOS.

In Linux it is common to separate configs and data.
On Windows, large files are not stored in Roaming because of the overhead of roaming. So configs go into Roaming, other files go into Local.

"Config vs. data" and "large vs small" are not the same conceptual difference. A to-do list application on Windows would store its data in roaming, not local, because it is small, and can't easily be recreated in another machine.
Abstractions only work when there is sufficient alignment of the concept on the underlying platform.

You can take a look at the example paths in the JetBrains products.

And you can see that there is not cross-platform alignment over which of those are the same or different across different platforms. They made a per-platform differentiation, which your suggested abstraction would not do.

Using the xdg_directories is Linux-centric and not cross-platform.

My point is that the distinction between "configuration" and "data" is itself not cleanly cross-platform. Just as a local vs roaming abstraction would work for Windows, but not for Linux or macOS.

And you can see that there is not cross-platform alignment over which of those are the same or different across different platforms. They made a per-platform differentiation, which your suggested abstraction would not do.

If you take their names and paths (except for plugins), add paths to cache and correct only path to logs according to XDG, it will be almost the same as I suggested and I am completely satisfied.

and if you replace JetBrains "System (idea.system.path): ~/.cache/JetBrains/IntelliJIdea2020.3" path with "System (idea.system.path): ~/.local/share/JetBrains/IntelliJIdea2020.3", it is the same as I suggested :)

If you take their names and paths (except for plugins) and correct only path to logs according to XDG, it will be almost the same as I suggested and I am completely satisfied.

Those is how they may to your config proposal:
Windows:
Config
Config
Data
Data
macOS:
Both
Both
Neither
Neither
Linux:
Config
Neither
Neither
Neither
That's not a strong case for this being a consistent cross-platform concept.
You've also not responded to the general conceptual problem I raised above, nor the trivial example where that abstraction breaks down.

At first I thought that excluding the data directory would solve the problem, but yes, it doesn't solve the overall problem with the probability of data destruction (especially on Windows).  I guess I should leave it as it is.

I think it should be left as is.

Does this mean you want to close the request, or that you're proposing something different?

I think it should be left as is.

Does this mean you want to close the request, or that you're proposing something different?

But I didn't open it. Perhaps the creator of the issue has some suggestions?

But I didn't open it.

Sorry, I missed that all of the replies to my questions were from someone other than the reporter.

Yes, I have nothing really to offer, so I closed the issue.


Double Vision when a game is not set to 100% FOV in SteamVR

Description

When a game is set to anything but 100% FOV in SteamVR's Video Settings, the rendering on the VR Headset get's totally screwed up.
When using Oculus Link, this issue does not occur.
My best guess is that ALVR does not account for the missing space in the frame when the FOV is any lower than 100%.
I asked for help on the discord, where another member said they have the same issue. I feel like linking this conversation might also be useful: https://discord.com/channels/720612397580025886/720639114705240135/1052905846033616907
General Troubleshooting

[x] I carefully followed the instructions in the README and successfully completed the setup wizard
[x] I read the ALVR Wikis here and here

Environment
Hardware
Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload
CPU:
AMD Ryzen 7 1700
GPU:
Nvidia GTX 1060 6GB
Game Ready Driver 516.69 (patched for multiple nvenc session: https://github.com/keylase/nvidia-patch/tree/master/win#nvenc-patch-step-by-step-guide)
Audio:
I dont actually know what to provide here, but audio works just fine so i'll just leave this be.
Installation
ALVR Version: v19.0.0
SteamVR Version: v1.24.6<PHONE_NUMBER>)
Install Type:

[x] Packaged (exe, deb, rpm, etc)
[ ] Portable (zip)
[ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions):
Windows 10 21H2 (19044.1889)

bump

bump

This is probably worth investigating.


Move the import & export menu from the Plugins to the File menu.

So that with the 'naked' Mastodon, there are no items in the Plugins menu.
Also import / export items are better in the File menu.
After this: make sure that all I&E plugins in other mastodon artifacts go in these menus.

https://docs.google.com/document/d/1-hC6YApjdD-58bYWdPDR8Pw3eIyOYTaT5Wtzlx9L-FQ/edit

[ ] do this in the core -> JY
[ ] do this for plugins in mastodon-pasteur -> JY
[ ] do this for plugins in mastodon-tomancak -> Mathias

Cf. #332


Improve embed function for docs

this function here  embeds yaml files from a branch but requires the files to already exist in the branch to work.
This is needed for file outside of the docs since they won't be copyied in the docker container that generates the doc website. However for those yaml file in the docs folder, eg here we should be able to use relative paths so that one can add the file in the same pr it is embedded.
AC

[ ] I can use {{< embed path="/docs/mynew.yaml" >}} without the script prepending "https://raw.githubusercontent.com/keptn/lifecycle-toolkit/"
[ ]  for all path outside docs the script keeps on using "https://raw.githubusercontent.com/keptn/lifecycle-toolkit/"
ex.  {{< embed path="/lifecycle-operator/config/samples/myhastobetherealready.yaml" >}}  will be embedded as https://raw.githubusercontent.com/keptn/lifecycle-toolkit/lifecycle-operator/config/samples/myhastobetherealready.yaml

with https://github.com/keptn/lifecycle-toolkit/pull/2398, a new shortcode has been introduced docsembed

The team agreed to close this since 2 separate shortcodes are good enough for now.


Build Support/Help Section

Is your feature request related to a problem? Please describe.
Implement a help section where users can contact support or view FAQs.
Describe the solution you'd like

Create a help UI with FAQ and support contact information.
Connect with backend API for support ticket creation.

@visheshrwl pls assign me this

Hey @Prabhav444 ! 👋
First off, I want to extend a huge thank you to all of you for your amazing contributions to this project! Your support and hard work mean a lot, and I truly appreciate everything you do. 🙏
I have a small favor to ask: if you think I’ve been helpful and supportive throughout your contributions, I would be honored if you could nominate me by filling out this form: Nominate me.
Your nomination would mean the world to me, and it’s a great way to help me continue supporting our awesome community. Thanks again for all the amazing work, and let's keep making great things happen! 🚀
Best,
Vishesh


Update to OpenShift Pipelines 1.13

@stuartwdouglas Its not clear to me why the minikube tests are failing. I'm also slightly concerned as to whether this upgrade will work with tekton-results.

/retest


why repeat epoch?

i notice , when using Linemod dataset, there is a "epoch repeat=20" .why do we do that?
i mean, that equals to "whole epoches=nepoch *20", and it really takes a long time.

Hi, it's mainly because the testing set is larger than the training set. So we just regard 20 times of training epoch as one real training epoch.


Profile inconsistencies with overriden values

I have created a use case for this issue in the development app here:
https://github.com/dsd-sztaki-hu/crate-builder-component/tree/file-profile-problem
Use the "Single file" crate and the "A profile for single-file.json test".
Here's the problem I found. I have this crate with a single File:
{
  "@context": [
    "https://w3id.org/ro/crate/1.1/context",
    {
      "@vocab": "http://schema.org/"
    },
    {
      "txc": {
        "@id": "http://purl.archive.org/textcommons/terms#"
      }
    },
    {
      "@base": null
    }
  ],
  "@graph": [
    {
      "@id": "ro-crate-metadata.json",
      "@type": "CreativeWork",
      "conformsTo": {
        "@id": "https://w3id.org/ro/crate/1.1"
      },
      "about": {
        "@id": "./"
      }
    },
    {
      "@id": "./",
      "@type": [
        "Dataset"
      ],
      "name": "./",
      "hasPart": {
        "@id": "Some file"
      }
    },
    {
      "@id": "Some file",
      "@type": [
        "File"
      ],
      "name": "Some file",
      "@reverse": {
        "hasPart": {
          "@id": "./"
        }
      }
    }
  ]
}

I try to use it with this profile:
{
    "metadata": {
        "name": "A profile for single-file.json test",
        "description": "",
        "version": 0.1,
        "warnMissingProperty": true
    },
    "classes": {
        "Dataset": {
            "definition": "override",
            "subClassOf": [],
            "inputs": [
                {
                    "id": "https://schema.org/text",
                    "name": "text",
                    "label": "text",
                    "help": "help message",
                    "required": true,
                    "multiple": true,
                    "type": ["Text"]
                },
                {
                    "name": "encodingFormat",
                    "label": "Encoding format from profile in Dataset",
                    "help": "Encoding format help from profile",
                    "type": [
                        "URL",
                        "Text"
                    ],
                    "required": true,
                    "multiple": false
                }
            ]
        },
        "File":{
            "definition": "override",
            "subClassOf": [],
            "inputs": [
                {
                    "name": "contentSize",
                    "label": "Content size from profile",
                    "help": "Content size help from profile",
                    "type": [
                        "Text"
                    ],
                    "required": true,
                    "multiple": false
                },
                {
                    "name": "encodingFormat",
                    "label": "Encoding format from profile in File",
                    "help": "Encoding format help from profile",
                    "type": [
                        "URL",
                        "Text"
                    ],
                    "required": true,
                    "multiple": false
                },
                {
                    "name": "description",
                    "label": "Description from profile",
                    "help": "Description help from profile",
                    "type": [
                        "Text"
                    ],
                    "required": false,
                    "multiple": false
                },
                {
                    "id":"http://nonschema.org/randomValue",
                    "name": "nonSchemaDotOrgValue",
                    "label": "Non schema dot org value",
                    "help": "Non schema dot org value help",
                    "type": [
                        "Text"
                    ],
                    "required": true,
                    "multiple": true
                }
            ]
        }
    }
}

Both the Dataset and the File class has encodingFormat property with the same input definition.
Now, when I try to edit this crate with this profile I can see an input for "encodingFormat" appear in the Dataset,

but not in File:

encodingFormat is part of schema.org. I also added contentSize and description to File class and I could override contentSize and have an input for it, but not for description just like with encodingFormat.
If I add an explicit schema.org id to the input definition, then it appears:
                {
                    "id": "http://schema.org/encodingFormat",
                    "name": "encodingFormat",
                    "label": "Encoding format from profile in File",
                    "help": "Encoding format help from profile",
                    "type": [
                        "URL",
                        "Text"
                    ],
                    "required": true,
                    "multiple": false
                },

How do you think this supposed to work?
I tested this with 0.38.3 but this behavior also appears in 0.37.2.

That has to be a bug. I will look into it. All of the properties in a profile should be visible regardless of whether they overlap with an existing schema.org definition.

Ok. Having a look at this some more it's not a bug but the behaviour is odd and misleading.
Describo doesn't automatically verify definitions in the profile against schema.org in order to fill in missing info for fields that are defined there. Without the id the profile is invalid and describo removes it. You can check profiles at https://describo.github.io/profiles/ and see that it reports the missing id as an error. If you add id's to all of the entries in your profile you will see that the profile validates.
The design idea is that profiles are things that are written by metadata experts, verified and then made available to the user community. So, describo assumes that the profile is correct and complete and defines exactly what the author wants the user to be able to do. By not providing an id, describo can't handle that entry. It won't try to fill in missing information from schema.org which I think would complicate things unnecessarily and lead to potentially unexpected behaviour.

Ok, it is completely fine to expect a completely authored profile with id-s. I just thought you do some magic about schema.org definitions and that's why schema.org symbols work without id-s - sometimes, at least.


Feature/prisma

#105
Remove ? and made fields mandatory

hey @ykhokhaneshiya could you look over why is it showing merging conflicts

@RakeshSangem , resolved it.

It's not solving all the issues I mentioned in #105 but it's ok we can work on that right now I think we can merge this one. Thanks for the contribution @ykhokhaneshiya

@AdityaPainuli if it's not solving the all issues of #105 then let's not close that issue. but we can merge this PR. what you say?


Add peer public key and docs

As per IRC discussion, this exposes a peer's public key without having to muck around with the state.
How's the name? Should it be remotePublicKey instead?
Would you like tests that check for its existence?

Looks good! remotePublicKey yes

Woot! Mind pinging here when this gets released so I can update deps? 😁

8.9.0

Sweet thank you!

thank you. i totally can remove a bunch of extra code now cuz of this. you guys rocj1


Markdown to HTML regressions from Hugo to Jekyll

Problem description
We've had a few regressions in how markdown converts to HTML since the switch to Jekyll. Here are two I've seen so far:

URLs do not automatically convert to links unless they are explicitly formatted as such, either with link text, or in markdown with link text`

On-page links do not convert properly (e.g., #what-you-can-do)

See PR https://github.com/docker/docker.github.io/pull/413 for examples.

Issue #2 fixed in 47de0e2073d5800012c6c1d76e84fc71a929a72d
I think the explicit formatting of links is an okay expectation to set? There are probably cases where we don't necessarily want to make things a link, like http://example.com or http://localhost right?

@johndmulhausen sounds great! Closing the issue, thanks!


Bump all deps

Signed-off-by: Chojan Shang<EMAIL_ADDRESS>

Oops.. test servers::clickhouse::test_clickhouse_insert_to_fuse_table has been running for over 60 seconds

Oops.. test servers::clickhouse::test_clickhouse_insert_to_fuse_table has been running for over 60 seconds

CREATE TABLE test(a UInt64, b Varchar) Engine = Fuse;
INSERT INTO test(a,b) values(888, 'stars');
INSERT INTO test values(1024, 'stars');
SELECT * FROM test;

Correct results at every step


Bug/INC5419217 adding new predicate to camunda flow create_claim_spec…

LRvLR 1v1 claims are getting stuck and they not going through. P2 incident has been raised.
JIRA link (if applicable)
Change description
adding this new 1v1 predicate to camunda flow.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x ] No

Please try to add image of camunda diagram in the PR description, so it's easy to review. Thank you


Member Directory Search: adding unused text to page

fixes #2391
Summary
When searching member directory users, once autocomplete popup opened, application is adding the text next to the main form.
Steps to reproduce

Create multiple dnn users
Create a new page
Add Member Directory module to a newly created page, click on publish
Start typing user name in a search box
Observe the text "..results are available, use up and down key" which is added at the bottom of the page

Rootcause
Text which is added is a part of Live Region. It is used to voice additional info by screen readers. Such text should be accessible but not visible. Live Region is marked with .ui-helper-hidden-accessible class and has to be a part of .dnnForm. See below: https://github.com/dnnsoftware/Dnn.Platform/blob/7eaeec8c073c0dc54a63991bfd7c0b7831b93a3c/Website/Resources/Shared/stylesheets/dnndefault/7.0.0/default.css#L2137-L2140
Currently it is adding to the end of the body and located out of css visibility. Putting it to a correct place resolves an issue. CSS applied correctly and text gets accessible for readers but not visible for users.
Sample of the issue

@tpluscode, you are right. Instead of working with this issue tonight, I had to go to bed :)

.ui-helper-hidden-accessible should be defined on a module level css. I found in a same way it is done for a couple of other modules (Journal, ActivityStream, SocialLibrary). I.e. Journal module.
In all cases we're just hiding helper text.
Result:


After Update Hugo from 0.41 to 0.42.1 the static files are missing

After Update Hugo from 0.41 to 0.42.1 the static files are missing.
Hugo version: Hugo Static Site Generator v0.42.1 linux/amd64 BuildDate: 2018-06-13T10:16:36Z
I changed nothing on my Page. I would only update Hugo. This error is on my multi language page. On my single language Page the Update works fine.

Your config.toml isn't valid TOML, which may or may not be the cause of this. Only maps can follow another map.

Please give me a little help. I don't know were I have to look for
.

You need to move the "defaultContentLanguage*" settings near the top (above the maps/dicitonaries)

here is my changed config.toml
title = "Example"
languageCode = "en-us"
Language configuration
defaultContentLanguage = "de"
defaultContentLanguageInSubdir = true
[languages]
[languages.en]
baseURL = "https://example.com/"
languageName = "Englisch"
languageCode = "en-us"
contentDir = "content/en"
[languages.de]
    baseURL = "https://example.de/"
    languageName = "German"
    languageCode = "de-de"
    contentDir = "content/de"

contentDir = "content"
layoutDir = "layouts"
publishDir = "public"
enableRobotsTXT = "true"
theme = "home"
canonifyurls = true
disableKinds = ["taxonomy", "taxonomyTerm"]
[sitemap]
ChangeFreq = "weekly"
Priority = ".5"
[params]
# General information
author = ""
description = "Website"
publisher = "example.com"
copyright = "example.com"
# Repository
provider = "GitLab"
repo_url = "https://gitlab.com//example/homepage"

version = "0.1.0"
logo = "images/Logo-Standard.jpg"

# Fonts
googlefonts = [
    "Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic",
    "Roboto+Mono:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic"
    ]

[languages]

The above starts a map definition.

theme = "home"

The above is a single property. That and similar need to be above all maps definition.
Take further questions/trouble shooting on https://discourse.gohugo.io/
We can bring it back here if it is a real bug.

Try putting your TOML in https://toolkit.site/format.html and attempting to parse it.
Pasting what you gave above gives the error 'Value for "contentDir" should not be redefined in the same table.'
Unfortunately I find that TOML isn't always as "Obvious" as it wants to be, but what @bep said is right, you need to put all the single-value items at the top of the file.


Hv pv detection

added EURAC UDP.
There are some points which are still open for debate:

Do we want to set the max cloud cover as a parameter as well and/or the kernel size of the postprocessing filter?

Currently I get the model and dependencies within the UDF, I saw that for world cereal job options are given. Is there a preferred approach?

Currently I get the model and dependencies within the UDF, I saw that for world cereal job options are given. Is there a preferred approach?

at the moment there is no standard way to attach job options to UDPs, e.g see this discussion:

https://github.com/Open-EO/openeo-api/issues/545

so for the moment, I think doing it in the UDF is the only way

In the word cereal benchmark they are passed as:
"job_options": {
"driver-memory": "4g",
"executor-memory": "1500m",
"python-memory": "5g",
"udf-dependency-archives": ["https://artifactory.vgt.vito.be/artifactory/auxdata-public/openeo/onnx_dependencies_1.16.3.zip#onnx_deps"]
}
}
hence my confusion.
Is this then different?

In the word cereal benchmark they are passed as: ...

ah ok I see what you mean now.
you can indeed define job options in the benchmark scenario
there are indeed two options at the moment

handle model/deps "manually" from the UDF code. Adds more boilerplate to the UDF, but makes usage  easier  (less job_option worries)
work with job options. less UDF boilerplate, but as a user you're forced to always set job options. And there is unfortunately no standard way jet to attach "recommended" job options to a UDP

I'm not sure what is best at the moment


Fix the agile architecture version bug

At first run, there is a bug with version which is a non-replaced placeholder

Fixed ... by documentation :-(