Arming delay not activated

Alarmo Version
v1.9.6
HA Version
2022.10.5
Bug description
In a multi-areas system, not all areas are affected by the arming delay. In my case only one which has one sensor only.
Arming is set to 30s in teh specific mode of use,
The area affected by the arming delay issue has 3 sensors. Only for one of them, the arming delay is enabled. But also enabling it for all of them, does not solve the issue.
The area not affected by the arming delay issue shows the same behaviour both if the alarm is activated at master or area level.
Any clue?
I can provide more detail/help with additional tests.
Steps to reproduce
No response
Relevant log output
No response

Sure:
These are the settings for two of the modes:
Away (delayed arming 30s, delayed activation 30s):

And In home (immediate activation and arming):

Away mode is active in all zones
"In home" mode is not, but is active for "Pian terreno". Specifically for "Pian terreno" that has only one sensor named also "Pian terreno", the delayed arming and activation is enabled:

In the zone "Primo piano" there are several sensors: among those, "corridoio" has both delays enabled:

while the other 2 sensors (like here below "camera da letto") of zone "Primo piano" not:

What happens is that the arming is delayed only for the zone "pian terreno", while "Primo piano" is armed immediately also if one sensor has delayed activation.

Is not just an aestetical issue, I have also tried to actually activate the "corridoio" sensor during the arming delay time and the alarm triggers.
Even if I set all the sensors in the zone "primo piano" to have the arming delay, nothing changes.
Plus another thing is that I have set siren time to 1 minutes, see at the beginning, but the alarm stays on forever.

I read your report 3 times and still don't really get the issue.
If I understand you correctly, the issue is that you set up area 'primo piano' with exit delay, but it arms directly?
Are the screenshots you shared corresponding to this area (there is a dropdown list in the 'modes' configuration to select the area)?
You are sharing quite some settings for the sensors, what are you intending to say? The delay setting is applicable to the area. Even if an area contains no sensors which have exit delay enabled, it will still do the countdown when arming.
Have you tried arming the 'primo piano' separately (i.e. not via the alarm master), to see how it behaves?
For me the logbook gives a good insight:

There is 10 seconds between arming and armed state --> this is equal to the exit delay configured for the away mode.

"If I understand you correctly, the issue is that you set up area 'primo piano' with exit delay, but it arms directly?"
--->> correct
in the middle of the screenshots I have added notes per each one of them, some are relevant to "primo piano" which arms directly and others to "pian terreno" which instead works as intended, with the arming delay
Under each sensor, under "advanced setting, I see the possibility to enable or not the arming delay, is this function actually enabling the arming delay only to a specific sensor? Or is the arming delay always applied to the whole zone? Because in may case looks like this setting has no effect.
About the logs, tryng to arm independently the zones: for the area "pian terreno" I see it clearly going to "activation" and then "armed" as intended, while for "primo piano" it goes straight to "armed"
My observation is that only the zone "pian terreno" with only one sensor with arming delay activated in the advanced setting, has it duly applied. Instead the arming delay does not work in all the other zones which have more sensors in, some with and some without the arming delay activated in thw advanced setting.

Sorry...I got it now...I was trying act on the sensors advanced setting to enable or disabling the arming delay, but actually it has forst to be done in a zone specific way under the "general" tab...me idiot, I understood it wrong, now that is properly set both sides (general and sensor advanced settings) works as expected...niece piece of work your, I would say!


zgdal

Just landed here and find zarr very promising!
In addition to zhdf and znetcdf mentioned here, it would be very nice to have something similar for the broadly used GDAL data model (zgdal). I think that the implementation would be straightforward too.
Probably too soon and not the best place, but I think this is worth mentioning.

+1 and interested to chat about/contribute to this if I'm able at the scipy 2019 sprint.

just updating some links that rotted above; seems like there are a couple of gdal data models:

Raster data model
Vector data model
Geographic Networks Data Model


Add dry-run params

Hi:
We'd like to add a dry-run param to the resource. This will let Cloudops determine if we are deploying the right things to prod before actually running the deployment.

It shows the deployment diff without running a deploy.

[#146941389] Go Bosh Deployment Resource can trigger dry-run instead of deploy
Signed-off-by: Renee Chu<EMAIL_ADDRESS>

Looks great! Lmgtm

Thanks @drich10 !


Update/re-encrypt and add credentials-file (#647)

resolves #647

Codecov Report

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

@@           Coverage Diff           @@
##           master     #648   +/-   ##
=======================================
  Coverage   57.33%   57.33%
=======================================
  Files          35       35
  Lines        2487     2487
=======================================
  Hits         1426     1426
  Misses        772      772
  Partials      289      289

Continue to review full report at Codecov.

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


Add exceptions handling while validating

There will be errors occur when validating if the output gives zero detection bounding boxes. This PR simply add exceptions handling to avoid errors.

Thanks! Could you fix the linting error?

Hi @TzuChanChuang ！First of all, we want to express our gratitude for your significant PR in the mmdetection project. Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.
We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/raweFPmdzG
If you have WeChat，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


No movement, so now?

Hey @ccurtsinger,
Just listened to the presentation of Emery.
Now I would love to use it. Using it would make much more sence and reduce variance cause in many cases. (currently measuring tests with cargo bench, so not that great). Now yes, I read the readme, it says that the project isn't maintained. May I ask why?
Is there a plan/movement going for something new? did a miss an alternative? Would really love to see that thing fly and sure, if theres something to do or helpout I'm in.
Cheers 🍻

@tbarbette totally with you on that. Sadly I never worked with C/C++ or LLVM directly. Kind of new to rust but I'm totally into it.
I don't have any experience in the field and getting started with the repository doesn't seem easy to me, but would love to help and if you have any entry points or tips for me I'm happy to have a go

I don't have any experience in the field and getting started with the repository doesn't seem easy to me, but would love to help and if you have any entry points or tips for me I'm happy to have a go
Hey @somehowchris -- are you still interested in porting the general idea of Stabilizer to Rust?

Would love to.
My current struggles are:

never used/coded with c++
general understanding of integration & interfaces
general understanding of usage and interactions

(My laptop broke down and due to the chip shortage this might take a while)


Developer guides

It would be great to have some guides or tutorials for developers on extending Bookstack, say some overview about the app structure and some hints about properly implementing new features.
For example I am considering adding a plugin to bookstack and I could probably add it „somehow“, but what would be the preferred way of

adding a new icon to the page editor
opening an editor window like the code editor
handling database changes
storing and identifying the data (binary or json data)
loading the dats on page
...

Thanks for reading

Hi @NaLiJa,
We currently do not provide, or really support, a way to implement plug-ins in this manner at all.
We're looking to increase the extensibility of the platform in the future but, as of now, it's fairly locked-down.
Even writing documenting for the subjects listed, in regards to hacking the existing BookStack code,  would take quite a while and would quickly become outdated.

Since my last comment, I have set-up the following page in the docs:
https://www.bookstackapp.com/docs/admin/hacking-bookstack/
This provides a little more information to those that are a bit more adventurous. I probably won't go any further than that in terms of detail. Therefore I'll close this off.


Mamba vs RWKV

You mentioned that you wanted to test Mamba for meshgpt, but I wanted to note that RWKV is also viable for extensible context limits.
RWKV is more elegant to me, but I am not an ML expert.
https://github.com/BlinkDL/RWKV-LM
https://arxiv.org/abs/2305.13048
RWKV in 150 lines (model, inference, text generation): https://github.com/BlinkDL/ChatRWKV/blob/main/RWKV_in_150_lines.py

rwkv and mamba are both converging on a similar design, despite both trying to paint themselves as unique
yea don't worry about it like i said, just worry on the data portion


Formatted text in column

Hey, what's the best way to show formatted text in a cell? For example let's say that I want to have a bold word so my td string is Example. How can I output the formatted text instead of the literal string? I tried using a "display: inline" css attribute in a custom slot but it doesn't seem to do the trick.
Thanks a lot!

Hi @chemeng
You can achieve this using row slots.
Example:

  <vue-bootstrap4-table :rows="rows" :columns="columns" :actions="actions" :config="config" @on-download="onDownload" :classes="classes">
        <template slot="email" slot-scope="props">

            {{props.cell_value}}

      </template>
      <template slot="name_first_name" slot-scope="props">

            {{props.cell_value}}

      </template>
  </vue-bootstrap4-table>

You can find the working example in this codepen https://codepen.io/rubanraj54/pen/qGPqzB
For more information, visit the documentation page  https://rubanraj54.gitbook.io/vue-bootstrap4-table/rows#row-slot
Cheers,
Ruby.

Thanks for the reply Ruby! I'm actually trying to display dynamic, basically the props.cell_value will be equal to Text and I would like that to be evaluated as html not as string literal. Basically, I have a text editor that saves some text in rich html and would like to display that text within a particular element. Specifying the format explicitly with  would not work in that case.

Hi @chemeng
You can user v-html render your content as html https://vuejs.org/v2/guide/syntax.html#Raw-HTML.
Example:

  <vue-bootstrap4-table :rows="rows" :columns="columns" :actions="actions" :config="config" @on-download="onDownload" :classes="classes">
        <template slot="email" slot-scope="props">

        </template>
        <template slot="name_first_name" slot-scope="props">

      </template>
  </vue-bootstrap4-table>

I updated the same codepen example too, please have a look here https://codepen.io/rubanraj54/pen/qGPqzB.
I hope this solves your problem.
Cheers,
Ruby.

Awesome, this does the trick perfectly! I didn't know about v-html but thanks for the tip!


Less Hat - Less Mixin Library

http://lesshat.madebysource.com/

https://github.com/trek/beautiful-open/blob/bca193b6c5123b954966f25ac2a909a440146a77/_posts/2014-09-26-lesshat.md


Added page for kfp-kubernetes

This PR adds a new page for kfp-kubernetes.

/lgtm
cc @connor-mccarthy

I clicked on the preview. Links look good. Rendering looks good. :shipit:
/lgtm

thanks for adding this btw. I'm surprised that such an important feature didn't have a docs page in the main KFP docs.

/approve


Render() Can't mutate row props in custom component

Problem Description
I have a cell renderer with a custom text field. I want the text field to mutate the row object that is passed into the text field by the render function.  Mutations are not working.
Does react-table support mutations of cell values?
In my case, the row objects are mobx observables.
Thanks, great library btw!

Thanks for using React-Table!
You should be able to mutate the properties of the rowInfo object, but not the rowInfo object itself, and likewise, MobX, if configured correctly I am assuming, will detect these changes. Do remember though that React-Table was built with the same level of immutability that is recommended by React itself.  Just as props themselves are not meant to be mutated, React-Tables state has been architected to retain immutable integrity.
If you keep having problems, please consider posting the question to our slack org's #react-table channel.  There may be someone there that uses MobX that could help.
Closing as this is more of an implementation question and has much to do with MobX.


Add alternative and alternative_fn parser functions

I'm not sure if this is the best way of doing it, what can be improved?

I don't think this is a very good approach. Term already has too many alternatives for the error to be comprehensible.
I think simply wording the existing error better is more useful. "Expected a term. Found ')' ".
And then combine this with better documentation that actually explains what is meant by "term", "top-level definition", "statement", etc.
Also fixing the labelled parser to actually be usable, like some basic level of recovering or saving some context on what it the high-level thing being parsed (to avoid errors like "Expected: Name" when we're expecting any term).

Maybe we could give a few examples and show alternatives only when there are very few (3-4 max)

I see. I still don't know what is the best way of "fixing" the labelled parser without changing a lot of code, I'm closing this PR since you are requesting a different thing

I was thinking that maybe we could have a stack of things we're expecting in the state of the parser.
Once we're 100% sure that we're expecting something more specific then we can push a new thing to the stack. Then if an error occurs we just look at the top one.
Something like:

Start expecting a top-level definition
Parse def, expect a function definition.
Parsing the function name, expect a top-level name, then pop.
Parsing (, expect (, etc.

But importantly, when we have an alternative and we didn't match any of the "guard" clauses that identify a specific alternative, we still expect the construct one level above.
So for example, if the parser didn't find def, type or object, it'll try to parse a fun-syntax function definition but still give an error of expected top-level definition.
This would be a generalization of the labelled logic that allows for nested labels.
This is a bit different to how we did the rest of the parser, but would only require adding some push_label and pop_label calls without needing to modify the overall structure of the code.


FileNotFoundError: [Errno 2] No such file or directory: '/nas-hdd/shoubin/pretrained_model/hub/checkpoints/qformer_loc.pth

@ontheway-arch Hi, may I ask how did you solve this problem? I met the same problem here.

@ontheway-arch Hi, may I ask how did you solve this problem? I met the same problem here.

Hi,  we uploaded ckpt here (also feel free to check readme)
please download the ckpt and replace this path with your path. Thanks!

@Yui010206  Thanks very much!


Agent's gRPC client should disable TXT DNS record lookup for nonexistent gRPC service configuration

Requirement - what kind of business use case are you trying to solve?
jaeger (1.16.0) deployed in k8s 1.16 (observed at least since jaeger 1.14 and k8s 1.14).
Problem - what in Jaeger blocks you from solving the requirement?
When jaeger-agent uses its gRPC client, it issues TXT DNS queries against the in-cluster DNS pods (CoreDNS in my case), repeatedly looking up these records to find service configuration. CoreDNS does not serve these records, and the lookups prompt log messages complaining about the client's mistaken assumptions (fixed recently in coredns/coredns#2291, addressing coredns/coredns#2290).
similar issue:
uswitch/kiam#204
coredns-74cddc8fd4-vddrk coredns [INFO] <IP_ADDRESS>:40363 - 47579 "SRV IN _grpclb._tcp.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000974516s
coredns-74cddc8fd4-vddrk coredns [INFO] <IP_ADDRESS>:44150 - 52701 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001126075s
coredns-74cddc8fd4-vddrk coredns [INFO] <IP_ADDRESS>:51981 - 3000 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.00138541s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:52901 - 26218 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000851205s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:47305 - 21513 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000896296s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:32893 - 16834 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001108178s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:57339 - 30016 "SRV IN _grpclb._tcp.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001045959s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:48467 - 33837 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001193555s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:60879 - 31903 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001211577s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:42152 - 63691 "SRV IN _grpclb._tcp.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000987131s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:57373 - 11960 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001033072s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:47958 - 38588 "SRV IN _grpclb._tcp.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000940131s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:32778 - 46664 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001051965s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:42275 - 13959 "SRV IN _grpclb._tcp.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.001029183s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:35936 - 36668 "SRV IN _grpclb._tcp.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.00197792s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:42617 - 16882 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000957578s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:39829 - 45116 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000995002s
coredns-74cddc8fd4-2rc7x coredns [INFO] <IP_ADDRESS>:33149 - 11875 "TXT IN _grpc_config.jaeger-collector.eu-west-1.compute.internal. udp 85 false 1232" NXDOMAIN qr,rd,ra 74 0.000979289s

Proposal - what do you suggest to solve the problem or improve the existing situation?
The Go gRPC client library used by kiam gained a new option in grpc/grpc-go#2010, addressing grpc/grpc-go#1998: grpc.WithDisableServiceConfig.
potential solution:
uswitch/kiam#205
Any open questions to address

@jpkrohling ,i want to work on this issue. could you assign me.

@jpkrohling ,i want to work on this issue. could you assign me.

Sure, I've assigned this issue to you.

If this is inactive, may I pick this up?

Go ahead I won't get it anytime soon.

nobody stepped up to fix it, and jaeger-agent is deprecated anyway, so closing


Use CSS variable for background color

Description

Currently, the form node has a hard-coded color for a background, which causes issues with themes.
This PR fixes that by using a CSS variable instead.

Now
Then

Related Issue(s)

Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Includes a DB migration? -> add the area:migration label

Thanks for the fix @bonanitech - much appreciated


New Problems when defining Root Signature in HLSL

Dear Microsoft Team,
using the D3DCompile function with rootsig_1_0 does not seem to be compatible with shader model 5.1. Just define the following constant buffer in HLSL:
struct SFoo
{
    float4 m_Constant;
};

ConstantBuffer<SFoo> ExampleConstantBuffer: register(b0);

Also define a root signature in the HLSL file:
#define TestRootSignature                                                                                \
    "RootFlags(ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT),                                                                          " \
    "DescriptorTable(CBV(b0, numDescriptors = 2)),                                                                           " \
    "RootConstants(num32BitConstants=1, b2, visibility = SHADER_VISIBILITY_PIXEL),                                           " \
    "DescriptorTable(SRV(t0, numDescriptors = 20), visibility = SHADER_VISIBILITY_PIXEL),                                    " \
    "StaticSampler(s0, addressU = TEXTURE_ADDRESS_CLAMP, addressV = TEXTURE_ADDRESS_CLAMP, filter = FILTER_MIN_MAG_MIP_POINT)"

Now compile the root signature with D3DCompile and target rootsig_1_0. The compilation will fail because of the ConstantBuffer declaration.
Furthermore rootsig_1_0 does not work with compute shaders (at least if they contain a groupshared declaration). Just take an HLSL file with a compute shader and declare a root signature in it. Compile it via D3DCompile and target rootsig_1_0. As result you will get the following error message:
ps_5_0 does not support groupshared, groupshared ignored
Kind regards,
Joerg Sahm

One thing I notice is that the D3D compiler is saying you tried to compile your compute shader with ps_5_0, which is for pixel shaders.  Pixel shaders don't support groupshared memory.  I'm not sure about the SM5.1 error with root signatures.

Can you share the full HLSL (or a minimal subset of the HLSL that still has the error)?  We weren't able to reproduce the error with the information you provided.
The second issue is a warning.  Are you not seeing a root signature produced for the second case?

Hi all,
thanks for your replies.
@stanard
The point is, that I am compiling a root signature and not a shader. So the target string of the D3DCompile method is rootsig_1_0 instead of something like ps_5_1 or cs_5_1 (see the C++ example below). In my case the file does not even contain a pixel shader.
@bobbrow
To the second issue: Yes, you are right, it is just a warning. Our engine throws an exception, because we compile everything with the D3DCOMPILE_WARNINGS_ARE_ERRORS flag enabled. Sometimes the warnings contain some important information (e.g. performance loss) and therefore we drive a strict "No Warning" policy. Of course we could disable this flag when compiling root signatures. However, the warning message "ps_5_0 does not support groupshared, groupshared ignored" is quite missleading, especially if the file does not even contain a pixel shader. Also I think, the D3DCompile method should not throw a warning in this case, because there is nothing wrong or inappropriate with the code.
To the first issue: I've attached a text file with some HLSL code. Please note, that the constant buffer and the root signature declarations at the begin of the file do not match the following compute shaders. They are just an example. Now add the following C++ code to the begin of the LoadAssets method of the HelloTriangle sample.
unsigned int                Flags;
HRESULT                     NativeResult;
ComPtr<ID3DBlob>            NativeRootSignatureBlobPtr;
ComPtr<ID3DBlob>            NativeErrorBlobPtr;
ComPtr<ID3D12RootSignature> NativeRootSignaturePtr;

Flags = D3DCOMPILE_PACK_MATRIX_ROW_MAJOR | D3DCOMPILE_WARNINGS_ARE_ERRORS | D3DCOMPILE_ENABLE_STRICTNESS | D3DCOMPILE_OPTIMIZATION_LEVEL3;

NativeResult = ::D3DCompileFromFile(L"histogram.txt", nullptr, nullptr, "PostFXRootSignature", "rootsig_1_0", Flags, 0, &NativeRootSignatureBlobPtr, &NativeErrorBlobPtr);

if (NativeResult != S_OK)
{
    ::OutputDebugStringA(static_cast<char*>(NativeErrorBlobPtr->GetBufferPointer()));
}

NativeResult = m_device->CreateRootSignature(0, NativeRootSignatureBlobPtr->GetBufferPointer(), NativeRootSignatureBlobPtr->GetBufferSize(), IID_PPV_ARGS(&NativeRootSignaturePtr));

In this case I get the following error message:
E:\histogram.txt(21,1-14): error X3000: unrecognized identifier 'ConstantBuffer'
If you uncomment the ConstantBuffer declaration you can reproduce the second issue.
Greetings
Joerg
histogram.txt

So it looks like both of these are issues with the version of the compiler in the current version of Windows 10.  They will be fixed in a future update of the compiler, so thank you for reporting them.
For the first issue, if you don't need to index SFoo, using the following syntax should help you work around that issue:
cbuffer SFoo: register(b0)
{
	float4 m_Constant;
};

I don't have a good workaround for the second issue besides maybe splitting your root signature definitions into separate files that are then included by the shader file(s) that need(s) them.  The benefits of this approach would be:

you can leave ConstantBuffer<SFoo> in your shader files
you can configure Visual Studio to pre-compile the root signatures at build time

Hi Bob,
thanks for your reply. I located the root signatures in separate files, so everything works fine. I will close the issue.
Greetings,
Joerg


Dashboard Error!  500 Internal Server Error

Hi
Setup a couple of extinsting T-Pots, and looked to add GreedyBear with the /installer_on_tpot.sh  script.
Following execuution of script,  I can load up a page at http://Address:8008 to get the homescreen spash.
When I go for Dashboard.. I get

When I try Logon, with the credentials entered in the .sh script, I get "login failed"
Any advice please
Thanks

hey,
surely there is some problem in the installation of GreedyBear in the tpot. I would like to underline that that t-pot installer is an helper that a contributor added but it is not part of the tpot itself so it is not officially supported by the TPOT project. It could not work based on so many different things so you cannot just take it for granted.
What we can do is to help you understand the errors that you have in your application logs but you need to extract them and share them here. Otherwise we are not magicians, you know, we can't guess things just from a 500 random error :P

Hi there
Thanks for update
Yeah, i had seen that T-Pot is not looking like taking on GreedyBear in the future.
As i have had the same issue on multiple T-pot installs, was not sure if the 500 Errror was a common issue, and would have a resolution.
 Not sure about what but I'd suggest to go the GreedyBear main directory, destroy the container that contains the db (with docker-compose down -v) and then restart the application with docker-compose up -d and see if the database has been recreated correctly.
More than this I can't for the reasons I have already explained. You should deploy GB separately from the T-POT by following the easy steps in our doc. That is supported.
Meanwhile I'll add a mention to the doc about the fact that this script is not supported

closed for inactivity


add execution permission to deploy.js

What is this PR trying to achieve?
Adding execution permissions to deploy.
I have no idea when this changed.

Sorry, this wasn't needed.


poor result on custom images

my image
and wandb log https://wandb.ai/ju805604/nerfstudio-project/runs/al6hxx7p?workspace=user-ju805604

result
i trained with
ns-train nerfacto --pipeline.datamanager.train-num-rays-per-batch 2048
--experiment-name actocat --max-num-iterations 100000  --vis viewer+wandb --data custom/processdata/cat nerfstudio-data
and export
ns-export poisson --load-config outputs/actocat/nerfacto/2024-02-13_112157/config.yml --output-dir exports/mesh/CAT
--target-num-faces 50000 --num-pixels-per-side 2048 --num-points 1000000 --remove-outliers True
--normal-method open3d --use_bounding_box False
--obb_center 0.0000000000 0.0000000000 0.0000000000 --obb_rotation 0.0000000000 0.0000000000 0.0000000000
--obb_scale 1.0000000000 1.0000000000 1.0000000000

Have you looked at the trained nerf in the viewer? how does the actual model itself look?

Have you looked at the trained nerf in the viewer? how does the actual model itself look?

Viewer looks very good. The object is clearly rendered

I have same problem. Looks like something is wrong with exporting.

Hi, did you try this: --pipeline.model.predict-normals True , for training?

Hi, did you try this: --pipeline.model.predict-normals True , for training?

yes, of course

Using the bounding box option instead of obb worked for me.
Try this.
ns-export poisson --load-config outputs/actocat/nerfacto/2024-02-13_112157/config.yml --output-dir exports/mesh/CAT
--target-num-faces 50000 --num-pixels-per-side 2048 --num-points 1000000 --remove-outliers True
--normal-method open3d --use_bounding_box True --bounding-box-min -1 -1 -1 --bounding-box-max 1 1 1


Is it possible to use regular streamlit within  streamlit-elements?

Please guide me to a more correct place to ask this question, if here is not the right one.
I have a page designed with streamlit-elements, and I want to add a plot to it. I know how to create this plot with matplotlib, and if I used just pure streamlit, I would just call streamlit.write(figure) to display it. However, this way the image renders above all streamlit_elements, and I want it instead to land within the specific streamlit_elements.mui.Card element.
How can I achieve this, and does it make sense at all?

Same Here


Make home Playground and icon 🚀 inline

Only CSS property change for it.

Is this issue still open ? @tstariqul

@AkshadK7 yes, you can do that.

Sure, can you Assign it to me? @tstariqul

@AkshadK7 you can give a PR in here.

@tstariqul How do I Reproduce the Issue?  I Tried changing the Viewport but still never found it abnormal as shown above!


adding new driver for vl53l4cd

@brentru @ladyada
I'm a newbie so apologies if I butchered the preferred process.
I had trouble getting the sensor to initialize in WipperSnapper_I2C_Driver_VL53L4CD.h. Not sure if something weird is going on with vl53l4cd_class.h (which is the STM32 library for vl53l4cd in Arduino).
WipperSnapper_I2C.h, WipperSnapper_I2C_Driver.h, and WipperSnapper_I2C.cpp were all updated.
I'm very curious where I'm going wrong; your expertise is greatly appreciated.

please remove the latex folder / files

ok those latex folder / files should be removed.

@brentru The most recent PR updates the library.properties file to add in "STM32duino VL53L4CD" to the depends list.

Dang you're good.  I'm a bit embarrassed.  Thanks for being patient with me.

@afp316 The driver looks much better and compiles, thanks for the work! Next, please format it using clang-format (we have a guide on this here: https://learn.adafruit.com/the-well-automated-arduino-library/formatting-with-clang-format) as its failing the clang-format test step (https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/runs/7684301606?check_suite_focus=true).
You will also need to run doxygen across your code as well, we have a guide explaining how to do this here: https://learn.adafruit.com/the-well-automated-arduino-library/doxygen

@afp316 Are you still interested in working on this issue?

Hey Brent.  I kind of lost track on this one, I probably won't be
finishing.
On Fri, Nov 11, 2022, 13:41 Brent Rubell @.***> wrote:

@afp316 https://github.com/afp316 Are you still interested in working
on this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/pull/289#issuecomment-1312062196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAAGVULBRDG7VYMLP7WWSLWH2HO5ANCNFSM55JM3TXQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ok - no problem!


location does not seem to work

I am sure there are nodes in lochristi

how can I know anyhow which locations there are, this feature is not very usable

maybe there should be a query where we can get all cities and all countries

we need to make sure search is case insensitive (on server)

lets make this usable

see aso #2

coordinate with rest proxy server team, needs to be fixed there too

I think the nodes in Lochristi is in qa network now, not on testnet.

coordinate with rest proxy server team, needs to be fixed there too

okay, any feedback? @xmonader @AhmedHanafy725 @OmarElawady

I opened an issue to be dealt with string case from the server-side. also, I have changed the example script get_nodes_by_city_country.v to modify the search query and convert it to the right case no matter what case is used.

still leaves the main issue which is, how can I know which countries/cities there are?

I opened this issue to be dealt with from the server side:
https://github.com/threefoldtech/tfgridclient_proxy/issues/176
Without API support, From the client side there is no thing can be done to query these info. Any suggestions?

still leaves the main issue which is, how can I know which countries/cities there are?

can use the stats endpoint https://gridproxy.dev.grid.tf/stats/nodes it gives you the nodes distribution

the suggested solution would work just fine.
you can find in the client usage how to query the stat endpoint using the vgrid client
Usage:
https://github.com/threefoldtech/vgrid/blob/development/gridproxy/README.md#client-usage
More info:

GridStat Model:
https://github.com/threefoldtech/vgrid/blob/development/gridproxy/docs/threefoldtech.vgrid.gridproxy.model.md#gridstat
get_stat method:
https://github.com/threefoldtech/vgrid/blob/development/gridproxy/docs/threefoldtech.vgrid.gridproxy.md#get_stats


docs: update Permission APIs

add info about PermissionDescriptor type

 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.

This feels unnecessary and excessive to me.  It is akin to stating a string must be a string.  While I appreciate the contribution, I am not sure there is a lack of clarity in the documentation, nor does this improve it.

I agree with you @kitsonk but imho it would be nice to have a link to PermissionDescriptor type on this document


Change "--config foo:bar" to "--setting foo bar"

I designed the config format before I had a good feel for CLI design using Click. --config max_page_size 2000 is better than --config max_page_size:2000.

If I rename metadata to config in #493 then this should be --setting instead.

I can add this well in advance of Datasette 1.0 as an alias to the existing --config option (but taking two arguments instead of one).

This is blocking progress on other metadata tickets like #860 because I want to split the concept of concrete metadata (source, license, etc) from configuration that currently lives in metadata (default sort order, default facets).
I'm going to solve this next to unblock that stuff.

I'm going to keep --config for the moment but show a deprecation warning that it will be gone in Datasette 1.0.

Need to figure out the --setting foo bar alternative for this --config foo:bar logic: https://github.com/simonw/datasette/blob/4bac9f18f9d04e5ed10f072502bcc508e365438e/datasette/cli.py#L31-L63

Part of #1105


Update Makefile and doc/user_guide.txt

Fix some encoding-related errors by adding GROFF_NO_SGR=1
to the relevant make targets and updating the groff calls
to use the -K flag to specify UTF-8 as the input encoding.
N.B. I'm using GNU groff version 1.22.3.
Older versions don't seem to support -K.
To install groff 1.22.3 on OS X:
$ brew tap homebrew/dupes
$ brew install homebrew/dupes/groff

http://stackoverflow.com/a/24969648/1793234

Update: This change log entry leads me to believe the -K option was added in version 1.20.

This seems to work better but it still bombs out when generating the pdfs. I get
! Package inputenc Error: Unicode char \u8:🐭 not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.152 \end{verbatim}

Try running pandoc with --latex-engine=xelatex.
pandoc: Error producing PDF

Yeah, same here. I get some other error even with the xelatex backend too.

Ditto. The point at which that happened, I put the .pdf file generation work on hold and just finished the branch :-)


Update 00_geometries.js

the 6 objects didn't fit well in the canvas (couldn't even see some of them)

this is great, but it'd be nice to keep this with numbers and no variables if possible just to simplify things for the reader. is it possible to just adjust the number values without introducing variables in this example?

i took out the variables, and hard-coded the positions and sizes

awesome thank you!!


Add initial "sahko" command

The command reads the open API for electrical prices in Finland from porssisahko.net. The prices are then rendered on a chart, which is sent to the chat as an image in Telegram. The chart is rendered in-memory, and cached to help with spam.
I suppose one could take the caching to a higher level also, by resending the image in Telegram with the image's ID, instead of uploading a new image. But that would require actually knowing what I am doing.
The current implementation still has some TODO:s, as there are some cases with error handling that should probably be improved, and the whole infrastructure of how images are sent in TG should probably be refactored/improved.
See: https://porssisahko.net/api

Note all the TODO:s, and lack of error handling 🙃

Thanks! Closed in favor of #371


⚠ Bofrost.be has degraded performance

In d3b6b75, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3034 ms

Resolved: Bofrost.be performance has improved in e4b49a1.


Merging custom NiFi based data pipeline plugin

This PR adds the custom NiFi based data pipeline plugin as a separate plugin folder.
Related TOSCA models are already available in radon/particles:

Related policy: radon.policies.testing.DataPipelineLoadTest
TI: radon.blueprints.testing.NiFiTIDocker
Example SUT: radon.blueprints.testing.DataPipelineAWSdemoSUT

Currently deployed in Dockerhub as pjakovits/radon-ctt-agent:datapipeline
The Agent controls the data pipeline deployed on a Nifi running inside the same docker host. It reconfigures the data pipeline and starts it to initiate data generation. The Agent is also able to create and start the Prometheus reporting task of the NiFi node automatically.

@pjakovits Please let me know once this PR is ready to be merged.

Yes, it is ready to be merged. Changes have been been fully tested with CTT.


Update index.md

Changed "client- and server-side" to "client-side and server-side"
When creating a new PR, please do the following and delete this template text:

Reference the issue number if there is one:
Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.

@chinaniit Thank you for your contribution. This change will go live within the next 24 hours.


Update service worker link

the service worker template file is now in https://github.com/cra-template repository

Thank you very much. I was looking for this


Remove about from navbar in all the features page

about should only be in index.html

I want to work on this issue please assign it to me.

Ok


[engine] some of the engine presubmit tests are not running on prod

In prod but not in try:

Mac iOS Engine Profile
Mac iOS Engine Release

In try but not in prod:

Linux Web Engine
Mac Web Engine
Windows Web Engine

@nturgut @yjbanov I'm planning to consolidate the engine builders into a single view moving the web-engine builders to the "engine" list view and consoles and also running them in prod.
Do you have any concerns?


Callback on shebang switches

Add the ability to receive a callback when the parser encounters a shebang that contains additional switches after the Ruby engine. This is necessary because some command-line flags may be present there that will alter the parse.

I don't think shebang handling is a role of parsers.

I agree! Unfortunately I couldn't find another way to alert the runtime of the extra flags. Any suggestions?
To be clear, this isn't actually parsing the shebang it's just alerting the caller that one was found.


Enable downloading facilities search results geojson file

Overview
#237 will restore a prior feature which enabled users to download a CSV file of facilities search results.
However, we can also consider enabling users to download a geojson file of facilities.
Describe the solution you'd like
The API currently sends back the facilities response as geojson, so the implementation of this would just involve JSON.stringifying the facilities data and then downloading it as the appropriate file type using the file-saver dependency's saveAs function, which we already use for CSV downloads.
Otherwise, we will only need to add a button in the facilities tab to call the new function:

This is possible via the API so I don't think we need to propagate it into the user interface:
https://openapparel.org/api/docs/#!/facilities/facilities_list
Going to close.


Additional unit tests

[x] Depth of Field

[x] Ray visibility

[x] Relative file paths

174bd019a39b499d27ea52d89255dcb1188de261


Add support for protocol forward declaration

The goal of this stack of diffs is to be able to forward declare protocols, and to be able to generate the following .object file without any imports using 'skipAttributePrivateImports':
Existing UseForwardDeclarations with protocols
    %import name=UIViewController library=UIKit
    TestObj includes(UseForwardDeclarations) {
        %import library=HelloKit file=HelloProtocol
        id<HelloProtocol> helloObj
        %import library=WorldKit file=HWorldProtocol
        UIViewController<WorldProtocol> *worldVc
    }

header file:
    @class UIViewController;
    @protocol HelloProtocol;
    @protocol WorldProtocol;

implementation file:
    #import "TestObj.h"
    #import <UIKit/UIViewController.h>
    #import <HelloKit/HelloProtocol.h>
    #import <WorldKit/HWorldProtocol.h>

Usage with skipAttributePrivateImports (Note I haven't added a test case for this usage yet, I will after PR #45 is merged and I can rebase)
    TestObj includes(UseForwardDeclarations, skipAttributePrivateImports) {
        id<HelloProtocol> helloObj
        UIViewController<WorldProtocol> *worldVc
    }

header file:
    @class UIViewController;
    @protocol HelloProtocol;
    @protocol WorldProtocol;

implementation file:
    #import "TestObj.h"

The purpose for SkipAttributePrivateImports is to skip imports for attributes in implementation files. The usage will go with .object generation from PR #45. Having imports in implementation files isn't necessary sometimes and results in unnecessary dependencies.
i.e for the following .object file
    TestObj includes(UseForwardDeclarations) {
        HelloClass *hello
    }

Remodel will try to import
#import "HelloClass.h"
in the .m file, but just having a forward declaration is enough if we don't need comparators, etc. Adding SkipAttributePrivateImports will skip imports for attributes, but still allow imports from %type name=...

Made changes per feedback and added tests for SkipAttributePrivateImports. Yes I did run this over the internal codebase. The only side effect I noticed was that previously, any id attributes types actually wrongly matched to "unmatchedType" instead of "id" or "NSObject". Resulting in the property being declared as
@property (nonatomic, readonly) id obj;
...
_obj = obj;
instead of
@property (nonatomic, readonly, copy) id obj;
...
_obj = [obj copy];
This PR fixes the issue so objects with Protocols will have the "copy" property.


python311Packages.peaqevcore: 19.5.0 -> 19.5.1

Changelog: https://github.com/elden1337/peaqev-core/releases/tag/19.5.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 258893 run on x86_64-linux 1

4 packages built:

python310Packages.peaqevcore
python310Packages.peaqevcore.dist
python311Packages.peaqevcore
python311Packages.peaqevcore.dist


Android WebViews do not update when content contains #

Description
If you have a webview that contains html with a # in it, the WebView will not be updated if the content after the # is changed on rerender. This issue only occurs with android devices (versions tested are noted below).
Reproduction Steps and Sample Code
Example: https://snack.expo.io/BJj62vVAx

Create a component which:
** has a state variable which is a string with a # in it
** displays that string as the (html) source of a webview
** has a button that changes the value of the state variable by modifying the content after the #.
( this can be seen in the example provided )
click on the button to update the string
Note that the new value of the string is not shown in the webview

Expected:

The WebView should rerender to show the new html it is given.

Solution
Not sure, however, it would be worth verifying this with other characters to see if any others cause this issue.
Additional Information

React Native version: 0.42.0 & 0.43.0
Platform: Android (5, 6 & 7) have not tried older versions.
Development Operating System: Mac OS Sierra
Dev tools: 2.2.2 Android SDK: 23

Hi there! This issue is being closed because {:search=>"repo:facebook/react-native is:open is:issue updated:<2017-05-25 -label:"Good First Task" -label:"Help Wanted" ", :message=>"it has been inactive for a while"}. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

I experience this as well. I was setting the content contain a style with a color value like #ffaacc and it failed to update. I then simply included a random '#' just to be sure after reading this. It really refused to re load even though it's parent component definitely reloaded
How peculiar. I wonder why this character in particular is causing this problem
I'm on  react 16.2.0 and react-native 0.53.3.

I have the same problem with @xerotolerant ,  the webview doesnot re-render when I have code in html like
              body {                 color: #4a4a4a;               }
Even when I comment out the style like
              body {                 /*color: #4a4a4a;*/               }
it doesnot work too.
And when I dropped the whole style , the content re-rendered .
it only happened in android.
I use    "react-native": "0.50.0",
@hramos      please re-open this issue because it's a bug I think.

This is indeed still an issue. It's caused by the fact that the HTML sent to WebView.loadData contains invalid characters in relation to the specified encoding.

The encoding parameter specifies whether the data is base64 or URL
encoded. If the data is base64 encoded, the value of the encoding
parameter must be 'base64'. For all other values of the parameter,
including null, it is assumed that the data uses ASCII encoding for
octets inside the range of safe URL characters and use the standard %xx
hex encoding of URLs for octets outside that range. For example, '#',
'%', '', '?' should be replaced by %23, %25, %27, %3f respectively.

I see two solutions:

URL encode the HTML before calling loadData
base64 encode the HTML before calling loadData and pass "base64" as the encoding

A temporary solution in your React Native app is to call encodeURIComponent with the HTML before passing it to the WebView.


Adds a base dockerfile for the project

Hi @soimort,
I really like using the tool, thanks for building it!
I felt that perhaps, it might be easier for people to try this out or have a cross-platform reproducible environment for using translate-shell.
For now, I'm creating a draft PR with the basic dockerfile and would be happy to accomodate the changes which you might feel are necessary.
Here's what I have in mind for further work on this
[ ] Update the readme
[ ] Maybe try to get this working on a smaller alpine image
[ ] Test with the RTL languages

@soimort All three of the optimizations have been implemented.
[x] Update the readme
[x] Maybe try to get this working on a smaller alpine image
[x] Test with the RTL languages

This is all set to merge now :)

Nice job. Thanks! :+1:

You're welcome - thanks for the handy tool!

From: Mort Yao<EMAIL_ADDRESS>Sent: Friday, March 20, 2020 9:04:26 PM
To: soimort/translate-shell<EMAIL_ADDRESS>Cc: Abhinav Sharma<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [soimort/translate-shell] Adds a base dockerfile for the project (#336)
Merged #336https://github.com/soimort/translate-shell/pull/336 into develop.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/soimort/translate-shell/pull/336#event-3149814533, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADBU2XVRJPWT5N3IMOZ5W33RIOEIFANCNFSM4KVZJSMA.


Mobile menu

-Menu icon has been added
-Toggle has been added
-Content inside the menu has been added
-Cross has been added for the toggle menu when it is open.

Hi  @OnlyUnknown  & @dev-mamun,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request
⚠  Kindly use customize your README and make sure all the main sections present in yours and placeholders are replaced with your project and personal data. Please remove all the instructions targeting you. For example: "Describe how a new developer could make use of your project." The only optional section is the FAQ. Please remove the template logo on the top, if you have your own logo you can replace it with this one, otherwise please delete it. This is crucial to have a professional and instructive repository. 👌
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Htmx style frontend

Easy to update parts of any html / go template based gui
and also easy to extend in a decoupled way with plugins for other gui elements etc .
I have been using htmx for gui where you want to update parts in real time . Htmx can use WS or SSE to update the gui html is response to bsckend events

https://github.com/stackus/todos Is a hood example

You can compile to wasm and so have the htmx happen on the client
https://github.com/stackus/todos-htmx-wasm

Hey @gedw99 ,
You suggest that for the client example right? Because this project offers only API server but I also agree to do some example client.
Can you contribute to that ?

I cant sorry . No time currently.
the todo examples are there.

https://github.com/iammuho/NatterNet/issues/12


[Pick up City. Admin cabinet. Orders] Sorting is not done in column 'Сума до оплати'

Environment: Windows 10 Pro for Workstations, Google Chrome 124.0.6367.93
Reproducible: always
Build found: 03 May 2024 (prod)
Preconditions
Log in as Admin https://www.pick-up.city/#/ubs-admin/orders
Ukrainian localization is chosen.
Steps to reproduce

Find the column with heading 'Сума до оплати'.
Pay attention that arrow icon for sorting is missing in the column heading.

Actual result
Sorting is not done for values in column 'Сума до оплати'.

Expected result
Sorting is done in descending order - from high to low on the first click on arrow icon. Ascending order - from low to high, on the second click on arrow icon.
User story and test case links
#2537
Test case
Labels to be added
"Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

Sorting icon not displayed for 'Сума до оплати' column


Publish fails from VS, because project.assets.json not found

Describe the bug
When I create a new Solution with an empty WinUI 3 Desktop app in VS 16.10.2. The project works both in Debug and Release configuration without error. However, when I use VS to create MSIX packages, the creation fails.
1>------ Publish started: Project: App10 (Package), Configuration: Release x86 ------
1>Determining projects to restore...
1>Restored C:\Users\Marvin\source\repos\App10\App10\App10.csproj (in 478 ms).
1>Assets file 'C:\Users\Marvin\source\repos\App10\App10\obj\wappublish\win10-x86\project.assets.json' not found. Run a NuGet package restore to generate this file.
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
========== Package: 0 succeeded, 2 failed ===========

This seems indeed correct, as the file project.assets.json it is looking for is in the path C:\Users\Marvin\source\repos\App10\App10\obj\wappublish\win-x86\project.assets.json (Notice the win-x86 instead of win10-x86)
Can I tell VS to look in the right directory?
Project source
App10.zip
Build bin logs
logs.zip
Version Info
NuGet package version:
WinUI 3 - Project Reunion 0.5: 0.5.7

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2021 Update (19043)
Yes

October 2020 Update (19042)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context
This is how I created MSIX packages in VS:
Right click in Solution Explorer on the Packaging project -> Publish -> Create App Packages. I select Sideloading, disable automatic updates, select my certificate for signing, select Release (x86) only. Generate app bundle "Always".

@alwu-msft is VS 16.10.2 working?
@ranjeshj I think you had a bug you were encoutering with this VS version as well, recognize this?

This is a known issue and it was fixed in 16.10.2.

This issue was actually fixed in 16.11, not in 16.10.2.

We are going to try to take this for 16.10.4.  I will keep you posted.

I can confirm that this is fixed in 16.10.4


Using Laravel CustomRequest on API Resource

Laravel Version
11.*
PHP Version
8.*
Database Driver & Version
PostgreSQL
Description
Hello.
i got a problem when using Validator for incoming request. When i use CustomRequest and i test with error, laravel always redirect with Welcome Page, not json response what i want. this is weird.
Is Laravel CustomRequest is only good with WEB Resource ?
Check this code for example.
`
public function show(SomeModel $type, Request $request)
{
$validator = Validator::make($request->all(), [
'uuid' => ['required'],
]);
    if($validator->fails())
    {
        return response([
            'meta' => [
                'code' => 422,
                'status' => 'error',
                'message' => null,
            ],
            'results' => $validator->errors()
        ], 422);
    }

   // Just sent POST Request without uuid, it should be return JSON 422 right ?
   // But it will return page of laravel in POSTMAN.
}`

Steps To Reproduce
i dont know about this :)

You can use this Example code:
|string>
     */
    public function rules(): array
    {
        return [
            'name'   => 'required',
        ];
    }

    public function failedValidation(Validator $validator) : JsonResponse
    {
        $errors = $validator->errors();
        throw new HttpResponseException(validationError('Validation Error',  errors: $errors));
    }

}

failedValidation(

i have use this before. and still doesn't work


Update zooniverse-deployment with latest from upstream fork (July 2022)

Update the local deployment with the latest from https://github.com/microsoft/CameraTraps main branch, circa 12 July 2022.

Closed in favor of https://github.com/zooniverse/CameraTraps/pull/14


Feature/cobra cli

Addresses issue #129
Still addressing some refactoring issues and proper documentation
✅ Changed to cobra from urfave
Issues
Right now the p2p and api pacakges depend on hard coded values in the app/config package, changing it would require making a lot of changes to those packages, so it makes sense to move it to another Issue / PR. I would advise fixing this ASAP. And all future configurations should be from the config package not app/config.
Todo
Once the PR is approved I would squash the commits

please merge/rebase latest develop so golint and ci testing will work properly.

@y0sher I have implemented the suggested changes.

I'm not sure I understand what you mean about dependence on hard coded values in app/config.
starting the node depends on DataFilePath and ConfigFilePath for example, but I think they should be changed to load from a DefaultConfig() func like you did in nodeconfig and the api.
So can you elaborate on what you mean in issues ? are you talking about passing config structs around instead of referring to ConfigValues ?

@y0sher Yes passing the config structs around instead of referring to ConfigValues.
I have fixed the changes

Ok, everything seems to be good.
please, remove any traces of urfave/cli in favor of cobra. (Types from urfave/cli and so on) and remove it from govendor. And I'll approve and merge the PR.
Good job on this one let's get it done!
I'll open an issue about not using the hardcoded structs.

@y0sher Done removed the urfave/cli package and files related to it.


api stage is "stage" not "prod"

stage name is not the same in the documentation
In SAM : https://github.com/aws-samples/live-to-vod-workflow-using-aws-serverless-platform/blob/master/sam.yml#L163
In Readme : https://github.com/aws-samples/live-to-vod-workflow-using-aws-serverless-platform/blame/master/README.md#L79

Thank you for raising this. I'll look into this

I fixed this issue and am closing this issue.
Thank you again for bringing this to our attention


Fixed Header and Sidebar

Hi, great work! does your menu is fixed if scrolled down as Nova default? Thanks

It is fixed, and if you have too many items then it scrolls

thanks

Hello and thank you @milewski for this package, very well crafted, as for all your other nova packages.
And don't know what you guys mean by "fixed". Is it fixed on the page so that it disappears when scrolling down or is it fixed for the user so that it is always visible ?
For me navbar and resources icons are disappearing when scrolling down. Is there an easy way to avoid this ?

@mathieufrh my question was intented to this:

Well, unfortunately it is  not fixed. And there is no option to make it fix. Maybe i the future, that would be nice.


v0.11.2

to do

[ ] wait for https://github.com/databio/yacman/pull/52

@nsheff are you planning any updates to the looper plugin?

I think yes I'm not quite finished with it. Will try to get it done by Thursday. it will only be small tweaks

should this be 0.12.0?

good call, we added some features


Conditional breakpoints

Break only if a condition is met.
break mygofile.go:13 if someLocalVar == 5 or similar syntax.

@derekparker are anybody working on that?

I believe @aarzilli was planning on taking this issue, he's already done some baseline work for this in another PR.

With #259 this is almost done.

Thanks for the info guys. I will choose another issue to work on.

Implemented by 3be65a4c1f80ea71acde4b2b2195b168b14a348d

@aarzilli and @derekparker Hi, I've just tried to implement an appropriate error handling for malformed conditions and right now the error handling leaves much to be desired.
I suppose it's mush easier for external developers to get the whole debugger state with the corresponding err field instead of getting an error for command request.
Right now I need to ask the state again:
OUT: {"method":"RPCServer.CreateBreakpoint","params":[{"Breakpoint":{"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"Cond":"b == nil"}}],"id":1}
OUT: {"method":"RPCServer.Command","params":[{"Name":"continue"}],"id":2}
IN: {"id":1,"result":{"Breakpoint":{"id":1,"name":"","addr":8336,"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"functionName":"main.main","Cond":"b == nil","continue":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{},"totalHitCount":0}},"error":null}
IN: {"id":2,"result":null,"error":"error evaluating expression: can not compare string to nil"}
OUT: {"method":"RPCServer.State","params":[{}],"id":3}
IN: {"id":3,"result":{"State":{"currentThread":{"id":11011,"pc":8336,"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"function":{"name":"main.main","value":8256,"type":84,"goType":0},"goroutineID":1,"breakPoint":{"id":1,"name":"","addr":8336,"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"functionName":"main.main","Cond":"b == nil","continue":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{"1":1},"totalHitCount":1},"breakPointInfo":null},"currentGoroutine":{"id":1,"currentLoc":{"pc":8336,"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"function":{"name":"main.main","value":8256,"type":84,"goType":0}},"userCurrentLoc":{"pc":8336,"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"function":{"name":"main.main","value":8256,"type":84,"goType":0}},"goStatementLoc":{"pc":322366,"file":"/usr/local/Cellar/go/1.7.1/libexec/src/runtime/asm_amd64.s","line":152,"function":{"name":"runtime.rt0_go","value":322016,"type":84,"goType":0}},"threadID":11011},"Threads":[{"id":11011,"pc":8336,"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"function":{"name":"main.main","value":8256,"type":84,"goType":0},"goroutineID":1,"breakPoint":{"id":1,"name":"","addr":8336,"file":"/Users/ignatov/IdeaProjects/untitled17/run-to-cursor.go","line":8,"functionName":"main.main","Cond":"b == nil","continue":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{"1":1},"totalHitCount":1},"breakPointInfo":null},{"id":13575,"pc":337606,"file":"/usr/local/Cellar/go/1.7.1/libexec/src/runtime/sys_darwin_amd64.s","line":296,"function":{"name":"runtime.usleep","value":337552,"type":84,"goType":0},"goroutineID":0,"breakPointInfo":null},{"id":13827,"pc":337899,"file":"/usr/local/Cellar/go/1.7.1/libexec/src/runtime/sys_darwin_amd64.s","line":418,"function":{"name":"runtime.mach_semaphore_wait","value":337888,"type":84,"goType":0},"goroutineID":0,"breakPointInfo":null},{"id":14083,"pc":337899,"file":"/usr/local/Cellar/go/1.7.1/libexec/src/runtime/sys_darwin_amd64.s","line":418,"function":{"name":"runtime.mach_semaphore_wait","value":337888,"type":84,"goType":0},"goroutineID":0,"breakPointInfo":null},{"id":14339,"pc":337899,"file":"/usr/local/Cellar/go/1.7.1/libexec/src/runtime/sys_darwin_amd64.s","line":418,"function":{"name":"runtime.mach_semaphore_wait","value":337888,"type":84,"goType":0},"goroutineID":0,"breakPointInfo":null}],"NextInProgress":false,"exited":false,"exitStatus":0}},"error":null}

Thouhgts?

@ignatov it can be done, open a feature request.


config: add post logout view

closes https://github.com/CERNDocumentServer/cds-rdm/issues/16

Closed as requested and replaced by the docs: https://github.com/inveniosoftware/docs-invenio-rdm/pull/560


Twitter uploader should handle media/screenshots

like Politwoops

it also needs to get the ID on its own

way obsolete


Query preprocessing

I was using the process_queries method and I realized that the processor uses left padding. As a result the batch_query["input_ids"] = batch_query["input_ids"][..., processor.image_seq_length :] does cut of the padding tokens and if there were padding tokens in the sequence the end of the image sequence is the beginning of the query. Is that intentional? If so what is the reasoning behind that?

Hello ! Thanks for the catch ! For PaliGemma, the tokenizer should be set with padding side = "right" ! I am pushing an  update to force that behaviour and will push updated checkpoints, thanks for the catch !
In practice, as is with a mock image, it just introduces extra noise but should still work !

Does the model require that extra noise? If this was done during training as well the padding tokens might lead to degradation to performance as the model has less tokens available to represent the text, since the attention mask does not exclude the image tokens in colpali_engine/models/paligemma_colbert_architecture.py line 83

So everythinh shoild be fixed !
Would be awesome if you  can confirm using this new model:
https://huggingface.co/vidore/colpali-v1.1
and the code in branch: https://github.com/illuin-tech/colpali/tree/hard-negs
The base model version is fixed, and padding side is set to right, so issue should be fine @hannah348


CTCP-5448: Implemented inset text for RemoveGuaranteeYesNo page

Inset text - type with guarantee reference:

Inset text - type with other reference

Inset text - type with no reference:


Finished main functionality

Done:

Fixed file import issue.
Added screenshots of finalized UI
Added profiles and local storing of imported data
Graphing section for viewing template plots and creating custom plots
Calendar section for viewing dates on which activity was recorded
Transformation section for basic ML transformations such as one-hot encoding ...

Thanks very much for all the hard work! The code changes now go into the main branch.


Highlight with higher priority than treesitter.

Hey, I noticed that the default-priority for vim.highlight.range was changed in this PR, which caused treesitters' highlights (prio 100) to override those set from semantic tokens.
IMO lsp should override treesitter when it comes to highlights, hence priority 101 (maybe make it configurable? not sure if that would have any benefit though).

Thanks for this heads up. I try to finish the upstream PR this week and this should certainly be fixed here


app_store_build_number converts return to int if possible

Fixes #12097
Wut
A common use case of app_store_build_number was to get the return value and increment the number. However, app_store_build_number assumed that a build number was also integer (which isn't always the case) so last release there was a change to not assume that which resulted in build number correctly sorting to find "latest build number".
BUT, this introduced a regression where the return value was a string and therefor couldn't be incremented. This change will convert the return value to an integer if it does not contain a "." in it

Ref.
Fixes app_store_build_number when finding latest version
https://github.com/fastlane/fastlane/pull/12073


chore: bump dependencies

Coverage remained the same at 100.0% when pulling 9231b997aabe1e4a8e22c2d604437eb81f1f1336 on bump-deps into 386e0fee0e8fac61e69c5a98dbbab272db08abba on main.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Adding an implementation of simpleion.loads

Now that #56 is merged, this resolves #42.
I was looking for a weekend project, figured why not do this and actually go for that Hacktoberfest t-shirt! :)
Let me know if you have a better name for _assert_symbol_aware_ion_equals.

@Antrikshy, sorry for the long delay here--I was looking to use loads and dumps and realized that we've left this PR languishing.  I've pulled in your PR and adapted it to work with binary as #62.


[hotfix][doc] Fix typo in analyze.md - SQL sample syntax error

Fixed the SQL sample syntax error in analyze.md, the comma in the sample SQL should be inside the double quotes

BTW, you should rename your commit titile to [hotfix][doc] Fix typo in analyze.md.

BTW, you should rename your commit titile to [hotfix][doc] Fix typo in analyze.md.

Sorry, I may not have expressed myself clearly. What needs to be modified is not only the title of this pull request, but also the title of the commit message. Now it is: fix: analyze.md SQL syntax error

BTW, you should rename your commit titile to [hotfix][doc] Fix typo in analyze.md.

Sorry, I may not have expressed myself clearly. What needs to be modified is not only the title of this pull request, but also the title of the commit message. Now it is: fix: analyze.md SQL syntax error.

Thank you so much for your patience and help. I have learned that. And I am trying to push new commit on this PR

I'm sorry, I'm too unfamiliar with github PRs, I'll close this one just in case, then I'll try to resubmit the PR to fix the typo problem.


error in committees/CommitteeAgendaSearch: failed to get meetings for committee 4

This issue was automatically created, please do not modify the title or remove any labels
Unexpected exception received while trying to get meetings of committee 4: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 4: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 4: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 4: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 4: ('Connection aborted.', error(110, 'Connection timed out'))


Update asdk-release-notes.md

added 1.2301.0.14 as the new ASDK version which is out

Thanks @rtibi, had to remove the unsupported moniker version too, so I opened a PR in the private repo to cover this. #please-close


Doesn't work in macOS Catalina

Like a user earlier stated, this insta crashes and upon opening prompts a dialog:
"KnightTouchBar2000” will damage your computer. You should move it to the Trash."
I would really love to see an update to this program, its simply awesome.

Same issue here

#7, #9, #10, #11, #12, #13, #14, #15 ; #16


DBG=2 option seems to be not working with GCC

When compiling LIBXSMM with:
make CC=gcc CXX=g++ FC=gfortran DBG=2
I'm seeing tons of these errors when linking libxsmm:
~/libxsmm_github/src/libxsmm_gemm.c:122: undefined reference to __tsan_read4' ~/libxsmm_github/src/libxsmm_gemm.c:122: undefined reference to __tsan_write4'
~/libxsmm_github/src/libxsmm_gemm.c:123: undefined reference to __tsan_read4' ~/libxsmm_github/src/libxsmm_gemm.c:123: undefined reference to __tsan_read4'
~/libxsmm_github/src/libxsmm_gemm.c:123: undefined reference to `__tsan_write4'

Using the GCC tool chain appears to link fine (at least with recent versions), but at runtime the message "FATAL: ThreadSanitizer: unexpected memory mapping" appears. Most often the suggestion is to compile with -fPIE, and to link with -pie. However, this is a distracting recommendation both in terms of more recent TSan requirements as well as the actual practice with LIBXSMM's compile/link stages. It turns out that libtsan is just missed from the link line (which is more in line with your report). Apparently, GCC does less magic when -fsanitize=thread is applied to the link-line (in fact it appears to ignore this flag). So, -fsanitize=thread seems to be useless when using GCC as a linker driver and -ltsan is what is needed. I've just implemented the latter (in addition to what's in place already). So with Clang, -ltsan is likely superfluous at link-line whereas with GCC the -fsanitize=thread does nothing when added to the link-line... I think the confusion comes from "solutions" that do not distinct between compile and link stage i.e., using whatever compiler (GCC/Clang) with a one-step compile/link works, but having it separately just works differently when comparing the aforementioned tool chains.

This issue is not fully fixed, but another attempt was spent on trying to improve the situation. At this point, it might be only portable and flawless with special-casing not only for the tool chain (GCC, Clang) but also for the different versions along these tool chains. I believe it's not worth the effort, and one might fix his own use case locally. Otherwise, Intel Inspector might be an alternative, which works flawless and with little to no false positives.


Instagram WebSocket support

Hello !
Is a support for Instagram WebSocket planned ?
This way we could subscribe to new DMs, posts, or new followers and have them in realtime,
Would be dope 👌

Let's start with this: https://github.com/dilame/instagram-private-api/issues/845
Feel free to create new issue with more specific feature request.


fix: update README.md paths for example projects to reflect correct dirrectory structure

update changing directory step after cloning this cookbook repo

thanks @jainpawan21 good catch!


Feature Request: need actual idle handles

libuv already have handles for false "idleness", i.e. uv_idle_t:

Despite the name, idle handles will get their callbacks called on every loop iteration,
not when the loop is actually "idle".

But we need an "actual idleness" for https://github.com/nodejs/node/issues/2543
Actual Idle handles will run the given callback when the loop iteration satisfies both of the following conditions:

when there are no timers or all timers have yet not expired, i.e. when the loop is waiting for timers to expire
when there are no I/O handles or I/O is in progress, i.e. when the event loop polls for i/o but there are no pending callbacks yet.

When both of those conditions are satisfied the loop will block for i/o for the calculated timeout. How about using a uv_prepare_t handle, which runs right before polling for i/o and calling uv_backend_timeout there? If the returned value is != 0 it means the loop is about to block for the given amount of time, thus we could say it's "idle".

I commented on the node issue here but to recap: I don't think libuv's continuous event loop model allows for a useful definition of "idle" outside of the "waiting for timers and only timers to expire" scenario.  As soon as I/O is involved, there are no longer predictable quanta of time; a quiescent period can end at any time.

@bnoordhuis Agreed. Feel free to close.


Add additional e2e tests and introduce the capability to run Azure tests on crio runtime

Bunch of small commits to add new Azure tests and enable running of these with crio runtime.
Also enables running of tests against an existing fully configured setup.

@bpradipt overall the codes change LGTM, add the test_e2e_libvirt label to check the result on normal libvirt provider case.


two suggestions

Hi,
I also think it would be great if we could add teammate & enemy and the overall winrate and cooperative index, e.g. the winrate of each hero with 9 other heros in that game.
http://dotapicker.com is too out dated.
Thanks!

The database is out of date...
I usually check dotamax and found there's a difference between http://onuraslan.github.io/DotaBuffCP/ and dotamax.
I'd like to contribute if you can always keep that up to date.
Thanks!

Hi. Thanks for your interest. I will make a cronjob to update data.js regularly. But I am afraid this may break whole database. Using a regex to parse website (like I am doing in my generate-data-js.pl) is not a good idea. And script doesn't have any error guards. If dotabuff changes their html output, my cronjob may break project completely. This is why I didn't create a cronjob. I will try to add some error guards and a cronjob when I find some free time.

Thank you so much for replying me! (Although I know nothing about programming) I realize there is a website http://dotapicker.com/herocounter is somehow related to the script here, and I want to maybe try that one for a substitute.
However just one question, do you know why my page look like this and the heros couldn't load: http://chuantu.biz/t2/10/1437130106x-954497650.png and this http://chuantu.biz/t2/10/1437128520x-954497650.png (sry I tried imgur website but it told me error)
No matter what browser I used or logged in or not.
I guess maybe you also colloborate with dotapick.

TBH I have no idea why dotapicker looks wrong in your browser. I've no involvements with dotapicker. I believe it was based on my project with some improvements but they changed project completely.

Thank you so much anyway!!!


⚠ Processors has degraded performance

In 609eda5, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 84 ms

Resolved: Processors performance has improved in 6218f63.


Devise 1.5.0 + OmniAuth 1.0.0 don't work out of the box

Hi,
I have this in my Gemfile:
gem 'devise'
gem 'omniauth'
gem 'oa-openid', :require => 'omniauth/openid'
The version for the gems are:
devise (1.5.0)
oa-basic (0.2.6)
oa-core (0.3.2, 0.2.6)
oa-enterprise (0.2.6)
oa-more (0.2.6)
oa-oauth (0.2.6)
oa-openid (0.3.2)
oauth (0.4.5)
oauth2 (0.4.1)
omniauth (1.0.0)
omniauth-openid (1.0.1)
In my initializers/devise.rb I have:
require 'openid/store/filesystem'
config.omniauth :open_id, OpenID::Store::Filesystem.new('/tmp')
config.omniauth :open_id, OpenID::Store::Filesystem.new('/tmp'), :name => 'google', :identifier => 'https://www.google.com/accounts/o8/id'
(as described here: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview )
When I start rails with, say, "rails c", I get:
/Users/asterite/.rvm/gems/ruby-1.8.7-p352@brium/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require': no such file to load -- omniauth-open_id (LoadError)
Of course this happens because of this (lib/devise/omniauth/config.rb):
<EMAIL_ADDRESS>30       def require_strategy
31         if [:facebook, :github, :twitter].include?(provider.to_sym)
32           require "omniauth/strategies/#{provider}"
33         elsif options[:require]
34           require options[:require]
35         else
36           require "omniauth-#{provider}"
37         end
38         find_strategy || autoload_strategy
39       end
So I tried to put the :require to see if it works:
require 'openid/store/filesystem'
config.omniauth :open_id, OpenID::Store::Filesystem.new('/tmp'), :require => 'omniauth/openid'
config.omniauth :open_id, OpenID::Store::Filesystem.new('/tmp'), :name => 'google', :identifier => 'https://www.google.com/accounts/o8/id', :require => 'omniauth/openid'
Now I get:
/Users/asterite/.rvm/gems/ruby-1.8.7-p352@brium/gems/omniauth-1.0.0/lib/omniauth/strategy.rb:136:in `initialize': Received wrong number of arguments. ["google"] (ArgumentError)
I really don't know how to procede... One or two months ago I made it work without problem. I try to go back to the those versions that did work (devise 1.4.2 and omniauth 0.2.6) but that doesn't work anymore, it seems bc_crypt or something like that was yanked... who yanks gems? That breaks deploys of things that work. :-(
I'm having this problem in an existing problem for which I'm trying to add devise and omniauth. Just to be sure, I tried it in a newly created project (1. rails new ... 2. add the gems to the Gemfile, 3. bundle, 4. add config.omniauth to the initializer, 5. rails c).
Is there some workaround?
Thanks!

You should use the omniauth-openid gem changing in your Gemfile the line:
gem 'oa-openid', :require => 'omniauth/openid'

with:
gem 'omniauth-openid'

Still didn't work out of the box.
I had to put this in the initializer:
require 'openid/store/filesystem'
config.omniauth :open_id, :store => OpenID::Store::Filesystem.new('/tmp'), :require => 'omniauth-openid'
config.omniauth :open_id, :store => OpenID::Store::Filesystem.new('/tmp'), :name => 'google', :identifier => 'https://www.google.com/accounts/o8/id', :require => 'omniauth-openid'
The changes are:

I had to put :store => ...
I had to put the :require => ...

This is different from what is described here:
https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview
So people trying to make it work will bump into the same problem.
But I finally got it working! Thanks! Thanks! Thanks!
Should I update the wiki with those changes? I guess there's an easier way to make it work, or maybe I'm doing something wrong...

Do you really need the require option? I saw the code and the line in your Gemfile should require this file.
Go ahead and update the wiki page please.
Thank you to giving us a feedback

Yes, I need to put the require. If not, I get:
/Users/asterite/.rvm/gems/ruby-1.8.7-p352@brium/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require': no such file to load -- omniauth-open_id (LoadError)
It's the same error as before, caused by the same lines of<EMAIL_ADDRESS>30 def require_strategy
31 if [:facebook, :github, :twitter].include?(provider.to_sym)
32 require "omniauth/strategies/#{provider}"
33 elsif options[:require]
34 require options[:require]
35 else
36 require "omniauth-#{provider}"
37 end
38 find_strategy || autoload_strategy
39 end
Looking at that, it seems like a hack. Why facebook, github and twitter behave in a different way? What if no require is needed (because the Gemfile already requires it?). Maybe open another issue, I don't know...
Wiki updated :-)

Hmm. I see. I'll try to fix it to work out of box. Thanks

Tks for reporting, we will look into the problem.

please check https://github.com/plataformatec/devise/pull/1447 :)

I have the same issue. Trying to use oa-enterprise + omniauth :salesforce and it fails since it requires the omniauth-salesforce gem. Which is something else.

I meant oa-oauth.
If I add:
config.omniauth :salesforce, 'key', 'secret', :require => 'oa-oauth'
I get:
ruby-1.9.2-p290/gems/omniauth-secret/lib/omniauth/strategy.rb:136:in `initialize': Received wrong number of arguments. [:salesforce, "key", "1095446228975503297", {:site=>"https://login.salesforce.com", :authorize_url=>"/services/oauth2/authorize", :token_url=>"/services/oauth2/token"}] (ArgumentError)

I'm getting a similar issue as well, which is what I get for trying out the new + shiny...
Identical configuration to OP except for using facebook auth instead of openid, starting the server throws:
/Users/***/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require': no such file to load -- omniauth/core (LoadError)

I tried adding a require hash in the initializer, ala @asterite , which had no effect unfortunately.  Will update if the fiddling leads to success.

So yeah, omniauth/core doesn't exist anymore, so this (from the from lib/devise/omniauth.rb) is out of date:
begin
  require "omniauth/core"
rescue LoadError => e
  warn "Could not load 'omniauth/core'. Please ensure you have the oa-core gem installed and listed in your Gemfile."
  raise
end

Removing /core results in the server starting, but now we need to change how access_token is traversed, working on that now and will update the wiki!

Updated — in case anyone's curious and not sure what changed, access_token returns an object now, not an array, so access_token['extra']['raw_info']['email'] is now access_token.extra.raw_info.email

This should be fixed on Devise master.


changing dir handling for windows

For issue #8.  Makes things work on Windows, haven't tested on other platforms.

With version 0.9, I needed to adjust this code to the following to work on Windows.
var dir = raneto.config.content_dir.replace(/\\/g, "/");
var shortPath = filePath.replace(dir, '').trim();


Please provide Search::Elasticsearch::Client::6_0::Bulk->auto_flush or similar

Please provide an official api for periodically polling the bulk helper to trigger a time based auto flush with out calling add_action.  This will allow applications to make sure that they don't hold stale data in the buffer for long periods of time.
I'm using something like this internally:
sub auto_flush {
    my $self = shift;
    my $count = $self->_buffer_count;
    my $last_flush = $self->_last_flush;
    if ($count && ( time >= ($last_flush + $self->_max_time))) {
        $bulk->flush;
    }
}

@amishHammer thanks for proposing this. Can you also provide a unit test for it? Thanks.


Add a new Action to create and publish the SBOM.

📖 Description and motivation
Creating a new GitHub Action, triggering upon a push on the main branch, which will publish the SBOM to the GitHub Dependency submission API. The scan lists relevant information from the Docker Image system and libraries as well as the Ruby Gems and NPM Packages.
🦀 Dispatch
#dispatch/rails

🦀 Requesting reviewers for this pull request:

@garno (reviewer for the rails stack)


Improve PushNotificationIOS documentation

The documentation currently list a few but not all of the steps required for PushNotificationIOS. This change completes that list of required project changes.
This addresses #5612

By analyzing the blame information on this pull request, we identified @nicklockwood and @slycoder to be potential reviewers.


Can't add to Xamarin.iOS project

Hello, I've tried adding this package through nuget to a Xamarin iOS project, but it doesn't work.
Could not install package 'Xamarin.JOSE.JWT 1.0.3'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

+1

I am having the same issue, is there any updates please?

I will check and let you know.

+1

Try installing version 1.0.1

Try installing version 1.0.1 and add the reference manually by doing the following.
Go to your project, right click references and click add reference.
Click browse.
Navigate to your project and then follow this path "\packages\Xamarin.JOSE.JWT.1.0.1\lib\4.0"
add the jose-jwt.dll
This should do the trick, you should now be able use the lib.
Good luck!

Try installing version 1.0.1 and add the reference manually by doing the following.
Go to your project, right click references and click add reference.
Click browse.
Navigate to your project and then follow this path "\packages\Xamarin.JOSE.JWT.1.0.1\lib\4.0"
add the jose-jwt.dll
This should do the trick, you should now be able use the lib.
Good luck!

NO works for me


why?

intentionally context-free
https://<IP_ADDRESS>/view/PR/job/arangodb-matrix-pr/7625/

Non-Windows-Tests blue


Weird behavior when uploading empty/unexpected files while creating DnD quiz exercises

Describe the bug
Drag-And-Drop questions in quiz exercises require a background image that must be uploaded. It is possible to upload empty images and non-image files.
To Reproduce

Go to 'Course Management' > 'Exercises' > 'Quiz Exercises'
Create a new quiz exercise
Add Drag-And-Drop Question
Create an empty image file (with touch empty.png for example)
Upload the file as the background image --> A placeholder will be displayed
Try it again with a non-image file --> Nothing will be displayed

Expected behavior
The upload is canceled and a proper warning/error is displayed, that the file must be an image or must not be empty.
Screenshots

Environment

 - OS: Windows 10 Pro
 - Browser: Google Chrome
 - Version  81.0.4044.129

Thanks for the issue report, we should definitely catch this issue, however I consider this as low priority, because the user should use the upload in the correct way ;-)


Contact section alignment and responsive

Description
I do wish to request the go ahead to work on the contact section. I wish to work on the alignment for both the mobile and desktop view and the contact image link break.
Screenshots

Please assign me this issue as well

Can I work on This issue ?

Go for it!
For support join our discord community: https://discord.com/servers/codein-community-831388874118660156

I want to contribute to this issue.
Kindly assign me

I want to contribute to this issue can you assign it to me please


Log handeling

Is there a reason you're using your own logging functionality over the python supplied "logging" module?  Should cut down your code significantly and it's more fault tolerant and less error prone.
I'd be happy to change it over. :)

Mainly just because I REALLY like the look and style of my terminal logging. I'm fairly ignorant of the python builtin logging (having always used my own), could it be formatted with utilities like termcolor like mine is? And I also have two settings in mine that determine whether you want to keep logs or delete the old ones and whether you want to see terminal output or just a log file written. If this stuff can be replicated the sure, go for it.

Everything but the color can be replicated.  That said, the built in logging is a lot more robust and fault tolerant and we should really be using it.  Generally speaking, if it's in the standard library you want to use it rather than rolling your own unless you have a very good reason to do otherwise.
I'll get started refactoring the logging code today.

Yeah sure I guess. I am pretty partial to my terminal logging though, it's been a part of W.I.L.L for awhile. If you wouldn't mind going out of your way, can you get the log entry from the good builtin logging module and pass it through with termcolor like I've been doing?

I'll look into it.  That said, I'm personally partial to removing termcolor all together.  It doesn't play well with everything, especially on windows.  It's all sorts of odd in PowerShell, for example.

Fair enough. I appreciate you working on it, thanks.

Ok. So I merged in the code and I can't seem to fix the following error:
Traceback (most recent call last):   File "main.py", line 15, in <module>     from logger import log   File "/home/will/Code/W.I.L.L/logger.py", line 88, in <module>     _setup_logger()   File "/home/will/Code/W.I.L.L/logger.py", line 45, in _setup_logger     log.setLevel(_get_logging_level())   File "/home/will/Code/W.I.L.L/logger.py", line 63, in _get_logging_level     return logging.DEBUG if will_config["debug"] else logging.ERROR KeyError: 'debug'
I looked through the code and I'm not completely sure what's happening here. My config.json is set up

My mistake, I hadn't made the necessary changes to config.json. Closing

That really should be considered a bug.  I'll write up a new issue.


Camera Size Wrong on 3.5" Devices

On iPhone<=4 the RenderView doesn't seem to match the proper screen size as the GPUImage 1.x did.

This when setting the renderView width to 480px, if instead you set it to 568 (iPhone5) it will appear properly on the iPhone4...


Crash with unhandled IndexOutOfRangeException (AutoRun is enabled)

I don't have steps to reproduce this, but I'm using the Mobiflight 10.0 release and have AutoRun enabled. I went to go turn on my plane power and the switch didn't do anything. I realized MobiFlight crashed, this is what event viewer shows:
Application: MFConnector.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IndexOutOfRangeException
   at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Add(System.__Canon)
   at MobiFlight.MobiFlightCache+<SerialPortMonitor_PortAvailable>d__33.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Probably fixed with: https://github.com/MobiFlight/MobiFlight-Connector/pull/1487


expose MsBuild.SonarQube.ProjectUri, if any of the following tasks needs it

The vso-online-tasks which follow the SonarQubePreBuild in the customer workflow should be able to get the URI of the project on the target SonarQube instance.
For example, think to a task which publishes artifacts whose quality indicators have been collected by means of the SonarQube plugin. It would be great to have the possibility to add, as metadata of the published atifacts, a link to the SonarQube project page.

Hi @nilleb, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

This looks good, but you need to bump the task version number. Otherwise the task will not the refreshed on the build agents that have already run the current version. To do this you need to edit the task.json file and bump the version (28->29). You'll also need to rebuild the task by following instructions here to regenerate the task.json.loc (instructions at https://github.com/Microsoft/vso-agent-tasks/blob/master/docs/contribute.md)

Any news? I've done what you told me, and apparently the sonarqube task wasn't the only one for which gulp hadn't been executed..

Apologies about the delay, I didn't get a notification when you pushed a new commit. It looks good, but let's keep this commit focused on the SonarQube changes. If you remove the files belonging to other tasks I'll be happy to merge your PR

done ;-)

Done, thank you Ivo!
Bogdan
From: Ivo Bellin Salarin<EMAIL_ADDRESS>Sent: Wednesday, October 21, 2015 6:05 AM
To: Microsoft/vso-agent-tasks<EMAIL_ADDRESS>Cc: Bogdan Gavril<EMAIL_ADDRESS>Subject: Re: [vso-agent-tasks] expose MsBuild.SonarQube.ProjectUri, if any of the following tasks needs it (#628)
done ;-)
—
Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvso-agent-tasks%2Fpull%2F628%23issuecomment-149783739&data=01|01|BGAVRIL%40064d.mgd.microsoft.com|66f7506a83434b630af708d2d9d523a0|72f988bf86f141af91ab2d7cd011db47|1&sdata=cHBV4avMhS5%2Bm%2FPIjVejlN0b37znPTBEaEFGFojXXkQ%3D.


Carry #11048

Carried to revert most changes besides the ones to TestPullImageFromCentralRegistry as suggested on https://github.com/docker/docker/pull/11048#issuecomment-85702669.
Closes #10966.

LGTM

LGTM


Support for payments in non-native currencies

What do we need here?

What do we need here?

Adding tests and benchmarks. Will be ready soon.

Tests and benchmarks added. Ready for review.


What is wrong with these pages?

the links like https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/complex-data-model?view=aspnetcore-2.1 are not displayed with the content, the "previous" and "next" links always displays the same content to go to RazorPages, but what if I don't want to read the razor pages? Where is the article content?

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

ID: 912ebaa6-721f-c8b3-7b3a-7f16d4c24360
Version Independent ID: b6135ff6-897f-c5fa-c61d-d9fad4ee9acd
Content: ASP.NET Core MVC with EF Core - Data Model - 5 of 10
Content Source: aspnetcore/data/ef-mvc/complex-data-model.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: tdykstra

dup of #8529