Send an api call to make sure global api key is valid.

Verify auth when you config api key with wrangler configure.

Hey @scaria thanks for the issue! I'm going to close this as a duplicate of https://github.com/cloudflare/wrangler/issues/439, you can keep track of updates there :)


Help

How to Build Exe file.. also when i tried to click the build botton it doesn't include the .exe file

Once you have set all your options and click the build button it will start compiling/building the exe. You will get a notification in the app window once it is done (top right corner) indicating it has finished building.
In case I misunderstood your problem please provide some additional information, such as the steps you took between the time you opened the app and the time you encountered the issue, or at least a screenshot (or video recording if you'd like), especially the terminal window from where you ran the python script to see if there were any errors.

thanks for the reply my g

thanks for the reply my g

np

@neek8044 nahh buddy you gimme your dc rn we gonna talk and i'mgonna add you ig you so good i  fixing this issue shit

Here is my Discord: Neek#8044. I am inactive on Instagram so it won't be use finding me there, though if you do want to find me, I have the same username

bruh you not be accepting reqs change to everyone or add me Gumbobrot#9087

i'm going to fix all the stuff withing the next 3 days


Update IIncludeOptions.ts

See implementation: https://github.com/sequelize/sequelize/blob/master/lib/model.js#L1643

Thanks for implementing


sqlrpgle missing from package.json

Simple little thing.

Ah my fault I should have waited to release the extension until I finished basic RPGLE highlighting. The new version of this extension (0.4.0) that I published today should fix this issue.
Specifically this commit added the extension recognition
https://github.com/barrettotte/vscode-ibmi-languages/commit/232a4404b243e37c9c1741a1d65a6dbf1f2d48c6#diff-b9cfc7f2cdf78a7f4b91a753d10865a2
In the future I will do active development in a separate branch, so that master reflects what is currently published in case that was confusing.
I'm surprised anyone found this extension, thanks for trying it out! It gives me more motivation to improve it

Yeah man, absolutely! Thank you for making this. I've been making my own little enhancements to the nielsliisberg extension, but yours blows mine out of the water.


Small refactoring for before/after methods

Hey!
It's me again regarding 'before\after\ methods. I did some small improvements there. Probably, it will be useful or just a bit more readable?
Will be great if you will be able to take a look at it?

Thanks! I've cherry-picked.


Pre-train for inception resnet v2

Pls give me link to download pretrain for inception resnet v2

If you have got the link, please post it!

If you have got the link, please post it!


Cannot import lakeFS modules from another package

This line
replace github.com/csimplestring/delta-go => github.com/treeverse/delta-go v0.0.0-20231224145418-d3dda453818f

prevents importing many modules of lakeFS into other projects.  Replacing a module should be done whole-heartedly -- and yes, in Go that means changing every import line.

Workaround
To use lakeFS modules until this is fixed, add the same line to your go.mod:
replace github.com/csimplestring/delta-go => github.com/treeverse/delta-go v0.0.0-20231224145418-d3dda453818f


Syncer to handle empty response case

Overview / Motivation
When fetching from a peer layer hash / layer ids / block / txs / atxs / poet, the result might be empty (0 bytes), but this case isn't being checked and so a consecutive operation is failing, mostly the msg deserialization. In case of layer hash there's no deserialization and so the empty response is being assigned and triggers an attempt to fetch the empty layer hash block ids.
The Task
Handle the empty response case.
Optional: On the responding side, instead of returning an empty response, return a 4-bytes magic value (something like 0xF0F0F0F0), to distinguish it from a faulty 0-bytes response.

@moshababo
we have some code duplication there, checking the nil response without doing it in each handler is preferable


feat: support resource portrait

What type of PR is this?

Enhancements
What this PR does / why we need it:
Support SPD resource portrait plug-in, which reuses SPD CRD. The plug-in's own configuration is declared in CRD and injected into the SPD CRD in the form of RawExtension.
Which issue(s) this PR fixes:
Special notes for your reviewer:

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


Issue related to language

Language of the page (/info/)  is primarily controlled by the browser's prefered language, and then overridden by the ?lang= parameter.  Persistent URI themselves don't have language. Therefore dereferencing a NIR will 303 to an /info/ page that will use the client (a browser when HTML is requested) language.
The language of the page can be overridden with lang= but linked entities in this page are language agnostic URI..
So if someone has a browser set in french, switches the info page in french (overrides with lang=) and then clicks on a "related feature", the new page will switch to french.
Not the expected behavior, but consistent with linked data.
RDF is not impacted by this because RDF provides all the labels in all languages.

we could add automatically the ?lang in the info page, catch it in the /id/ and cascade it in the 303 redirect.

This only makes sense for GSIP.  feels like a hack.  :(

pushed in commit a24f8e50528d613eafacaa495e5af6a4e18853f6 but issue left open because the fix does not look right. Sadly, forgot commit previous cosmetic changes before, so bit more stuff in there.


GPU detected but not usedf despite setting on model for training

Hi  - what a great lib - thanks for making this available for researchers. Not sure if this is a bug per se.
When setting up a model for training as per the documentation  after the executing of:
model.create_trainer()
The following warning is returned:
GPU available: True, used: False
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
/home/ciaran/anaconda3/envs/DeepForest/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py:1580: UserWarning: GPU available but not used. Set the gpus flag in your trainer `Trainer(gpus=1)` or script `--gpus=1`

I can train and predict fine, but the training is CPU borne despite earlier moving it to GPU as per the documentation.
Can you suggest a solution?
Thanks

The model object probably isn't being told that you want to use the GPU. This information can be provided by either

Add a copy of deepforest_config.yml to  the root directory of your project. Then modify that copy to add a 1 to the gpu line: gpus: 1.
Adding the following line to your code after creating the model but before creating the trainer: model.config["gpus"] = 1

Let me know if that doesn't solve the issue.

If that doesn't work can you provide a minimal reproducible example (a small piece of code that when you run it reproduces the issue) since that will make it easier for us to understand what's going wrong.

something like this?
from deepforest import main

m = main.deepforest()
m.config["gpus"] = 1
m.create_trainer()

@ ethanwhite
is m.to("cuda") (i.e. pytorch.to()) relevant to training process?

No, you do not need to pass to device, it is handled inside the pytorch dataloader. I've never tested -1 for all GPUs, but it gets passed to the pytorch lightning Trainer, it looks like you are correct.
https://pytorch-lightning.readthedocs.io/en/stable/common/trainer.html#
trainer = Trainer(gpus=2, auto_select_gpus=False)

# enable auto selection (will find two available gpus on system)
trainer = Trainer(gpus=2, auto_select_gpus=True)

# specifies all GPUs regardless of its availability
Trainer(gpus=-1, auto_select_gpus=False)

# specifies all available GPUs (if only one GPU is not occupied, uses one gpu)
Trainer(gpus=-1, auto_select_gpus=True)```

Please close when ready.

The model object probably isn't being told that you want to use the GPU. This information can be provided by either
1. Add a copy of [`deepforest_config.yml`](https://github.com/weecology/DeepForest/blob/main/deepforest_config.yml) to  the root directory of your project. Then modify that copy to add a 1 to the gpu line: `gpus: 1`.

2. Adding the following line to your code after creating the model but before creating the trainer: `model.config["gpus"] = 1`

Let me know if that doesn't solve the issue.

Hi,
Sorry for the delay - doing this seemed to work.
Cheers!

Glad you got it working @Ciaran1981. Thanks for reporting back!


How is the support for multiple lora?

Is that supported?
If yes, is there any example for that?
If no, any future plans?

Here is the document https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llama#run-llama-with-several-lora-checkpoints.

Here is the document https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llama#run-llama-with-several-lora-checkpoints.

Hi, I see this.
These two LoRA checkponits add LoRA modules to q_proj and v_proj.
Because we only support adding lora modules on q, k and v at the same time
What does this mean?  TRT-LLM doesn't support lora on MLP modules?

As far as I know, there are loras added to the up_proj, down_proj, gate_proj.
Are these fully supported?
And how is the way to support it? Does TRT-LLM use the sgmv kernel  to batch the multiple loras ?

The warning message Because we only support adding lora modules on q, k and v at the same time means that if you want to add q or k or v lora, you need to enable all of them during building engine. It is not related to MLP. Lora for MLP is also supported.

The warning message Because we only support adding lora modules on q, k and v at the same time means that if you want to add q or k or v lora, you need to enable all of them during building engine. It is not related to MLP. Lora for MLP is also supported.

Hello, I see the documentation and I run the example.
It's a basic demo.  I still have 2 questions :

Is it implemented using the sgmv kernel? I mean, batching the requests with multiple lora to run inference efficiently.
Is this feature ready for serving? Schedule requests with lora using continuous batching and paged kv cache and so on. Are these supported for multiple lora inference?
I checked the code but can't find any code with lora in this benchmark file.

Hope for your reply, thank you!

In case I didn't express myself clearly, I want to describe the scene for multiple lora serving:
When we start server, we load the base model into GPU memory and multiple lora weights to CPU RAM, and when we send requests, we assign the prompt and lora_id, and then the server is able to batch multiple requests to run inference.
Is this supported in latest TRT-LLM now?

TRT-LLM batches sevearl request and lora into single gemm kernel.
In c++ runtime, users need to put the lora weight pointers and task id first, and TensorRT-LLM will record them in the cache. Then, users only need to pass task id after that. Further feature including CPU offloading is under development.

TRT-LLM batches sevearl request and lora into single gemm kernel.
In c++ runtime, users need to put the lora weight pointers and task id first, and TensorRT-LLM will record them in the cache. Then, users only need to pass task id after that. Further feature including CPU offloading is under development.

The batching of lora requests hasn't been integrated with continuous batching and paged attention, do I get it right? Thank you.

It is independent to contiguous batching and paged attention. For lora module view, contiguous batching and static batching are same.

Hi @sleepwalker2017 do u still have further issue or question now? If not, we'll close it soon.


Training time

Using 4 GTX 1080 Ti GPUs, how long does it take to train the model on KITTI and WOD, respectively?

hi , for kitti it's about half a day, for WOD, i cannot recall the duration.


Lastmod panel doesn't show

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar question on existing issues (including closed ones).
[x] I searched the Internet for related problems, but still couldn't solve it.
[ ] My question is based on the latest code of master branch.

Description
I've built my blog for a long time and written a few posts, but there's no lastmod panel on my page. Confusing...

Was curious about this myself and found that Post front matter must include a "last_modified_at" value. E.g. "last_modified_at: 2021-06-05 11:20:00 +/-0800"

@jimmitchell Thx man, but I don't think it's a good way... I failed 🤣

Just run dump_lastmod.sh file, this ques will be closed.


"Uncaught TypeError: Cannot redefine property: _real_stringify"

Ran into this weird error when updating this code.  When clicking the fullscreen button (happens in Opera and Firefox, though not Chrome) it triggers an "Uncaught TypeError: Cannot redefine property: _real_stringify" error.
I traced the source of the problem down to this code in src/lib/extensions.js:
	Object.defineProperty(JSON, '_real_stringify', {
		value : JSON.stringify
	});

EDIT: Verified it was a problem at least as far back as v2.31.1, though I didn't check back any further than that.

It's definitely not new code.  It's been defined that way since, at least, v2.0.0.

Ran into this weird error when updating this code. When clicking the fullscreen button (happens in Opera and Firefox, though not Chrome) it triggers an "Uncaught TypeError: Cannot redefine property: _real_stringify" error.

I tried that file both online and downloaded locally in various browsers—FF, Edge, Chrome, Opera, Vivaldi, FF (iOS), Safari (iOS)—and could not replicate the issue.  I even tried SugarCube's built-in Fullscreen API and no dice—not that I expected there to be.
Based on the error, something attempted to redefine JSON._real_stringify, which cannot happen since it's non-configurable/-writable.  Since I doubt that your code is attempting that, I can only guess that it's either a random glitch or, since you say you encountered it in different browsers, some other code—an extension, code you're loading, etc.  Even considering the latter possibility, however, this is a bizarre situation since I cannot fathom why anything would be attempting to redefine that static method.
Was there anything at all unusual about how you tested?

It's definitely not new code.  It's been defined that way since, at least, v2.0.0.

Ran into this weird error when updating this code. When clicking the fullscreen button (happens in Opera and Firefox, though not Chrome) it triggers an "Uncaught TypeError: Cannot redefine property: _real_stringify" error.

I tried that file both online and downloaded locally in various browsers—FF, Edge, Chrome, Opera, Vivaldi, FF (iOS), Safari (iOS)—and could not replicate the issue.  I even tried SugarCube's built-in Fullscreen API and no dice—not that I expected there to be.
Based on the error, something attempted to redefine JSON._real_stringify, which cannot happen since it's non-configurable/-writable.  Since I doubt that your code is attempting that, I can only guess that it's either a random glitch or, since you say you encountered it in different browsers, some other code—an extension, code you're loading, etc.  Even considering the latter possibility, however, this is a bizarre situation since I cannot fathom why anything would be attempting to redefine that static method.
Was there anything at all unusual about how you tested?

No, nothing unusual about how I tested, unless you count being on Windows 7.
I just tried it out in Brave, Edge, Pale Moon, Vivaldi, CCleaner Browser, and even IE 11, none of which (except for IE) I've even touched the settings in since I only use them for testing, so they're completely default with no added extensions.  I just pasted the link I gave above into the URL bar, waited for it to load, clicked the fullscreen button in the UI bar, and (except for CCleaner) they all got the exact same error.  In the CCleaner Browser doing that just locks up the tab.  Chrome is the only browser that isn't throwing an error for me when I do that.
Are you clicking the fullscreen button on the UI bar?
The odd thing is, the code to do that is (as far as I can tell) exactly the same as the code in my sample code collection, however that code doesn't throw any errors.

Based on the error, something attempted to redefine JSON._real_stringify, which cannot happen since it's non-configurable/-writable.

Perhaps I'm missing something, but isn't that exactly what your code is trying to do?
I dunno.  Something weird is going on here.

No, nothing unusual about how I tested, unless you count being on Windows 7.
I just tried it out in Brave, Edge, Pale Moon, Vivaldi, CCleaner Browser, and even IE 11, none of which (except for IE) I've even touched the settings in since I only use them for testing, so they're completely default with no added extensions.  I just pasted the link I gave above into the URL bar, waited for it to load, clicked the fullscreen button in the UI bar, and (except for CCleaner) they all got the exact same error.  In the CCleaner Browser doing that just locks up the tab.  Chrome is the only browser that isn't throwing an error for me when I do that.
Are you clicking the fullscreen button on the UI bar?
The odd thing is, the code to do that is (as far as I can tell) exactly the same as the code in my sample code collection, however that code doesn't throw any errors.

Based on the error, something attempted to redefine JSON._real_stringify, which cannot happen since it's non-configurable/-writable.

Perhaps I'm missing something, but isn't that exactly what your code is trying to do?
I dunno.  Something weird is going on here.

Are you clicking the fullscreen button on the UI bar?

Yes.

Perhaps I'm missing something, but isn't that exactly what your code is trying to do?

That chunk of SugarCube's code is what defines it that way in the first place, at startup and never again.  The only way it could result in the error is if your new code was causing your browsers to parse the page again in-place with the existing document and JavaScript instances.
That's not how fullscreen mode works, however, and would likely cause several more issues than just attempting to redefine that one property if it did.  Your old code would also result in the error if that were the case, which doesn't seem to be happening, based on what you've said.

I dunno.  Something weird is going on here.

Something wicked is definitely about.

Are you clicking the fullscreen button on the UI bar?

Yes.

Perhaps I'm missing something, but isn't that exactly what your code is trying to do?

That chunk of SugarCube's code is what defines it that way in the first place, at startup and never again.  The only way it could result in the error is if your new code was causing your browsers to parse the page again in-place with the existing document and JavaScript instances.
That's not how fullscreen mode works, however, and would likely cause several more issues than just attempting to redefine that one property if it did.  Your old code would also result in the error if that were the case, which doesn't seem to be happening, based on what you've said.

I dunno.  Something weird is going on here.

Something wicked is definitely about.

I was able to reproduce this issue in edge, firefox, and chrome:

I was able to reproduce this issue in edge, firefox, and chrome:

If you delete this line: <<= _n>> from the widget, everything works. So the problem seems to be with how the generated code from the widget is being stringified (or something), idk, I'm out of time to look at it. My guess is some change in the API is outputting something to the screen that SC can't print/make sense of when the fullscreen occurs. Not sure why exactly it's reporting the error in this way, though, but the issue is definitely related to the values being printed.

If you delete this line: <<= _n>> from the widget, everything works. So the problem seems to be with how the generated code from the widget is being stringified (or something), idk, I'm out of time to look at it. My guess is some change in the API is outputting something to the screen that SC can't print/make sense of when the fullscreen occurs. Not sure why exactly it's reporting the error in this way, though, but the issue is definitely related to the values being printed.

I spoke too soon, the issue is setup.Fullscreen.fullscreenElement(). You probably want <<PrintType setup.Fullscreen.fullscreenElement().nodeName>> or something. @HiEv

I spoke too soon, the issue is setup.Fullscreen.fullscreenElement(). You probably want <<PrintType setup.Fullscreen.fullscreenElement().nodeName>> or something. @HiEv

@ChapelR Thanks.  I haven't had a chance to look at the code yet, but that would definitely cause the reported issue in versions ≥v2.34.0.
@HiEv Since v2.34.0, printing Node instances—incl. Element nodes—will attempt to print a reasonable string representation of the node—see issue #87 for the details.  The relevant changelog entry:

Updated the naked variable markup and <<print>> family of macros to: include default conversions for DOM objects and better conversions for various edge cases values.

In this case, your code is attempting to print the fullscreen element's .outerHTML, which in this case would include SugarCube's main script chunk.  Thus, attempting to redefine JSON._real_stringify.  Something like Chapel's suggested fix is what you need.
PS: I wasn't able to reproduce the issue initially because the file served by your link at the time I tried was built against v2.31.1—I saved a copy to disk.  Now it's serving a file built against v2.34.1 and I can also reproduce the snafu.

@ChapelR Thanks.  I haven't had a chance to look at the code yet, but that would definitely cause the reported issue in versions ≥v2.34.0.
@HiEv Since v2.34.0, printing Node instances—incl. Element nodes—will attempt to print a reasonable string representation of the node—see issue #87 for the details.  The relevant changelog entry:

Updated the naked variable markup and <<print>> family of macros to: include default conversions for DOM objects and better conversions for various edge cases values.

In this case, your code is attempting to print the fullscreen element's .outerHTML, which in this case would include SugarCube's main script chunk.  Thus, attempting to redefine JSON._real_stringify.  Something like Chapel's suggested fix is what you need.
PS: I wasn't able to reproduce the issue initially because the file served by your link at the time I tried was built against v2.31.1—I saved a copy to disk.  Now it's serving a file built against v2.34.1 and I can also reproduce the snafu.

Thanks.  I've updated the <<PrintType>> widget as below and that fixed the problem:
<<widget "PrintType">>
	<<set _n = $args[0]>>
	<<if ndef _n>><<set _n = "@@.invert;undefined@@">><</if>>
	<<if _n === null>><<set _n = "@@.invert;null@@">><</if>>
	<<if _n === "">><<set _n = "@@.invert;(empty string)@@">><</if>>
	<<if !!_n && typeof _n === "object">><<set _n = "[Object " + _n.constructor.name + "]">><</if>>
	<<= _n>>
<</widget>>

Thanks.  I've updated the <<PrintType>> widget as below and that fixed the problem:
<<widget "PrintType">>
	<<set _n = $args[0]>>
	<<if ndef _n>><<set _n = "@@.invert;undefined@@">><</if>>
	<<if _n === null>><<set _n = "@@.invert;null@@">><</if>>
	<<if _n === "">><<set _n = "@@.invert;(empty string)@@">><</if>>
	<<if !!_n && typeof _n === "object">><<set _n = "[Object " + _n.constructor.name + "]">><</if>>
	<<= _n>>
<</widget>>

It's definitely not new code. It's been defined that way since, at least, v2.0.0.

I forgot to mention that the above is incorrect.  That particular code was just added to extensions.js on Jan. 4, 20201 (see this diff).
Also, for anyone wondering what it looked like before I modified the <> widget, here's the earlier version:
<<widget "PrintType">>
	<<set _n = $args[0]>>
	<<if ndef _n>><<set _n = "@@.invert;undefined@@">><</if>>
	<<if _n === null>><<set _n = "@@.invert;null@@">><</if>>
	<<if _n === "">><<set _n = "@@.invert;(empty string)@@">><</if>>
	<<= _n>>
<</widget>>

I added a line to keep it from trying to print (using <<=>>) any objects directly.

🤦♂ I suppose that was poor wording on my part.  I meant that code exactly like that has been defined that way since v2.0.0.
For example its sibling static method JSON._real_parse is defined exactly the same way and has been since v2.0.0 (specifically since Sep 2015).
The point being that if the problem had actually been the definition of JSON._real_stringify, then JSON._real_parse and similar code would have been exploding since v2.0.0.


brew services  报错

brew doctor output
Warning: Calling formula.plist_path is deprecated! Use formula.launchd_service_path instead.
Please report this issue to the homebrew/services tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formula_wrapper.rb:58

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
Homebrew 4.0.6-128-gd0c5202
Homebrew/homebrew-core (git revision<PHONE_NUMBER>d; last commit 2023-03-16)
Homebrew/homebrew-cask (git revision 7317d293ec; last commit 2023-03-16)

What were you trying to do (and why)?
brew services  报错
What happened (include all command output)?
brew services  报错
What did you expect to happen?
brew services  报错
Step-by-step reproduction instructions (by running brew commands)
brew services  报错

brew untap homebrew/services; brew tap homebrew/services.


Font Color.

How can I change the font colors? Particularly in the Projects section.

Hi @david-mbugua , request you to please go through the README.md file, they have mentioned regarding the font color in the Step 2 - STYLES section


SWF Playback should fire a 'pause' event upon video completion to match HTML5

When an HTML5 video completes, a pause event is fired (tested in Chrome and FFox) but the SWF does not. The SWF player should be updated to match.
Here's a demo of what I'm working on (A Knockout based component using MEjs) where you can compare the behavior.
http://snaptopixel.com/misc/mejs/

I've completed the fix for this one as well as #1512 and #1513, will issue a pull request tomorrow.


devspace print showing args section as array

What happened?
devspace print command showing container arg key as array and indentation is wrong. However deployment works ok. I'm guessing that only printing to display have problem.
What did you expect to happen instead?
correctly parse container arg key.
How can we reproduce the bug? (as minimally and precisely as possible)
My devspace.yaml:
- name: test
  image: test/test
  args:
    - node

devspace print shows
- name: test
  image: test/test
- args:
  - node

Local Environment:

DevSpace Version: 5.18
Operating System: mac
ARCH of the OS: i386
**Kubernetes Cluster: docker for desktop mac
Kubernetes Version: 1.24

Anything else we need to know?

/kind bug

@Orgil thanks for creating this issue! It works correctly for me with the devspace.yaml:
version: v1beta11

deployments:
  - name: test
    helm:
      componentChart: true
      values:
        containers:
          - name: test
            image: test/test
            args:
              - node

DevSpace will reorder the args to the top, but that is expected and does not invalidate the yaml file.

Thanks. it is working correctly on v6. it was little inconvenient to verify using print command.


Rename the string kernel to concat_elements.

Signed-off-by: remzi<EMAIL_ADDRESS>Which issue does this PR close?

Closes #1747.
Rationale for this change
Please see the issue.
Are there any user-facing changes?
Yes!

Perhaps we should rename the function string_concat to concat_elements_string to be consistent with other modules?

This would be an excellent thing to do - I'll try and get it done later today

Or maybe just concat_string would enough 🤔

Proposed change in https://github.com/apache/arrow-rs/pull/1754

Thank you for your review!


Error: model.get(...).toJS is not a function if API client puts Error value in rejected promises

This problem occurs when selecting a single record, using either selectRecord or select, if the library user's API client implementation puts Error values in rejected promises. Using Error values for rejections is a common practice, and is arguably a best practice.
The problem arises because the redux-crud-store reducers attempt to convert error values to Immutable data structures:
    // reducers.js, line 71
    case FETCH_ONE_ERROR:
      return state.setIn([id.toString(), 'fetchTime'], action.meta.fetchTime)
                  .setIn([id.toString(), 'error'], fromJS(action.payload))  // <-- conversion happens here
                  .setIn([id.toString(), 'record'], null)

Selector functions attempt to convert back to a plain Javascript object:
  // selectors.js, line 129
  if (model.get('error') !== null) {
    return {
      isLoading: false,
      needsFetch: false,
      error: model.get('error').toJS()
    }
  }

Immutable's fromJS function does not attempt to create immutable versions of Error values - it just returns the original value. So the later .toJS() invocation fails.
This relates to #9.

So I guess there are a few decisions here

Should this library use immutability at all? As long as it works, users of the library probably don't care if we're using immutability under the hood or not. In fact, not using it is probably better for users (again, as long as it works correctly). On the flip side, seamless-immutable and ImmutableJS provide nice methods like setIn.
Should errors be a) objects only, which can be used for ImmutableJS; b) any type, which potentially can't be handled by immutable js; c) either a generic object or an Error object, which requires small conditional code; d) only an error object.

For (1), I think in the interests of not doing pointless work, I say let's keep immutability for now, and not switch to seamless-immutable.
For (2), I favour c or d. After reflection, d is probably the best answer because I'd rather use an existing API where possible instead of inventing something library-specific. The more library-specific type definitions, syntaxes, DSLs, APIs, whatever that we can eliminate, the better.
So I'll think about making a pull request that changes the error values to always be JS Error objects. I think it'll be probably

small changes to how the errors are stored using ImmutableJS
more changes to the documentation to say how to read the errors
figure out if this will constitute a major or minor release. It would be great if it were minor.

Note from the future: see #29

Thanks! Your notes on how to proceed sound good to me.
Since the store operates behind-the-scenes, it seems to me that the main
argument for immutability is better performance due to structural sharing
in case collections become large and are updated frequently.
On Thu, Aug 4, 2016, 11:42 PM Devin Howard<EMAIL_ADDRESS>wrote:

Note from the future: see #29
https://github.com/uniqueway/redux-crud-store/issues/29
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/uniqueway/redux-crud-store/issues/15#issuecomment-237769051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAllu9uWvMVRXw7mFn9_Ow_8H5E10Isks5qcttmgaJpZM4I291B
.


Installation issue

If you could please help I'd appreciate it.
When running the following:
conda install -c bioconda  read2tree
I get this output and error:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.17=0
  - feature:|@/linux-64::__glibc==2.17=0

Your installed version is: 2.17

Hi @dhpalmer
Thanks for using read2tree.
Could you please provide us more information about your system and python/conda version and the full command line you used?
We would suggest to create a new environment as described in the readme with python 3.10.
It seems that such an error may arise if you have incompatible python version as described here or outdated conda version
mentioned here.
Regards,
Sina

Hello,
I am getting the same issue on an AWS system:
conda install -c bioconda  read2tree
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

feature:/linux-64::__glibc==2.35=0
feature:|@/linux-64::__glibc==2.35=0

Your installed version is: 2.35
I have conda 23.3.1 and am in an environment with python 3.10.11

Dear @bfauskee
Thanks for reporting the issue in details. I was able to reproduce it and we will investigate the issue in.
In the meanwhile, I would suggest to use python 3.10.8 as I just tested with a fresh environment and read2tree works well.  (It may take a while for conda to resolve the environment and install read2tree).
I would appreciate it if you could inform us about the result.
Regards,
Sina

Yep this worked for me. Seems to be running well on python 3.10.8. Thanks!

Hi @sinamajidian,
I also have a trouble with the conda install. I built up a fresh env with python=3.10.8 and conda 23.3.1 in a Linux system. Here it is:
conda create -n r2t3.10.8 python=3.10.8
conda activate r2t3.10.8
(r2t3.10.8) conda install -c bioconda  read2tree
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
/
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

feature:/linux-64::__glibc==2.17=0
feature:|@/linux-64::__glibc==2.17=0

Your installed version is: 2.17
I also tried to build read2tree from source in python 3.8 and succeded. I also succeded to run the reference with 'read2tree --standalone_path marker_genes/ --output_path output --reference' Then when I tried to run multispecies mode with the command 'read2tree --standalone_path marker_genes/ --output_path output --reads species1_R1.fastq species2_R2.fastq', it throwed an error 'ValueError: fetch called on bamfile without index' in Mapper.py 499 line. I am confused about this and have kept debugging for three days. I guess there should be some conficts happened after installing from source as well. I would aprreciate it if you could help me out.


Cleanup - eslint fixes - utils actions

part of #8731 - split from #8578
move identity to its own util file (this is a really useful function) & add unit tests for it
fix the only linting issue in utils/actions.ts - prefer-default-first with a small change
add a basic set of unit tests for actions.ts

Rebased

Rebased

Rebased


Fix Sort Order of Full DOM Rendering Methods

I noticed that two methods were not in the apparent alphabetical order.

Thanks!


(docs)(DOC-3532) Add 2.12.1 release notes.

Also update the changelog.
CC @demophoon

CLA signed by all contributors.

Ah, thanks! Forgot about that.

@MikaelSmith Change committed.


Notebook for testing History from an Endpoint deployment

I was wondering there was example code in one of these Jupyter notebooks in this repo or another repo for how to test a prompt flow endpoint after deploying it?  A Sample notebook that would include history from with multiple follow up questions.
Thanks in advance!

[!NOTE]
This sample is currently undergoing a refresh in preparation for #MSBuild so many of these issues may no longer be relevant. We are closing issues now in preparation for the new version. Check back May 21, 2024 for updated release before posting new issues.


Johnbranch

Pls lemme pull request

LGTM!

#4 Be sure to add our logo + game over text

android CI take forever bruh


Siegfried 1.10 incompatible with brunnhilde?

Hi,
I updated to Siegfried 1.10 and I get the following error (this is my home mac hence I haven't clamav set up correctly)
Looks like the output of sf might have changed?
 % brunnhilde.py /Users/kieranjol/Desktop/wdpd /Users/kieranjol/Desktop/test_files/test
2023-03-28 16:05:12,346 - INFO - Brunnhilde started. Source: /Users/kieranjol/Desktop/wdpd.
2023-03-28 16:05:12,347 - INFO - Running virus scan. This might take a while...
LibClamAV Error: cli_loaddbdir: No supported database files found in /usr/local/var/lib/clamav
ERROR: Can't open file or directory

----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 1.0.1
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.361 sec (0 m 0 s)
Start Date: 2023:03:28 16:05:13
End Date:   2023:03:28 16:05:13
2023-03-28 16:05:13,420 - INFO - No viruses found.
2023-03-28 16:05:13,420 - INFO - Running Siegfried. This might take a while...
2023-03-28 16:05:13,825 - INFO - Siegfried scan complete. Processing results.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/brunnhilde.py", line 1385, in <module>
    main()
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/brunnhilde.py", line 1359, in main
    process_content(
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/brunnhilde.py", line 947, in process_content
    use_hash = import_csv(cursor, conn, use_hash)
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/brunnhilde.py", line 312, in import_csv
    cursor.execute(insertsql, row)
sqlite3.OperationalError: table siegfried has 11 columns but 13 values were supplied

Thanks for the heads up @kieranjol ! Might be time to refactor how Brunnhilde reads the sf input a bit to use keys instead of column indices... I will take a look shortly

No worries @richardlehane and thanks for the short-term fix! :)

@tw4l you might consider sqlitefid https://github.com/exponential-decay/sqlitefid/releases/tag/v4.0.0rc1 but it adopts a more complicated schema than Brunnhilde and would also impact how you've written your queries. I have a related issue to try and find a better abstraction for ID report queries: https://github.com/exponential-decay/demystify/issues/54 but it's not a huge priority to address just yet, but may be cool to combine efforts. I'd also appreciate more eyes on sqlitefid, but it's a decent chunk of work.

@ross-spencer To get a fix in quickly for now I'm just switching to using a csv.DictReader so that Brunnhilde will read the rows by their column header/key rather than index.
That said, sqlitefid is really cool and in the eventual Brunnhilde 2.0 Python 3-only rewrite I think it'd make a lot of sense to use that. It'd be nice to be able to support sf YAML as well as CSV in Brunnhilde. I see that Siegfried CSV reading currently isn't supported but I could likely open a PR for that if you're interested!

Fix is released in Brunnhilde 1.9.6! https://github.com/tw4l/brunnhilde/releases/tag/v1.9.6

I see that Siegfried CSV reading currently isn't supported but I could likely open a PR for that if you're interested!

Absolutely!! The SF CSV addition should be easy to implement and there shouldn't be many restrictions on how you implement it within sqlitefid. Otherwise, all of the above sounds great, thanks Tessa!


Cant change Email by use endpoint api

What version of UAA are you running?
4.26.0
How are you deploying the UAA?
I am deploying the UAA

locally only using gradlew

What did you do?
See ScimUserRowMapper
https://github.com/cloudfoundry/uaa/blob/a47c3135e8220daa811cee6519c9c9ae340c5990/server/src/main/java/org/cloudfoundry/identity/uaa/scim/jdbc/JdbcScimUserProvisioning.java#L461
https://github.com/cloudfoundry/uaa/blob/a47c3135e8220daa811cee6519c9c9ae340c5990/server/src/main/java/org/cloudfoundry/identity/uaa/scim/jdbc/JdbcScimUserProvisioning.java#L482
The email read from email, will not set email primary field.
And ChangeEmailEndpoints will always failure because no replacement email by method setPrimaryEmail then  verification failed.
https://github.com/cloudfoundry/uaa/blob/a47c3135e8220daa811cee6519c9c9ae340c5990/server/src/main/java/org/cloudfoundry/identity/uaa/scim/endpoints/ChangeEmailEndpoints.java#L83-L88
https://github.com/cloudfoundry/uaa/blob/a47c3135e8220daa811cee6519c9c9ae340c5990/server/src/main/java/org/cloudfoundry/identity/uaa/scim/util/ScimUtils.java#L107-L109

Closing due to inactivity.


feat(Feature/Feedbacks_CRUD): Finished CRUD for Feedbacks section

#What I did:

Created the model for Feedbacks section
Created the Controller
Created the routes for the FeedbackController
Deleted files related to User CRUD
...

#How to test

git checkout main
git pull
git checkout feature/Feedbacks_CRUD
git pull
Open terminal
Make sure you haver /sever opened at the terminal
Type "docker-compose up" then press Enter
Open Insominia and Postbird
Test with "get", "post", "put" and "delete" at Insominia
Check out at Postbird if everything is working correctly
...

PR Checked


Go-flutter: no handler found for channel

Am working on desktop with flutter, and am using connectivity, path_provider packages in my project, and everything was good, until i added hover and  go-flutter.
I added hover to my project, because i need file_picker plugins, and it doesnt work on desktop without it.
Now i have the file_picker plugin works fine but the other plugins (connectivity and path_provider) dont work any more,
Error output

Using hover build [...] --XXX to build my application, I get the following
error:
go-flutter: no handler found for channel plugins.flutter.io/connectivity
go-flutter: no handler found for channel plugins.flutter.io/connectivity_status
go-flutter: no handler found for channel plugins.flutter.io/path_provider
[...]

Hover doctor
hover: Running on darwin
hover: Docker installed: true
hover: Sharing flutter version
Flutter 1.14.1-pre.23 • channel master • https://github.com/flutter/flutter.git
Framework • revision f34bb03d89 (7 days ago) • 2020-01-15 23:57:05 -0500
Engine • revision 09d892b3bf
Tools • Dart 2.8.0 (build 2.8.0-dev.2.0 862d5012ae)
hover: Flutter engine commit: https://github.com/flutter/engine/commit/09d892b3bf
hover: ⚠ The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: ⚠     It's advised to use the beta channel: `flutter channel beta`
hover: Finding out the C compiler version
Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
hover: Sharing the content of go.mod
module flutter_desktop/go

go 1.13

require (
	github.com/go-flutter-desktop/go-flutter v0.34.1
	github.com/miguelpruivo/flutter_file_picker/go v0.0.0-20191218104902-b68ee11c6ac1
	github.com/pkg/errors v0.9.1
)
hover: Sharing the content of hover.yaml
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
docker: false
hover: Sharing the content of go/cmd
go/cmd/main.go	go/cmd/options.go

Closing this issue, go-flutter provide an implementation for path_provider. connectivity and connectivity_status are still missing.

go-flutter: no handler found for channel miguelruivo.flutter.plugins.filepicker
I found this issue and am not able to solve it
Please help


Update AbstractArchiveTask.isPreserveFileTimestamps to Property

@bot-gradle test this

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger) (Check)

Build Scan

@bot-gradle test this

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger) (Check)

Build Scan

@bot-gradle test this

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger) (Check)

Build Scan

@bot-gradle test this

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have passed:

Pull Request Feedback (Trigger) (Check)

Build Scan

@bot-gradle test this

@bot-gradle test RFN

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have failed:

Ready for Nightly (Trigger) (Check)

Build Scan

@bot-gradle test RFN

I've triggered the following builds:

Ready for Nightly (Trigger) (Check)

Build Scan

@bot-gradle test AST

I've triggered the following builds:

All Smoke Tests for Pull Request Feedback (Trigger) (Pull Request Feedback)

Build Scan

Ah, ok, so that's the preferred way to deal with properties used in our own build. I suppose that's less hacky than guess-and-check with reflection. Thanks.

Your changes were ok. I just forgot to mention, that for boolean properties we add getIsX deprecated menthods, just to keep source compatibility

The following builds have passed:

All Smoke Tests for Pull Request Feedback (Trigger) (Pull Request Feedback)

Build Scan

@bot-gradle test RFN


Possible to implement CSDI as a forecasting model for POTS data

1. Feature description
Although, in the CSDI paper, the authors discussed using the model for time series forecasting, their experiments and scenarios are for complete time series. However, the model is possible for POTS forecasting.
2. Motivation
Make CSDI a forecasting model in PyPOTS.
3. Your contribution
I'm currently overloaded. If anyone is interested in this task, please discuss it below to see if you can take it.
The CSDI model has been included in PyPOTS as an imputation model, so necessary modules are all available already.

I start working on it, to get familiar with code and understand its infrastructure.

Many thanks, Ahmad. I've assigned this to you and me. I can help you at any time, please just start the discussion here if you need any information or assistance. And once you make the PR, I'll review the code.

Is this the Algorithm that should be implemented, could you describe more, As I understand now it will be in forecasting algorithms in PyPOTS.

@ahmaddroobi99 The graph you posted is an overview of how CSDI works: input, process, and output.
Here are some clues and suggestions from me:

read the paper and figure out the model itself first. I believe you've done well with this;
walk through the code under this path https://github.com/WenjieDu/PyPOTS/blob/main/pypots/imputation/csdi and figure out how CSDI is implemented as an imputation model here. The CSDI code in PyPOTS keeps the same logic as the official implementation https://github.com/ermongroup/CSDI but is in a more unified PyPOTS way;
read the code in https://github.com/ermongroup/CSDI/blob/main/exe_forecasting.py and the code it imports. This script will help you learn how CSDI works on the forecasting task;
get your hands on turning the imputation CSDI in PyPOTS into a forecasting model. Basically, you need to do some refactoring work to adapt the code for the forecasting task;

Let me know if you have any further questions.

Hi @WenjieDu and @ahmaddroobi99 maybe I can help on this as well, I have some experience in CSDI code and had also familiar with their code and paper.

Thanks, @LINGLONGQIAN, good to know you'd like to help. I'm going to check with Ahmad to see how things are going on his side. Then we can determine which part you can take care of.

Ahmad @ahmaddroobi99 recently has been very busy with his own work. After communication, Linglong @LINGLONGQIAN and I will take care of this issue.


bad formatting in "wrong subcommand" error: "choose from u'track', u'untrack', ..."

I just started trying gitless 5 minutes ago (evaluating for broader adoption in my group).
Intuitively, I tried short-labels for commands: gl st for gl status
This didn't work (which is OK, and not the point I want to make).
The error message I received could use some polish:

gl: error: argument subcmd_name: invalid choice: 'st' (choose from u'track', u'untrack', u'status', u'diff', u'commit', u'branch', u'tag', u'checkout', u'merge', u'resolve', u'fuse', u'remote', u'publish', u'switch', u'init', u'history')

Note the many u'....', which seems to be leaky python unicode strings.

I see you use python argparse, so this is probably a problem with argparse, and not directly with gitless


Add "venice" user network

Add user-defined network to ensure CLI commands work regardless of end user's environment
Closes #7

Looks good!


apply (without concat)

Expected Behavior
Add an apply method without concatenating for the array_ops module, because sometimes we don't want across-trial edge effects.

Actually is there a use case for this that simple list-comprehension couldn't do?
outstruct['new'] = [function(x) for x in outstruct['old']]

I can only think of a use case where the data is too large and you want to modify a field in-place, trial-by-trial. But writing a for loop for that would be just 1-2 lines anyway. So, I would say not adding any new functionality.

This is connected to #102, which I also don't think is necessary. It would be easy to implement, but whatever the function is that is being applied, more than likely there's plenty of room for parallelization within that function (per trial) to not necessitate parallelizing over trials.


use path format for public URL

This changes the public URL for a file in GCS to a safer alternative. Bucket names are allowed to hold . characters, which would result in an incorrect URL. We recently ran into this with gcloud: https://github.com/GoogleCloudPlatform/gcloud-node/pull/638.
I'll be sending 2 more PRs for the other branches as well.

Thanks!


Need ABOUT.md

We need a short, friendly introduction to Rust for the website as specified [here] (http://exercism.io/languages/rust).
The description should at minimum reference Rust's focus on safety and the combination of low-level control with functional features such as pattern matching.
An ABOUT.md file should be made and put into docs/.

See e63b256.

Got a first pass in #69 - more work to come in #88 as well.


Prepare version 2.6

[2.6]
Added

An endpoint /apitest-status that returns a response containing the status of a test submission, with link to the eventual json file with the submissions data errors
An endpoint /status that returns a response containing the status of a submission (submitted, processing, processed, error), with eventual error details

Changed

Renamed /validate endpoint to /apitest

Review:

[ ] Code approved by
[x] Tests executed by CR

This version is a:

[ ] MAJOR - when you make incompatible API changes
[x] MINOR - when you add functionality in a backwards compatible manner
[ ] PATCH - when you make backwards compatible bug fixes or documentation/instructions

Deployed on stage:

And prod:


The commodity 0.05ml syringe x 1 ( which has now been updated on the server) doesnt display when "Received" , "Adjustment", "Reports" activities are selected

Can not reproduce under QA env.

it happens on QA and Dev. Select Receive activity -> Vaccines-> 0.05ml syringe is not shown in the list of commodities

the 0.05ml syringe does not appear in "Received" and Vaccine report - "Monthly Health Facility Devices/Other Materials Utilization Report"

the 0.05ml syringe's isVaccine flag  is not correctly set in the server data, please check it

vaccine flag is now set on the server, app needs to be re-installed to pick it up


Add Firefly's The Verse - 34Tauri(2020) [0.19 Alpha Dev] [WIP] [1.2.2] [Kopernicus] from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of Pretorian28715, to add Firefly's The Verse - 34Tauri(2020) [0.19 Alpha Dev] [WIP] [1.2.2] [Kopernicus] to CKAN.
Mod details:
name = /mod/1388/Firefly%27s%20The%20Verse%20-%2034Tauri%282020%29%20%5B0.19%20Alpha%20Dev%5D%20%5BWIP%5D%20%5B1.2.2%5D%20%5BKopernicus%5D
author = Pretorian28715
abstract = The Verse - Calling All Browncoats, Located approximately 20 Light Years from Kerbol, a small collection of stars have been identified. A new System has been found, and has now been named 34Tauri(2020).
license = Creative Commons Attribution 4.0
Homepage = http://forum.kerbalspaceprogram.com/index.php?/topic/160919-wip-122-kopernicus-34tauri2020-–-the-verse-019-alpha-dev/
description = The Verse - Calling All Browncoats.
For all those Browncoats (Firefly Fans) out there that like to Travel.
The Setup
A new System has been found, and has now been named 34Tauri(2020).
Located approximately 20 Light Years from Kerbol, a small collection of stars have been identified.
Telescope detection methods have determined that there are the following: -

A White Sun (A0) with what appears to be 2x smaller Suns and the Anchor Star.
A Red Sun (G5) with what appears to be 2x smaller Suns.
First Yellow Sun (G0) with what appears to be 1 smaller Sun and 3 large Gas Giants.
Second Yellow Sun (F5) with what appears to be 1 smaller Sun and 2 large Gas Giants.
A Blue Sun (F0) with what appears to be 1 smaller Sun and 2 large Gas Giants.

We have been unable to determine if any Planets and/or Moons are present orbiting any of the Stars. Investigations are ongoing however, which brings us to our next point on the agenda.
PAX Expeditionary Services Ltd
(A Wholly owned Subsidiary of Pretorian Aerospace Exploration Limited)
PAX Expeditionary Services Ltd is going to be exploring this System, however with the possible number of objects (19 confirmed), we feel that putting some of the exploration to tender will help.
We at PAX are looking for volunteer organisations to undertake Scientific Expeditions to investigate this small star cluster and ascertain if this System is inhabited, and if so initiate First Contact, but if not to begin the collection of Science to determine if any Planets and/or Moons found could be Kolonised.
The Expeditions will be initiated in stages: -

Alpha – 4-10 Companies (Obj1)
Beta – 10-25 Companies (Obj2)
Gamma – Open, but controlled contract launches (Obj3)

Objectives: -

One: to establish the state of the System and determine if populated. [Alpha Dev]
Two: either Initiate First Contact or Collect SCIENCE!!!!!!! [Beta Dev]
Three: after SCIENCE!!!!!! is collected begin work towards Kolonisation. (dependant on outcome of Two), at which point the project will be handed to PAX Kolonisation Services Ltd. [Gamma]

Please direct questions about this pull request to Pretorian28715.

Ooooh!  Lovely, lovely, lovely! I might try this for 1.3!


Introduce Vault component protected with Intel Secure Guard Extensions (SGX)

Marked as WIP, because the code for Vault pattern is not merged yet.
Please review but do not merge yet.
Many thanks!

This is an automated message:
You can preview this docs PR at http://419.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.

/ok-to-test

@mhjacks I merged the code for pattern changes in Github: https://github.com/validatedpatterns-sandbox/sgx-multicloud-gitops-vault


Panel height is not 100%

Hi, just installed yotube-pane, it works but the panel height is not 100% and is not resizeable. Just tried to edit the config & less file, but i think i didn't edit correctly so doen't effect
*I use atom with latest version

Thank you for your interest! If you have any pull-request suggestion please
feel free to contribute, thanks!
Pe vineri, 19 august 2016, bersujamu<EMAIL_ADDRESS>a scris:

Hi, just installed yotube-pane, it works but the panel height is not 100%
and is not resizeable. Just tried to edit the config & less file, but i
think i didn't edit correctly so doen't effect
*I use atom with latest version
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.<
https://ci6.googleusercontent.com/proxy/qYgF2-QqzEz-2uVMoITEpuz6ID3f8ebbScXmGTPGua2xg3IXA3CRT6SCHRsJ-HYODhxpNtraP32f9lfgwY7bOiGH9RpiB9VauWcxCO4M8PwQneRXS0t3KpdVTtHUtV7H4lWU4AbgQCFNyjTiF7eZ8U_ogF-ynA=s0-d-e1-ft#https://github.com/notifications/beacon/AFVdmiFJBEMC2F6dagKPSw__AoOptiifks5qhSpEgaJpZM4JoIHA.gif>

I'm also seeing this issue. After investigating the elements I was able to fix the view by adding width:100%; height:100% to the browser plugin object in the webview element.


update shell_plus notebook to allow overriding kernelspec handling

hoists/refactors install_kernel_spec from being a closure to a method generate_kernel_specs, and splits out finding the base kernel spec into method load_base_kernel_spec so it is easier to override generate_kernel_specs with a new command and install one or more kernel specs.
fixes: #1026, fixes #1378, fixes #1422

Coverage decreased (-0.0005%) to 67.849% when pulling 9d9b1d2e82fc6ff6e741ba7b5b9c9cd2319fdcc6 on terencehonles:shell-plus-allow-kernelspec-override into dd1740815156518e96d4111969c4afa3f893f3e9 on django-extensions:master.

Thanks !


Replacing the two booleans from 'SET ROLE' to a single enum.

This way, we don't rely on the parser to have valid structures for that statement, as the structure itself is valid.
Postgresql doesn't allow both to be present (1), so there's no meaning in having a structure that allows both. Also, ANSI (2) and a lot of other dialects support that command, so having the comment PostgreSQL specific doesn't make sense.
@alamb This is ready for review. Also, do you know why the coverage is so weird? Like, a lot of enum matches is not covered, even though their interior is
[1] : https://www.postgresql.org/docs/current/sql-set-role.html
[2] : https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#set-role-statement

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

24 of 28 (85.71%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 85.794%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ast/mod.rs
8
12
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
10484

Relevant Lines:
12220

💛  - Coveralls


Database schema

Regardless of the database type we will eventually use, we need to distinguish/define a series of concepts related to the data we are collecting. Here are some to get started

Software Artifact: a unit of exchange of software. This can be a package, a source code repository, a docker container, etc.
Maintainer: an individual/group/software-entity that acts on software artifacts
Package: a type of software artifact for distribution to end users
Source: a type of software artifact used by maintainers to create a package

I'm sure there are more, but I want to help disambiguate things ...

I think we can close this as well @SantiagoTorres  @SahithiKasim


[RFC] Track nested changes with full path

As discussed in #2 and #3, we want to track nested changes without explicitly wrapping them in remotedev(). In order to help debugging, to cancel (skip) actions and to autogenerates tests, we also want to add the path to the action name like following:

This PR is just a proof of concept, it works only for arrays added with splice. We need to handle other observable types and update types. There's a lot of work, so feedback is welcome. Maybe we could get some information directly from MobX?

Just checkedout master and merged with nested.
Works with the "simple todo" example but only if the action is part of the Todo store.
If it's extracted like so:
var toggleStatus =  mobx.action(function toggleStatus(todo) {
  todo.finished = !todo.finished;
});

it doesn't work.

@antitoxic, thanks for checking this out.
That's because change.target is undefined in this case. The same problem is for mobx-react-devtools, it doesn't show for which observable is this action.
For example, runInAction has the third argument scope, where you can specify the class, but for action I don't see how this can be solved.
Maybe @mweststrate has any clue?

Few ideas:

can we check the value of this in the action?
can we check parameter values?
check parent as it is in this pull request.

If any of those are observables use them as parent path.

I don't see how we can solve this from our part. There should be found a way on MobX to pass (or better to detect) the target.

I don't see how we can solve this from our part

Well if we can't find a target and one of the parameters passed is an observable, we can make a pretty good guess that the observable parameter is the target.
Same with this.

@antitoxic, I don't get it. We have only this information:
{type: "action", name: "toggleStatus", target: undefined, arguments: Array[1], spyReportStart: true}

I added you as a collaborators, you can change this branch, so we can test it together.
Honestly, as discussed with @mweststrate, I don't see any advantages of nested observables / classes, and don't use them. However, it would be great to get it work, so we can prove we can control everything in MobX as in Redux.

Honestly, as discussed with @mweststrate, I don't see any advantages of nested observables / classes, and don't use them.

Ok. Consider this as just some brain teaser. I don't want to bother you with something you are not keen on. It's your project so it should serve you in the first place :)

I added you as a collaborator

Thank you. Could be useful.

{type: "action", name: "toggleStatus", target: undefined, arguments: Array[1], spyReportStart: true}

Finding target from arguments if it's missing:
```js
function getTarget(change) {
  var target = null;
  if (change.target) {
    target = change.target;
    return;
  }
  for (let i = 0; i < change.arguments.length; i++) {
    if (mobx.isObservable(change.arguments[i])) {
      target = change.arguments[i];//
      return;
    }
  }
}

I don't want to bother you with something you are not keen on. It's your project so it should serve you in the first place :)

If it was supposed to be only for my needs, I wouldn't opensourced it :)
Your suggestions are welcome!

Finding target from arguments if it's missing.

That would do the trick indeed. I missed that we pass the observable as an argument.

In relation to #6 and because you (@zalmoxisus) were asking, I think the work needed to finish all scenarios for this pull request is not worth the effort right now and even more I don't think it's possible unless @mweststrate provides solution to walk up observable hierarchy.
The string splitting of debug name seems unreliable.


Pass context to fetch in json-schema loader (used in new-openapi handler)

Is your feature request related to a problem? Please describe.
In the previous open-api handler we had access to context in our fetch function, which gave us access to a few things, for our usecase this was primarily context.request.log which we used for logging.
Describe the solution you'd like
Passing context to fetch when its invoked
Describe alternatives you've considered
n/a
Additional context
The old openapi handler approach
The new fetch call

Started draft PR however this would require moving from the native fetch type to something more akin to the one in the openapi handler so a different approach may be preferable

customFetch function takes context as a third parameter. Let us know if this doesn't work.
https://github.com/Urigo/graphql-mesh/blob/master/packages/types/src/index.ts#L165


Cannot set temperature, top-k, etc for GPT-2 models

Text generation tasks are very susceptible to repetition for anything longer than the shortest outputs. How can we set temperature, top-k or other parameters that are normally used to avoid this in GPT-2 output?

Yes, this is meant to be tracked in #35. :)


chore: move dev shell target to ./target-nix

People quite often report problems with constant rebuilds when using VSCode and other IDEs started outside of the dev shell.
These dev shells are using different rust-analyzer and Rust toolchain versions that mututally invalidate each other with dev shell setup.
While there are ways to configure such IDEs to co-exist with dev shell, they require customizing every text editor for every user.
We can't easily control IDEs of everyone, but we have a perfect control of the dev shell. It seems quite easy to just get out of the way, not use the default ./target and problem mostly solved:
Dev shell users won't really notice the change, mostly.
Shell scripts need to use CARGO_BUILD_TARGET_DIR.
IDE users will have a separate ./target and ./target-nix, but it seems much better then suffering constant rebuilds of everything.


Sublime Text3 dev 3155 running error

Running on sublime text3 3155 dev there was an error
error: Error loading syntax file "Packages/Laravel Blade Highlighter/blade.sublime-syntax": Apparent recursion within a with_prototype action: 25000 context sanity limit hit

Removing CSS3 worked for me too. Thanks!


Emmet snippets config selects folder with no snippets.json entry

Testing #117277
	"emmet.extensionsPath": ["./blop","./bloop"],

Folder structure:
./bloop
  - snippets.json
./blop
  - empty

The snippets are not read from ./bloop/snippets.json and instead no snippets are provided.

Just thought about this a bit.

There could technically be a syntaxProfile.json under that directory, so in that case the folder can be selected still
The folder can contain none of the Emmet-related json files. For this case, I'd rather leave it up to the user to make sure they're pointing to a good folder.

I guess what I can do is update the emmet.extensionsPath description to be more clear about these cases.

Closing in favour of #117515


Feature: trait-driven chess piece vision, movement, and promotion

As a user I want to be able to select a piece to see where it can go, correctly capture a tile, visually confirm my piece moved, and be able to see multiple move possibilities before my turn's final decision. I want to be able to promote pawn pieces to any other non-King type when they reach the endzone. Additionally, I want "castling" to be possible for a rook that has yet to move.
As a developer, I want to reuse chess-piece vision logic where ever possible and also make it composable. This means that queen logic should partially inherit movement vision from bishops and rooks, however not the ability to castle. Likewise, a King should not be able to move to a tile where it would introduce its capture. All pieces should inherit a movement option that forbids them from capturing pieces that share their color property.
Future Goal: Custom chess pieces.

This is complete


Pub update failed

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Update pubspec.yaml from Dart Editor
Pub updater fails: Cannot delete file at project\test\packages

What is the expected output? What do you see instead?
Updated deopendencies in project. Error message and no updated dependencies.
What version of the product are you using? On what operating system?
Dart Editor version 0.4.3_r20444
Dart SDK version <IP_ADDRESS>_r20444
Please provide any additional information below.
Windows 7, msysgit, tortoisegit

This issue has been moved to dart-lang/pub#493.


Checks for conflicting packet mark bits to validate interoperability

Cilium uses a set of bits in the skb mark field to store metadata. However, these bits can conflict with other systems filtering packets based on selective bits (e.g., Kubernetes).  Conflicts can lead to packet drops, but these drops can be indeterministic based on whether the set bits by cilium overlap with the bits used for filtering packets.
We should add preliminary checks to warn users about such scenarios. These checks can be part of the agent bootstrap (agent already iterates over some of the cilium-specific rules), or they can be added to a conformance test that validates the underlying system state when cilium is being installed.

One of the options we discussed on friday was using the local kubelet's /configz endpoint to fetch some information:
$ curl -s http://<IP_ADDRESS>:10249/configz | gron | grep -i iptables | norg | jq '.'
{
  "kubeletconfig": {
    "iptablesDropBit": 15,
    "iptablesMasqueradeBit": 14,
    "makeIPTablesUtilChains": true
  },
  "kubeproxy.config.k8s.io": {
    "IPTables": {
      "MasqueradeAll": false,
      "MasqueradeBit": 14,
      "MinSyncPeriod": "1s",
      "SyncPeriod": "30s"
    }
  }
}

A more generic approach could consider something like parsing the iptables rules that exist and searching for mark usage.

Based on this open issue, it's not entirely clear if the relevant options are read from kubelet or kube-proxy configurations. Regardless, it might be better to keep the checks generic since there can be other filtering systems besides k8s.

Adding my user experience when trying to run cilium in openstack with calico neutron driver. :) Calico also uses packet marks and this has caused identity to be falsely resolved when 2 vms on the same host tried to communicate.

Indeed, any time that multiple software attempts to use the packet marks between different subsystems, it can be tricky to figure out exactly how the integration can work smoothly. The fwmark/registry documents some of the ways that the mark is used by different software, but doesn't provide a blueprint for how to integrate them. Depending on which subsystems the mark is being passed between, it may be possible to reuse mark bits for different purposes but it tends to require a lot of thought and attention to do correctly.
Quick plug, I did a talk at Linux Plumbers Conference 2020 on this topic which may be relevant. It doesn't provide all the answers, but at least outlines some of the problems and some ways which developers can use to mitigate mark overloading.


Can i able to use WebRTC in Swift Project ?

i am new to IOS development and i just recently learned swift programming language and i am not familiar with objective C
i know there is a feature called bridging header that allows you to use objective c code in Swift project
but as i am new hop someone suggest me what should i do ?
Thank you

I haven't tried this this project yet, but if you are targeting iOS 8+ and have updated CocoaPods, you don't need bridging header. Just type use_frameworks! at the top of your Podfile. It will create a framework from this library and you can then import it in your swift file, same as UIKit is imported

I am using pod 0.39.0 and encountering this issue when pod install
The 'Pods-XXX-iOS' target has transitive dependencies that include static binaries: (/Users/User/XXX-ios/Pods/libjingle_peerconnection/libjingle_peerconnection/libWebRTC.a)

Yes, the project should work inside your Swift Project. However, because of the static library dependency you'll need to manually integrate into your project or create a framework per @Xioshock
The transitive dependency error seems to e an issue with the recent version of cocoa pods. We'll need to investigate this further to find a resolution.

Hi @coolwr thanks for replying. Do you mind give us a little hint on how to manually integrate pod into project or create a framework? Any links or keywords are appreciated

Here are my steps to integrate APPRTC into my project:

Remove: pod 'APPRTC' and add them: pod 'libjingle_peerconnection'  pod 'SocketRocket' in Podfile
Copy from Lib/ folder from APPRTC project into my project
Add these frameworks and libraries into project: "QuartzCore", "OpenGLES", "CoreGraphics", "CoreVideo", "CoreMedia", "CoreAudio", "AVFoundation", "AudioToolbox", "GLKit", "CFNetwork", "Security", "sqlite3", "stdc++.6", "icucore", "c++"
Add related headers in my case #import <libjingle_peerconnection/RTCEAGLVideoView.h> #import "ARDAppClient.h" #import "RTCPeerConnectionFactory.h" into Bridging-Header.h
Build!

Awesome. Thanks for posting the instructions! Would be great if someone could help investigate how to fix the transitive dependency error in cocoa pods so the integration would be easier.

Hi! yes I also did the same like @SeanChenU but I really like how to add appRTC pod or how to create ones in order to has AppRTC client as a Pod and be usefull using swift project. Can anyone did it before?

what is the meanning of 2nd step @SeanChenU

@saiteja7 the meaning of 2nd step in @SeanChenU comment is that we need to copy in our project the classes that contains AppRTC/Lib folder:
ARDAppClient.(h/m)
ARDMessageResponse.(h/m)
ARDRegisterResponse.(h/m)
ARDSignalingMessage.(h/m)
ARDUtilities.(h/m)
ARDWebSocketChannel.(h/m)
RTCICECandidate+JSON.(h/m)
RTCICEServer+JSON.(h/m)
RTCMediaConstraints.(h/m)
RTCSessionDescription.(h/m)

okay thanq
On 18 August 2016 at 15:00, cmorell<EMAIL_ADDRESS>wrote:

@saiteja7 https://github.com/saiteja7 the meaning of 2nd step in
@SeanChenU https://github.com/SeanChenU comment is that we need to copy
in our project the classes that contains AppRTC/Lib folder:
ARDAppClient.(h/m)
ARDMessageResponse.(h/m)
ARDRegisterResponse.(h/m)
ARDSignalingMessage.(h/m)
ARDUtilities.(h/m)
ARDWebSocketChannel.(h/m)
RTCICECandidate+JSON.(h/m)
RTCICEServer+JSON.(h/m)
RTCMediaConstraints.(h/m)
RTCSessionDescription.(h/m)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ISBX/apprtc-ios/issues/39#issuecomment-240671687, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATr_kL_hnRPp_GZXESw5ZGsd_BHfb4jiks5qhCYbgaJpZM4Iv2iT
.

Hi,
@SeanChenU  i follow your solution but i can not call  renderFrame,
Ex: [self.localView renderFrame:nil]; // error class has no men=mber 'renderFrame'
any solution?

i am having the same issue in a swift project @cmorell ,
https://gist.github.com/techwinlabs/07c416362ae7b4dd3ea78eacd4a428cf.js
Any solution found for this?

I have the same problem can i have more informations for how to solve this issues
WorkSpace/Test2/platforms/ios/Test2/Plugins/com.onsip.cordova/libwebrtc_base.a
Undefined symbols for architecture arm64:
"OBJC_CLASS$_RTCEAGLVideoView", referenced from:
objc-class-ref in PhoneRTCPlugin.o
"OBJC_CLASS$_RTCICEServer", referenced from:
objc-class-ref in PhoneRTCPlugin.o
"OBJC_CLASS$_RTCICECandidate", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCMediaConstraints", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCPair", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCVideoCapturer", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCSessionDescription", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"OBJC_CLASS$_RTCPeerConnectionFactory", referenced from:
objc-class-ref in PhoneRTCDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@Carlos77 did you found solution?
I am getting the same error.


SyntaxError: await is only valid in async function

I get this error when run you async/await example. Any advice?

Hi @jk171505 , Many thanks for raising this issue. can you share the code sample, please?

Like I said, this happens when I run your example, copied from the main site:
var reader = require('any-text');
const text = await reader.getText(`path-to-file.pdf`);
console.log(text);

Hi @jk171505 , await muset be used inside a async function. Like:
var reader = require('any-text');

async getMyText(){
const text = await reader.getText(`path-to-file.pdf`);
console.log(text);
return text;
}

Or you can use without await:
var reader = require('any-text');

reader.getText(`path-to-file`).then(function (data) {
  console.log(data);
});

Thanks. I Was confused about this example, that it can work just like that.

@jk171505 nice spot! Would you mind raising a PR with a meaningful example? It will help us.


other ISPs of similar kind

Not all hosters we know may be librehosters, still we want to keep track of them.

https://schokokeks.org/

What do you mean, why aren't they librehosters?

They are not a collective that you could join easily.

How do you want to test how easy it is to join a collective?

I would check their website, if it contains an invitation to join the group.

You're apparently right.
AFAIK Stallman first used the word libre to distinguish modifiable code from simple open source code licenses. Transfered to hosting that would mean whether the hosting process is modifiable. To modify it, you need to become a member of the team.

A friend noted that Greenhost, for example, are also not a collective that one could easily join. Yet they are in the list. It turns out it can be a good reason to proceed with building the https://github.com/libresh/catalogue, "awesome librehosters 2.0".


[JSON-LD] Local odrl.jsonld has a wrong value for odrl:neq operator http://www.w3.org/ns/odrl/2/neq

Bug Report
The local provided odrl.jsonld used within the json-ld extension has a wrong entry for the notEquals operator.
Expected Behavior
Expect the notEquals (neq) operator to be evaluated correctly against
http://www.w3.org/ns/odrl/2/neq
instead of:
http://www.w3.org/ns/odrl/2/neg
Observed Behavior
Policy creation from management-api is failing in the JsonObjectToOperatorTransformer with the following error message.
[
    {
        "message": "http://www.w3.org/ns/odrl/2/Operator property '@id' was invalid: http://www.w3.org/ns/odrl/2/neg",
        "type": "InvalidRequest",
        "path": null,
        "invalidValue": null
    },
    {
        "message": "ARRAY must be EQ, NEQ, GT, GEQ, LT, LEQ, IN, HAS_PART, IS_A, IS_ALL_OF, IS_ANY_OF, or IS_NONE_OF but was: unknown",
        "type": "InvalidRequest",
        "path": null,
        "invalidValue": null
    }
]

Steps to Reproduce
Steps to reproduce the behavior:
Try to create a policy with an constraint and use neq as the operator. Take this as an example payload, even if it is related to some Tractus-X extensions, the problem statement should be clear.
    "@context": {
        "@vocab": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@type": "PolicyDefinition",
    "@id": "{{policyId}}",
    "policy": {
        "@context": "http://www.w3.org/ns/odrl.jsonld",
        "@type": "Set",
        "permission": [
            {
                "target": "{{assetId}}",
                "action": "use",
                "constraint": {
                    "leftOperand": "https://w3id.org/tractusx/v0.0.1/ns/BusinessPartnerGroup",
                    **"operator": "neq",**
                    "rightOperand": "value"
                }
            }
        ],
        "prohibition": [],
        "obligation": []
    }
}

Context Information
Add any other context about the problem here.
EDC Connector v5.01
Tractus-X EDC Connector 0.6.0
Possible Implementation
Fix the entry in the local odrl.jsonld to point to the correct value.

Hi @domreuter
thanks for raising this, it seems that it was opened previously a similar issue check here
https://github.com/eclipse-edc/Connector/issues/3874
Thanks

Sorry, I must have missed that. Just read through and don't get why this can't be fixed as long as we evaluate against the local odrl.json-ld? Looks like a typo for me, cause "neg" is not in the list of supported operators within ODRL 2.2 https://www.w3.org/TR/odrl-vocab/#term-Operator

if its two EDC-based connectors talking there shouldn't be a problem, but as soon as there is a non-EDC connector involved, who may or may not use a locally cached and "altered" file, the  JSON won't get expanded properly anymore.

The thing is that atm it is not possible to get the policy in as neither "neg" nor "neq". So either update the local odrl.json-ld or update the Operator here NEQ("neq").

Did some additional research and need to correct myself in the sense that it is not possible to create the policy at all.
If we use odrl:neq operator in the payload it will be resolved as http://www.w3.org/ns/odrl/2/neq and goes through. This is because the operator class will return the same odrl representation, as it points to neq internally.
Seems as it will not be checked against the odr.json-ld at all when provided with the prefix, this could be another issue here.


Compose 1.4.0 Incomatibility

Hello, thank you for your hard work on this library! This is exatly what I was looking for.
However, we are using Compose version #1.4.0, and unfortunately it crashes with this version. Most likely it's because of this change "Renamed ModalBottomSheetState, ModalBottomSheetState.Saver and rememberModalBottomSheetState's confirmStateChange to confirmValueChange." See: https://developer.android.com/jetpack/androidx/releases/compose-material#1.4.0-alpha04
Are you planning to make the library compatible with the latest version of Jetpack Compose? Thanks!

Thank you @nikitabortnichuk for reporting the issue ,  We will ensure Ychart support the latest compose version.


LEGO: Pull request from juno/hb_dd8dbf7b-874d-49f2-9313-853dd6e34f6c_20210702185334674 to main

LEGO: Pull request from juno/hb_dd8dbf7b-874d-49f2-9313-853dd6e34f6c_20210702185334674 to main with localized lcls

Codecov Report

Merging #226 (e4a5941) into main (cb0c484) will decrease coverage by 0.41%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
- Coverage   89.59%   89.18%   -0.42%
==========================================
  Files          87       87
  Lines        6008     6008
==========================================
- Hits         5383     5358      -25
- Misses        625      650      +25

Impacted Files
Coverage Δ

....Composition.AppDomainTests/OpenGenericExport`1.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...mposition.AppDomainTests/ExternalExportOnMember.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...mposition.AppDomainTests/ExternalExportWithLazy.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...osition.AppDomainTests2/CustomMetadataAttribute.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...dTypeReceiver/PartThatImportsLazyOfEmbeddedType.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...rtThatLazyImportsExportWithMetadataOfCustomType.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...atLazyImportsExportWithTypeMetadataViaTMetadata.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...tLazyImportsExportWithTypeMetadataViaDictionary.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ft.VisualStudio.Composition/LazyMetadataWrapper.cs
68.71% <0.00%> (-3.07%)
:arrow_down:

...soft.VisualStudio.Composition/ReflectionHelpers.cs
69.28% <0.00%> (-1.37%)
:arrow_down:

Continue to review full report at Codecov.

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


amplify push - An error occurred when pushing on cloud

Describe the bug
=> amplify status
then will try 'amplify push'
that time we received "An error occurred during the push operation: Stack:arn:aws:cloudformation "
To Reproduce

Change in to amplify backend
Run amplify push

Hi @hiteshtSociosquares 👋🏽, did the error message have any more information?

Closing. If you need assistance please open a new issue and fill out the prompts so we can better assist you. Thanks!


API: Adds DeletePrefixes

Adds a new DeletePrefixes API which deletes all jobs (as well as counters) whose names match the given prefixes. Note the given strings to this API are prefixes of the job names, not the underlying ETCD keys. Prefixes will be serialized into the actual ETCD keys.
This is useful for Dapr to add a feature whereby jobs (of all of types) in a particular namespace (some job prefix) are deleted when a Kubernetes Namespace is deleted.
Moves /internal/tests to /tests to expose cron ETCD helper funcs for library consumers. Expands package with a cron sub-package to introduce single and clustered cron server setup helpers.
Exposes the CounterGarbageCollectionInterval time duration pointer option to enable testing time interval triggered counter garbage collection. This is set to a low value during some tests, which has a side effect of soft testing this doesn't prematurely delete counters.
Slight refactor of api_test.go to reside in a different package to prevent a circular import from /tests.
Adds /fake for exposing a fake cron that library consumers can use for testing.

This change is too big for a patch. We can release 0.3

@artursouza makes sense- I have opened this PR to fast forward master to keep up with release-0.2


switch between two IR cameras

Required Info

Camera Model
R200

Firmware Version

Operating System & Version
ubuntu 16.04 LTS

librealsense version
1.12.1

pyrealsense version
2.2

Hi,
I am currently using realsense r200 on a project and I need the infrared stream. As in the realsense r200 spec, I notice that there are two  IR cameras on the realsense r200. In pyrealsense, it use the right IR camera as default stream. Is there any way I can get the IR stream from the other IR camera?

if you look at:
https://github.com/toinsson/pyrealsense/blob/1b327915ee8e7a28d17c0446a720a59356fc8a40/pyrealsense/stream.py#L112
you'll notice: self.stream = rs_stream.RS_STREAM_INFRARED.
In the rs_stream structure there is also a rs_stream.RS_STREAM_INFRARED2 which should point to the second IR stream.
So define new InfraredStream2 with the correct parameter and pass it to the Device init function.


go sdk better user API

refer:

GreptimeDB Java SDK
InfluxDB client go
InfluxDB iox client go
gorm
etc.

this issue is to be closed for now. Another refactor issue will be opened if needed


DistanceMatrixApi is sending comma's between multiple points instead of pipes...

Thanks for stopping by to let us know something could be better!

PLEASE READ
If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.
Check for answers on StackOverflow with the google-maps tag.

Please be sure to include as much information as possible:
Environment details

DistanceMatrixApi
Window 10 Pro
v1.17.6 of the specification

Steps to reproduce

Calling method public async System.Threading.Tasks.Task DistanceMatrixAsync (List destinations, List origins, decimal? arrivalTime = null, decimal? departureTime = null, string avoid = null, string units = null, string language = null, string mode = null, string region = null, string trafficModel = null, string transitMode = null, string transitRoutingPreference = null)
Passing  in the 2 destinations of coordinates
the Url constructed has comma between the destination coordinates instead of "|" pipe delimited.  Fails call to google api

Code example
        List<string> destinationList = request.DestinationPoints.Select(s => s.ToString()).ToList();
        List<string> originList = request.StartPoints.Select(s => s.ToString()).ToList();
        var data = await _googleDistanceMatrix.DistanceMatrixAsync(destinationList, originList);
        return data;

# example
[```](https://maps.googleapis.com/maps/api/distancematrix/json?destinations=42.7101%2C-78.8026%2C42.991077%2C-78.759279&origins=43.004179%2C-78.751965&key=)

Following these steps will guarantee the quickest resolution possible.

Thanks!

@chrisgrimaldi70 Thank you for opening this issue. 🙏
Please check out these other resources that might be applicable:

Support Console - If you have a support contract.
Discord - chat with other developers
StackOverflow - use the google-maps tag
Google Maps Platform issue trackers

This is an automated message, feel free to ignore.

The specification here lists these params as style: pipeDelimited. Since this repository is only the OpenAPI specification and documentation I am closing this issue. Please open the issue in the tool used to generate the code instead.


Redirect error from 'https://drugs4covid.oeg.fi.upm.es/knowledge-graph' when click on RDF

The new URL is https://d4c.linkeddata.es/rdf/, and should be https://drugs4covid.oeg.fi.upm.es/rdf/

Solved while dealing with issue #42


Java 9+ non-compatibility

I tried running a Maven build with Java 10.0.2 and get the following error from the plugin. It doesn't seem to matter what jvmVersion parameter I specify (even none at all). Specifying an embedded jre doesn't work either, as the jre folder no longer exists in Java 9/10/11 and the plugin tries to copy it. This was using the maven repo version of the plugin.
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:181)
... 21 more

Caused by: java.lang.ExceptionInInitializerError
at sh.tak.appbundler.CreateApplicationBundleMojo.execute(CreateApplicationBundleMojo.java:378)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
Caused by: java.lang.NumberFormatException: multiple points
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1914)
at java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.base/java.lang.Float.parseFloat(Float.java:455)
at org.apache.commons.lang.SystemUtils.getJavaVersionAsFloat(SystemUtils.java:1117)
at org.apache.commons.lang.SystemUtils.(SystemUtils.java:817)
... 23 more

I'm getting the same issues on Java 11, @federkasten are you planning on supporting future java versions in this project?

I got Java 11 working after looking at native/main.m.  main.m assumes libjli.dylib is located in <jdk>/Contents/Home/jre/lib/jli/libjli.dylib, but there is no jre folder within the standard JDK-11.0.1 install.  The following two manual tasks worked around the issue:

One time:  Created the path /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/jre/lib/jli and linked libjli.dylib into it.
After each mvn package:  Manually edit Info.plist, setting /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk as the value for the key JVMRuntimePath.  This can be done with defaults write <path>/Info.plist JVMRuntimePath /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk

BTW, setting jrePath within pom.xml did not work.  Attempting this yielded the following failure when executing mvn package.  Rather than investigate this problem and take the size penalty for copying the JRE, I've opted to the above steps.

[ERROR] Failed to execute goal sh.tak.appbundler:appbundle-maven-plugin:1.2.0:bundle (default) on project <project>: Error copying folder /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk to /Users/<user>/Documents/src/<project>/target/<project>-1.0-SNAPSHOT/<project>.app/Contents/PlugIns/JRE/Contents/Home/jre: Failed to copy full contents from /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/jre/lib/jli/libjli.dylib to /Users/<user>/Documents/src/<project>/target/<project>-1.0-SNAPSHOT/<project>.app/Contents/PlugIns/JRE/Contents/Home/jre/lib/jli/libjli.dylib -> [Help 1]


remove required from optional fields

https://github.com/dana-team/platform-backend/blob/108d9bb7e14b5a0a180830cd05947d8316553bd0/src/types/capp.go#L17-L18

Closed by #57 and #75


New DOH COVID-19 Dashboard is a closed Tableau workbook

Official URL
https://www.doh.gov.ph/covid19tracker
Direct URL
https://public.tableau.com/profile/doh.covid#!/vizhome/COVID-19CasesandDeathsinthePhilippines_15866705872710/CaseInfo

Data dump: https://docs.google.com/spreadsheets/d/1BLbrvgjkBWxr9g73xX9DLOqmbmuYyKc-_b8jIxCX1uo/htmlview

Reworked API.
v2 — 06e9c9b8e5453d231a7512adb29591439a94174a


[9.4.x] ISPN-10576 Upgrade Protostream to 4.2.4.Final

https://issues.jboss.org/browse/ISPN-10576

gson seems to be missing and some remote query integration tests fail.

@anistor are you looking at the issues?

I was, but I'm also looking in 3 other directions, so I might not have a solution today :(

Let's wait for another CI round.

@anistor the failures are caused by the missing gson dependency. Or remove the optional from the hotrod-client (best option since it will be backwards compatible) or add it to the integration tests.

@anistor the failures are caused by the missing gson dependency. Or remove the optional from the hotrod-client (best option since it will be backwards compatible) or add it to the integration tests.

Was trying both options now.

I made the gson dependency required in hot rod client. And removed it from javadocs pom as it's no longer needed. Should be fine now.

Seems good to me. Thanks @anistor !


⚠ Bofrost.at has degraded performance

In 3dbc8bf, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1520 ms

Resolved: Bofrost.at performance has improved in 3c25b8f after 16 minutes.


How would you implement a custom font?

All supported fonts can be accessed via the Font class. You can also create any custom font families if supported in the targeted OS.


File output manager

Issue: #475

[x] Tick here to confirm that you have run RunCodeFormatter.ps1

Description:
File Output Manager outputs events into files on the local file system
Test:
Add a fileOutputManager as an output target to the pipeline builder in ProgramEx class under Nether.Analytics.Host:
....
var fileOutputManager = new FileOutputManager(clusteringSerializer,
                new PipelineDateFilePathAlgorithm("c:/temp", newFileOption: NewFileNameOptions.Every5Minutes));

            builder.Pipeline("clustering")
                .HandlesMessageType("geo-location", "1.0.0")
                .HandlesMessageType("geo-location", "1.0.1")
                .AddHandler(new GeoHashMessageHandler { CalculateGeoHashCenterCoordinates = true })
                .AddHandler(new RandomIntMessageHandler())
                .OutputTo(clusteringConsoleOutputManager, clusteringDlsOutputManager, fileOutputManager);
...

@navalev looks very good, but two things I did notice:

Please change the default root to "C:\nether"
I see empty lines in the output

id,type,version,enqueueTimeUtc,gameSessionId,lat,lon,geoHash,geoHashPrecision,geoHashCenterLat,geoHashCenterLon,rnd

0_2601,geo-location,1.0.0,2017-05-16 T18:50:57.2150000Z,8e14351a-1049-4594-b455-93e38fa39836,0,0,1073741823,32,-0.001373291015625,-0.00274658203125,780864510

1_2606,geo-location,1.0.0,2017-05-16 T18:51:41.1550000Z,8e14351a-1049-4594-b455-93e38fa39836,0,0,1073741823,32,-0.001373291015625,-0.00274658203125,439857424

According to discussion, don't change the default :-) Just implement the extra property to the FileOutputManager. Thanks @navalev :-)

According to discussion, don't change the default :-) Just implement the extra property to the FileOutputManager. Thanks @navalev :-)

I fixed the following in your PR:

Folder structure didn't work correctly due to not using Path.Combine
The initial implementation of the CsvFormatter was correct, reverting back and fixing the problem in the FileOutputManager instead. Changing the CsvFormatter caused unintended side effects in the other output providers.
Merged and rebased

Merging. Thanks @navalev :-)


unix: wrap blocks in SAVE_ERRNO

This commit wraps two code blocks with SAVE_ERRNO() and removes the manual caching of errno.

Passing blocks of code to macros is not very robust.  The moment you add a comma, the preprocessor gets confused.

Fair enough. I'll close this then.