text:
Multiple images per filename

Hi there,thanks for a great tool, very useful. Quick question on the filename pattern for image downloads: the default settings are to use the posting timestamp as the image filename, with 1 second resolution, so what is the expected behaviour when there were multiple posts per second? I'm downloading posts from a popular hashtag on a certain day, and expect the volume of posts to be high. It looks like the first image in each second gets downloaded, but then subsequent images are not downloaded because the file exists already. Just wondering if that is the intended behaviour, and if there is a work around to get all images? Example console output below.  Cheers
[11] #tag/2019-01-17_07-06-31_UTC.jpg [#10yearchallenge #10 #10years…] json
[12] #tag/2019-01-17_07-06-31_UTC.jpg exists [#10yearchallenge #10 #10years…] updated [Ikutan lah #10yearchallenge] json
[13] #tag/2019-01-17_07-06-31_UTC.jpg exists [Ikutan lah #10yearchallenge] updated [Vcs acham que eu mudei? #10ye…] json
[14] #tag/2019-01-17_07-06-31_UTC.jpg exists [Vcs acham que eu mudei? #10ye…] updated [😂 #10yearchallenge less hair …] json
[15] #tag/2019-01-17_07-06-31_UTC.jpg exists [😂 #10yearchallenge less hair …] updated [跟风 #10yearchallenge] json
[16] #tag/2019-01-17_07-06-30_UTC.jpg [10 Year Challenge.... 2009 vs…] json
[17] #tag/2019-01-17_07-06-30_UTC.jpg exists [10 Year Challenge.... 2009 vs…] updated [Thank god for adolescence 🙌🏻 …] json
[18] #tag/2019-01-17_07-06-30_UTC.jpg exists [Thank god for adolescence 🙌🏻 …] updated [#10yearchallenge #10yearschal…] json
[19] #tag/2019-01-17_07-06-29_UTC_1.jpg #tag/2019-01-17_07-06-29_UTC_2.jpg [feeling old yet? 😂🧚🏻♀#10yea…] json
[20] #tag/2019-01-17_07-06-29_UTC.jpg [feeling old yet? 😂🧚🏻♀#10yea…] updated [Tutto sommato nonostante la c…] json
[21] #tag/2019-01-17_07-06-29_UTC.jpg exists [Tutto sommato nonostante la c…] updated [back when I was a lil pup, we…] json
[22] #tag/2019-01-17_07-06-29_UTC.jpg exists [back when I was a lil pup, we…] updated [Close enough 😂 #10yearchallenge] json
[23] #tag/2019-01-17_07-06-29_UTC.jpg exists [Close enough 😂 #10yearchallenge] updated [สวยเหมือนเดิม เน๊อะเจ้เน๊อะ 😊…] json
[24] #tag/2019-01-17_07-06-28_UTC.jpg exists [This has me shook 😂🤙🏼✨ #theOG…] updated [Here's that #10YearChallenge …] json

Thats great- thanks!

repo: instaloader/instaloader


text:
Error, directory not found while scraping only highlits and tagged pictures.

I'm using this arguments. After this error, it terminates the execution
instaloader.exe -l AAA -p BBB --highlights --tagged --no-posts --no-profile-pic --no-video-thumbnails --no-captions --no-metadata-json @AAA
Retrieving highlights "#amor meu..." from profile ZZZ
[  1/ 13] ZZZ﹨#amor meu.../2019-07-06_16-16-59_UTC.jpg Traceback (most recent call last):
File "main.py", line 442, in
File "main.py", line 438, in __main
File "main.py", line 413, in main
File "main.py", line 189, in _main
File "instaloader\instaloader.py", line 993, in download_profiles
File "instaloader\instaloader.py", line 49, in call
File "instaloader\instaloader.py", line 651, in download_highlights
File "instaloader\instaloader.py", line 585, in download_storyitem
File "instaloader\instaloader.py", line 67, in call
File "instaloader\instaloader.py", line 239, in download_pic
File "instaloader\instaloadercontext.py", line 529, in get_and_write_raw
File "instaloader\instaloadercontext.py", line 495, in write_raw
FileNotFoundError: [Errno 2] No such file or directory: 'ZZZ﹨#amor meu.../2019-07-06_16-16-59_UTC.jpg'
[732] Failed to execute script main
Version 4.2.8
Also, the directory where the error is indicating, doesnt include the picture that it tries to download. So maybe its trying to mark as downloaded a picture that wasnt even downloaded?

So, the folder in which it occurs this error, is like, the highlight is named "something something...", those 3 dots at the end werent created at the folder in which they were supposed to be named together. I tried to manually put a picture there with the same name that it says "2019-07-06_16-16-59_UTC.jpg" but its actually searching for the directory. Also, when I tried to rename the folder with the 3 dots at the end, file explorer wouldnt me do it, it would just wipe it out and get back without the dots. Now, I dont know if this is a behaviour from the program or a bug in windows explorer.

Can this be edited in a way that when downloading such highlights, the ones that ends with such special characters that Win32 doesnt like to work with, to add an blank character? Like char(128)?

I came back and read some old threads claiming that -q would solve some of this issues but still getting the same error. The folder cant be created because of those 3 dots at the end. My solution would be to add a blank character at the end of the folder creation name, this way it works.

@aandergr could you take a look?

Duplicate of #263.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Another Book

Better Backbone Applications with MarionetteJS by Joseph Zimmerman (based on version 1.3.0 of MarionetteJS.)

Can you send a PR?

authors: Ramblurr instanceofpro

repo: instanceofpro/awesome-marionette

license: unlicense

license_source: bigquery


text:
bug: atividade com discussão

Atividade não funciona

foi desabilitado.

repo: institutotim/timtec


text:
Generate needs to consider trainer model context window length

When running ilab generate on a qna.yaml where questions/answers are long, the command can fail due to the trainer model's context window limitations.
Generating dataset failed with the following error: There was a problem connecting to the server Error code: 400 - {'error': {'message': "This model's maximum context length is 4096 tokens. However, you requested 9360 tokens (6288 in the messages, 3072 in the completion). Please reduce the length of the messages or completion.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
To reproduce this, use the base instructions for creating a custom model (instructlab/README.md), create a qna.yaml where the answers are really verbose, which should encourage the model to replicate the verbose pattern, and run ilab generate. After a few synthetic pairs you should see a failure.
If normal q/a pairs don't work, try replicating the same word over and over for multiple lines for each answer. This seems to encourage the model to be extremely verbose (and the content doesn't really matter for this test).
Also, don't forget to include the prompt.txt in the context size as I believe it also gets sent along with the qna content.

I frequently hit this as well (with knowledge generation in my case), where my ilab generate run eventually errors out with a similar context length exceeded message. Perhaps we need to check our generated prompts before sending to the model and skip anything we generate that's too long? That would be better than exiting the entire generation run with this error.

I am also hitting this with knowledge and skills.

Yes @gshipley, ideally we would want to keep the tokens less than 4096.
Can you point me to the taxonomy yaml you are trying to run?

I am using the qna.yaml file here:
https://github.com/gshipley/softball-instruct/blob/main/qna.yaml
I also just saw in config.yaml and ilab serve --help the following:
--max-ctx-size INTEGER  The context size is the maximum number of tokens
considered by the model, for both the prompt and
response. Defaults to 4096.
I assume I can use this as a workaround. Set it 20000 or something?

I wouldn't recommend increasing the tokens. Rather chunking the document is a better approach. Ideally the ilab should be chunking the document into lesser number of tokens to avoid this issue. I see https://github.com/instructlab/instructlab/pull/969/ tried to address this issue.

We are working on getting https://github.com/instructlab/instructlab/pull/969/ merged and @gshipley you can try after the new updates are made, that should resolve the issue you are facing.

969 won't fix this issue unless it's specifically because there are really long lines in the knowledge document. I see some that are a bit long there, but nothing that I'd think would be long enough to trigger this. The error @gshipley got is over the context window by about 3000 tokens - that would have to be a large error in our chunking logic if chunking is to blame.

Thanks for chiming in @bbrowning. Have we tested the chunking for the knowledge documents associated with the knowledge yamls, I suspect those are relatively lengthier documents?

With #969 merged, this may fix this issue for any knowledge documents with long lines, as long as there are regular words in those lines and it's not just some giant random text without spaces.
For the original issue reported, it didn't sound like @HunterGerlach was teaching knowledge as it was only mentioned that the questions/answers were long, not the document. Were you able to trigger this with teaching skills using only long Q/A pairs, @HunterGerlach?

I was indeed teaching it knowledge. I can share the repo if needed (it's currently just the markdown from the InstructLab org + qna.yaml).

it happened to me with a skill:
NFO 2024-04-30 20:45:01,424 generate_data.py:468 Selected taxonomy path compositional_skills->extraction->inference->quantitative->asciidoc->tables
Generating dataset failed with the following error: There was a problem connecting to the server Error code: 400 - {'error': {'message': "This model's maximum context length is 4096 tokens. However, you requested 7332 t
okens (4260 in the messages, 3072 in the completion). Please reduce the length of the messages or completion.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
Skill: https://github.com/gshipley/qna/blob/main/taxonomy/compositional_skills/extraction/inference/quantitative/asciidoc/tables/qna.yaml

@gshipley I haven't been able to reproduce the failure with that asciidoc qna.yaml yet, although will let it keep churning. In your error message, ilab managed to generate a prompt with 4260 tokens. Short-circuiting the generate logic and just dumping the number of tokens from each generated prompt in a loop, I've yet to construct a prompt with over 600 tokens. Something else might be going on here that would bloat this to 4260 tokens, but I haven't tracked it down yet.

Oh, I learned something new! We're feeding the synthetic generated instructions back into the model, so when we generate a long instruction and feed that back into the model we blow our context window. I had no idea we were treating earlier generated instructions as examples as well during the generation process. That feels perhaps a bit odd.

There area  few things to solve to fix this.
Calculate tokens in each Q/A example before starting generation
Before starting generation, we should calculate (either exactly with a tokenizer, or approximately using a formula) the tokens of all their question and answer pairs and ensure it's under some threshold. If it's over, we should write out a sensible error message so the user knows what to fix. We should calculate that threshold dynamically based on the configured max context size of the model being served (can we ask that of the model server?), so that when a user raises the context size generate will automatically allow longer Q/A pairs.
Response Length
https://github.com/instructlab/instructlab/blob/089c3617e6538ab070fed78ed44e337db3dfd60c/src/instructlab/generator/generate_data.py#L294-L296
We allow up to 3072 tokens for the completion response, so we can end up with a generated instruction almost this long. Both our prompt and the completion have to fit within the model context window, so we probably need to lower this value to something smaller or otherwise further restrict the allowed size of question/answer pair.
Seed Instructions - human-written vs generated
https://github.com/instructlab/instructlab/blob/089c3617e6538ab070fed78ed44e337db3dfd60c/src/instructlab/generator/generate_data.py#L470-L474
We're feeding generating instruction back into the model as seed instructions. From reading the code history, this appears to perhaps be an unintended side-effect of some previous refactoring. I suggest we don't do that, as generated instructions can be quite long (see above) but also could progressively steer us further and further away from the intended topic and format as minor errors in generated data get reinforced over time during the generation run as more and more of our human-written seed examples get replaced with machine-generated ones.

I spoke with @abhi1092 elsewhere, and summarizing that learning here.
Adding synthetic instructions into our pool of examples is important for prompting diversity in the responses (see https://github.com/tatsu-lab/stanford_alpaca and https://github.com/yizhongw/self-instruct). So, we don't need to stop doing this, but both agreed that we should only insert generated responses below some token threshold as instructions, to eliminate the problem of long outliers blowing up our context window while retaining the benefits of prompting diversity.

#1069 should fix this for most cases, as it both validates the human-created examples are within a reasonable length compared to the server's context size and only adds generated responses into the pool of seed instructions if those generated responses are of a reasonable length compared to the server's context size.

Thanks @bbrowning , really appreciate the quick response on this. Once this is merged, it should resolve the issues @gshipley and @HunterGerlach have been facing.

authors: HunterGerlach aakankshaduggal bbrowning gshipley

repo: instructlab/instructlab


text:
Add files via upload

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[ ] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[ ] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines

https://github.com/instructlab/taxonomy/issues/832

source: gharchive/pull-request

repo: instructlab/taxonomy


text:
🛑 Shopintake is down

In 2786449, Shopintake (https://www.shopintake.com) was down:

HTTP code: 403
Response time: 236 ms

Resolved: Shopintake is back up in dc3462e after 23 minutes.


text:
Example RPN code fails to run

Hi, totally new to Rust and I clicked the playground link from the Rust homepage then clicked the run button and I see this:
Compiling playground v0.0.1 (/playground)
error: Could not apply operator `*` to the current stack: [2 + 3]
  --> src/main.rs:7:9
   |
7  |         compile_error!(concat!("Could not apply operator `", stringify!($op), "` to the current stack: ", stringify!($stack)))
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
44 |     println!("{}", rpn!(2 3 + *));
   |                    ------------- in this macro invocation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

error: could not compile `playground`.

To learn more, run the command again with --verbose.

Is it supposed to be broken? If so, what should I be looking for in order to see it run?

I clicked the playground link from the Rust homepage then clicked the run button

The link to the playground on https://www.rust-lang.org/ (I assume you mean this one:)

Does not supply any code:

The default code of the playground is a basic hello world:
https://github.com/integer32llc/rust-playground/blob/77ce403cd0d4d2da0d4d424e841ce30623e3a209/ui/frontend/reducers/code.ts#L3-L5
It sounds like you visited the playground previously with that RPN code. Your last code is persisted in your local browser storage. Perhaps I should add a timestamp check and offer to reset things if someone hasn't visited the playground in sufficiently long.

Thanks for the explanation, I can see how the local storage feature is useful if you're using the playground as a scratch pad. I probably won't be visiting the scratch pad much for that kind of thing, but maybe the reset idea could be helpful for others like me who visited out of curiosity sometime in the past and have since forgotten they ever visited.

Duplicate of #323

authors: memco shepmaster


text:
release teeracle SDK

release a first version of our teeracle SDK nailed to a recent polkadot release

[x] write a tutorial how developers can change our teeracle to fetch some trading pair on coinmarketcap (i.e. DOT/USD) and send the data to L1 teeracle pallet (use a fork of our our solochain integritee-node as L1 for simplicity)

Existing version on https://integritee-network.gitbook.io/integritee-wiki/for-developers/teeracle
In GitBook https://integritee-network.gitbook.io

[ ] README.md in repository references the GitBook
[ ] New release branch version 0.10.0, polkadot 0.9.27

Do the release according to : https://github.com/integritee-network/worker/issues/990

authors: brenzi echevrier

repo: integritee-network/teeracle


text:
Develop

Updating the branch

Please, merge this or close

authors: aregm ifilippov

repo: intel-go/nff-go


text:
Fix/Replace some edk2 build workspace path with current vscode workspace

When use subst Z: . before edk2 build then use subst /D Z: after build in D:\Code\edk2, open D:\Code\edk2 in VSCODE.
buildActivePlatform cannot get correct relative path, here fix it.
Files under CompilerInfo use Z: as workspace, so cscope or clangd cannot find source file, replace it with vscode workspace to fix this.

This is open as a draft PR, please give some comments when you have time.


text:
qat card utilization report and monitor

Hello!
I am using qat card dh8950, and the driver is qat1.7.l.4.2.0-00012.
I want to fetch qat card utilization (just like the cpu util reported by top and pidstat). Is this supported?
By the way, the information inside /sys/kernel/debug/qat_dh895xcc/ seems lack the guide, I only see this in  https://01.org/sites/default/files/downloads/intelr-quickassist-technology/336210qatswprogguiderev001review.pdf, but the description is less. Entries in /sys/kernel/debug/qat_dh895xcc/  are:
-r--------  1 root root 0 Jul 13 01:23 dev_cfg
-r--------  1 root root 0 Jul 13 01:23 fw_counters
-r--------  1 root root 0 Jul 13 01:23 heartbeat
-r--------  1 root root 0 Jul 13 01:23 heartbeat_failed
-r--------  1 root root 0 Jul 13 01:23 heartbeat_sent
drwxr-xr-x 34 root root 0 Jul 17 01:17 transport
drwxr-xr-x  2 root root 0 Jul 13 01:23 version

I want to do the heartbeat just like the way in qat1.6 (cat heartbeat file and observe the result).
Thanks!

Hi @tokers,
Generally the recommended way of using the heartbeat feature is programmatically as detailed in:
Intel® QuickAssist Technology Software for Linux* - Programmer's Guide - HW version 1.7 - Section 3.17
If you want to use heartbeat via the /sys/kernel/debug/qat_dh895xcc filesystem as you state this is undocumented.
It is my understanding that if you cat /sys/kernel/debug/qat_dh895xcc/heartbeat this will issue a heartbeat request to the firmware. You can observe this by checking the value returned by cat /sys/kernel/debug/qat_dh895xcc/heartbeat_sent which should increase each time you cat /sys/kernel/debug/qat_dh895xcc/heartbeat. If a heartbeat request fails then you can detect this by monitoring the result of  cat /sys/kernel/debug/qat_dh895xcc/heartbeat_failed which will increment on a failure. This is all just based on my observation of the feature as like you say it is not officially documented. I will try and find out whether there are plans to document it officially in a future release.
In terms of QAT card utilization, I'm not aware of a way to get this displayed in a useful manner. Obviously there is the count of requests that is accessed via cat /sys/kernel/debug/fw_counters. This could be read at a fixed interval (x seconds) and then the data parsed and graphed to show number of requests over time. This would show whether utilization was increasing or decreasing over time. It is hard to graph that with any kind of absolute scale though (0-100% usage) as the types of request are not differentiated. Many small symmetric encryption requests would take far less resource than a single large request and asymmetric RSA sign requests for instance take a large amount of resource but from the counters it is not possible to tell how many of those are happening. If that feature is important to you then I would recommend raising the issue through the standard Intel® Support Channels.
Hope this information is helpful,
Steve.

@stevelinsell. Thanks for the detailed answers!

authors: stevelinsell tokers


text:
SECURITY.md: Change file name to SECURITY.md according to common practice

File name change according to common practice

It should be good to write the commit message in same format with PR title.

repo: intel/cloud-native-ai-pipeline


text:
accuracy: scikit: Wrap sklearn.metrics accuracy methods within Accuracy plugins

Add these to model/scikit/dffml_model_scikit/accuracy/
https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html
Depends: #732

this also looks interesting, https://scikit-learn.org/stable/modules/model_evaluation.html

Following documentation needs to be updated. when this is done.

https://intel.github.io/dffml/examples/flower17/flower17_scikit.html

authors: pdxjohnny sk-ip

repo: intel/dffml


text:
docs: arch: Inventory

The knowledge graph

References

https://github.com/w3c-ccg/traceability-interop

Didn't mean to close this

https://github.com/anthonyharrison/sbom-manager

Related: #596

AI/LLM Agent Tool Catalog: https://github.com/scitt-community/scitt-api-emulator/blob/f52fb3c4316c3edc3abe456d1f8f8a891c59e65a/scitt_emulator/policy_engine.py#L8-L20


text:
environment settings for VM

Do you have any recommendations to get best performance in VM? We are referring to these settings but these seem to not work in virtual machine.
https://www.tensorflow.org/guide/performance/overview#tuning_mkl_for_the_best_performance

Hi @dev2y,
We don't have any specific recommendations for VMs. In general you want to pin threads (KMP_AFFINITY) and use as many threads as available.
What is performance difference you observe between VM and the corresponding host? I assume you use the same number of threads in the former and latter.

@dev2y In the TF specific case, you should also set the inter/intra_op_parallelism_threads in your python script before launching your session(). You can see an example of this in the image recognition tutorial in Intel's AI model zoo.
Also, Intel hosts our own version of the CPU TF performance considerations here.

closing due to >1 week with no response.

authors: dev2y emfomenk nathan-greeneltch-intel

repo: intel/mkl-dnn


text:
[Snyk] Security upgrade numpy from 1.16.6 to 1.22.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

openfl-tutorials/interactive_api/MXNet_landmarks/workspace/requirements.txt

⚠ Warning
matplotlib 2.2.5 requires numpy, which is not installed.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

506/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
NULL Pointer Dereference SNYK-PYTHON-NUMPY-2321964
numpy:  1.16.6 -> 1.22.2
No
Proof of Concept

399/1000  Why? Has a fix available, CVSS 3.7
Buffer Overflow SNYK-PYTHON-NUMPY-2321966
numpy:  1.16.6 -> 1.22.2
No
No Known Exploit

506/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Buffer Overflow SNYK-PYTHON-NUMPY-2321969
numpy:  1.16.6 -> 1.22.2
No
Proof of Concept

506/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Denial of Service (DoS) SNYK-PYTHON-NUMPY-2321970
numpy:  1.16.6 -> 1.22.2
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)

Should be fixed in ~/requirements.txt, not tutorial requirements

repo: intel/openfl


text:
Generated code should prefer original names to uniquified names, if available

Describe the bug
If multiple signals during generation have the same original name, all but one will be uniquified.  If some of those signals can later be collapsed (e.g. via _collapseAssignments), it may be possible that the original signal name is not used by any of the remaining signals, and all the remaining signals are uniquified.  Since the original name is generally preferred, it is better to have at least one of the signals select the original if it is available.
This is not a functional issue, just a style/naming issue in generated code.
To Reproduce
Create two signals with the same name and connect them in a way that the first one will be collapsed.
Expected behavior
At least one generated signal name will be the original name.
Actual behavior
Sometimes, all generated signals of the same name are uniquified, and the original name is unused.
Additional: Dart SDK info
No response
Additional: pubspec.yaml
No response
Additional: Context
No response

Related to #151

Also add a way to reserve names, just like for modules and ports

repo: intel/rohd


text:
Add _foreach_mul.Tensor

[x] _foreach_mul.Tensor
[x] _foreach_mul_.Tensor

Pls also add _foreach_mul.ScalarList, _foreach_mul_.ScalarList, _foreach_div.ScalarList and _foreach_div_.ScalarList.

Why use the name BinaryOpTensor instead of BinaryOpScalarTensor ?

Why use the name BinaryOpTensor instead of BinaryOpScalarTensor ?

Thanks for the reminder. Changes done.

authors: CuiYifeng xytintel

repo: intel/torch-xpu-ops


text:
@user is a scary default for user.current

Version info

intercom-rails version: 0.3.2
Rails version: 4.2.0

Expected behavior
Just wanted to highlight what, in my opinion, is a risky default for this library. I do not expect Intercom to treat a user assigned to @user in a controller as the currently logged in user.
I've remedied this by explicitly setting user.current to current_user in the initializer config, but it doesn't seem like developers should have to do that. I expect assigning something to @user to have no effect on Intercom's behavior, especially since related conversations can be a big security risk. Ultimately a miss on my part, but it seems safest to not include @user as a default for user.current.
Expected: If current_user is nil and @user is defined, Intercom will not use @user as the current user.
Actual behavior
Until today I wasn't even aware that was a default in addition to current_user. It was an issue for me when displaying a profile view for a user. When viewing a user's profile (assigned to @user) without being logged in (current_user is nil), the conversations that showed up in the Intercom widget were those of that user.
Actual: If current_user is nil and @user is not, @user is used to convey currently logged in user.
Steps to reproduce

Log out of whatever (I'm using devise)
Visit an action that assigns @user to the user you want to view the profile of and assume that it's one person viewing their friend Fred's profile
Open Intercom widget, see Fred's message history about how he reset his password and update his credit card information

I have the same issue.
User1 started a conversation with a team, than visited the profile page of User2 and wrote to team again. All old conversation of User1 passed to User2.

@kira4ka if you haven't already, you can fix this by adding
config.user.current = Proc.new { current_user } # or whatever your current user method is

to your Intercom initializer

@albatrocity, yes, I did it some hours ago and just finished to test it on different environments. Thanks.

We also missed that tidbit when setting up Intercom for a new customer. We were quite surprised to learn about this behaviour and the fact that we'd been leaking conversations to random people. I very much agree that it is too much of a stretch to assume that @user is the currently logged in user.

This should be higher priority, and is 100% a potential security risk. If you don't use current_user like @albatrocity fix above, then @user SILL overrides whatever you set in the config.user.current Proc.
Our users have the option of setting pages public page. And setting an @user ANYWHERE in that code causes intercom to leak @user messages out to the public.  I could go in and change all our @user object names, but this library shouldn't force me to do that.

This just bit us and wanted to +1 to change this behaviour or clearly warn about it in documentation and/or logs.

Also got bit by this -- +1

authors: albatrocity corwinstephen jfeust kira4ka koppen paulmwatson

repo: intercom/intercom-rails


text:
Add serial options

The Serial transport should accept all of the arguments supported by PySerial.

This was implemented here: https://github.com/intercreate/smpclient/commit/d982efdee18d0c487853ad5edc8accb7e0a04655

repo: intercreate/smpclient


text:
Update gulp

I also noticed that gulp-webserver hasn’t been updated in a year so maybe we need a newer solution for that?

@varffs webserver is fine, doesnt do much, it probably doesnt need update.

authors: mixcas varffs


text:
Investigate how other lending protocols accrue interest

Currently, the loans pallet is using a fixed-length year to accrue interest based on the time delta of the last update. Research how other protocols do this and if there are any consequences based on the frequency of accruals.

Compound

V2: Accruing is done proportionally to the number of blocks elapsed. It assumes a fixed number of blocks per year and use the simple interest formula.
V3: Accruing is done proportionally to the time elapsed (in seconds). They assume that there are 365 * 24 * 60 * 60 seconds per year, just like in our protocol. The formula used is still simple interest.

Aave.

V2: fairly complex, with fixed per-block interest and also variable, based on the interest rate model. Debt is calculated using the compound interest formula, but instead of exponentiating they use a polynomial function that approximates the result (a Taylor series from the looks of it).

usize (the type of the power parameter in Substrate) is 32 bits in WASM and the complexity of pow increases linearly with the number of bits, so at most 32 steps. With the approximating function, we have the choice of how many items from the Taylor series to include in the result. Aave V2 only uses three terms in the function linked above. I don't think this is a big concern but since interest is accrued from external pallets too, I'll open a GitHub issue to switch to this. cc @nud3l @sander2 @gregdhill

repo: interlay/interbtc


text:
fix(popup): add useLocalStorage hook

Context
Extracted from https://github.com/interledger/web-monetization-extension/pull/366 and added tests.

Extension builds preview

Name
Link

Latest commit
4e75594c94349b3a63de00f5b0b09b1799d28053

Latest job logs
Run #9908377113

DownloadDownload

authors: raducristianpopa sidvishnoi

repo: interledger/web-monetization-extension


text:
Twig Migration | Navigation Chunk

Twig Migration | Navigation Chunk
This task is a part of #1070
We need to migrate  twig components into twig-new, here are all the necessary steps you will need

Copy the initial component folder from twig to twig-new, component directory: src/components
Remove index.js and story files
Rename *.wingsuit.yml into *.pattern.yml
Create a new story inside the stories directory: [name].stories.js. name should be in the same casing as the component
Import *.twig. *.pattern.yml file and maestro

import Tooltip from "../src/components/tooltip/tooltip.twig";
import TooltipPatterns from "../src/components/tooltip/tooltip.pattern.yml";
import { Maestro } from "@ilo-org/maestro";

Pass twig component and pattern to Maestro.create

const story = Maestro.create(Tooltip, TooltipPatterns);

Create Meta definition:

For the title pass path that represents it on the sidebar, we should keep the same folder structure so grab yours from https://twig.ui.ilo.org/
For the tags pass ["autodocs"]
And spread the story.meta

const Meta = {
  title: "Components/Feedback/Tooltip",
  tags: ["autodocs"],
  ...story.meta,
};

Get Default from story.stories and  export it alongside meta

const [Default] = story.stories;

export default Meta;
export { Default };

9*: If your definition contains variants , story.stories will contain additional elements that also should be exported. You can name the variants anything you want
10*: If your pattern contains a link to a static file like an image, you should move all the assets to the new static folder, public/images, and update the path inside pattern.yml
Component list

[ ] navigation
[ ] form
[ ] textinput
[ ] checkbox
[ ] datepicker
[ ] dropdown
[ ] fileupload
[ ] numberpicker
[ ] radio
[ ] search
[ ] textarea
[ ] toggle

As discussed I will pick this one up @GGKapanadze

Closed by #1108

authors: GGKapanadze Shashika6 justintemps


text:
'ExplainableBoostingClassifier' object has no attribute 'feature_groups_'

Hi,
I recently tried to score my model and build the explainable global wrapper but keep getting the error AttributeError: 'ExplainableBoostingClassifier' object has no attribute 'feature_groups_'.
Is anyone able to help me understand this issue?

closing this, please re-open this issue in https://github.com/interpretml/interpret thanks!

@Vptel please create issue in https://github.com/interpretml/interpret repository

authors: Vptel imatiach-msft

repo: interpretml/interpret-community


text:
Tile Logo for Apps with AI features

AI is fundamental to emerging software. The Open Exchange should display an AI feature logo on the Application tiles.

Great idea, Alex!
do you know how to distinguish AI enabled startups automatically?
On Thu, Jul 27, 2023 at 7:26 PM Alex Woodhead @.***>
wrote:

AI is fundamental to emerging software. The Open Exchange should display
an AI feature logo on the Application tiles.
[image: image]
https://user-images.githubusercontent.com/691812/256630423-798c83fa-9241-4c38-b4b2-4baa8f00ab50.png
—
Reply to this email directly, view it on GitHub
https://github.com/intersystems-community/openexchange/issues/274, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEP7C5YY42GLFHDJBERTXSKXGZANCNFSM6AAAAAA22PADZU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I think a scan of python classmethods and python source code for the project for "import" and "from" statements that utilize a known list of AI specific module names could be an approach.
Additionally this will help projects that include python classmethods, yet don't get a "Python" logo.

We discussed this technical possibility and realised  the data fetched maybe not accurate and missleading.
So we suggest to ad another checkmark on app registration: my app utilises AI or ML / or two separate checkmarks.

Interesting there is opportunity of more than one checkbox:
A few years ago we may have looked at:

"AI" is an everything superset that includes "ML".
"ML" contains "DeepLearning"
Therefore checking "AI" would also check "ML", so not that useful.
Last year might have envisioned functional scenarios:
AI Model Training
AI Inference - Classificaton, Transcribe
AI Generative -  Transformer services like LangChain, CoPilot, ChatGPT
Looking at other vendor as-a-service product formulation, can see a pattern that follows more a "Usecase" scenario.
If there were only two checkboxes I would suggest for Open-Exchange:
IRIS ML - Focused on "Smart Database Tables". Solutions with examples of implementing and configuring classes / tables to be trained by core IRIS product workflow
Bring-Your-Own ML - Which is focused on developing external Training, Inference and Generative services that are interoperated or otherwise contribute to a solution with IRIS. For example LangChain.

@alexatwoodhead thank you! That looks more like dropdown list, but no problem to implement, will do!

Implemented as tags and filters, as well as the logos for AI and ML

authors: Lena-Ev alexatwoodhead evshvarov

repo: intersystems-community/openexchange


text:
Fix: garbage directories in tar archives

Fixes #606

@isc-shuliu @isc-kiyer could I get a review on this?

@isc-kiyer sorry, missed your last comment here - any other concerns?

repo: intersystems/ipm


text:
🛑 Bonnefanten is down

In 3864c5c, Bonnefanten (https://www.bonnefanten.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bonnefanten is back up in 6539784 after 12 minutes.

repo: intk/intk-upptime


text:
resource types: add workflow, physical object and review others

From Zenodo production, legacy Zenodo and current RDM (Zenodo RDM), we get the following table:
# Resource types

| Legacy Legacy     | Production                        | RDM                               |
| ----------------- | --------------------------------- |:--------------------------------- |
|                   | publication-annotationcollection  | publication-annotationcollection  |
| books-sections    | publication-section               | publication-section               |
|                   |                                   | publication-conferenceproceeding  |
|                   |                                   | publication-journal               |
| conference-papers | publication-conferencepaper       | publication-conferencepaper       |
| publications      | publication                       | publication                       |
| book              | publication-book                  | publication-book                  |
|                   | publication-datamanagementplan    | publication-datamanagementplan    |
| milestone         | publication-milestone             | publication-milestone             |
| deliverable       | publication-deliverable           | publication-deliverable           |
| patents           | publication-patent                | publication-patent                |
|                   | publication-taxonomictreatment    | publication-taxonomictreatment    |
| images            | image                             | image                             |
|                   |                                   | model                             |
|                   | publication-peerreview            | publication-peerreview            |
| technical-notes   | publication-technicalnote         | publication-technicalnote         |
| presentations     | presentation                      | presentation                      |
|                   | image-photo                       | image-photo                       |
| physicalobject    | physicalobject                    | physicalobject                    |
|                   | publication-preprint              | publication-preprint              |
| theses            | publication-thesis                | publication-thesis                |
|                   |                                   | event                             |
| other-images      | image-other                       | image-other                       |
| other             | other                             | other                             |
| reports           | publication-report                | publication-report                |
|                   |                                   | publication-standard              |
|                   | image-plot                        | image-plot                        |
| software          | software                          | software                          |
|                   |                                   | publication-datapaper             |
| posters           | poster                            | poster                            |
| diagrams          | image-diagram                     | image-diagram                     |
| lessons           | lesson                            | lesson                            |
|                   |                                   | computationalnotebook             |
| proposals         | publication-proposal              | publication-proposal              |
|                   |                                   | publication-dissertation          |
| figures           | image-figure                      | image-figure                      |
| videos            | video                             | video                             |
| journal-articles  | publication-article               | publication-article               |
|                   | publication-softwaredocumentation | publication-softwaredocumentation |
| other-pubications | publication-other                 | publication-other                 |
| drawings          | image-drawing                     | image-drawing                     |
| working-papers    | publication-workingpaper          | publication-workingpaper          |
| datasets          | dataset                           | dataset                           |
| workflows         | workflow                          | workflow                          |

In terms of compatibility everything is there. Note that Book Chapter has been mapped to publication-sections, and Output Management Plan to Data Management Plan to keep backward compatibility. However, the DataCite general and types are correct.
Tasks

Add Workflow
Add Physical Object
Remove them (the entire file, since it will be the same) from ZenodoRDM
Check subtype = id if len(id.split("-")) > 1 else ""
Check type = id.split("-")[0]

@slint  IIRC this was fixed, can we closed the issue?

repo: inveniosoftware/invenio-rdm-records


text:
🛑 Portal Components is down

In c677e40, Portal Components (https://inventage.github.io/portal-components) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal Components is back up in eeaaa0d.

repo: inventage/upptime


text:
[FR] Add typecasting to certain settings

Typecasting in the settings for:
Looks like there are 6 envs that need to be int (that I can find)

[x] INVENTREE_LOGIN_CONFIRM_DAYS
[x] INVENTREE_LOGIN_ATTEMPTS
[x] INVENTREE_EMAIL_PORT
[x] INVENTREE_DB_PORT
[x] INVENTREE_CACHE_PORT
[ ] INVENTREE_WEB_PORT

Originally posted by @stavros-k in https://github.com/inventree/InvenTree/issues/3655#issuecomment-1259866326

INVENTREE_WEB_PORT is a setting for gunicorn - not shure how to do that and if that is even necesarry.

INVENTREE_WEB_PORT is a setting for gunicorn - not shure how to do that and if that is even necesarry.

It seems to accept strings fine, (as i use a different internal port and works)

It's a bit of an odd issues, because environment variables are inherently strings. There is no int environment variable, that simply does not exist on Linux.
What I think is happening, is that some dependencies or code portions, are more forgiving with this than others. Which explains why the type is only triggering issues on some environment variables.
Typecasting should fix this on the source of origin, which is totally fine :)

authors: Ornias1993 matmair stavros-k

repo: inventree/InvenTree


text:
Fix to clear SO Allocations on receipt of Return Order Line Item

Added stock_item.clearAllocations() to order/models.py ReturnOrder.receive_line_item
Fixes issue #6092

@mcollins-DL please address style issues :) You should also check out our contributing guide - you can setup so that most of these style issues are fixed automatically on each git commit

Thanks @mcollins-DL for the fix

authors: SchrodingersGat mcollins-DL


text:
Integrate the Simulation utility into InvertedAI Package

Be mindful of which dependencies are imported and how integral they are. Clean up the existing code and remove superfluous features.

Main feature of this package will be to handle grid initialize and grid drive conveniently and smoothly while secondarily tracking simulation data (e.g. agent states, attributes, infractions) in a convenient manner.

repo: inverted-ai/invertedai


text:
Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
Rtx 3070
GPU VRAM
8gb
Version number
4.2.5
Browser
Chrome
Python dependencies
No response
What happened
I just upgraded from v3.x (standalone) to the latest release 4.2.5, installation went fine but when i tried to launch invoke ive got error 404 in the cmd and in browers it says "not found". I have tried some suggestions, but didnt figured out how to solve the issue
What you expected to happen
If installation is finished with no issues ive expected to invoke to launch it at first try

How to reproduce the problem
No response
Additional context
No response
Discord username
bushido3079

Hi, sorry but we don't support the standalone version via github. The main reason for the standalone version was to facilitate model downloads during installation.
Since v4 onwards, model installs are much smoother and happen from within the app, not during installation. I'd suggest moving to the standard release, which you can download from https://github.com/invoke-ai/InvokeAI/releases/tag/v4.2.4
There's a channel on the discord for the standalone version, if you want to troubleshoot that.

repo: invoke-ai/InvokeAI


text:
🛑 Bitwage API (Sandbox) is down

In acb6898, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 343 ms

Resolved: Bitwage API (Sandbox) is back up in db7461b after 23 minutes.


text:
🛑 Bitwage API (Sandbox) is down

In 927774d, Bitwage API (Sandbox) (https://api.sandbox.bitwage.com) was down:

HTTP code: 403
Response time: 271 ms

Resolved: Bitwage API (Sandbox) is back up in 27f5add after 23 minutes.


text:
Handle empty aggregation in datashader operations

As the title says, this handles empty aggregates gracefully in the datashader operations and ensures the both the interfaces and plotting backends display handle the resulting aggregates correctly.

Ready to review.

Reviewing now. Planning on adding some unit  tests?

Reviewing now. Planning on adding some unit tests?

I suppose, there are currently no datashader unit tests.

I suppose, there are currently no datashader unit tests.

Ok, maybe file an issue about that then (referencing this PR) and we can address it later.

Made a few comments but otherwise I'm happy to merge.

Made a few comments but otherwise I'm happy to merge.

Let's just merge, I'll open an issue about unit tests for datashader operations.

Looks good. Merging.

Looks good, thanks.  If you are working around behavior in datashader that you think should be fixed (e.g. if it should be raising a more sensible exception in some of these cases) then please file an issue there.

authors: jbednar jlstevens philippjfr

repo: ioam/holoviews


text:
param namespace fixups

Restores _set_name() to Parameterized (still deprecated).
Restores state_push() and state_pop() to Parameterized - and don't deprecate - because subclasses may be overriding.

If we want to change/remove Parameters._set_name() and/or Parameterized.state_push/pop(), that should be discussed separately (e.g. #233).

Coverage decreased (-0.1%) to 70.36% when pulling 673465528c327480fd5ce05f658672e43d30f081 on param_namespace_fixups into 154edba29638a7652a225c0b0576c3ff2dd3c0d3 on param_namespace.

Looks good to me. Ready to merge?

Yes, I'm finished

authors: ceball coveralls jlstevens

repo: ioam/param


text:
Missing one envertech WR - more than 20 inverters

Hello everyone
I have now installed 21 envertech WR.
But only 20 are listed in the adapter (V1.2.0)?
See error message in log.
Greetings Stefan

Thanks for reporting this problem. I will take care of it.
Link to forum topic https://forum.iobroker.net/topic/73763/iobroker-envertech-wechselrichter-wird-nicht-angezeigt

closed on error ...

@Bitty406
Please test release 1.3.2 available at npm / github now and at LTEST repository tomorrow.

V1.3.2 works
All 21 inverters are listed in the objects.
Many thanks

Fixed wirh 1.3.2


text:
Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,
with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.
If something is not correct this is logged as 'warning' or 'info' log.
Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to https://github.com/ioBroker/ioBroker.js-controller/issues/1301
Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.
More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui
Please close the issue after you checked it.
Thank you very much for your support!

outdated


text:
router outlet pop promise executed after then

Bug Report
Ionic version:
[x] 4.x
Current behavior:
When I call pop() promise on a ion router outlet, and I attach a callback to it, the callback is executed before end of pop.
Expected behavior:
The callback should be executed after pop
Steps to reproduce:
Ionic 4 project,
Related code:
app.component.ts
@ViewChild('masterNav', { read: IonRouterOutlet })masterNav: IonRouterOutlet;
@ViewChild('detailNav', { read: IonRouterOutlet })detailNav: IonRouterOutlet;
...
myFunction(): void{
    this.masterNav.pop().then(() => {
       //this hasn't finish to pop, so it goes to the below route... and then pops it
        this.navCtrl.navigateRoot(["", { outlets: { detailNav: "path/to/thing"}}]);
    });
}

app.component.html
<ion-split-pane when="md">
    <ion-router-outlet swipeBackEnabled="false" contentId="detailNav" id="masterNav" #masterNav></ion-router-outlet>

    <ion-router-outlet main name="detailNav" id="detailNav" #detailNav></ion-router-outlet>
</ion-split-pane>

Ionic info:
Ionic:

   ionic (Ionic CLI)             : 4.10.3 (C:\Users\laurine.wermann\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.0.1
   @angular-devkit/build-angular : 0.12.3
   @angular-devkit/schematics    : 7.2.3
   @angular/cli                  : 7.2.3
   @ionic/angular-toolkit        : 1.2.3

Cordova:

   cordova (Cordova CLI) : not installed
   Cordova Platforms     : not available
   Cordova Plugins       : not available

System:

   Android SDK Tools : 26.1.1 (C:\Users\laurine.wermann\AppData\Local\Android\sdk)
   NodeJS            : v10.15.0 (C:\Program Files\nodejs\node.exe)
   npm               : 6.7.0
   OS                : Windows 10

Hi there,
Thanks for opening an issue with us! Would you be able to provide a repository with the code required to reproduce this issue?
Thanks!

I would like to but i'm struggling with this issue : https://github.com/ionic-team/ionic/issues/16354

It might be easier if you just push some code to a GitHub repo and then send me a link. I can clone it from there 🙂

I can't push my code to gitHub, but it would look approximatively like that :
https://stackblitz.com/edit/ionic-v4-promise-error?file=src%2Fapp%2Fapp.component.ts

I actually am trying to convert a Ionic 3 code made with this tutorial to a Ionic 4 code :
https://medium.com/@blewpri/master-detail-with-ionic-3-split-panes-866293608d47

Hi there,
I tried to reproduce the issue using the Stackblitz you provided, but the app could not compile. A working reproduction would be very useful in terms of helping getting to the bottom of this issue.
I understand you cannot post your exact code, but would you be able to post a simplified version of your code with only the code required to reproduce the issue? Otherwise it's a bit difficult to understand what you are trying to accomplish.
Thanks!

Oh my bad I tried to reproduce issue on a blanck project, and it "worked".
actually, I was trying to have this behavior :

when the page is split, "masterNav" outlet contains the page "card", and "detailNav" outlet contains the page "buttons".
When the page is not split, "masterNav" outlet contains the page "button" (and whatever detailNav can contains I don't care, it's hidden)
On my application, I couldn't see the page button (it was actually not because of the issue I declared, I'll make another issue for the real cause). And I suspected the rooter to be the cause. I don't know why, but when you place a breakpoint here :

myOutlet.pop().then(() => {
        this.navCtrl.navigateRoot(["", { outlets: { detailNav: "path/to/thing"}}]).then(() => {
             /// breakpoint A
        });
});

and another here :
myOutlet.stackEvents.subscribe((event) => {
       //breakpoint B showing a "pop" event
});

breakpoint A will be hit before the B. I don't know if it's the expected behavior. If it is, you can close this issue.
Thanks for your responses

Will look into why the method is not firing correctly, but I want to note that the blog post referenced here is for V3, which has a completely different routing system and navigation setup. This probably will not translate well to v4 as the router is now tied to a URL.

Yes I know I am trying to migrate this code to a v4 compatible code, which would be possible if we replace ion nav by ion router outlets, but when outlets are named they don't work as expected (I made a new issue with the right problem description here : https://github.com/ionic-team/ionic/issues/17713) I couldn't see my component because of this (and I thank it was becausethe route was poped but it wasn't, the component was here but it had no height and I couldn't see it

authors: amanitequeen liamdebeasi mhartington

repo: ionic-team/ionic


text:
bug: footer not show in modal using stencil

Bug Report
Ionic version:
[x] 5.0.4
Current behavior:
when using ionic with stencil, if I put a list and a footer inside a modal, the footer not displayed.

Expected behavior:
the footer is shown in modal
Steps to reproduce:
1.- clone the repo
2.- npm i && npm start
3.- click on "Open modal"
Related code:
<Host>
        <ion-header>
          <ion-toolbar>
            <ion-title slot="start">Modal</ion-title>
          </ion-toolbar>
        </ion-header>
        <ion-content>
          <ion-list>
            <ion-item>
              <ion-label>Gender</ion-label>
              <ion-select placeholder="Select One">
                <ion-select-option value="f">Female</ion-select-option>
                <ion-select-option value="m">Male</ion-select-option>
              </ion-select>
            </ion-item>
          </ion-list>
        </ion-content>
        <ion-footer>Footer</ion-footer>
  </Host>

https://github.com/edy-ap/stencil-ionic-modal
Other information:
Stencil: "@stencil/core": "^1.8.8"
Ionic info:
Ionic:

   Ionic CLI : 5.2.3

Utility:

   cordova-res : not installed
   native-run  : 0.2.8

System:

   NodeJS : v12.6.0
   npm    : 6.13.7
   OS     : Windows 10

Thanks for the issue. It looks like your app does not include a lot of the global styles required to make Ionic work properly. Can you make sure those are included and see if the issue persists? You see the global styles in our Ionic Stencil Conference App repo: https://github.com/ionic-team/ionic-stencil-conference-app/blob/master/src/global.css

thanks , for your answer. That was the solution, I forgot to add the styles.
you do a very good job with ionic.

authors: edy-ap liamdebeasi


text:
fix(swiper): use correct length for nested slides

Short description of what this resolves:
length() incorrectly includes the total number of nested slides in its result, allowing the user to swipe past the final slide and getting the slides "stuck".
Changes proposed in this pull request:

Only include immediate children in the length() calculation

Ionic Version:  3.x
Fixes: #10195

Hello and thank you for contributing to Ionic! We have been working on porting all of the Ionic components to web components and have recently updated master to reflect this. This significant change has caused this pull request to break. While we really appreciate the time and effort you put into creating this, we are not able to merge it because of the newly introduced conflicts. We are extremely sorry about this. We will not be merging any more features in to v3. If this is a feature and you have the time, please resubmit this PR against the master branch. If this is a critical security issue in v3, we would greatly appreciate it if you would resubmit the PR against the new v3 branch. Thanks so much for your time!

authors: Ionitron mlacorte


text:
Error Highlighting, Tooltips, and Autocomplete not taking effect

The Error Highlighting, Tooltips, and Autocomplete features are not working for me.

I am on a Win 10 machine. F# was installed as part of VS 2015.
I added "C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0" to the PATH variable.
Yeoman and fsharp-generator are installed.
I am using Atom
Problems presented on both the previous and current (1.9.0 released the 19th) versions of Ionide

When I open in Dev Mode I see the following
With devtools

Without devtools

Full source code available at https://github.com/lambdakris/DigitRecognizer
Let me know if I can provide any more information.

Try to run Atom in normal mode, not in developer mode.

So in normal mode I get no Atom errors, however, the error highlighting, tooltips, and autocomplete don't take effect.
Specifically, no red squiggles under an erroneous expression, neither base types nor custom types get highlighted, no tooltip with type signature when I hover over a name, and no autocomplete/suggestions when opening namespaces or module functions or class members.

Being in normal mode open DevTools and check if any errors are reported there.

Yes, there is one error.

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
http://localhost:8302/parse

I should mention, I've now verified that the problems I'm seeing are only in script (.fsx) files. At first I thought it was in source (.fs) files as well but I guess it just takes a couple of seconds for the features to take effect when you open a source file.
In regards to the script files, after looking at some older issues that sounded similar, I went ahead and included the script file in the project file (.fsproj) under the  for including files. I tried to include it as a  item and restarted Atom but that did not make a difference, then just in case as a  item and restarted Atom but that did not make a difference either.

I am suffering from exactly same problems like as @lambdakris mentioned
I also tried VS Code but no luck (Error Highlighting, Tooltips, and Autocomplete not working)
if you need, just mention I can also provide more logs.

Having same issue. No error highlighting, tooltips or autocomplete.
FSI and Yeoman works fine.
Running latest version of generator-fsharp, atom and ionide-installer.

Installing VS 2015 solved it for me.

@EmilBB, out of curiosity, what version of Windows are you using and does the highlighting, tooltips, and autocomplete work on .fsx files as well?

@lambdakris, Windows 10 - Microsoft Windows Version 1511 (OS Build 10586.318)

@Krzysztof-Cieslak in case this might help you pin point or rule out certain problems, here are some shots of my F# dir and my PATH env var with the path to the F# dir. I also tried to add the path to the Fsc.exe and Fsi.exe and FsiAnyCpu.exe files themselves (rather than than just the dir) separately and simultaneously but none of it worked to get highlighting, tooltips, and autocomplete to work on .fsx files.
F# dir

Path to F# dir in PATH env var

Also, is a particular version of Node.js required? I have 6.0.0 installed...

Try installing https://www.microsoft.com/en-us/download/details.aspx?id=40760

@Krzysztof-Cieslak Installing Microsoft Build Tools 2013 did the trick. Give it a try @donamk.

Although this issue is closed, the solution provided by Krzystof-Cieslak worked for me as well.

authors: EmilBB Krzysztof-Cieslak donamk lambdakris stevenranney

repo: ionide/ionide-fsharp

license: mit


text:
Type signature not fully rendering in bottom left statusbar

As mentioned on slack, Type signature not fully rendering in bottom left status bar such that the type/member name renders but its appended signature does not.
If you hover over it, the full type and signature is rendered so specific to how it's rendered in the bar

I think it should work structured signature info we can get instead of taking first line from tooltips

some hints:
https://github.com/ionide/ionide-vscode-fsharp/blob/5709f05df5a1adba848d15405f32b64a756cc8dd/src/Components/QuickInfo.fs#L34
and
https://github.com/ionide/ionide-vscode-fsharp/blob/5709f05df5a1adba848d15405f32b64a756cc8dd/src/Components/QuickInfo.fs#L51
the .[0] is why just the first line of tooltip is shown)

repo: ionide/ionide-vscode-fsharp


text:
Αλλαγή της βαθμίδας της Κ.Πατέλη

Δήλωση Θέματος
Αλλαγή βαθμίδας της καθηγήτριας Πατέλη από αναπληρώτρια σε καθηγήτρια.

Εκτιμώμενη δυσκολία: easy
Σχετικοί συνεργατές: @
Σχετικά θέματα:

Απορίες σχετικά με το θέμα (αν υπάρχουν)
Υπενθυμίσεις

[x] Έχω βάλει σύντομο τίτλο (π.χ., το όνομα της σελίδας ή της ανακοίνωσης) και έχω ενημερώσει τα παραπάνω πεδία με περισσότερες λεπτομέρειες (π.χ., λινκ σε αρχεία ή φακέλους που αλλάζουν ή εξωτερικές πηγές) για τις προσθήκες που θα κάνω
[x] Έχω ελέγξει ότι το περιέχομενο των αλλαγών μου δεν το έχει δηλώσει κάποιος άλλος σε προηγούμενο issue ανοιχτό ή κλειστό
[x] Πριν προχωρήσω σε pull request θα πάρω ετικέτα green light

Καλύτερα να αναφέρεις πως το #242 έχει το ίδιο θέμα με εσένα

@Stavros16 επίσης να συμπληρώσεις το πεδίο "σχετικοί συνεργάτες"

Ωραία παρατήρηση και εγώ μια παρόμοια παραμετροποίηση θα εκτελέσω

πρέπει να δώσεις και σχετικό σύνδεσμο στην επίσημη ιστοσελίδα όπου τεκμηριώνεται η αλλαγή που προτείνεις
θέλουμε τουλάχιστον δύο αξιολογητές
παρατηρώ ότι αρκετοί βάζουν μόνον έναν,
κάντε μια αναζήτηση θα βρείτε αρκετούς που δουλεύουν σχετικά θέματα και μπορούν να σας βοηθήσουν
έτσι ίσως προχωρήσουμε και πιο γρήγορα..

@epidrome Ευχαριστώ για τη διευκρίνηση. Έκανα τις απαραίτητες αλλαγές.

Καλή παρατήρηση, από εμένα όλα οκ

authors: ApoLaz Stavros16 StavroulaAnatolaki diogenisAl epidrome p17anto2

repo: ioniodi/sitegr

license: Unlicense


text:
Make Cluster.k8s.ionoscloud.crossplane.io return token and server Url

What problem are you facing?
We try to setup a cluster and connect it with argocd. The Problem we are facing is that the connection Details return the config to connect to the cluster.
I haven't found a way to extract the needed values.
How could Crossplane Provider IONOS Cloud help solve your problem?
It would be nice if the connection Details secret would have a field for server Url and the api token.
References

Released 1.0.7, thanks for the PRs!

authors: Syndlex cristiGuranIonos


text:
Feat/s3 management

What does this fix or implement?

Checklist

[ ] PR name added as appropriate (e.g. feat:/fix:/doc:/test:/refactor:)
[ ] Tests added or updated
[ ] Documentation updated
[ ] Changelog updated and version incremented (label: upcoming release)
[ ] Github Issue linked if any
[ ] Jira task updated

LGTM. Just fix the lint issues. Nice job :rocket:

authors: digna-ionos rmocanu-ionos


text:
Nodejs: Anchor related changes

[x] Add Anchor Output
[x] Modify Account Output
[x] Add Anchor Address/ID
[x] Add Anchor Unlock
[x] Fix examples
[x] Fix tests

Closed by https://github.com/iotaledger/iota-sdk/pull/1528

repo: iotaledger/iota-sdk


text:
Username and password

Hi! Great work here, just got my Pulse up and running with the information on your site + the Home Assistant custom integration AMS HAN which refers to your guide.
This may be obvious for some, but I was struggling a bit to connect to my local MQTT-broker at first since I have authentication required to connect to it. Got a tip in this thread  to use:
username:password@host
and it worked well. Since this may not be obvious to everyone, it would be great if this was included in your guide!
Thanks for your work!

README.md updated

authors: iotux tmjo

repo: iotux/ElWiz


text:
🛑 备用KMS激活服务器 01 is down

In 38b6c5a, 备用KMS激活服务器 01 (s11.ikms.eu.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 备用KMS激活服务器 01 is back up in 745566b after 10 minutes.

repo: iougemini/ikms-uptime


text:
🛑 备用KMS激活服务器 06 is down

In 7038caf, 备用KMS激活服务器 06 (s06.ikms.eu.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 备用KMS激活服务器 06 is back up in daf3fed after 2 hours, 56 minutes.


text:
How to specify custom encoder for Tendermint RPC?

Currently the methods, such as broadcastTx etc. are hardcoded to use base64 encoding in the rpc package. https://github.com/iov-one/iov-core/blob/70b6f777149aca4e0ffc3be9258f1cca23626360/packages/iov-tendermint-rpc/src/v0-32/requests.ts#L52
It would be good to let the encoding to be specified by the caller (defaulting to base64 if none specified). For example, when passing a string directly as the tx param, the base64 is throwing error (obviously). Since the Tendermint itself does not have any restriction on the encoding of Tx params, allowing the user to decide the best encoding would be very helpful.

Hi @KrishnaPG, thanks for the suggestion. We'll consider it when we have more developer capacity.

authors: KrishnaPG willclarktech

repo: iov-one/iov-core


text:
[RFC] Add 'ENV' probe for environment variables

This new feature allows users to set environment variables in bpftrace scripts instead of having to set them on the command line. This makes it easier to reproduce behaviors without having to remember how scripts were invoked.
Example:
sudo bpftrace -v -e 'ENV { BPFTRACE_STACK_MODE=raw; } kprobe:vfs_read {
print(kstack()); }'

Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

I'm sure there are a bunch of things I didn't get right in this implementation but creating an RFC for the language syntax. I'll also be sure to add tests later on in the process.
cc @ajor

First of all, I think that this is a very useful feature which can improve portability of bpftrace scripts, thanks!
I didn't review the code at all, but have some thoughts on the syntax. Similarly to what @ajor describes on iterators syntax, this breaks the traditional event-based concept of bpftrace probes.
I'd rather see initializing env variables in the BEGIN block (similarly to what awk does). To do that, we could introduce new syntax for environment variables, e.g. (inspired by CMake, we can come with something else):
BEGIN
{
    $ENV{BPFTRACE_STACK_MODE} = "raw";
}

The advantage of this is that we could eventually allow usage of environment variables inside other probes, too (and the value would be replaced by actual value upon compile time - similarly to positional parameters).

this breaks the traditional event-based concept of bpftrace probes. I'd rather see initializing env variables in the BEGIN block

Yeah, I considered this too. I think I didn't do that initially because I worried about expectations around ordering in terms of when env variables get evaluated and set (in relation to evaluation of other things in BEGIN) but maybe that's not a concern (at least until we start allowing them to be used in place of other r-values in other probes). Anyway, I'm good with moving them to BEGIN.
As far as the syntax:
$ENV{BPFTRACE_STACK_MODE} = "raw";

Are you thinking we need $ENV prefix as opposed to just using BPFTRACE_ so that we can support user defined env variables in the future? If so, what is the difference between them and global/scratch variables? Or is it just so we don't have to always prefix env variables with BPFTRACE_?

Are you thinking we need $ENV prefix as opposed to just using BPFTRACE_ so that we can support user defined env variables in the future? If so, what is the difference between them and global/scratch variables? Or is it just so we don't have to always prefix env variables with BPFTRACE_?

I'd say that they are quite different, both from user and from bpftrace point of view. As a user, I prefer to know which variables come from the environment and may therefore have unexpected values. As a bpftrace developer, it feels like parsing and handling env variables are different from normal variables (e.g. they can be used before their first assignment) and the prefix should simplify our work. Ofc if we stick with bpftrace-specific variables only (having the BPFTRACE_ prefix), there's no need to add the ENV prefix.

I think putting everything in BEGIN will make BEGIN really confusing. #1945 has a proposal for CLI parsing, which would then also have to go in begin.
If you go for something like bpftrace:env:stackmode { "blaat" }, then you dont need any special parsing tricks. Its just a standard probe, with a single value in it. IIRC the AST accepts that without modification.
Because it starts with bpftrace: we can treat it as a special probe, with its own AST pass, with very little modifications outside the pass itself, we just need to filter it from other passes (could even do an ast rewrite for that).
I think it will also stick to the 'event based' probe idea, although its a special probe that fires once

I think putting everything in BEGIN will make BEGIN really confusing.

Yeah, I'm starting to agree. I just don't like the inter-splicing of env var assignments with anything else in BEGIN which might imply some ordering when there is none; env vars will always get set before we do any codegen.

bpftrace:env:stackmode { "blaat" }

This syntax feels a little confusing to me. I'd rather it look more like the actual env variable setting on the command line e.g. env:BPFTRACE_STACK_MODE { perf } or bpftrace:env:BPFTRACE_STACK_MODE { perf }  but TBH, I'm not crazy about the floating r-value in the brackets and prefer the original proposal ENV { BPFTRACE_STACK_MODE=perf }, which, if you look at the code in this PR, is not that invasive in terms of modifications - most of the business logic is in semantic_analyzer.cpp (though I'm not sure if that's the best place).

@fbs has a good point that the syntax should be unified with argument parsing and having everything in BEGIN would make it too complicated. I kind of start liking the idea of "meta" probes starting with bpftrace: prefix which are not executed but instead hold some script metadata. They seem quite intuitive, consistent with the current language, and quite extensible for future.
I agree with @jordalgo that we should use the original name - either bpftrace:env:BPFTRACE_STACK_MODE { perf } or, even better from my point of view,  bpftrace:env { BPFTRACE_STACK_MODE = perf }.
FWIW, I put this on the agenda of the next office hours meeting.

Also note that this has a big overlap with #728.

bpftrace:env:stackmode { "blaat" }

This syntax feels a little confusing to me. I'd rather it look more like the actual env variable setting on the command line e.g. env:BPFTRACE_STACK_MODE { perf } or bpftrace:env:BPFTRACE_STACK_MODE { perf } but TBH, I'm not crazy about the floating r-value in the brackets and prefer the original proposal ENV { BPFTRACE_STACK_MODE=perf }, which, if you look at the code in this PR, is not that invasive in terms of modifications - most of the business logic is in semantic_analyzer.cpp (though I'm not sure if that's the best place).

My main issue with this is that you now have a 3rd way to assign variables. So there will be $var =x, @map = x and SPECIAL = x. All the AST changes are due to this.
I agree that the bpftraceprobe { val } syntax is a bit weird too, my idea is that it should be read like bpftrace:probe { return val }, so the probe fires and returns a value. This is also a bit flawed as there is no const evaluation into a value.
Maybe there is another option that avoids creating new syntax?
The reason for me to go for stack_mode instead of BPFTRACE_STACK_MODE is because the latter is just shell conventions. bpftrace_ because env vars are not namespaced, this avoids conflict. uppercase because that is also normal for the env, probably avoid confusion with shell local variables? Either way, I'm not sure we should bring that shell detail into  bpftrace. Maybe we should even drop env from the name, why not just bpftrace:config:stack_mode?

The reason for me to go for stack_mode instead of BPFTRACE_STACK_MODE is because the latter is just shell conventions. bpftrace_ because env vars are not namespaced, this avoids conflict. uppercase because that is also normal for the env, probably avoid confusion with shell local variables? Either way, I'm not sure we should bring that shell detail into bpftrace. Maybe we should even drop env from the name, why not just bpftrace:config:stack_mode?

If we define (and document) this as the idiomatic way of configuring bpftrace, then I'm all good with the last option. We can then just say that the configuration options can be also set via env variables which, by shell conventions, are capitalized and use the BPFTRACE_ prefix.

Do we think there would ever be a difference between the bpftrace:config variables and env vars that you can set when invoking bpftrace? If not, then I'm not sure why you'd want to create a new thing that users would have to remember. I understand that these are shell conventions but is it so bad that we adopt them specifically so users don't have to remember which one needs a prefix and uppercase spelling? Somewhat rhetorical - I don't think it's so bad :)
To avoid another way of setting variables, what if we just re-used $ e.g. $BPFTRACE_ - it could be an AST change or we could just add branching logic for that ident prefix in semantic_analyzer.cpp.

Ok, I think this might be ready-ish. I'm sure there were a few things I probably missed.

Also, I'd love to see the work split into multiple commits, e.g. the refactoring of methods for setting various configs from env vars could be moved into separate commit(s).

Good suggestion. Let me work on that.

could we put the config parsing (and future cli parsing) into a new AST pass?

Good call. Let me work on that too :)

e.g. why is "max" at the beginning of "max_probes", yet at the end of "map_keys_max"?

Yeah this bothered me too. Happy to change it (and cat_bytes_max) as there is a 3 to 2 majority for putting 'max' first. Should we just have backward support for BPFTRACE_MAP_KEYS_MAX or are we fine changing the env variable as well to BPFTRACE_MAX_MAP_KEYS (and MAX_CAT_BYTES) ?

Using non-literals results in a "none" type error:

Good catch. Let me add a check for all non-literals. IMHO we shouldn't allow any other type (at least not in this first iteration).

Side question: Is there a reason why the language doesn't support boolean literals? Would be nice to do debug_output=true instead of debug_output=1

Side question: Is there a reason why the language doesn't support boolean literals? Would be nice to do debug_output=true instead of debug_output=1

No reason in particular, it just hasn't come up before. Might be good to add at some point though.

e.g. why is "max" at the beginning of "max_probes", yet at the end of "map_keys_max"?

Yeah this bothered me too. Happy to change it (and cat_bytes_max) as there is a 3 to 2 majority for putting 'max' first. Should we just have backward support for BPFTRACE_MAP_KEYS_MAX or are we fine changing the env variable as well to BPFTRACE_MAX_MAP_KEYS (and MAX_CAT_BYTES) ?

Yeah I'd vote for putting "max" first too. No strong opinion on changing the environment variables.

@ajor I put the config and env var name changes into a separate commit. Let me know if you want me to merge it back into the first.

@ajor Thanks for the sharp-eyed review. I think I fixed all that you mentioned.
Additionally, I added one more commit whereby I extract out all the env-only configs from the config class. There were many other environment variables that weren't included in the config (e.g. BPFTRACE_BTF, BPFTRACE_VMLINUX, etc...) so
it was either include them in the config class or extract out similar ones. I chose the latter as it makes more sense to only include config vars that can be set by both the env and the config syntax (less indirection and clearer delineation).

@viktormalik @danobi @ajor - Thanks so much for the great reviews and guidance on this one!

authors: ajor fbs jordalgo viktormalik

repo: iovisor/bpftrace


text:
Update inkscape-building-for-macOS.md

Fixed missing packages on build macOS

thanks for the PR 🙏

authors: ipatch sea-kg


text:
Bootstrap styleguide

Bootstrap the styleguide with storybook, docz or styleguidist

Done.
Will defer the scripts and build setup to #27.

repo: ipfs-shipyard/discussify


text:
browser.min.js has dependency on y-leveldb.es6

If I include:

I note that "y-leveldb" doesn't appear in browser.js, so I'm not sure where to look for a fix.

That's weird. I've (re)checked the bundle and it contains no reference to the y-leveldb package, even though I suspect it is Y.js that is trying to fetch that directly..
Some questions:
What version of ipfs-iiif-db are you getting? Could you try pointing to the latest (https://unpkg.com/ipfs-iiif-db@2.4.0/dist/browser.min.js) and see if this still happens?
Are you passing any options to the constructor?
Is there any live page where I can look at this?

Thanks .. that was partly what confused me, I couldnt find y-leveldb in browser.js either.
I switched to your suggested version - same effect (comments below refer to running on that).
The actual address being loaded is: http://localhost:63343/bower_components/y-leveldb/y-leveldb.es6
The call Stack is (as reported by Firefox) is ...

requestModules:  https://unpkg.com/ipfs-iiif-db@2.4.0/dist/browser.min.js:62:27336
Y/</< https://unpkg.com/ipfs-iiif-db@2.4.0/dist/browser.min.js:62:28758

I'm noot sure how to interpret these call stacks inside such minified code, but looks to me like its trying to load modules in order to start Y ?
Options to IIIF are: { ipfs: defaultipfsoptions, store: "leveldb", partition: "dweb20170612" }
Which I'm presuming is where the loading of leveldb is triggered.  The IPFS options are as shown below, and are based on options pulled out of the IIIF examples.
defaultipfsoptions = {
repo: '/tmp/ipfs_dweb20170612',
config: {
Addresses: { Swarm: [ '/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss' ] },   // For IIIF - same as defaults
Discovery: { webRTCStar: { Enabled: true } }    // For IIIF - same as defaults
},
EXPERIMENTAL: {
pubsub: true
}
};
Note that all of this works in the node.js environment where I was testing it. Only changes were to use a typical browser.js file to set global variables from "requires" and then pulling the IIIF out of that require and loading from the HTML directly because of Issue #8

Also ... sorry, no live page yet, I could send files, but the call to do this is buried fairly deep.

The problem is with the options.
Leveldb is not supported in the browser..
On 15/07/2017, 17:19 +0100, mitra42 notifications@github.com, wrote:

Also ... sorry, no live page yet, I could send files, but the call to do this is buried fairly deep.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub (https://github.com/ipfs-shipyard/ipfs-iiif-db/issues/9#issuecomment-315544907), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAC7JsRu4WISX_2zGbHDfwuhD0jvPRzmks5sOOargaJpZM4OY5r8).

@mitra42 see documentation on the README -- https://github.com/ipfs-shipyard/ipfs-iiif-db#instantiate --, you just have to change it to indexeddb.

Also, it might be useful to you to check out two other tutorials that got recorded in video, see:

https://www.youtube.com/watch?v=Nv_Teb--1zg
https://www.youtube.com/watch?v=-kdx8rJd8rQ

Thanks.
Do I presume that for a different project (not IIIF) we should invent our own partition or does that pollute some namespace ?

@mitra42 yes, agree, that would be a good practise.

Also .. what is the cost on the network of the partitions ? If there were 100's or 1000's of pubsub "feeds" would these be better (from impacting the network) as separate partitions or a single partition that is filtered at the client level?

If you make wise use of partitioning you should see less messages.
On 24/08/2017, 22:45 +0100, Mitra Ardron notifications@github.com, wrote:

Also .. what is the cost on the network of the partitions ? If there were 100's or 1000's of pubsub "feeds" would these be better (from impacting the network) as separate partitions or a single partition that is filtered at the client level?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub (https://github.com/ipfs-shipyard/ipfs-iiif-db/issues/9#issuecomment-324766234), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAC7JvM2_RCsc1aj00AVPWY8K9dfznZtks5sbe78gaJpZM4OY5r8).

That wasn't quite my point .... here's how we are using it.  Many resources in our thinking are "lists", typically once something is listed we monitor for other things added to the list as long as the browser window is open.  Each page could have many "lists", if I partition it down to that level it would create a lot of partitions, and I want to make sure that doing so doesn't hurt the network overall (not just us) given how fragile everything seems.

@mitra42 the partition count on a given node scales well under a certain number, mainly because subscriptions are not persisted. If you keep it below the thousands you should have no problem.

OK - we've moved to using YJS directly (so that we can open multiple subscriptions at same time) and fine-grained it so each list is its own "room" in Y terms (which I think corresponds to a partition in IIIF

authors: diasdavid mitra42 pgte

repo: ipfs-shipyard/ipfs-iiif-db


text:
Share Link incorrectly gives path routed instead of subdomain routed URL.

OS: Windows
Version of IPFS Desktop: 0.32.0

Describe the bug
When you right click on a file in Files and choose "Share Link" you are given a URL like https://<host>/ipfs/<cid>.  This should be of the form https://<cid>.ipfs.<host> for security reasons.
To Reproduce
Steps to reproduce the behavior:

Go to Files tab.
Right click on any file.
Choose "Share Link"
Notice the link provided uses path routing.

Expected behavior
Subdomain routing is always used.
Additional context
Path routing is known to be insecure for websites that use cookies, local storage, etc.  This is well documented in the IPFS documentation and the documentation and security experts all recommend using subdomain routing whenever possible (which is almost always possible).  These share links are encouraging people to share URLs that are insecure by default, and we should instead be using subdomain by default.

@lidel Thank you for your detailed response.
I agree with your suggestion that "ipfs-webui should have something similar, with an extra check to decide which gateway to use based on the shared CID." I'll proceed in this direction.
Thanks for the guidance!

@lidel @SgtPooki

Are the labels ok?

I think the labels are decent, but they feel a little too similar. Maybe we need a disclaimer saying that certain content that doesn't need origin-isolation for the subdomain gateway input.

The strategy here is to always use the public subdomain gateway (dweb.link) and use the public path gateway (ipfs.io) as a fallback in case the CID v1 length is > 63 chars
Is this ok?

@lidel @SgtPooki
https://github.com/acul71/ipfs-webui-fork/pull/1

@acul71 are you using AI or some GUI tools? That PR makes no sense (it merges from main in this repo  to a branch in your repo, and changes described in PR description are not in git).
What you want to do is to open PR from your form into this repository.

@lidel
Sorry did submit too late in the night....
Thanks is this ok:
https://github.com/ipfs/ipfs-webui/pull/2255

authors: MicahZoltu acul71 lidel

repo: ipfs/ipfs-webui


text:
jbenet's log

2014-12-19 + 2014-12-20

migrate peer.Peer -> peer.ID -- this involves changing the whole codebase :( -- it's a ton cleaner and have gotten rid of several undeterministic fails. progress: https://github.com/jbenet/go-ipfs/compare/master...peer-restrict
https://github.com/jbenet/go-ipfs/pull/466

:) maybe the starlog repo was really a starlog :)

authors: diasdavid jbenet

repo: ipfs/starlog


text:
Updated cmd ref

Related to #119

LGTM

authors: RichardLitt lgierth

repo: ipfs/website


text:
🛑 CounterApi (brochure) is down

In 53c933f, CounterApi (brochure) (https://counterapi.com/) was down:

HTTP code: 502
Response time: 120 ms

Resolved: CounterApi (brochure) is back up in 7d0aebf after 6 minutes.

repo: iplanwebsites/up


text:
🛑 NowBoarding (tokyo) is down

In 1daf61f, NowBoarding (tokyo) (https://tokyo.nowboarding.club/) was down:

HTTP code: 502
Response time: 73 ms

Resolved: NowBoarding (tokyo) is back up in 1c4be82 after 15 minutes.


text:
🛑 NowBoarding (tokyo) is down

In d227d20, NowBoarding (tokyo) (https://tokyo.nowboarding.club/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NowBoarding (tokyo) is back up in ac45881 after 4 minutes.


text:
🛑 NowBoarding (tokyo) is down

In e30811f, NowBoarding (tokyo) (https://tokyo.nowboarding.club/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NowBoarding (tokyo) is back up in 51d8f99 after 5 minutes.


text:
Imperfect 'save notebook with snapshots'

As requested by Sylvain in this post from the Google Group Jupyter forum.
When I click the menu 'save notebook with snapshot', I don't get the expected result.
3 different imperfect behaviours in 3 contexts.
1/
After saving the widgets as snapshots, if I reopen the notebook the images appear briefly then disappear and the DOM does not contain any hidden image.
2/
After going through nbviewer, the snapshots do appear, but they are followed in some cases by parasite text.
3/
Seen through the native github .ipyb renedring the snapshots do appear and are followed by either the object name (probably not wanted (?) but at least structured) or in some cases some parasite text.
In order to reproduce, go check this repo: BlackScholesWidget.
You can
1/ run demo_blackscholes_widget.ipynb then save then reopen and see by yourself.
2/ see the nbviewer rendering of the notebook there
3/ see the the github rendering of demo_blackscholes_widget.ipynb there
It might be that some of the parasite text is due to the HTML widget, which contains some js code (to render a 2 or 3d surface)...?

Here is another example of imperfect behavior.
This notebook is 'saved with snapshots'.
It is renders perfectly with the github renderer.
The widgets are displayed twice in nbviewer.
There do not show if you open the notebook with jupyter.
Hope this helps.
Overall pretty good, and very convenient !

The widgets snapshot feature was removed from ipywidgets in master. In ipywidgets 6.0 (to be released), notebooks can be saved with the widget state, and widgets will be rendered by tools such as nbviewer can render it.
See e.g. http://nbviewer.jupyter.org/github/ipython/ipywidgets/blob/master/docs/source/examples/Widget List.ipynb

repo: ipython/ipywidgets


text:
Allgemeine Vorschläge zur Verbesserung des Speedtests

Evtl. ein großes Paket runterladen und die Downloadrate auf Schwankungen
untersuchen
Wenn kleiner Größen beibehalten, dann sollten diese gewichtet werden, da der
Einfluss sonst zu hoch ist.
Vergleichsdaten hinterlegen und diese zur Bestimmung von „gut“ und „ausreichend“
nutzen.
Php-Komponente: Umstellung auf Get statt Post

Siehe https://github.com/iqb-berlin/testcenter-iqb-ng/issues/17
Siehe https://github.com/iqb-berlin/testcenter-iqb-ng/issues/16
Ja. So etwas hatte Dan in der Ursprungsversion auch vorgesehen. Problem ist nur, woher die Vergleichsdaten nehmen?
Ja, macht Sinn.

repo: iqb-berlin/testcenter-iqb-ng