"WGBH Stock Sales & Licensing" on all pages.

The application_name makes it a default... not sure whether including module in controllers is right. @afred please review.

@mccalluc yeah, you probably don't want to mix BlacklightHelper into the controller. It is expecting only to be mixed into the view layer. Could be harmless now, but may have unintended consequences later if more functionality goes into it.
In any event, concatenating two strings with a pipe is presentation logic, and probably doesn't belong in the controller anyway.

Maybe define an APPLICATION_NAME constant somewhere else, and use it in BlacklightHelper and elsewhere? contingent on...
You're right, it's really a view thing... and the title comes from this:

  def render_page_title
    (content_for(:page_title) if content_for?(:page_title)) || @page_title || application_name
  end

so titles will be constructed in a content_for block in the ERB.

Closing in favor of #66


699 | Falling-Squares-v2 | C++

Title - Falling-Square-v2
What will change - Problem will be added to repo
Type of Issue

[x] Adding New Code

Programming Language

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

please assign this issue


Generic type filter 1

PR Info

Closes https://github.com/SeaQL/seaography/issues/87

Experimenting based on https://github.com/SeaQL/seaography/pull/95

To be honest, this is harder than I originally thought loll

Just being curious, where the difficulty lies in? Rust? or mechanism of Seaography itself?

The difficulty comes from Rust. So in this case we need to take any input object accepted by async_graphql then construct a filter object for that input object. How can we tell Rust compiler the corresponding type of the filter object? Associated type! That's something I miss out at the planning phase.


update legal & hacking.pug

Don't you need to fix the links?

any update on this?

I'd accept, but why remove the email?

Because the site adds a button that says "Contact Us."


Move ipython_config.py to hidden but standard location.

What do you think about moving ipython_config.py into .ipython/profile_default/ so that the file list that the user sees remains uncluttered?
I have tested this for local development (via binder/start jupyter lab) and on mybinder.
I look forward to when this Jedi bug is fixed so we can open a PR titled "Return of the Jedi".

Thanks for the addition, @danielballan! Just to make it easier to find, the main PR is https://github.com/NSLS-II/tutorial/pull/25.
And yes, "Return of the Jedi" will be awesome!


[Question] How to Toggle showing tooltip for LineChart

Hello,
How could I do this in LineBar
Like this example

Your provided link is not valid.
Please provide a valid link and explain about it.


Vite plugin: Use normalized path as a key for storing processed vanilla css.

Fixes #427
When used with Vite, if *.css.ts module is imported from outside of the root directory, the following error occurs:
Unable to locate /path-to.css.ts$$$@scope/package-name in the CSS map.

This happens, because the path ../path-to.css.ts gets overridden to /../path-to.css.ts (by vite:import-analysis) and then consequently to /path-to.css.ts (by vite.normalizePath). As a result, cssMap stores the source under a different key as it is being retrieved.
This is where the source is stored under ../path-to.css.ts$$$@scope/package-name:
https://github.com/seek-oss/vanilla-extract/blob/076b02d91f22d0b61df2dd9edd875f86ac4a55ea/packages/vite-plugin/src/index.ts#L152
This is where the we are trying to retrieve the source by wrong key (/path-to.css.ts$$$@scope/package-name):
https://github.com/seek-oss/vanilla-extract/blob/076b02d91f22d0b61df2dd9edd875f86ac4a55ea/packages/vite-plugin/src/index.ts#L69
This PR should fix the problem, as it replaces the use of relative paths as keys with normalise paths.

Hey bud, thanks for looking into this.
I've seen other Vite plugins represent virtual files with prefixes, something like /@ve-css:. Would doing this remove the need to normalize the ID?

Hey bud, thanks for looking into this.
I've seen other Vite plugins represent virtual files with prefixes, something like /@ve-css:. Would doing this remove the need to normalize the ID?

Thanks for the pointer. Implemented now.

@Katarina-UBCO Just confirming that this definitely fixes the issue you were having?

@Katarina-UBCO Just confirming that this definitely fixes the issue you were having?

@mattcompiles yes, confirming that it does resolve the issue.
Before:

After:

Hi @mattcompiles , I've also create a different PR solving the same problem. Please see #470 Thanks for your help.

Closing in favour of #470


Bug Report: Chart Editor Issues with 1.6

Issue #1: Loading takes too long.  When I try to open the chart editor to chart songs it takes forever to load the editor, I timed how long the editor loads, and it takes about 2x as long as the the song you're charting!!!
Issue #2: Chart Editor Is Laggy. after like 10 years after the editor is done loading, and I'm kindly greeted to an laggy Chart Editor. the cursor moves so awkwardly, the scrolling in the editor so choppy. and its just unbearable.
Please fix these issues in the next update.

In Settings, Go To Appearance And Make 'Show Editor Grid' Into 'Do Not Show Editor Grid'. It Should Improve Performance.

In Settings, Go To Appearance And Make 'Show Editor Grid' Into 'Do Not Show Editor Grid'. It Should Improve Performance.

there is no Show Editor Grid in appearance

In Settings, Go To Appearance And Make 'Show Editor Grid' Into 'Do Not Show Editor Grid'. It Should Improve Performance.

I dont see the option anywhere

In Settings, Go To Appearance And Make 'Show Editor Grid' Into 'Do Not Show Editor Grid'. It Should Improve Performance.

Where is it then?

Better?


[Bug Report] Select component in multiple filterable mode -> focus issue

Element UI version
2.0.4
OS/Browsers version
Chrome 62.0.3202.89, Firefox 56.0.2
Vue version
2.5.3
Reproduction Link
https://jsfiddle.net/z5wn4e5x/
Steps to reproduce
One step only: try click on select component but directly to inner input element for filtering.
(when cursor from pointer changes to text, approx. within chars "Sel").
What is Expected?
Clicking everywhere on select component should open drodpdown and focus inner input to start typing.
What is actually happening?
When you click directly on .el-select__input (inner input for entering text), select component briefly gain focus and immediately loses focus.

Fixed in https://github.com/ElemeFE/element/pull/8184/commits/2db923e421e44c6c1d2481ea2026bb735ed33f34


Generation quality loss

Hi, I noticed you mentioned in paper that

evaluating the quality of EAGLE’s generated results is both unnecessary and meaningless.

But based on my experiments on both llama2-chat-7b and Qwen-chat-7b, EAGLE's generation quality declined on c-eval and human-eval. The result is attached.

Baseline is the output from hf model.generate() , eagle is the output from ea_model.eagenerate().
Have you done similar experiments? Any clues?

EAGLE is a speculative sampling method, theoretically ensuring that the distribution of the generated text remains unchanged. The proof can be found in the Appendix A of the paper. What were your test settings, greedy or non-greedy? Did the evaluators know which response was generated by EAGLE? There was a bug in EAGLE in the non-greedy setting before, which could lead to this issue.

non-greedy, can you share what's the bug? In case I got the same problem.

The bug has been fixed now.

Btw, do you mind sharing your sampling parameters like top_p for non-greedy setting? I think smaller top_p make the decoding strategy more like greedy decoding. Based on my experiments, the accuracy result from eval is kind of not acceptable when using normal top_p value like 0.8, and it goes higher with smaller top_p. So if I want to get an acceptable accuracy, I need to set top_p like 0.2, which is not very common.

Another question, what's the point of this MODIFIED, what's gonna happen is the mask type not set to float32? Is it gonna cause accuracy loss?

Another question for this MODIFIED, what's gonna happen is the mask type not set to float32? Is it gonna cause accuracy loss?

This is copied from Medusa, and forcing the use of high precision should not result in a loss of quality.

We have fixed a bug related to sampling. After fixing this bug, we conducted a large number of repeated experiments for validation. We replaced the original LLM with a model that outputs distributions based on position_ids and performed approximately 400,000 experiments. As shown in the figure below, the distribution of the original LLM is highly consistent with the data sampled using the current version of the code. Therefore, we believe there is no loss of quality now. You can find the code and the obtained data for this test in the ./testbug directory.

Hi, I noticed you mentioned in paper that

evaluating the quality of EAGLE’s generated results is both unnecessary and meaningless.

But based on my experiments on both llama2-chat-7b and Qwen-chat-7b, EAGLE's generation quality declined on c-eval and human-eval. The result is attached.

Baseline is the output from hf model.generate() , eagle is the output from ea_model.eagenerate().
Have you done similar experiments? Any clues?

can u share the modification code for using Qwen model to train and inference, thanks a lot

In my case, I set the model to be greedy (default ea_generate arguments), EAGLE's human-eval accuracy for LLaMA-7B drops to 5.49 from baseline's 8.54.
Any idea or related bug fixes?

It seems there are two different implementation. I understand the latter one is lossless as proved in the Fast Inference from Transformers via Speculative Decoding. Could you share more insights about the former one?
https://github.com/SafeAILab/EAGLE/blob/35c78f6cdc19a73e05cf5c330b4c358dad970c6a/eagle/model/utils.py#L387
https://github.com/SafeAILab/EAGLE/blob/35c78f6cdc19a73e05cf5c330b4c358dad970c6a/eagle/testbug/model/utils.py#L377

Both are lossless. In speculative sampling, q does not necessarily need to be the distribution of the draft model; it can be any distribution, such as a one-hot version (L387) of the draft model's distribution.


Make it possible to retry digests on different days

https://trello.com/c/6NVuDOF5/525-make-it-possible-to-fix-digest-emails-if-they-break-over-the-weekend
Please see the commits for more details.

@kevindew thanks for the comments - I'm pleased we've spotted the time issues, which would have been painful to address as part of other work. This should be ready for another look now.


Add go to top button

I would like to add a go to top button for the page please assign it to me under gssoc'23.
I want to work upon this issue.

I would like to add scroll to top button to it. Please assign this to me in gssoc'23.

I want to work on this issue, kindly assign it to me.


ARROW-8016: [Developer] Fix jira-python deprecation warning in merge_arrow_pr.py

This squelches the warning for me. I merged a PR using this revision

+1


git-diff package support sub-folders which are different git repositories.

Summary
Currently git-diff works by analysing the .git folder specified in root folder in which atom is open.
root-folder
|__ .git
|__ src/
|__ tests/

This feature is about making it work even if the git repository is a sub-folder of the root folder.
root-folder
|__ project-a
    |__ .git
    |__ src/
    |__ tests/
|__ project-b
    |__ .git
    |__ src/
    |__ tests/

Right now, project-a and project-b are not getting git-diff support. git-diff package should use their repective .git files to show the diff.
It would be good to have Pattern field in settings of this package to match against the patterns of where .git folder could be found. Example, for my above case, I would mention the pattern to be */.git. If this pattern is not found. git-diff only matches against the root (i.e. default pattern is .git)
Motivation
Sometimes, we tend to open up the root folder that contains multiple projects that has dependency on each other, but maintained in a separate git repo.
Describe alternatives you've considered
I considered searching for a Pattern setting in the git-diff package. But it doesn't exist. Hence the request.
Additional context
None.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/github/issues/1835. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Update instructions for SSH keypair

'make docker-dev' mounts current directory to /opt/kubernetes-anywhere when following the provided instructions. Files outside of the host's kubernetes-anywhere directory that is mounted are not accessible; i.e. /root/.ssh/id_rsa
This change updates the instructions to create the keypair in the kubernetes-anywhere directory by default so the files are accessible during 'make deploy'

Check CLA

@shashidharatd please review the changes. Hopefully it is more clear.

@mrhillsman, the changes lgtm. just squash the commits. Thanks !
/lgtm

LGTM 👍


Forms Upgrade

Significant refactoring of our form / field / input component interactions and model binding.
Planned / in-flight changes include:

FormModel as first-class Hoist model, peer to GridModel
Form component leveraging React context to provide FormModel binding to nested layouts, including child/sub Forms.
Ability to specify defaults for FormFields at a top-level FormModel level to DRY up e.g. validation display mode, read-only vs. disabled state, etc.
Read-only mode for FormField, whereby a string/markup representation of bound values would be displayed instead of inputs.
Enhancements to validation state vs. validation message display.
Replacement of Blueprint FormGroup component by Hoist custom component for FormField, removal of bp-* CSS class deps.
Package re-orgs.

Early merge to facilitate testing and usage of this major feature.  We fully intend to tweak this.
cr: tom/lee


Hiro working great but custom markers not working

Hi,
I'm trying all the examples of AR.js+Aframe, all works great with Hiro marker, but i can't manage to make them work with any custom marker, simple, not simple, detailed, not detailed, any kind, won't be recognized, Hiro works great, custom markers just don't work for me, what am I missing? I'm using the simple code available on your pages and loading custom markers with "a-marker type='pattern' patternUrl='jmarker.patt'" etc,
thank you and congrats for this great project

@javismiles Going to try this myself - but what format are the markers in? How do you create them?

hey enesser, thank you, its very simple:
a) I design the marker with Photoshop, following similar markers out there, making any changes i want
b) I then submit the generated .PNG file to an online app like this one:
https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html
c) which generates a .patt file which is what I then link to in the code

Thank you , I did those changes:

</a-scene>

however this is now generating this error:
A-Frame Version: 0.5.0 (Date 10-02-2017, Commit #110055d)
index.js:74 three Version: ^0.83.0
index.js:75 WebVR Polyfill Version: dmarcos/webvr-polyfill#a02a8089b
aframe-ar.js:8549 Uncaught TypeError: Cannot read property 'sceneEl' of undefined
at r.init (aframe-ar.js:8549)

I finally made it work, it works now ;)
however, just to let you know, on my Nexus 5X , the tracking using a simple basic box, is really not goody, can't follow it with precision, it's all over the place

@javismiles  how did you made it work? I have the same problem

hey Cypri, im  still not sure if the problem is the marker itself, but I made it work with a very simple marker i built and processed through https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html
and this is the code that works for me:
`

`
the only pity so far is that in my nexus 5x, the tracking speed is not good enough yet, when  I move the camera, the figure or image etc attached doesn't quite follow in real time, that's the only pity,

I tried but nothing appeared, the code I use is:
`

 `

hey @javismiles, i made the changes suggested on #164 and i've added your code snippet but still nothing :/.
Does your marker follow any conventions or it's just and image you've uploaded to the generator?
Thank you in advance.

hey friends, no conventions, i created it with photoshop, simple stuff, exported as png then uploaded to generator, it should work,
I'm a big fan of ar.js, this is wonderful work by Jerome, but still, and normal, quite a bit of chaos with documentation and also a-frame and ar.js many interconnection issues (like the issues with cursor), so it's early days, i wish i could help in any way, with documentation etc, this is wonderful work and we all support it, I hope it will become more and more stable, great job

Ah still doesn't work,
From the chrome inspector I see that pattern-marker.patt is not loaded at all,
No luck till now!
@javismiles

hey, for me it always works now MWalid,
Im using <a-marker preset='custom' url='n2.patt'>
and a very simple marker,
try to use the Hiro standard marker but as a custom marker to make sure, get a Hiro marker online, save it, upload it to Jerome tool, generate  the .patt file, then put it in the right folder, upload it,
and try with that, as a test

@javismiles  Can you post how you did your marker step by step?
I'm also trying with custom marker and it doesn't works, only Hiro marker works :(
I did an image with gip, nothing complicated just the word "ter" uploaded the image on https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html
Downloaded the .patt file and printed the image
On my html page y use your code

But it doesn't recognizes my marker it just recognizes hiro marker :(  any idea??

Here are the steps.

Add to ar.js:

else if( _this.data.preset === 'custom' ){    arProfile.defaultMarkerParameters.type = 'pattern'    arProfile.defaultMarkerParameters.patternUrl = _this.data.patternUrl;    arProfile.defaultMarkerParameters.markersAreaEnabled = false

Create your marker with a background color: 240, 240, 240
You can try this one - I am currently using this in one of my projects and it works: https://katharine.org/wp-content/uploads/2017/11/MASTER-marker-for-.patt-file-for-PYTHON.jpg

Add it to your code:
<a-marker-camera preset='custom' type='pattern' url='assets/python.patt'></a-marker-camera>

Hi @kvanderd !!
Thanks a lot by your reply I did the steps you wrote but it still doesn't works
I added the code to AR.js\aframe\buld\aframe-ar.js
My main directory where I compiled the library is AR.js, I have the http-server running
The code in aframe-ar.js modified is:
// honor this.data.preset
if( _this.data.preset === 'hiro' ){
arProfile.defaultMarkerParameters.type = 'pattern'
arProfile.defaultMarkerParameters.patternUrl = THREEx.ArToolkitContext.baseURL+'examples/marker-training/examples/pattern-files/pattern-hiro.patt'
arProfile.defaultMarkerParameters.markersAreaEnabled = false
}else if( _this.data.preset === 'kanji' ){
arProfile.defaultMarkerParameters.type = 'pattern'
arProfile.defaultMarkerParameters.patternUrl = THREEx.ArToolkitContext.baseURL+'examples/marker-training/examples/pattern-files/pattern-kanji.patt'
arProfile.defaultMarkerParameters.markersAreaEnabled = false
}else if( _this.data.preset === 'area' ){
arProfile.defaultMarkerParameters.type = 'barcode'
arProfile.defaultMarkerParameters.barcodeValue = 1001
arProfile.defaultMarkerParameters.markersAreaEnabled = true
else if( _this.data.preset === 'custom' ){
arProfile.defaultMarkerParameters.type = 'pattern'
arProfile.defaultMarkerParameters.patternUrl = _this.data.patternUrl;
arProfile.defaultMarkerParameters.markersAreaEnabled = false
}else {
// console.assert( this.data.preset === '', 'illegal preset value '+this.data.preset)
}
Then I downloaded your marker and uploaded to https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html
I downloaded the pdf, printed it, downloaded the .patt file and named it as your code in directory assets/python.patt
My html code is this:

Any idea where the failure is?
PS: now the hiro marker doesn't works with these changes on my demo page
Best Regards
Ricardo

@WhiteRick sounds like you followed the steps correctly. If you post a link to your repo I can take a look.

Thanks a lot by your reply @kvanderd  at this moment I don't have a repo, in fact I'm new with AR =) let me upload my code it and I'll send you the link
Best Regards
Ricardo

@kvanderd Thanks a lot by your time, I've found my mistake, when I copied the code to fix the library I erased a close bracket } on the else if sentence.
Now I've added it and the custom marker works =)
Best Regards
Ricardo

@WhiteRick Great news. Glad I could help.

Hi, I have also problems to get my marker running:
<a-scene light="defaultLightsEnabled: true" embedded arjs>     <a-assets>           <a-asset-item id="santa" src="/assets/data/santa.gltf"></a-asset-item>         </a-assets>         <a-marker type="pattern" url="btc.patt">           <a-entity animation-mixer gltf-model="#santa" rotation="-90 0 0" scale="0.3 0.3 0.3"></a-entity>         </a-marker>         <a-entity camera></a-entity>       </a-scene>

Do you have any ideas?

Hello! I made as wrote in #216 , But it doesn't work. Anybody can provide an archive with working code? (aframe-ar).

The solution in https://github.com/jeromeetienne/AR.js/issues/216#issuecomment-346906569 isn't working for me either. Would love to know if there's a bug or if it's something i'm doing wrong.

@mattGraphics @polyzer
I wrote up a blog post about how to get this working - hopefully it will provide more context:
https://katharine.org/tutorials/custom-markers-ar-js/

Hi @kvanderd thanks for your message.
As a result of your blog post I have found out where I was going wrong - the marker doesn't work for me unless it is stored somewhere on the web (in my case my github repository), not referenced locally on my computer. Once I had uploaded the marker to github and changed the 'url' accordingly it worked fine. Many thanks!

@mattGraphics I'm still having issues with this even after putting my custom .patt file on a remote server, following https://katharine.org/tutorials/custom-markers-ar-js/ and trying different markers etc, could you please post a working code example? I've been trying to get this to work all day

Hi @Sevrex you can try my test site here: https://github.com/mattGraphics/mattGraphics.github.io
this uses the custom marker: https://github.com/mattGraphics/mattGraphics.github.io/blob/master/assets/big-m.pdf
I noticed @jeromeetienne has made some changes to ar.js in the last few days, so the issues may have been resolved.

yes just change the reference script to the 1.5.5 version. Then all solve

hey! i made work, deleting the camera-static tag and putting a-marker-camera tag in the bottom of the  worked fine!
idk if this helps but i uploaded the .patt to my github (might help, idk)
here's the code if helps anyone:

  </a-entity>

</a-anchor>
<a-marker-camera preset='custom' type='pattern' url='https://raw.githubusercontent.com/vettorazi/aframe-gltf-models/master/marker.patt'>

@mattGraphics finally got this working! Thanks to your example I was able to rule out code and found that it was the marker itself that was causing issues, cheers

@mattGraphics how do I display the gif by moving?
or display video? in your example code did not work

Hi @jhonyxf When you say 'display the gif' do you mean display an animated gif? I haven't tried ar.js with an animated gif myself. I might try it myself later.
I just tested my .mov video example again ( https://mattgraphics.github.io/index-video.html ) and it worked fine. Make sure you're using the same pattern file: https://github.com/mattGraphics/mattGraphics.github.io/blob/master/assets/big-m.pdf
I wonder whether my video file may not work on some operating systems perhaps?

Hello @mattGraphics. I'm Brazilian, I'm sorry, my English. Yesterday when I tested the video it was displaying a blue screen in place of the video. I'm using android lollipop 5.1, thanks for the feedback

Hi @jhonyxf I'm not sure, I think it may be the video format I've used may not work on your Operating System? I'm not an expert - perhaps try the code with a video file you know works on your OS?

Hello @mattGraphics , thanks. I'm going to do a test with a video that runs on my smartphone and will return if it worked. Did you test with the gif?

Hi @jhonyxf Yes I did try it with an animated gif - it didn't work for me unfortunately.

Because I stumbled over where to put it in order to make it work I just would like to add just where to put the code from @kvanderd
as she mentioned in her blog.post  search in the aframe/build/aframe-ar.js file for:
if( _this.data.preset === 'hiro' ){
at the end of this if else put her code snippet:
   arProfile.defaultMarkerParameters.type = 'pattern'
   arProfile.defaultMarkerParameters.patternUrl = _this.data.patternUrl;
   arProfile.defaultMarkerParameters.markersAreaEnabled = false} ```

in your html file put

```<a-marker preset='custom' type="pattern" url='path/to/your/pattern.patt'>```

then it should work. It does for me.

can someone please make a PR for this?

hey, i have made rotate globe demo on AR.js using hero marker, it is working fine... I wanted to add some touch event like zoom in zoom out on screen tab...can u tell any solution ??

This not work for me too =/

closing as now answer from author for a long time

What? Anyone not answered me.

Sorry, close that for mistake. I have done a clean to all stale issues. This one was not to be closed. Sorry again :)

@IgorDePaula What is the problem exactly?

I tried to follow all steps and comments in this thread and so far it is not working for me.
What am I doing wrong?
Below is my code and the custom marker is also attached.

Basics:
I set the project-folder on my desktop. Inside the Index.html and the pattern_IK.ptt file.
I am opening my code in Firefox (found this to work best for Nicolo's Demo with yellow cube) and writing in SublimeText.
<!doctype HTML>
<html>
<script src="https://aframe.io/releases/0.9.1/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.5/aframe/build/aframe-ar.js">

if( _this.data.preset === 'hiro' ){
else if( _this.data.preset === 'custom' ){
   arProfile.defaultMarkerParameters.type = 'pattern'
   arProfile.defaultMarkerParameters.patternUrl = _this.data.patternUrl;
   arProfile.defaultMarkerParameters.markersAreaEnabled = false}

</script>

  <body style='margin : 0px; overflow: hidden;'>
    <a-scene embedded arjs='debugUIEnabled: false; sourceType=webcam;'>

		<a-marker preset="custom" type="pattern" patternUrl="/assets/pattern-IK.patt">
			<a-box position='0 0.5 0' material='color: yellow;' opacity='0.5'>
      		</a-box>
			</a-marker>

      	<a-marker-camera preset="custom" type="pattern" patternUrl="/assets/pattern-IK.patt">
      		</a-marker-camera>

      <a-entity camera></a-entity>
    </a-scene>
  </body>
</html>

@iggykov When I couldn't get it to work, I used an external url to the marker instead of it being local to the html file. So instead of it being:
<a-marker-camera preset="custom" type="pattern" patternUrl="/assets/my-patt.patt">
      		</a-marker-camera>

i changed it to:
<a-marker-camera preset='custom' type='pattern' url='https://raw.githubusercontent.com/mattsGithub/randomfiles/master/my-patt.patt'></a-marker-camera>
That resolved the problem for me - maybe give that a go?
https://github.com/jeromeetienne/AR.js/issues/216#issuecomment-371060214

Is this deprecated? Having similar issues using custom markers. On desktop chrome, I'm getting "markersAreaEnabled :false" on my window.
I've tried setting to a custom URL from within my Glitch.com assets with no luck. My .patt files are uploaded there.

@clubfrills Can you share the glitch? Or the code? Kind of hard to know why it is like that.

This was solved, it was actually the same issue as an above commenter -- some of the AR marker examples on github and webpages are not the same color layout as the marker generator provided. The generator markers worked perfectly.
Matthew Pietrucha
Adjunct Professor of Music, Worcester Polytechnic Institute
IMGD Graduate Student

From: Hamun<EMAIL_ADDRESS>Sent: Thursday, July 18, 2019 4:00 PM
To: jeromeetienne/AR.js<EMAIL_ADDRESS>Cc: Pietrucha, Matthew<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [jeromeetienne/AR.js] Hiro working great but custom markers not working (#216)
@clubfrillshttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fclubfrills&data=02|01|mpietrucha%40wpi.edu|74548aae480646c2dfb308d70bba8b6a|589c76f5ca1541f9884b55ec15a0672a|0|0|636990768144214667&sdata=7G4DuiZMxQHcTNowtyvuGJmzghNx2FuMLbc9QoxmG68%3D&reserved=0 Can you share the glitch? Or the code? Kind of hard to know why it is like that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeromeetienne%2FAR.js%2Fissues%2F216%3Femail_source%3Dnotifications%26email_token%3DAHPO75JYP7ZCOLLZOVGADALQADDUZA5CNFSM4D6EAU3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JTTLY%23issuecomment-512965039&data=02|01|mpietrucha%40wpi.edu|74548aae480646c2dfb308d70bba8b6a|589c76f5ca1541f9884b55ec15a0672a|0|0|636990768144214667&sdata=9E6mIM%2FyGtwkgAUAQ12rhHTVRinScFDT6Vk7ts5jboA%3D&reserved=0, or mute the threadhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHPO75JQ5FGTSPFZ2FIGQ5TQADDUZANCNFSM4D6EAU3A&data=02|01|mpietrucha%40wpi.edu|74548aae480646c2dfb308d70bba8b6a|589c76f5ca1541f9884b55ec15a0672a|0|0|636990768144224666&sdata=C62iT6JmQZP0fE6Jxak24Zz59IQQZS3ZFQhrA7nxcp8%3D&reserved=0.

hello, I have the problem as title. I just use plain white marker but it is not working. But work perfectly for the "hiro" marker.
Here is my html code:

and I have modified the aframe-ar.js:
...
else if( _this.data.preset === 'area' ){
arProfile.defaultMarkerParameters.type = 'barcode'
arProfile.defaultMarkerParameters.barcodeValue = 1001
arProfile.defaultMarkerParameters.markersAreaEnabled = true
}else if( _this.data.preset === 'custom' ){
arProfile.defaultMarkerParameters.type = 'pattern'
arProfile.defaultMarkerParameters.patternUrl = _this.data.patternUrl;
arProfile.defaultMarkerParameters.markersAreaEnabled = false
}
else ...
can you guys give me some help and give step by step instruction? Thank you very much.
P.S. my marker

hello there!
all good with 'Hiro' marker, but with custom marker... I'm facing some problems. I guess the marker is not recognised, nothing is showing
this is my code:
<script src="https://aframe.io/releases/0.8.0/aframe.min.js">
    </script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.6.0/aframe/build/aframe-ar.js">
    </script>

<body style='margin: 0px; overflow: hidden;'>
    <a-scene embedded arjs='sourceType: webcam;'>
        <a-marker preset='custom' type='pattern' url='pattern.patt'>
            <a-entity obj-model="obj: url(model.obj);
                                 mtl: url(model.mtl)">
            </a-entity>
        </a-marker>
        <a-entity camera></a-entity>
    </a-scene>
</body>

My marker is as simple as this one.
All I get is aframe-ar.js:4797 THREEx.ArMarkerControls: 'markersAreaEnabled' is not a property of this material. message through browser console and markersAreaEnabled:false in the result page... what can I do? any ideas?

if you put a simple  instead of  it will show it?

also use version 1.7.5 at least for ar.js and 0.9.0 for aframe

hello, @nicolocarpignoli, thanks for the quick answer! updated versions, using a simple box, same result
showing the code again just in case:
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.7.5/aframe/build/aframe-ar.js"></script>

<body style='margin: 0px; overflow: hidden;'>
    <a-scene embedded arjs='sourceType: webcam;'>
        <a-marker preset='custom' type='pattern' url='pattern.patt'>
            <!-- <a-entity obj-model="obj: url(model.obj); mtl: url(model.mtl)"></a-entity> -->
            <a-box position='0 0.5 0' material='color: yellow;'></a-box>
        </a-marker>

        <a-entity camera></a-entity>
    </a-scene>
</body>

I'm back!
I started reading again about markers... and it seems that my marker wasn't that simple as I thought... maybe the vertices of the 'w' letter? I don't know, but I tried with a simpler marker, just an 'I' letter, just horizonal and vertical lines, and that's it!
thanks for your time and help 😄

@Beelzenef I would recommend that you used a "pixelated" font, since that is more likely to work due to how .patt is setup.
https://github.com/jeromeetienne/AR.js/issues/437#issuecomment-446974868

I will try with pixelated font then, thanks a lot!

Isn't it recommended to use a 16x16 grid? What I saw in .patt files is the matrix was of this size and one can speculate that detection would be best thereof.

Working with pixelated fonts and designs works fine, thanks for the advice, @commentatorboy! 🤘

I found that the marker training tool (https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html) sometimes downloaded a .patt file full of zeroes.  If your custom marker is not working, be sure to take a look in the .patt file and see whether the contents makes sense and reflect the pattern you want.
In my implementation, the Hiro marker preset was working correctly. To check whether it might be the.patt file that was the problem (rather than the syntax of my code), I fetched a copy of the Hiro pattern file (https://github.com/jeromeetienne/AR.js/blob/master/three.js/examples/marker-training/examples/pattern-files/pattern-hiro.patt) and used that as my "custom marker".  It worked great.  That's what prompted me to look inside these files.
I refreshed the marker training page, uploaded my image file again and downloaded the marker once again and this time there were not just a bunch of zeroes.  Hope that helps!

I found that the marker training tool (https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html) sometimes downloaded a .patt file full of zeroes. If your custom marker is not working, be sure to take a look in the .patt file and see whether the contents makes sense and reflect the pattern you want.

How I got around the .patt file full of zeroes was to make the white parts slightly gray, put it through the training tool, and it generated a good .patt file.  I was able to use it on my marker which has the white background instead of gray.
Does anyone know if there's a lib for the training tool?  I need to be able to make custom patterns on the fly.

Just to confirm the comment by kkaung, the custom markers not working is probably caused by a poorly chosen marker, and the THREEx.ArMarkerControls: 'markersAreaEnabled' is not a property of this material. message does not mean that the library is not working. In the contrary, a well chosen custom marker will work fine, even while displaying that message.

It took me about 10 attempts to nail it and here's what I found.

Don't use dark background, grey worked best
Don't use transparent background, make sure it's solid.

“10 tips to enhance your AR.js app.”  https://link.medium.com/OfHzdKvX73

hey Cypri, im still not sure if the problem is the marker itself, but I made it work with a very simple marker i built and processed through https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html
and this is the code that works for me:
 <a-scene embedded arjs='sourceType: webcam;'> <!-- handle marker with your own pattern --> <a-marker preset='custom' url='n2.patt'> <a-image src="myimg.jpg" position="0 0 0" rotation="90 180 0 "> </a-marker> <!-- add a simple camera --> <a-entity camera></a-entity> </a-scene>
the only pity so far is that in my nexus 5x, the tracking speed is not good enough yet, when I move the camera, the figure or image etc attached doesn't quite follow in real time, that's the only pity,

is it possible to add multiple markers- so the camera can recognize two images/marker?

Someone can fix error with custom markers??
I'm trying to get a custom marker work but still can't. I considered using a gray background and type = "pattern" preset = "custom" but still not work. I'm using Glitch to host the code online. I would appreciate some help! thanks.

...

in url what to mention ..? path is not showing

yes just change the reference script to the 1.5.5 version. Then all solve

This work for me. Thanks man!!!! You are my hero


feat:  Add support for inline datepicker #18177

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

Add support for inline datepicker

Assign me!


1.12.0 beta2

High-level description

#3375 - [1.12] Bump dcos-net
#3458 - Admin Router: add 'Connection:close' header to the responses to requests to /mesos and /agent
#3461 - Bump DC/OS UI to v2.21.8
#3477 - [1.12] Bump Mesos to nightly 1.7.x 06eb5ba
#3484 - Bump Marathon dependency on 1.12

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready for review

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

1.12.0-beta2 PR was merged manually using rebase and merge from Github UI.
This left the constituents PRs in the open state  https://github.com/dcos/dcos/pull/3488 without marking them as merged and mergebot did not update the JIRAs. I went about updating the FixVersions of the associated JIRAs.


feat: 스쿨 아이콘을 svg를 변경한다

Before

After

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4126

Relevant Lines:
5174

💛  - Coveralls


Mouse Selection

First, thanks for the effort in porting Slate to Vue.  I do, however, see an issue I'm not sure how to solve myself.
If you use your mouse to highlight text across multiple paragraphs that include an empty paragraph in the middle, the selection stops and the cursor just moves.  This only happens when selecting text going UP in the document.  It works fine going down.  You can replicate this in any of your online samples.
Start with some text:
line one is this one
line two is this one
line four is this one - line three is an empty line
line five is this one
To replicate it, simply use your mouse and try to select the text, starting at line five and drag up to line one.

I got the problem and will be fixed in this week when I have enough time. Thank you for your feedback.


Add StackStorm st2 CLI shell plugin

Add StackStorm st2 CLI shell plugin.

Hey @mamercad , thank you for your contribution! I noticed that your PR has been in draft for a while.
Is there a specific reason it is not yet ready for review? Feel free to reach out to us, if you think we could help!
You can either:

Book a free pairing session with one of our developers
Join the Developer Slack workspace, and ask us any questions there

Let us know! We'd love to get this rolling 😄

Hey @mamercad , thank you for your contribution! I noticed that your PR has been in draft for a while.
Is there a specific reason it is not yet ready for review? Feel free to reach out to us, if you think we could help! You can either:

Book a free pairing session with one of our developers
Join the Developer Slack workspace, and ask us any questions there

Let us know! We'd love to get this rolling 😄

Ah, I can't quite remember, I've been busy with $work 😦 I'll set a reminder to get back to this.

Hey @mamercad , thank you for your contribution! I noticed that your PR has been in draft for a while.
Is there a specific reason it is not yet ready for review? Feel free to reach out to us, if you think we could help! You can either:

Book a free pairing session with one of our developers
Join the Developer Slack workspace, and ask us any questions there

Let us know! We'd love to get this rolling 😄

~Ah, I can't quite remember, I've been busy with $work 😦 I'll set a reminder to get back to this.~

I've marked it ready for review.

This PR seems pretty close to the finish line actually!
What I would propose we do is:

make sure we always provision cache_token: false to the tool so we make sure the retrieved token does not get spilled to disk. However, I am wondering whether the toke, which gets written to disk and which seems to be actually used for performing the authentication, is the actual token that you have in 1Password, or is a temporary one as hinted by the Expiry field that follows it.

if that's a temporary token we need to find out how to retrieve that, maybe using an already existing SDK.
if that temporary token cannot be retrieved we should stick to the username/password approach with the file provisioner.

If we go for the token, given that we are not caching it anymore, let's use the shell-plugin built in cache to store that.

Let me know if this makes sense @mamercad !

This PR seems pretty close to the finish line actually!
What I would propose we do is:

make sure we always provision cache_token: false to the tool so we make sure the retrieved token does not get spilled to disk. However, I am wondering whether the toke, which gets written to disk and which seems to be actually used for performing the authentication, is the actual token that you have in 1Password, or is a temporary one as hinted by the Expiry field that follows it.

if that's a temporary token we need to find out how to retrieve that, maybe using an already existing SDK.
if that temporary token cannot be retrieved we should stick to the username/password approach with the file provisioner. However, if possible, I'd prefer to sticking with the env var approach since that's less prone to changes/errors in the future.

If we go for the token, given that we are not caching it anymore, let's use the shell-plugin built in cache to store that.

Let me know if this makes sense @mamercad !

It does, though, I think I'd like to try switching to username and password (pushed). But, I'm not having much luck:
❯ op plugin init st2
####################################################################
# WARNING: 'st2' is not from the official registry.                #
# Only proceed if you are the developer of 'st2'.                  #
# Otherwise, delete the file at /Users/mark/.op/plugins/local/st2. #
####################################################################

StackStorm CLI [test build]
Authenticate with StackStorm Username and Password.

? Locate your StackStorm Username and Password: StackStorm (Homelab)

op: The "StackStorm (Homelab)" item does not follow required item structure for credential type Username and Password:
    username    Username used to authenticate to StackStorm.
    password    Password used to authenticate to StackStorm.
    website     StackStorm base URL.

To continue, you'll have to update the field names. This can be done interactively. Proceed? [Y/n] y
[ERROR] 2023/04/29 16:40:07 cannot edit item: "StackStorm" has fewer fields than the Username and Password credential type requires. Edit your item to include at least 3 fields with non-empty labels or select another item

Feels like I have the right labels:
❯ op item get "StackStorm" --format=json | grep label
      "label": "website",
      "label": "username",
      "label": "password",
      "label": "notesPlain",
      "label": "base_url",

Any ideas?

username

@mamercad I understand the confusion. I think what the CLI complains about is the item not having the proper amount of fields to be representative for such a credential type. The label here refers to the name of the field rather than the label type. This should be fixed by creating an item with fields (they can just be text fields) matching the names of the secrets/configs username, password, website.

creating an item

What kind of item?

@mamercad Oh, my bad, I got confused. I think I found the problem. Are these fields inside sections or do they have a specific designation (is the item a login type and the username and password fields are an actual main username and password of the item)? This will cause the error you are seeing. username and password should be flat mapped inside the item (they shouldn't be part of any section) and they should not have any designation for them to be valid candidates for renaming. I understand this is a bit weird. I'll look into creating an issue for this.

@mamercad Oh, my bad, I got confused. I think I found the problem. Are these fields inside sections or do they have a specific designation (is the item a login type and the username and password fields are an actual main username and password of the item)? This will cause the error you are seeing. username and password should be flat mapped inside the item (they shouldn't be part of any section) and they should not have any designation for them to be valid candidates for renaming. I understand this is a bit weird. I'll look into creating an issue for this.

It looks like this:

@mamercad Oh, my bad, I got confused. I think I found the problem. Are these fields inside sections or do they have a specific designation (is the item a login type and the username and password fields are an actual main username and password of the item)? This will cause the error you are seeing. username and password should be flat mapped inside the item (they shouldn't be part of any section) and they should not have any designation for them to be valid candidates for renaming. I understand this is a bit weird. I'll look into creating an issue for this.

It looks like this:

The error could appear because of the duplicate field names in the item as the CLI doesn't know which one to choose. Could you try removing the designated fields (the ones on top) and only keep the regular ones? That said, I checked and we are tracking internally the improvement of how we are looking for matching fields, as this was a recurrent point of feedback.
The MR seems ready imo, so if we could resolve this last issue, I'd say it would be close to merging


WebView2Error after installation in Program Files folder on windows

Problem
I created a desktop app with the latest version of dioxus:
dioxus = { version = "0.5.1", features = ["desktop"] }
dioxus-hooks = { version = "0.5.1" }
dioxus-router = { version = "0.5.0" }
dioxus-free-icons = { version = "0.8", features = ["hero-icons-solid"] }
The app works fine as long as i start it from VS Code or from the target folder.
But when i create a setup for it and install it I get the following error on startup:
dioxus-desktop-0.5.1\src\webview.rs:192:39:
called Result::unwrap() on an Err value: WebView2Error(WindowsError(Error { code: HRESULT(0x80070005), message: "Access is denied." }))
Steps To Reproduce
Steps to reproduce the behavior:

Create a basic wix setup for a dioxus desktop app
launch it after installation

Expected behavior
The application should start without any issues after beeing installed.
Screenshots

If applicable, add screenshots to help explain your problem.
Environment:

Dioxus version: [v0.5.1]
Rust version: [1.76.0]
OS info: [Windows 11]
App platform: [desktop]

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

This can be closed, the issue where user permissions for the install folder and the appdata folder


Add HTML element's properties

I started a PR to this repo to support formatted plain text as well as markdown but the changes ended up being significant (pretty much a rewrite) so I essentially forked this repo and made the changes here: https://github.com/nicksrandall/draftjs.
If you happen to like my implementation, would you like to help me maintain it?
Also, thanks for your help on giving me a starting place for this!

It's a good news!
You made great work rewriting the exporter in your project.
Possibly you will get more powerful library if choose AST as intermediate state from DraftJS to any other representation method.


DPS5020 bricked

The first upload was successful, but UART ping was working but could not set any voltage or turn it on.
Screen flashed when receiving ping, but everything seemed to be working until I reflashed the firmware via UART (which failed).
Now if I'm trying to reprogram via SWD erase (sometimes works) but -C opendps flash doesnt.
> flash erase_address unlock 0x08000000 0x10000
SWD DPIDR 0x1ba01477
erased address 0x08000000 (length 65536) in 0.072810s (879.000 KiB/s)

in procedure 'program_error' called at file "embedded:startup.tcl", line 513
at file "embedded:startup.tcl", line 476
Info : SWD DPIDR 0x1ba01477
embedded:startup.tcl:476: Error: ** Unable to reset target **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 513
at file "embedded:startup.tcl", line 476
Info : SWD DPIDR 0x1ba01477
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
** Programming Started **
Error: stm32x device protected
Error: failed erasing sectors 0 to 48
embedded:startup.tcl:476: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 541
at file "embedded:startup.tcl", line 476
Polling target stm32f1x.cpu failed, trying to reexamine
Info : SWD DPIDR 0x1ba01477
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints

I'm using a Pi4 as SWD interface, which worked for other projects.
> halt; program /home/patch/opendps/opendps/opendps_DPS5020.elf verify reset
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **

But screen is still off.

Turned out the Breadboard cables were weird. Serial communication still doesn't work.


Add ?src=docker-app query parameter to identify download source

Context:
Right now, multiple sources point to the server binaries on releases.mattermost.com, including the download page, upgrade instructions, Helm charts, version archive, and others.
We can identify the download source by adding a querystring to the url, i.e. https://releases.mattermost.com/5.22.1/mattermost-5.22.1-linux-amd64.tar.gz?src=docker-app
The intent is that we can then identify sources of downloads, identify those that typically lead to an unsuccessful server activation, and improve the experience for the developer/administrator.
This PR adds the "?src=docker-app" querysting tag to download source for the Docker app, so we know when someone downloaded it from this source
See https://github.com/mattermost/docs/pull/3596 for a similar change made to download sources on the version archive page.

Summary

Ticket Link

cc @cpanato


state param not set before query string is built

Dynamic state variable coming from a function worked in 0.11.3 because it was called before the queryString is built:
See https://github.com/sahat/satellizer/blob/0.11.3/satellizer.js#L480-L488
In 0.12.2, the Oauth2.buildQueryString() is called before state is put into local storage so it could be null or it could be the previous state value.
See https://github.com/sahat/satellizer/blob/0.12.2/satellizer.js#L437-L444

That was a mistake on my part. I have pushed the fix to master branch, so you can use that file until I bump the version on bower and npm.
            var url;
            var openPopup;
            var stateName = defaults.name + '_state';

            if (angular.isFunction(defaults.state)) {
              storage.set(stateName, defaults.state());
            } else if (angular.isString(defaults.state)) {
              storage.set(stateName, defaults.state);
            }

            url = [defaults.authorizationEndpoint, Oauth2.buildQueryString()].join('?');


update classifiers

can we add support for python with version 3.9 and 3.10 in setup.py?

We've added support for both 3.9 and 3.10 in this PR #192. I'll close this issue but if there are any issues with 3.9 and 3.10 do reopen.


World based permissions

Only allow certain groups / players to have permissions in certain worlds

Requires the completion of #70


Why after script execution AE project not changed?

For example:
Simple script that create 2 folders
const filesFolder    = app.project.items.addFolder("files")
const compositionsFolder = app.project.items.addFolder("compositions")
When rendering complete new ae project moving to the .nexrender folder.
When I open this copied project, all modification made from script not applied
The folders I specified were not created. Or for example i wrote to create two layer inside composition
I know the script execution not failed and everything okey.
But how can I make sure that all changes made by the script are saved in the project?
Config
const config = {
    "template": {
        "src": "file:////Users/user/Documents/Projects/WEB/aftereffectstemplatesbuilder/project.aep",
        "composition": "main"
    },
    "assets": [
        {
            "src": "file:////Users/user/Documents/Projects/WEB/aftereffectstemplatesbuilder/build.jsx",
            "type": "script",
            "parameters": [
                {
                    "key":"templates",
                    "value": [

                    ]
                }
            ]
        }
    ],
    "actions": {}
};

const main = async () => {
    const result = await render(config, {
        workpath: '/Users/user/Documents/Projects/WEB/aftereffectstemplatesbuilder/.nexrender/',
        binary: '/Applications/Adobe After Effects 2024/aerender',
        skipCleanup: true,
        addLicense: false,
        debug: true,
    })
}

For anyone with a similar problem, a call to app.project.save() is required to save the project.


Make permission dialogs cancellable and scrollable

Task/Issue URL: https://app.asana.com/0/488551667048375/1205994293961010/f
Description
Users on small screens can't see all permission options. Apply 2 fixes:

Make dialogs scrollable
Allow dialogs to be cancelled (in this case the permission will be denied once)

Steps to test this PR
Note on testing:

Make sure to fresh install from this branch to ensure permissions (including system ones) are reset
Test on a device/emulator with a small screen (e.g., Pixel 1)

DRM

[ ] Go to https://permission.site/
[ ] Click on "Encrypted Media (EME)" --> DRM consent prompt should appear
[ ] Verify that you can scroll through the dialog and see all 4 options
[ ] Click the system back navigational button
[ ] Verify dialog has been dismissed
[ ] Verify that "Encrypted Media (EME)" is highlighted as red
[ ]  Click on "Encrypted Media (EME)" again --> DRM consent prompt should appear again
[ ] Select "Only for this Session" --> dialog should dismiss
[ ] "Encrypted Media (EME)" should now be green

Location

[ ] Go to https://permission.site/ and click on Location
[ ] Verify that you can scroll through the dialog and see all 3 options
[ ] Click the system back navigational button
[ ] Verify dialog has been dismissed and the Location is highlighted as red
[ ] Click on Location again --> dialog should appear again
[ ] Select "Enable"
[ ] Select "while using the app" when the system dialog appears
[ ] Verify that the 3rd (and final) location dialog appears: you should be able to scroll through and see all 4 options
[ ] Click the system back navigational button
[ ] Verify dialog has been dismissed and the Location is highlighted as red
[ ] Click on Location again --> dialog should appear again
[ ] Click "Only for this session" --> dialog should dismiss
[ ] Location should now be green

UI changes
Small UI change that's barely visible: adding scroll and cancel options to dialogs

Closing this as it was done in https://github.com/duckduckgo/Android/pull/3907 instead.


Clarify difference between OAS "examples" and JSON Schema "examples"

OAS examples is a map.  JSON Schema examples is an array.

Any tips on where to put this?

I just ran across this issue and I'm a bit confused.  Clarification would be greatly appreciated.
You are probably already aware, but the "In a model" example from the Example Object Examples sub-section of Example Object (in 3.0.2, 3.0.3, and 3.1.0) appears to show an OAS Map[ string, Example Object ] on a Schema Object.
For 3.0.2/3.0.3 this is confusing, since Write Draft 00 doesn't have examples and I don't see the property mentioned as an OAS addition in Schema Object.
For 3.1.0, if examples on Schema Object should be examples from JSON Schema Draft 2019-09, the example would appear to be invalid and should probably be removed from the OAS Example Object section.

That seems wrong to me.  There was never supposed to be examples in the schema object.  We explicitly chose that so as not to conflict with the examples that was coming in JSON Schema.
Thank you for seeing this.  We will review and remove these incorrect examples.

The bad example has been removed.  Describing the distinction between examples in a schema and examples in a media type object should be done in the getting started guide, not in the specification.


Obsidian Import

Please select the area your Bug applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[ ] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[X] Misc (Choose this if your not sure)

Describe the bug
After importing from an obsidian vault, the content of the imported all markdown files become [object Promise].
To Reproduce
Run Dendron: import pod
Configure the path
Run Dendron: import pod again
Expected behavior
The original markdown content should be imported, instead of a promise.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

OS: mac
Version: v41

Yeah, I'm running into a never-ending import on Windows. Will try this again on mac to see if I can repro this particular problem.

Hello all

Thanks Kevin

@mixszh - v43 is the current milestone (will ship next week). We plan on investigating/getting to the bottom of this issue.

this is now fixed in v43.1


luci-app-upnp: add stun support

STUN support has been added to upnp init but luci lacks support of it.
Fixes: #4544
Signed-off-by: Ansuel Smith<EMAIL_ADDRESS>

Merged, thanks @Ansuel !


Adding View mixin

As discussed in
https://github.com/idobata/ember-mousetrap/issues/5

Looks good. Would you correct indent?


morphological transformation for RGB sprites?

Hi -- First, thanks for putting up the code and material here. It's very interesting work and this code repo has been great of help to understand your model.
While I'm experimenting with your codes, I noticed that the current implementation of morphological transformation does not work with color sprites. It gives a size mismatch in the first dimension of sprites and alpha/kernel tensors which have B instead of B*C that sprites have. Just wonder if there's any workaround this.
Also, can you provide little more details on how the dataset is generated? especially the mask labels? I'm trying to run the model on overlapping mnist dataset (as shown in your pipeline figure, but it give me a warning like below:
WARN InstanceSegScores._fast_hist error: labels in GT are greater than nb instances
Any input will be appreciated! Thank you very much.

Hi @ahnchive, thanks for the interest in the project!

indeed, the morphological module comes from the prior clustering work (https://github.com/monniert/dti-clustering) and was defined for grayscale images only; I think extending it to RGB images could be interesting but is not trivial as I am not sure about the desired output

Sure, basically in your case, inside a datasets/multi_mnist folder, you should create for each data point:

the input image into a images folder
the semantic mask (from 0 to 9 per-pixel labels) into a sem_masks folder
the instance mask (from 0 for bkg to N_max per-pixel labels, N_max being the max number of objects per image) into a masks folder

Then you can reuse the abstract dataloader from src/datasets/multi_objects.py to create a new one pointing towards multi_mnist. You should download one of the multi-object datasets like the tetrominoes for a good example

Thank you for your quick reply and clarifications, @monniert!
I was able to create the dataset as you explained and the model works like a charm under overlapping digits! Freezing sprites for one epoch + add pooling layer to the encoder + have similarity_tps as sprite transformation seem to be the best setup for this task (it helps recovering all 10 digit sprites correctly), but please advise me if there's any better configs available for digit experiments you know from your experience.
I will close this issue as it was resolved.


action: Use github.action_path when accessing cilium.sh

Use ${{ github.action_path }} ^1 when accessing cilium.sh. Otherwise this action cannot find the file when it's used in a different repo.

✅ tested in cilium-cli and cilium repos:
cilium-cli: https://github.com/cilium/cilium-cli/actions/runs/9768168453/job/26965067876
cilium: https://github.com/cilium/cilium/actions/runs/9768220641/job/26965238412


Added optional arguments to specify crafting cpu to use.

I have added an optional arguments to craftItem and isItemCrafting, to specify crafting cpu to use.

Looking good, but you would need to satisfy the checkstyle

I changed the style, but the check fails on RedstoneIntegrator style, but i didn't touch it.

I changed the style, but the check fails on RedstoneIntegrator style, but i didn't touch it.

I see, my fault

Thank you for the contribution!


histogram causes crash

The following currently breaks on https://shell.duckdb.org/. It works fine on my CLI.
DuckDB Web Shell
Database: v0.3.1-dev535
Package<EMAIL_ADDRESS>
Connected to a transient in-memory database.
Enter .help for usage hints.

duckdb> create table t1 (i integer);
┌┐
└┘

duckdb> insert into t1 values (1),(2),(1);
┌───────┐
│ Count │
╞═══════╡
│     3 │
└───────┘

duckdb> select * from t1;
┌───┐
│ i │
╞═══╡
│ 1 │
│ 2 │
│ 1 │
└───┘

duckdb> select histogram(i) from t1;

error in browser console:
f272ce859168ca188950.wasm:0x1b25e3 Uncaught (in promise) RuntimeError: unreachable
    at f272ce859168ca188950.wasm:0x1b25e3
    at f272ce859168ca188950.wasm:0x1b8514
    at f272ce859168ca188950.wasm:0x1bc638
    at f272ce859168ca188950.wasm:0x1bc0b6
    at f272ce859168ca188950.wasm:0x1bc66e
    at f272ce859168ca188950.wasm:0xda902
    at f272ce859168ca188950.wasm:0x1411a2
    at f272ce859168ca188950.wasm:0x1402ea
    at f272ce859168ca188950.wasm:0xcc214
    at f272ce859168ca188950.wasm:0x1bd805

expected result
D .version
SQLite v0.3.1 88aa81c6b
msvc-1929

D select histogram(i) from t1;
┌──────────────┐
│ histogram(i) │
├──────────────┤
│ {1=2, 2=1}   │
└──────────────┘

Thanks for reporting this. That's a bug in the shell.
DuckDB-Wasm itself will return an arrow.Map_.
https://github.com/duckdb/duckdb-wasm/blob/ffa9210415e394fa84f0c769a54ef86b169bc2ab/packages/duckdb-wasm/test/regression/github_448.test.ts#L18-L33

@ankoh will the shell display the result? When I try the shell shows an elapsed time count by nothing else


Group creation is broken

I have just found out that group creation is broken due to how the switches are being processed (they're being taken as an array rather than a boolean value).
Acceptance Criteria:

[ ] In the group's creation dialog, turn on all the switches there, then create the group: creation should work
[ ] Group edition also works

See https://github.com/kinvolk/nebraska/issues/297


Can't make cUSD transfers from ledger on celocli

Package
@celo/celocli
Have you ensured that all of these are up to date?

[X] the package you are using

What version of the package are you on?
/versions/node/v22.3.0/lib └──<EMAIL_ADDRESS>What command or function is the bug in?
celocli transfer:dollars
Operating System
Linux
Describe the bug
This may actually be a contractkit issue not a cli issue but it doesn't seem to be possible to transfer cUSD out of a Ledger address on the cli (or celoterminal). I've validated that CELO transfers work fine.
$ celocli transfer:dollars --from 0x... --to 0x... --value ... --useLedger --ledgerAddresses=7
(node:31653) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Retrieving derivation Paths [
  0, 1, 2, 3,
  4, 5, 6
]
Running Checks:
   ✔  Account has at least ... cUSD
   ✔  Compliant Address
   ✔  Compliant Address
   ✔  Account can afford transfer in cUSD and gas paid in CELO
All checks passed
Upgrade your celo ledger app to at least 1.2.0 before cel2 transition
automatically converting to legacy transaction
Sending Transaction: transfer... failed: ledger-signer@signTransaction: Incorrect Data. Verify that the feeCurrency is a valid one

Received an error during command execution, if you believe this is a bug you can create an issue here:

https://github.com/celo-org/developer-tooling/issues/new?assignees=&labels=bug+report&projects=&template=BUG-FORM.yml

 Error: ledger-signer@signTransaction: Incorrect Data. Verify that the feeCurrency is a valid one
    at LedgerSigner.<anonymous> (/nvm/versions/node/v22.3.0/lib/node_modules/@celo/celocli/node_modules/@celo/wallet-ledger/lib/ledger-signer.js:90:31)
    at Generator.throw (<anonymous>)
    at rejected (.nvm/versions/node/v22.3.0/lib/node_modules/@celo/celocli/node_modules/@celo/wallet-ledger/lib/ledger-signer.js:29:65)
    Error: ledger-signer@signTransaction: Incorrect Data. Verify that the feeCurrency is a valid one

we release<EMAIL_ADDRESS>for this. tests on celo ledger spender 1.1.10 and 1.3

Hey James,
Could we work on a project together ?
Thanks


添加注释

 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.Lycode344806 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


managing multiple snakemake runs in parallel

I successfully ran an initial job to completion on argo. Now, I'm looking to train and evaluate a fairly large number of language models, including training on different databases and different ways of preprocessing those databases. What's the best way to manage and launch multiple runs of the snakemake pipeline in parallel?
For instance, say I wanted to run the following three jobs:
snakemake --configfile /Genomics/skinniderlab/food-clm/clm/database=FooDB-representation=rdkit-metric=tc-optimizer=max_coverage-rarefaction=0.1-enum_factor=10/config.yaml --slurm --jobs 10 --default-resources slurm_partition=main,hoppertest,skinniderlab --latency-wait=30
snakemake --configfile /Genomics/skinniderlab/food-clm/clm/database=FooDB-representation=rdkit-metric=tc-optimizer=max_coverage-rarefaction=0.3-enum_factor=10/config.yaml --slurm --jobs 10 --default-resources slurm_partition=main,hoppertest,skinniderlab --latency-wait=30
snakemake --configfile /Genomics/skinniderlab/food-clm/clm/database=FooDB-representation=rdkit-metric=tc-optimizer=feature_based-rarefaction=0.5-enum_factor=10/config.yaml --slurm --jobs 10 --default-resources slurm_partition=main,hoppertest,skinniderlab --latency-wait=30

Do you recommend just stringing the individual snakemake commands together with &? Or is there a better way to do this?

Yes - this seems to work fine. I created a simple workflow to experiment with this and it looks like as long as none of the output files of the two workflows overlap, this is a safe thing to do.
If they do overlap though, then there's a problem, since snakemake will map each output filepath to an integer, and create lock files like
.snakemake/locks/0.input.lock
.snakemake/locks/0.output.lock

and fail on the second invocation since it will refuse to create duplicate lock files with the same integer, with a (misleading IMO) message like:
LockException:
Error: Directory cannot be locked. Please make sure that no other Snakemake process is trying to create the same files in the following directory:
...

So it looks like we don't necessarily need to run snakemake from different working folders if the output files are all unique (as I initially suggested), and what you're doing is correct. In addition to the experiments, this is also corroborated by the discussion here.

Great! That lines up with what I'm seeing so far. I'm still running two jobs in parallel (with &) and once these are done, I'm planning to scale up to 5-10. I will open a new issue if any issues arise.


[CRITICAL] banned exec

banned exec
banned exec in config.py because it was the cause of a major security flaw
this changes must be implemented otherwise the whole server will be easly attacked

Hi @gabrielesilinic, please sync your fork with my repo. Otherwise, there may be merge conflicts when you will contribute code in the future.
This article may help https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/syncing-a-fork

@all-contributors please add @gabrielesilinic  for security


Em log and data softening

what is the meaning of flowflag?

That part is to compute the lower bound of pruning edges and I forgot to remove it. Will remove and re-commit.


Update config.json.example with new DO slugs

Adds in the new DigitalOcean slugs announced in January and removes the legacy ones as they're more expensive for the resources you get.

Coverage decreased (-0.02%) to 55.321% when pulling 0cefd75e8a3f73afaeb4a765c766c839bf4e1e41 on joelgriffith:patch-1 into 7126270c2e63ea6ebfd0cde90bd098b65fa96386 on supergiant:master.

Thanks!


Module not found error on v4.5.0

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
I was following the tutorial to integrate nextjs with openai and noticed that the latest release (v4.5.0) is throwing a module not found error.
./node_modules/.pnpm/openai@4.5.0/node_modules/openai/core.mjs:32:0
Module not found: Can't resolve 'openai/_shims/agent.mjs'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
<EMAIL_ADDRESS>./pages/api/completion.ts
./node_modules/.pnpm/next@13.4.3_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-edge-function-loader.js?absolutePagePath=%2Fhome%2Fgxara%2FPessoal%2FProjetos%2Fknowledge-tree%2Fpages%2Fapi%2Fcompletion.ts&page=%2Fapi%2Fcompletion&rootDir=%2Fhome%2Fgxara%2FPessoal%2FProjetos%2Fknowledge-tree&preferredRegion=!

Maybe this is something related to this change:

Important: I did a downgrade to version v4.4.0 and everything worked as expected.
To Reproduce

Install release v4.5.0
import OpenAI from "openai";

Code snippets
No response
OS
Debian
Node version
Node v18.17.1
Library version
openai v4.5.0

I can repro the same, but without using the Vercel AI SDK in this particular project I'm working on.
I can repro exactly the same in a Vercel function.

Having the same issue too! I'm beyond confused how this happened.

@jlia0 you could downgrade to v4.4.0 and it should work as expected.

BTW Folks - I guess Vercel does not support using the openai-node lib directly because an incompatibility with the Axios lib. Please correct me if am wrong

@lautapercuspain This is a problem in Node.js environments (so the Vercel Serverless offering running on Node).
I haven't noticed any issues with it running on our Edge Functions.

Sorry about this! We're working on a fix.

I could use some help reproducing this – when I follow the linked tutorial and run pnpm run dev or pnpm run build && pnpm run start, it works without complaint.
Does the error only occur when deploying to Vercel?

@gxara I'm curious what your webpack config is, I think webpack must be resolving modules in a weird way... could you put something like this in your next.config.js and paste what it prints out here?
** @type {import('next').NextConfig} */
const nextConfig = {
  webpack(config, opts) {
    console.log(config, opts);
    return config;
  },
  // ...
};

module.exports = nextConfig;

And can you share your package.json?

I've made a similar repro project as above https://github.com/aomi/repro-296 with the same findings.
Works fine locally (npm run dev and also with it built using npm build ran with npm start).  Node v20.5.1 locally.
The endpoint that uses the page dir ends up erroring out.
Stock configuration with the next.config.js with the only package added being openai.

I met this problem after migrating from v3 to v4 following the instruction  . I also tried v4.0.0, v4.4.0, and v4.5.0, but all of them raised the error. Then I check the source code and found that the import statment is from openai folder: import { fetch, isPolyfilled as fetchIsPolyfilled } from 'openai/_shims/fetch.mjs'; in the core.mjs for example, but core.mjs and _shims folder are already in the openai folder. So I wonder if I missed any dependencies which can address this relative path or work directory issue.

Thank you @aomi ! The encoding printout is just a warning that is safe to ignore.

@zwben I suspect you're encountering a slightly different issue; can you paste the traceback? It'd be very helpful if you could share a repo with full repro as well if you can.

@zwben I suspect you're encountering a slightly different issue; can you paste the traceback? It'd be very helpful if you could share a repo with full repro as well if you can.

Here is the repo. https://github.com/zwben/ouhcir-frontend/tree/fa06087bf4528348426f3f860e3ccce940429fa0
I changed openai version from 3.3.0 to 4.0.0 in the package.json, rerun npm install, and used grit to migrate the update. Then npm start raised errors:
Module not found: Error: Can't resolve 'openai/_shims/agent.mjs' in 'H:\Dataspeedup\ouhcir-frontend-copy\node_modules\openai'
ERROR in ./node_modules/openai/core.mjs 16:0-58
Module not found: Error: Can't resolve 'openai/_shims/agent.mjs' in 'H:\Dataspeedup\ouhcir-frontend-copy\node_modules\openai'

ERROR in ./node_modules/openai/core.mjs 17:0-83
Module not found: Error: Can't resolve 'openai/_shims/fetch.mjs' in 'H:\Dataspeedup\ouhcir-frontend-copy\node_modules\openai'

more similar errors...

Okay we have a fix for OP coming in the next release!
@zwben I think you are having a separate issue though, I will investigate

@zwben okay the next release will fix the errors on your project as well.
Note: you're actually on version 4.5.0; in your package.json you have "openai": "^4.0.0", the ^ means use any 4.x.x version >= 4.0.0, and indeed it resolved to 4.5.0 in your package-lock.json, so you are actually on 4.5.0 and seeing the same issue as others here.

Released in 4.6.0

Awesome, thanks @rattrayalex !

Thanks, the new release addressed my problem @rattrayalex

Hi there, I'm still having this issue on the latest version (4.6.0) ; however, this happens when I try to run tests in Jest, rather than when deploying an app.
It builds and runs fine locally as an app, I can get responses etc no problem, but it has broken my test suite so I can't deploy it into production just yet.
It's a NestJS (not nextjs) API this is happening in. Below is the error we get:
ReferenceError: fetch is not defined
  1 | import {Injectable} from "@nestjs/common";
  2 | import {ChatCompletionMessageParam} from "openai/resources/chat";
> 3 | import OpenAI from 'openai';

at Object. (../../../../node_modules/openai/_shims/fetch.js:8:17)
at Object. (../../../../node_modules/openai/core.js:64:17)
at Object. (../../../../node_modules/openai/src/index.ts:116:7)
Thanks!


make the workerd compatibility retrieval more stable (by always performing it with npm)

It seems like the workerd compatibility retrieval can have some issues with different package managers (or at least with yarn):

https://github.com/cloudflare/workers-sdk/actions/runs/7211842007/job/19748508606?pr=4602#step:4:65
https://github.com/cloudflare/workers-sdk/actions/runs/7250601828/job/19751164094?pr=4604#step:4:65
https://github.com/cloudflare/workers-sdk/actions/runs/7246672804/job/19747293009?pr=4617#step:4:65
https://github.com/cloudflare/workers-sdk/actions/runs/7246765792/job/19742158656?pr=4618#step:4:65
https://github.com/cloudflare/workers-sdk/actions/runs/7260941093/job/19781139701?pr=4629#step:4:65

The changes here make this more stable by always using npm, since it just fetches the data from the npm registry I think that it doesn't really make a difference what package manager is being used to we might as well just npm since we know that it does work reliably

Arguably, you could make it more stable by fetching from the NPM registry directly, instead of assuming the user has NPM installed (looking at bun users here)

Arguably, you could make it more stable by fetching from the NPM registry directly (https://registry.npmjs.org/workerd -> dist-tags -> latest), instead of assuming the user has NPM installed (looking at bun users here)

Good call for bun users... 🤔
Also, does this need to work offline?

Also, does this need to work offline?

I don't think C3 needs to work offline, does it? 🤔
In any case if the date fetch fails then it falls back to 2023-05-18, so I guess that's fine 🙂
https://github.com/cloudflare/workers-sdk/blob/421cd584a678a97de2f24e1c1b28a766f984148e/packages/create-cloudflare/src/helpers/command.ts#L400

Arguably, you could make it more stable by fetching from the NPM registry directly (https://registry.npmjs.org/workerd -> dist-tags -> latest), instead of assuming the user has NPM installed (looking at bun users here)

ok thanks good point I will update it to be a raw fetch 🙂:+1:
(can bun users really not have npm installed? 😱 🥲)

Still LGTM


Hard dependency on Angular demo module in compiled dell-ui-components.js

There's a hard dependency on a demo module in the compiled dell-ui-components.js (dist/dell-ui-components/dell-ui-components.js) that is causing issues with Angular injection. When lines 4592-4612 are removed from this file [adding a filter to the demo module on _.str], everything works fine and compile.
With these lines included, dell-ui-components can't be included without also including demo.js, which creates a circular dependency tree (demo.js requires dellUiComponents, but dellUiComponents required demo, etc).

The culprit is line 70 of the index file that is used in the build process

it is supposed to be assigned to "demoJs"
I'll fix asap

new tag was pushed out, you can update your package and is should be fine now.  Nice catch, thanks


auto starts the web editor directly

This auto starts the web editor directly, if people want to go back to the main screen of any reason they can lose the "Project Loader" and return to the start page.
Idea came from bitbrain

goes directly here

Hold on, will need to do some fixes

Ok, i close this for a few days, after i've gotten the time to check it again


Strategy fails if custom_title in configuration contains numbers

In https://github.com/q9f/omniauth-ethereum.rb/blob/db34570f4ec7b6ab8ca1358b762c3a1435eb6f04/lib/new_session.js#L27 the message to be signed is specified as concatenated customTitle and requestTime.
Though, in https://github.com/q9f/omniauth-ethereum.rb/blob/db34570f4ec7b6ab8ca1358b762c3a1435eb6f04/lib/omniauth-ethereum.rb#L46 unix_time is extracted using message.scan(/\d+/).first.to_i.
Therefore, if one's customTitle contains any numbers (like in, say, "SuperFrobinator 2024") the authentication fails.
It seems that simply replacing first with last when parsing message would be enough to fix this bug.

It's not very elegant admittedly but happy to hotfix it to last as I don't see any obvious side effects currently.


New Trace log level in logrus

Hello, I'm just opening this issue to let you know, the next release of logrus (v1.2.0) will add a new trace level named Trace below Debug.
Here is the PR for reference sirupsen/logrus#844
You may want to take into account this new level.

@dgsb  Thanks!
logrus.TraceLevel is added on #72


Break Up YAML File into Sub-Files Organized by Resource

As another sub-issue to #46  - We need to break up our one, large YAML file into sub-files organized into a tree by {topic}/{level}/resourcename.js.

WOOT!  Time to close

....erm, was silly and didn't read the comments from @stain88 .  Re-opening as a place for additions and expansions.


Specify parameter cache key

Hi there,
I wonder why, there is no way that I make method that, has two or more parameter.
I think that it can be easily done by making field annotation.
So can u develop it?
If not, I want to know that reason.

Hi @galid1
@CollectionCacheable supports the key parameter as the @Cacheable annotation does, as this library simply delegates obtaining the cache key to the Spring framework, see here
I'm closing this issue, as I don't fully see what else you'd need to be delevoped. Please come up with a "minimally working example" (or broken example) demonstrating your use case (feel free to comment this issue still, I'll re-open if necessary). Then I can see how I can help you.

    @CollectionCacheable(cacheNames = [CACHE_KEY_GET_BUSINESS_USER_BY_ID], putNull = false, key = "#ids")
    fun listByIds(ids: List<Long>, option: BusinessUserFilterOption?): List<CacheWrapper<BusinessUserDto>> {
        return businessUserRepository.findAllById(ids)
            .filterByOption(option)
            .map {
                CacheWrapper(
                    cacheKey = it.id!!,
                    cacheTarget = BusinessUserDto.fromEntity(it)
                )
            }
    }

Here is the case.
Then, it throws an error with following msg "Did not find exactly one Collection-like argument".
I already know, it can be done done by using repository cache.
But, I think it is not good.
Because it make entity have to know third party lib.


Fixes node_save() error

What's this PR do?
Fixes the node save error regional admins experience in #5048 and consequently also fixes #5061
How should this be manually tested?
Edit a campaign as a regional admin and save it. Verify

This error does not popup,  Warning: array_key_exists(): The first argument should be either a string or an integer in drupal_array_get_nested_value() (line 6774 of /var/www/dev.dosomething.org/html/includes/common.inc).

The content is actually saved

Any background context you want to provide?
The code used to hide non translatable fields was also targeting #parent and this caused the error. It was discovered earlier, and further tested after making this change that the failures occurring here were the reason translations didn't save in #5061
What are the relevant tickets?
Fixes #5048
Fixes #5061

:+1:


Add custom authentication function feature

This commit adds a new AuthFunc field to the AuthOptions struct.  The User and
Password fields are left in-place for backwards compatibility.  This construct
shouldn't break any user code unless they are using unlabeled struct literals,
in which case it should break on principle since you shouldn't do that on
structs outside of your control.
I know there's an existing PR similar to this, but it was never merged and hasn't been updated in months.

Fantastic—thanks for contributing this @moorereason (#8 fell by the wayside relative to other priorities).
Merging now.

Sweet!  That was quick.


update oe-selftests to use wait-until-provisioned feature

Update oe-selftests to use wait-until-provisioned feature

Closed for now for #553


Normal Buffer not working as expected if the current scene has no environment

Godot version
4.0.2 stable
System information
issue tested on win10 with ryzen 7 and rx 6600, win11 with ryzen 7 and gtx 3050
Issue description
When creating a screen reading post processing shader, the normal buffer functions correctly in the editor, but does not seem to be functioning as expected in debug, producing only a solid colour when run. I am unsure if this behaviour is intended, but if so, I feel it should be properly documented.
Running correctly in editor:

Solid colour in debug:

Steps to reproduce
this shader should be attached to a MeshInstance3D quadmesh
minimal shader to reproduce:
shader_type spatial;
render_mode unshaded, cull_disabled;

uniform sampler2D NORMAL_TEXTURE : hint_normal_roughness_texture, filter_linear_mipmap;

void vertex(){
	VERTEX *= 2.0;
	POSITION = vec4(VERTEX, 1.0);
}

void fragment(){
	ALBEDO = texture(NORMAL_TEXTURE, SCREEN_UV).rgb;
}

Minimal reproduction project
N/A

What happens if you remove mipmaps from the filter?

Same issue exists on Version 4.0., using Forward+ Renderer

What happens if you remove mipmaps from the filter?

My tests were run using filter_nearest initially, same issue.

So I just discovered something strange!
If I disable the preview Environment in the editor, then resize the Preview Viewport vertically - I get the same solid color screen as I get when running the scene:

adding a basic WorldEnvironment Node to the scene fixes this again:

including when running the project!

Can confirm, adding the world environment fixed the problem on my end as well!

Closing issue as a solution has been found

This is still a bug and needs to be investigated, I don't think the normal texture not working is a normal thing to expect without an environment, this should probably be reopened

May I ask how to make the normals from this texture be in world space? Because my colors change when I move the camera.

I found this issue very frustrating to debug, if it's a limitation of the renderer that the screen space normals aren't available without a world environment it would be good if it was mentioned in the shader docs.


Basic click does not work in IE

am running a basic funcunit test as below for the test.html.. which has only

Test

module('test', {
  setup: function() {
    F.open('test.html');
  }
});

//test to verify that head, body are not empty

test("Page render Test : Head, Body and Header message", function(){
 ok( F("body").size(), "There are elements in the Head"); //head is not empty
 F('body').click();
});

This gives the below error
1.There are elements in the Head
2.Unspecified error.Source: /j/test/resources/jquery.js:6110
3.Could not click 'body'Source: at assertOK (/j/test/resources/funcunit.js:2720:4)
at Anonymous function (/j/test/resources/funcunit.js:4243:8)

@alexisabril  We're using 1.11, now.  Can this be closed?


update readme

Codecov Report

Merging #494 (3c35640) into master (8443fc0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #494   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          731       731
=========================================
  Hits           731       731

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 8443fc0...da1fcdc. Read the comment docs.


Adding timestamp information to eopatch via ImportFromTiffTask function <= eo-learn version 0.10.2 [HELP]

Hello everyone,
TL;DR: I want to add timestamp info to eopatch with ImportFromTiffTask in eo-learn v. 0.10.2, from a TIFF file I downloaded as .SAFE zip. How do I do that?
I have been trying to run SentinelHub examples for eo-learn and eo-flow. I am utilizing ImportFromTiffTask from local.io and aside from a few missing things, I am able to run, for instance, land-cover-map with a single date and eopatch tiff. However, when I try to do the same with multi temporal files I would like to add timestamp as well. No matter what I do, however, it does not add itself. The metadata of entry TIFF file has extensive time data as it was loaded directly from .SAFE.zip file via gdal library.
I tried creating an "AddFeatureTask" as data: or timestamp: with FeatureType:TIMESTAMP, entries to no avail. From the log file I am getting this:
data: {
BANDS: numpy.ndarray(shape=(2, 500, 500, 10), dtype=float64)
NDBI: numpy.ndarray(shape=(2, 500, 500, 1), dtype=float64)
NDVI: numpy.ndarray(shape=(2, 500, 500, 1), dtype=float64)
NDWI: numpy.ndarray(shape=(2, 500, 500, 1), dtype=float64)
}
mask: {
CLM: numpy.ndarray(shape=(2, 500, 500, 1), dtype=uint8)
IS_DATA: numpy.ndarray(shape=(2, 500, 500, 1), dtype=uint8)
IS_VALID: numpy.ndarray(shape=(2, 500, 500, 1), dtype=bool)
}
scalar: {}
label: {}
vector: {}
data_timeless: {}
mask_timeless: {
LULC: numpy.ndarray(shape=(500, 500, 1), dtype=uint8)
}
scalar_timeless: {}
label_timeless: {}
vector_timeless: {
LULC_REFERENCE: geopandas.GeoDataFrame(columns=['RABA_PID', 'RABA_ID', 'VIR', 'AREA', 'STATUS', 'D_OD', 'lulcid', 'lulcname', 'geometry'], length=2812, crs=EPSG:32633)
}
meta_info: {}
bbox: BBox(((503880.0, 5129220.0), (508880.0, 5134220.0)), crs=CRS('32633'))
timestamp: []
)], **{'data': [datetime.datetime(2021, 6, 21, 9, 50, 9), datetime.datetime(2021, 7, 24, 10, 0, 29)]})
2022-04-07 12:30:00,893 root         DEBUG    EOWorkflow execution failed
As seen, instead of timestamp, it additionally put a 'data' type there for my manual datetime.datetime entries and it fails.
hopelessly, I edited the ImportFromTiffTask as
add_data = ImportFromTiffTask(
(FeatureType.DATA, 'BANDS'),
(FeatureType.TIMESTAMP, 'timestamp'),
timestamp_size=2,
image_dtype=float,
no_data_value= -99999
)
but feels weird as it only has one dtype etc, and even if the code ran successfully with this, timestamp list was empty in eopatch features.
EOPatch(
data: {
BANDS: numpy.ndarray(shape=(2, 500, 500, 10), dtype=float64)
NDBI: numpy.ndarray(shape=(2, 500, 500, 1), dtype=float64)
NDVI: numpy.ndarray(shape=(2, 500, 500, 1), dtype=float64)
NDWI: numpy.ndarray(shape=(2, 500, 500, 1), dtype=float64)
}
mask: {
CLM: numpy.ndarray(shape=(2, 500, 500, 1), dtype=uint8)
IS_DATA: numpy.ndarray(shape=(2, 500, 500, 1), dtype=uint8)
IS_VALID: numpy.ndarray(shape=(2, 500, 500, 1), dtype=bool)
}
scalar: {}
label: {}
vector: {}
data_timeless: {}
mask_timeless: {
LULC: numpy.ndarray(shape=(500, 500, 1), dtype=uint8)
}
scalar_timeless: {}
label_timeless: {}
vector_timeless: {
LULC_REFERENCE: geopandas.GeoDataFrame(columns=['RABA_PID', 'RABA_ID', 'VIR', 'AREA', 'STATUS', 'D_OD', 'lulcid', 'lulcname', 'geometry'], length=2812, crs=EPSG:32633)
}
meta_info: {}
bbox: BBox(((503880.0, 5129220.0), (508880.0, 5134220.0)), crs=CRS('32633'))
timestamp: []
)
From what I get, SentinelHubInputTask uses timestamp for downloading from Sentinel Hub with charges, yet for learning purposes it is very prohibitive to be charged for each download. And especially eo-flow "examples" assumes we have all things like eopatches downloaded etc. , so even running the examples here rather than my own trials, I need to be able to create an identical eopatch to usual money charged version from Tiff I downloaded in other ways.
In case required, I am ready to share additional information or code, as said, on Google Colab and on Windows 10 with Python 3.7 and just direct pip installing the eo-learn was sufficient to run the land-cover-map algorithm with single tiff.

Hi @torna4o
the timestamp feature is just a list of datetime objects.
So something like that should work:
eopatch.timestamp = [ datetime.datetime(2022,3,18,12,0,0), datetime.datetime(2022,4,18,12,0,0)]

and would add two timestamps to the eopatch.

Hello @batic
This very simple way worked for me, too. I feel a bit ashamed but life is like that time to time.
After checking its output, I also managed to directly obtain Sentinel-2's .SAFE file metadata and pipe it to here as:
eopatch.timestamp = [obj.GetMetadata()['GENERATION_TIME']]
where obj is osgeo.gdal.Dataset retrieved after
obj = gdal.Open(".SAFE zip file downloaded from copernicus sci-hub")
Thank you very much.


Improvement for k8s.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/

put some examples in there.  This page is useless to someone new to kubernetes.  I spend at least 50% of my time looking for examples.

/language en
/sig docs
page: https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/

/assign

Looks like the mentioned token-request-v1 documentation page is auto-generated from the upstream k/k source code:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/api/authentication/v1/types.go
For anyone looking to assist in this issue, please refer https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/


IMP POC for CCF

What: Create an initial PoC for an IMP which implements/models using the CCF coefficients database.
Why: So we can validate the specification and learn from implementation.
SoW:

Create a concrete class that implements our IMI interface to the CCF data (note since CCF is just some files, this would mean the IMP is more a mix of an IMP and and IMM, i.e. it does some modelling inside)
It should NOT hardcode the CCF coefficients.
It should have some unit tests that call the class with sample data and prints out the response (note in future we will validate code like that by using the impconsole)

https://www.npmjs.com/package/@cloud-carbon-footprint/core implements the calculation algorithms.
Following three packages include the coefficients to be used and initialized.
https://www.npmjs.com/package/@cloud-carbon-footprint/aws
https://www.npmjs.com/package/@cloud-carbon-footprint/azure
https://www.npmjs.com/package/@cloud-carbon-footprint/gcp
It might require a data-type that features information like which platform / cloud, then the usage metrics.
These packages can not be called directly but they need to be initialized and then called.

Superseded by https://github.com/Green-Software-Foundation/ief/issues/71


Include Support for Ubuntu Core

Do you plan to support Ubuntu Core OS?

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

ID: bf820bbb-9fc6-2037-6d72-c63192763ed6
Version Independent ID: b0c7e11b-3741-15f6-58e7-8529d492af47
Content: Azure IoT Edge Platform Support
Content Source: articles/iot-edge/support.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@eifinger Thanks for the question! We are currently investigating and will update you shortly.

Hello @eifinger can you post this as a feedback @ Azure IoT Edge Product Feedback ? This will allow the community to upvote and for the product team to include into their plans.
Let us know the link to the feedback when you create it.
Thanks!

Hello @eifinger thank you for posting the feature request here:
Support Ubuntu Core
Product Group will follow up with you there.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Compatibility with spring-data-rest

Migration of https://github.com/michaellavelle/spring-data-dynamodb/issues/57

Great project. Vote +1 for this feature.

I managed a way of doing it. It is already deployed in a project I am working currently. I will put it in a pull request.

Hi @fjvieira , have you had a chance to submit the pull request? I'm also facing this problem with version 4.4.1.

Hey, @gvasselai , sorry to be late.
I provided an example project with it.
You can check it on https://github.com/affinitas/DynamoDBExample
Regards.

Thanks @fjvieira  you rock , that solved the issue with resolutions for post requests ,specially via the HAL browser .

The issue is because Spring Data Rest uses PersistentEntityResourceAssembler when rendering the resource. PersistentEntityResourceAssembler should use the DynamoDBMappingContext, however as this hasn't been constructed as a Spring Bean, it isn't picked up.
Simply declaring a DynamoDBMappingContext Spring Bean doesn't work either as it needs to be initialised. @fjvieira example project initialises DynamoDBMappingContext, however it means 2 separate instances of DynamoDBMappingContext are created.
If we expose the ability to inject a DynamoDBMappingContext bean into DynamoDBRepositoryConfigExtension we can avoid the initialisation code in the Application Configuration. Also, it'll mean a single instance of DynamoDBMappingContext will be used.
I've created a PR to allow the DynamoDBMappingContext to be declared as a Spring Bean and initialised correctly.
https://github.com/derjust/spring-data-dynamodb/pull/168
If the PR is accepted, the Application Configuration for a Spring Data Rest service would be as follows:
@Configuration
@EnableDynamoDBRepositories(basePackages = "com.acme.repositories", mappingContextRef = "dynamoDBMappingContext")
public class DynamoDBConfig {

	@Value("${amazon.dynamodb.endpoint}")
	private String amazonDynamoDBEndpoint;

	@Value("${amazon.aws.accesskey}")
	private String amazonAWSAccessKey;

	@Value("${amazon.aws.secretkey}")
	private String amazonAWSSecretKey;

	@Bean
	public AmazonDynamoDB amazonDynamoDB(AWSCredentials amazonAWSCredentials) {
		AmazonDynamoDB amazonDynamoDB = new AmazonDynamoDBClient(amazonAWSCredentials);

		if (StringUtils.isNotEmpty(amazonDynamoDBEndpoint)) {
			amazonDynamoDB.setEndpoint(amazonDynamoDBEndpoint);
		}
		return amazonDynamoDB;
	}

	@Bean
	public AWSCredentials amazonAWSCredentials() {
	    // Or use an AWSCredentialsProvider/AWSCredentialsProviderChain
		return new BasicAWSCredentials(amazonAWSAccessKey, amazonAWSSecretKey);
	}

        @Bean
        public DynamoDBMappingContext dynamoDBMappingContext() {
               return new DynamoDBMappingContext();
        }
}

Thanks to @boothen and his PR #168 this was merged into master and will be part of the upcoming 5.0.3 release.
Documentation to be found here in the wiki.