Update outputs API usage

This PR adopts the new output API (some test files are not updated properly yet), which includes following changes

adopt the new NotebookCellOutput, which replaces IErrorOutput, IDisplayOutput, etc.

now instead of providing a object literal, we always create a NotebookCellOutput object and give this back to VS Code

change how output types are validated

hasErrorOutput = output.outputs.find(opit => opit.mime === 'application/x.notebook.error-traceback')
hasStreamOutput = output.outputs.find(opit => opit.mime === 'application/x.notebook.stream')
others are all rich outputs

The build is not green as there are quite a few places where we check cellKind === CellKind.Text/Error/Rich which is no longer necessary anymore.
https://github.com/microsoft/vscode-jupyter/pull/4732/files#diff-afc015d140e9fa1b823f6e2faa3e8153bf58510b747d05e776054ba2330afce9 represents how outputs should be created with the new API. The change in this file is simple as it has good abstraction. While other files would check by
        assert.equal(cells[0].outputs.length, 2, 'Incorrect number of output');
        const output1 = cells[0].outputs[0] as CellDisplayOutput;
        const output2 = cells[0].outputs[1] as CellDisplayOutput;
        assert.equal(output1.metadata?.custom?.vscode?.outputType, 'stream', 'Incorrect output type');
        assert.equal(output2.metadata?.custom?.vscode?.outputType, 'stream', 'Incorrect output type');
        assert.equal(output1.metadata?.custom?.vscode?.name, 'stdout', 'Incorrect stream name');
        assert.equal(output2.metadata?.custom?.vscode?.name, 'stderr', 'Incorrect stream name');
        assert.equal(output1.outputKind, vscodeNotebookEnums.CellOutputKind.Rich, 'Incorrect output type');
        assert.equal(output2.outputKind, vscodeNotebookEnums.CellOutputKind.Rich, 'Incorrect output type');

I would suggest introducing helper functions similar to validateCellOutputTranslation https://github.com/microsoft/vscode-jupyter/pull/4732/files#diff-afc015d140e9fa1b823f6e2faa3e8153bf58510b747d05e776054ba2330afce9R75.

File opening, outputs rendering and execution works with latest code. Tests are not working but leave it to @DonJayamanne as there are some infra changes need to be made, which I'm not familiar with.


App hangs, if MqttServerOptions.ConnectionValidator returns != MqttConnectReturnCode.ConnectionAccepted

Hi,
I having the issue, that my app hangs at

...
await mqttClient.ConnectAsync(options);
..

when I'm using the MqttServerOptions-Validator and set the return-code like

...
options.ConnectionValidator = c =>
{
...
c.ReturnCode = MqttConnectReturnCode.ConnectionRefusedBadUsernameOrPassword;
};
...

If I set the return-code to

...
c.ReturnCode = MqttConnectReturnCode.ConnectionAccepted;
...

It's work fine.
Any idea what's missing ?

Hi, thank you for reporting the issue. I was able to reproduce it and written a UnitTest and a fix.
I will release 2.8.4-rc1 soon for testing. Please let me know if it works for you.
Best regards
Christian

Hi,
thanks for the quick fix.
I tested it now and it doesn't hang anymore.
Best regards
Ali


Tickle Watchdog to prevent reboot after 7 seconds

Hi @caspermeijn with reference to...
https://github.com/apache/mynewt-core/pull/2381/files
I'm now testing the new Sanity Interval, but using the old Watchdog Interval...
https://github.com/lupyuen/pinetime-rust-mynewt/blob/lvgl/apps/my_sensor_app/syscfg.yml#L119-L127
syscfg.vals:

    ###########################################################################
    # Watchdog Settings

    # The default PineTime bootloader will setup a 7 second watchdog
    SANITY_INTERVAL:      5000  #  Tickle the watchdog every 5 seconds, that the watchdog won't trigger a reboot
    # WATCHDOG_INTERVAL:  7000  #  If watchdog is not set, set it to 7 seconds

Note that I'm updating the apps/syscfg.yml, not the bsp/syscfg.yml.
This seems to work, PineTime is responding to BLE after 7 seconds. Previously it was hanging due to the watchdog being triggered.
So I suppose this validates your proposed fix for SANITY_INTERVAL.
Do we need to change WATCHDOG_INTERVAL? Or just leave it as default for now?  Thanks.

You are right, only the SANITY_INTERVAL is needed to make the application work properly. However I liked the fact that the application tries to configure the watchdog the same as the bootloader. This way you have the same watchdog behaviour when running without bootloader, which could ease problem searching.
And there is no harm is setting WATCHDOG_INTERVAL, so why not?
Maybe the bootloader could even use the value from WATCHDOG_INTERVAL.

I found this: https://github.com/JuulLabs-OSS/mcuboot/blob/10c97baa77d8b6b75b0411d2c55c497c43af0f0f/boot/mynewt/src/main.c#L221
MCUBoot will automatically init the watchdog when WATCHDOG_INTERVAL is set. So you either need to set WATCHDOG_INTERVAL or https://github.com/lupyuen/pinetime-rust-mynewt/blob/b3fb1d9c6bf6b4f81f89dd61758765ea14a7bfb1/libs/pinetime_boot/src/pinetime_boot.c#L132, but not both.
So I think it would make sense to switch over to using WATCHDOG_INTERVAL and removing the setup_watchdog() function.

pinetime-rust-mynewt has been revamped as educational firmware (so it's not meant for daily use). The following config should be sufficient for educational purposes:
https://github.com/lupyuen/pinetime-rust-mynewt/blob/master/apps/my_sensor_app/syscfg.yml
syscfg.vals:

    ###########################################################################
    # Watchdog Settings

    # The default PineTime bootloader will setup a 7 second watchdog
    SANITY_INTERVAL:      5000  #  Tickle the watchdog every 5 seconds, that the watchdog won't trigger a reboot
    # WATCHDOG_INTERVAL:  7000  #  If watchdog is not set, set it to 7 seconds

Also refer to this note...
https://lupyuen.github.io/pinetime-rust-mynewt/articles/mcuboot#bootloader-watchdog


Inconsistent rewrite rules in chapter 2's rule-based grammar

In 2.3 A Rule-Based Solution, I notice that those parentheses around the right hand side of the the first 3 rules are unnecessary and wonder if they are intentionally put there.
(defparameter *simple-grammar*
  '((sentence -> (noun-phrase verb-phrase))
    (noun-phrase -> (Article Noun))
    (verb-phrase -> (Verb noun-phrase))
    (Article -> the a)
    (Noun -> man ball woman table)
    (Verb -> hit took saw liked))
  "A grammar for a trivial subset of English.")

It is unlikely that they are purely for decoration like the right arrow symbol (->) since the purpose of this representation is to make the rules consistent as written below.

The complication is that there can be two kinds of right-hand sides: a concatenated list of symbols, as in "Noun-Phrase => Article+Noun," or a list of alternate words, as in "Noun => man, ball, ..." We can account for these possibilities by deciding that every rule will have a list of possibilities on the right-hand side, ...

Sorry for my misunderstanding. It is clear from 2.5 Changing the Grammar without Changing the Program that if the right hand side is inside parentheses, all symbols will be generated as opposed to those without one. I'm closing this issue now.


fix(updater): fix crash when HTTP request fails

Codecov Report

Merging #294 (0b8bfe2) into main (3c98664) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #294   +/-   ##
=======================================
  Coverage   95.61%   95.61%
=======================================
  Files          18       18
  Lines        1071     1071
=======================================
  Hits         1024     1024
  Misses         47       47

Impacted Files
Coverage Δ

src/ops2deb/updater.py
90.38% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Variable inspector / workspace view

I love the idea of hydrogen, and I think this is good step into the right direction towards atom as a scientific dev environment! Thanks for the work so far.
One step further additionally to the "watch" mode would be to list variables of the current scope. The result would then be a variable / workspace view which automatically refreshes so users get a quick view on all their variables and their content. This view could also allow to click on the variables to show the content of arrays, images, matplotlib plots etc...
This would reflect something which is common in IDE's like Spyder or Matlab (see screenshot)

would you like to see this functionality included in hydrogen?
are you interested in implementing this or would you like to receive pull requests?

This has been added to the Hydrogen Wiki Plugins. If you close this issue please remove it from the Hydrogen Wiki.

This is something I've thought about a lot, and it's something I'd love to
see in Hydrogen. That being said, I'm only willing to include features that
are language independent.
I'm probably going to be working with the Jupyter team to improve the
protocol to support this and other rich features. That won't have results
for a few months, though.
How are you thinking of implementing this?
On Wed, Jun 17, 2015, 6:17 AM Fabian-Robert Stöter<EMAIL_ADDRESS>wrote:

I love the idea of hydrogen, and I think this is good step into the right
direction towards atom as a scientific dev environment! Thanks for the work
so far.
One step further additionally to the "watch" mode would be to list
variables of the current scope. The result would then be a variable /
workspace view which automatically refreshes so users get a quick view on
all their variables and their content. This view could also allow to click
on the variables to show the content of arrays, images, matplotlib plots
etc...
This would reflect something which is common in IDE's like Spyder or
Matlab (see screenshot)
[image: image]
https://cloud.githubusercontent.com/assets/72940/8204373/650d2b4c-14e8-11e5-9fb6-d24f5b88ee7b.png

would you like to see this functionality included in hydrogen?
are you interested in implementing this or would you like to receive
pull requests?

—
Reply to this email directly or view it on GitHub
https://github.com/willwhitney/hydrogen/issues/64.

I would love to see this as well.
I really want to move away from Spyder (especially given its recent problems with Windows 10) but the variable explorer keeps me using it. Hydrogen with the watch list is a huge step in the right direction, but its not quite the same thing.

Besides maybe add ctrl-shift-enter or whatever shortcut to add to watch?

I'd love to see this too. I've been tracing through Jupyter trying to figure out what would be necessary to support this sort of case globally and it seems like it could potentially be extremely complicated. The jupyter_client spec would need to implement some concept of a "variable". In the most basic case this would map to the contents of Python's globals(). However, in order to support jupyter's pubsub model you would need debugger like control over the execution environment. I'm not even sure it's feasible to do this in languages with less introspection than Python.
I'm wondering if an alternative to waiting for all this infrastructure might be to build out the watch list into a more automated UI. For instance, can we piggy-back on Atom's grammars to determine if the user's cursor is on a variable and display an "Watch this variable" button popup? Or maybe it's in the right-click menu?

@onyxfish Here is 'Add watch' implementation. Just add some keymap for that.
In some languages like coffeescript "everything is expression", so I want to get results of list comprehension or generator and not just a variable.
I'm planning to rework a bit watchers: add something like version control for watched variables
Something like scrollbar under watched variable value. So if you launch for i in 0:10 and i is watched. You can inspect all it's mutations from 0 to 10, just by dragging slider. For me it would be comfortable to use with metaprogramming algorithms.
Any purposes?

@onyxfish "Add watch" command was merged into master.
Parsing grammars is easy. And auto adding all variables into watches is easy too. If this would be approved I can write it fast.
But what about scopes?

@willwhitney any updates on your work with the jupyter team and whether this feature is likely to be added in the near future?

 However, if you're interested in pitching in on the Jupyter side of things, they love PRs!

I have a proof-of-concept that implements a basic variable inspector using the just-merged plugin API updates: https://github.com/nikitakit/hydrogen-python

It should be quite doable to turn this into a fully-working plugin. That said, I'm not sure what the priority features for a variable inspector are, besides showing basic variable info. Existing environments offer a bunch of capabilities for editing/plotting/saving/loading, but I have no idea which of these features actually see non-trivial use.

Wow, this is awesome! 🍾
From my own experience, I did never used these kind of advanced features in MATLAB® etc., type and shape is pretty much all I need... so you nailed it 👍
I will have a detailed later and I guess it makes more sense to continue discussion in the python plugin

Great work @nikitakit!
Do you want to add a link to this package to our readme? After that I think we're good to go and make a new release so people can try it out.

This is great! It's one of the things I most wished I could add when I was first building Hydrogen. Awesome work @nikitakit!

@nikitakit This is really nice.
Save and load is crucial I think. Many people use python for data science and machine learning tool. So, save and load a workspace is really useful.

Hi, can someone help me how to toggle the Variable Explorer feature on? I installed the package but can't find how to do that. Tried to run the command "Hydrogen Python: Toggle Variable Explorer" but it does not work.

So this would be a fantastic feature especially if it were more fluidly available i.e., opening up once workspace is populated by user defined variables. Nevertheless, I managed to toggle it on and recieved...

No introspection available! 😞

@ktavabi The command you need to run isHydrogen Python: Toggle Variable Explorer, not Hydrogen: Toggle Inspector

so awesome work @nikitakit  -
To be upfront - I stumbled across this library after looking at ways to integrate livepython with ipython.
@agermanidis - managed to expose a variable explorer which works well and I love it's simplicity and playback feature.
https://github.com/agermanidis/livepython/

I was looking at this code base - and looking to plug in the ipython capabilities to like spyder ide
/ that is I want to retrofit hydrongen into livepython. I subsequently found another sidecar project which is almost integratabtle.
https://github.com/nteract/sidecar/issues/46

then read that there's nteract which has plotly all out of the box with nice ui candy.
my use case is I want to launch tensorflow training python app from terminal and be able to inspect variables print graphs / dataframes like spyder ide. my goto editor is visual studio code -  but they don't want anything to with a variable explorer -
https://github.com/Microsoft/vscode/issues/29971

hi, I am new to this. How do you open this feature? I am using atom with python 3 kernel, where do you run Hydrogen Python: Toggle Variable Explorer ? in script or? @nikitakit

Press ctrl-shift-P to bring up the command palette. That's where you run all the Atom commands.

Hi, I'm new to Atom and Python...I followed the instructions on this thread, but I'm unable to get the Variable Explorer to show up. Hydrogen is working fine otherwise. Any advise. I have entered the command from the command palette (typing the command). I can't see the command to show up. I also created shortcut for this command "hydrogen:toggle-variable-explorer", but it doesn't work either. Any clue on how to troubleshoot the installation of this plugin? Thanks!

@nikitakit I'll add my vote for this being a useful feature. As for which other features see nontrivial use, I would say priority 1 is ability to just see the variable and the size/shape of arrays is my biggest use, so you have it! Thanks
@hmanuel1 I also did not see the hydrogen command initially, but it should show up in the command palette autocomplete after you install the package hydrogen-python. You probably need to restart hydrogen after installing the package.

Is there any planning to make  this really useful feature also available for R? (as described in #628 I mean)
Cheers!

The variable explorer is a very useful tool, I noticed that for python pandas DataFrames doesn't resolve their size.
A nice example of this working as it should is Jupyter's notebook extension Variable Inspector, which gives you the size/shape of the DataFrame.


🛠FIX : Book swapping page User avatar fetching error

Related Issue
“None”
Fixes:  #4574
Description
On the Books swapping page, the user avatar was not fetching from local storage, It was showing a blank space instead. It fixed that.
Type of PR

[x] Bug fix
[x] Feature enhancement

Screenshots / videos (if applicable)

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@abhi03ruchi please review and merge the PR.

@akash70629 we can't able to assign levels to minor change like that work on other issue too and notify me or @abhi03ruchi

@abhi03ruchi please add level 1 label 🥺


New device - Kwikset Kevo smart lock

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
        "manufacturer": "Kwikset",
        "model": "Kevo",
        "battery_type": "AA",
        "battery_quantity": 4

Describe alternatives you've considered
n/a
Additional context
n/a

Thanks, I've added it to the library


ERROR:{"error":[15,"power on not supported"],"id":1}

Is this an error from the plugin or my tv. I have remote start on.

Which model u have? It seems that your tv doesnt support this kind of commands

DS415+
Thanks,
Oscar
On 9 Feb 2019, 4:21 AM +1100, Seyd<EMAIL_ADDRESS>wrote:

Which model u have? It seems that your tv doesnt support this kind of commands
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

thats not your tv model or?? which tv model u have?

Sorry that was my ds model. The TV model is KDL-70W850B
Thanks,
Oscar
On 9 Feb 2019, 12:55 PM +1100, Seyd<EMAIL_ADDRESS>wrote:

thats not your tv model or?? which tv model u have?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Is this a android tv?

It might be how do I tell?
Thanks,
Oscar
On 9 Feb 2019, 3:50 PM +1100, Seyd<EMAIL_ADDRESS>wrote:

Is this a android tv?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Googled for it and yes its not an android tv. This plugin only supports sony tvs with android interface, closing

Wait a sec.. so what plugin should I install?


Fix grammar

orthographical variants: "drop-off" and "dropoff".
evi1:
evi2:

@changeworld : Thanks for your contribution! The author, @alkohli, has been notified to review your proposed change.

@changeworld Thank you for your contribution!


Having troubles with model infer

Hi there, thanks for your great work. Im trying to estimate ages with your model. But I can not find an infer function to predict. Could you tell me how to fetch an infer result on your codes? Thx a lot.

Hi @Kedao98 , thanks for pointing out!
I returned to the code and found the entangled implementation of result prediction and metric evaluation.
Here is the proposed snippet that may help: https://github.com/xk-huang/OrdinalCLIP/compare/main...pred_api
Call make_predictions to get the predictions.
Ps: the code snippet hasn't been tested due to limited time, I will catch up later!


full .hxp support

Code completion and launching of .hxp scripts for haxe projects... especially lime/openfl.
For windows, it would be especially rad to run .hxp scripts through visual studio command prompt, so cpp target projects can access cl.exe via the .hxp script.

https://lime.software/docs/project-files/hxp-format/


Upgrade some dependencies

I closed a bunch of PRs from bots:
https://github.com/plone/volto/pull/4078 99 tag: dependencies Pull requests that update a dependency filejavascriptPull requests that update Javascript code
#4078 opened 5 days ago by dependabot bot
 2
https://github.com/plone/volto/pull/4077 99 tag: dependencies Pull requests that update a dependency filejavascriptPull requests that update Javascript code
#4077 opened 5 days ago by dependabot bot
 2
https://github.com/plone/volto/pull/4065 99 tag: dependencies Pull requests that update a dependency filejavascriptPull requests that update Javascript code
#4065 opened 6 days ago by dependabot bot
 2
https://github.com/plone/volto/pull/4031 99 tag: dependencies Pull requests that update a dependency filejavascriptPull requests that update Javascript code
#4031 opened 10 days ago by dependabot bot
 2
https://github.com/plone/volto/pull/4030 99 tag: dependencies Pull requests that update a dependency filejavascriptPull requests that update Javascript code
#4030 opened 10 days ago by dependabot bot
 2
https://github.com/plone/volto/pull/4029 99 tag: dependencies Pull requests that update a dependency filejavascriptPull requests that update Javascript code
#4029 opened 10 days ago by dependabot bot
 2
https://github.com/plone/volto/pull/4020 99 tag: dependencies Pull requests that update a dependency filejavascript

I would like to solve this issue please assign it to me

@SaiRev0 First, you need to be a member of the Plone Developers (sign the Contributers Agreement, etc). See the plone.org website for details

@tiberiuichim Thanks for the information, I have emailed the pdf, so for the time being is there anything I can do other than waiting??

@SaiRev0 you can start working on the issue. The idea is that the bot cannot make the PRs, as it's not a member of the group. So you can make a PR that does all those minor dependency upgrades

@SaiRev0 also review https://6.docs.plone.org/volto/developer-guidelines/contributing.html, and install Plone locally for development, if you have not yet done so.

@stevepiercy Made a PR, please check and review it, and if it need some changes please inform me


Fix neoterm integration

Neoterm changed some functions signature, this will fix the integration.

Thank you for this, am a big fan of Neoterm too. Will this work with older versions?


Latest released version (1.7.0) contains Axios CVE-2023-45857

The fix has already been merged in master (99b7eb0abff808ac9470a60a39c7f5e22c464b0f), could we get a new NPM release with this?

Bumping this @yakovkhalinsky
Installing with npm install backblaze-b2 will install the version with the vulnerability. You will need to bump the version number to 1.7.1 and npm publish this package again for the vulnerability fix to be available for others.


Add ID permission handlers

There are new helpers for ID-based checking:
const command: Command = {
  ...
  permissions: checkAll(
    RolePermissions.allIDs('855841786869841933', '855841786857127942'),
    ChannelPermissions.inIDs('855841788115288107'),
  )
  ...
};

Looks good! Two suggestions (lmk what you think):

Flatten the namespace and rename functions. I think this will make this a bit less clunky for use with helpers like checkAll; for example:

checkAll(RolesPermissions.oneName(Roles.president), ChannelPermissions.inChannels(Channels.exec_board))

vs
checkAll(inRoles(Roles.president), inChannels(Channels.exec_board))

Some suggestions for renaming:

RolePermissions.allNames => allRoleNames
RolePermissions.oneName => inRoleNames (this keeps the wording the same as the ChannelPermissions)
RolePermissions.allIDs => allRoles (this will encourage people to use the Snowflake way by default and get all the benefits we've discussed)
RolePermissions.oneID => inRoles
ChannelPermissions.inNames => inChannelNames
ChannelPermissions.inIDs => inChannels
CategoryPermissions.inNames => inCategoryNames
CategoryPermissions.inIDs => inCategories

(maybe out of scope for this PR) We have a checkAll() helper but not a "checkOne()" or similar thing to express logic like: "either be in #general OR be a director" to use this command

Ok new commit is good. Do you prefer oneRoleName over inRoleNames? It bothers me a little how the channel and role versions of the same functions have different prefixes.


New version: Discord.Discord version 1.0.9152

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I couldn't stop the approval in time.

I couldn't stop the approval in time.

Should I add RequireExplicitUpgrade: true to the installer manifest? This seems to be removed at some time.


Fix bug 1203: Persist ssh keys on reboot of k8s operators

Description of the problem: For k8s operators, the ssh keys were not persisted after killing the operator pod. The keys are supposed to be in the relation data. However, as the operator pods are statefulset, juju won't trigger any lifecycle event, so there's no hook in which we could get the SSH keys from the relation and write them on disk. If the operator would be a stateless deployment, we would be getting the whole lifecycle of events because a new pod will be created, but this is not the case.
Solution: The /var/lib/juju/agents folder will exist in all charms (LXD, K8s/...), and I saw that folder is a Persistent Volume in case of the K8s operators. That's why this commit changes the path in which the keys are stored to /var/lib/juju/agents/.ssh/.
Additionally, I did some additional fixes, like checking if the commands executed (ssh-keygen, sshpass, ...) have binaries installed. If not, the SSHProxy.install() function will be called.

BTW, I tested it in LXD and K8s charms. I will merge it now


Bug Reporting - User Guidance

This is about documenting how the user goes and submits some kind of bug report and/or gets support from the IDP-D team.
Need to think about the template we want for creating github issues. (Make sure to say to include the debug log, etc.)
Make sure that when you submit a new issue, you automatically see the issue populated with our guidance template.
N.B. Make sure the user knows how to include detailed error logging as described in Issue #60. (Attach error log file to the issue).

Also make sure we provide information on how to email sensitive bug reports too us (probably in our written docs) - and make sure it's clear we have the same information as in the github bug report.

@MuazzamChaud this might be a good one for you.

<EMAIL_ADDRESS>- where you can email sensitive issues to.

Have opened a draft PR
I think the issue with my YAML template is syntactical. I also need to verify the output of submitting an issue through a github form (will it produce a simple ticket).


Investigate file digest algorithm for packages

We should be using sha256 file digests, I think default does not include sha256.

https://www.starlab.io/blog/adding-sha256-digests-to-rpms

This ended up being a non-issue.


Changes to scipy functions in scipy version 1.14.0

I ran into the following error when using astro-gdt in a fresh python3.10.5 virtual environment:
ImportError: cannot import name 'trapz' from 'scipy.integrate'

It appears related to the removal of the 'trapz' function in favor of 'trapezoid' per the Scipy 1.14.0 patch notes

scipy.integrate.{simps,trapz,cumtrapz} have been removed in favour of simpson, trapezoid, and cumulative_trapezoid.

We'll need to update instances of trapz and include a scipy>=1.14.0 requirement in setup.py to fix this. I can probably do that on ~Friday July 5th.

@joshuarwood this is a duplicate issue to #48.

I'm addressing this with an update.

This is being addressed in the "whc_api_updates" branch.

Addressed in PR #56.


Harrison/save faiss

@ShreyJ1729 @xloem what do you think of this? updated the loading a bit so that you could load as a class method, and added an example in the notebook of doing so


Add UAC Prompt & Configuration

This PR does a number of things.

Changes the default ChocolateyGUI elevation to user.
Adds a first run configuration to allow always starting as administrator
-Adds UAC shields to signify "privileged" commands when running as a non-administrator

Superseded by #347.


Introduce remove node method

I want to do a PUT request. So, this is what I do in sequence.

First I do a GET request and store the body in a variable so that I know the state before I modify data.
Then do a PUT request (actual test)
Now, I want to undo my modification above with another PUT. This is to ensure we leave the data in same state. In most cases, I cannot use the GET variable I got (in step 1 above) for the PUT body without removing some node(s). Example: CreatedDate or other values which server will not allow to change etc.

The question is, is it possible to easily remove node/nodes in the response.body without having to do complex serialization or String manipulation ? If not, do you think it is useful to bring this feature into rest-assured ?

I would say that this is outside of the scope of rest assured. You can use various JSON libraries (such as Jayway's jsonpath) to change the JSON structure if you like..
Usually I'd just wrap the call in a transaction that is rolled back or simply drop the entire database between each test.


Form Button missing top margin

🐛 Bug Report
When adding a Combobox and a Button to a Form the Button is missing the top margin
🤔 Expected Behavior
The Button should have a top margin
😯 Current Behavior
The Button does not have a top margin
💁 Possible Solution
Looks to be an issue with adding a new selector for form elements.  The selector was changed from .spectrum-Form_d2db1f.spectrum-Form--positionTop_d2db1f>* to .spectrum-Form_d2db1f:where(.spectrum-Form--positionTop_d2db1f)>*
🔦 Context
Updated project from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>and any form that has a combobox as well as a button the button would be missing the top margin after the upgrade.
💻 Code Sample
<Provider theme={defaultTheme} height="100%">
      <Form>
        <ComboBox label="Favorite Animal">
          <Item key="red panda">Red Panda</Item>
          <Item key="cat">Cat</Item>
          <Item key="dog">Dog</Item>
          <Item key="aardvark">Aardvark</Item>
          <Item key="kangaroo">Kangaroo</Item>
          <Item key="snake">Snake</Item>
        </ComboBox>
        <Button variant="cta">Click Me</Button>
      </Form>
    </Provider>

🌍 Your Environment

Software
Version(s)

react-spectrum
3.24.1

Google Chrome
108.0.5359.124

macOS Monterey
12.5.1

🧢 Your Company/Team
Adobe/Marketo Engage

Notes for after break, we added where to reduce specificity due to a clash elsewhere. We'll need to make sure chromatic is up to date before working on this.


Readme.md mistake - security.store

Hello. Thanks for your plugin.
Just to report a mistake in yours explanations concerning security.store file.
Please change your readme.md : ClientID by ClientId

Thank you for this callout!


Instagram does not load

www.instagram.com in https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts
Seriously?

Thank you for this Serhiy @inbalboa.
We do not list the domain www.instagram.com in that list.
Closing.

If you open the file and do a search, it's definitely there! I use this list and it's there as well: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts
Had to whitelist www.instagram.com in pfBlockerNG.

@TwisX and @inbalboa you are right and I am mistaken.
I am reopening this issue.
The issue is upstream. Ping @sinfonietta — can you please review the inclusion of domain www.instagram.com in the porn list? Thanks.

@StevenBlack I have just merged a PR that removes this.

Just reading through the issues and this one appears to have already been resolved.


Resetting the DB

Hi
Is there a way to reset reset the db (clear all packages)?
reinstalling didn't hellpe.
Thanks
Avi

You can simply stop the service, empty whatever directory you set for 'storage' in the configuration file, and restart the service.
If you are on a Unix-like operating system, you need to make sure you have deleted the file called .sinopia-db.json within the storage directory. If you are just doing rm /path/to/storage/* then that may not remove files beginning with ..


Please add on edge pdf documentation following:

PDF open parameters:
Like a  view=FitH
How to Disable Highlight
How to Disable Drawing over a page
How to Disable search on the internet
How to Disable search on Rotations
How to Disable save
How to Disable print
Thank you in advance.

@IrakliLomidze Thanks for your feedback!  I've asked our team to take a look.  We'll follow up if the team has any questions.

Clean up of old issues.  Feedback has been provided to the team.
Any additional feedback can be provided through the browser. ("..." menu > Help and feedback > Send feedback)


CORS: Allow any app or website to download keys by KeyID

Currently, there is no mention of CORS in this application and thus, the default behavior is to block any app trying to access a specific kid https://xx/ehn/<kid>, which I believe damages the utility of the project.
Having an existing kID means a verifier has access to an HCERT with that kID. If the issuer has the key on the database, activating Access-Control-Allow-Origin: '*'  for that route allows anyone to download it, facilitating the life of verifiers.
Entities running this service should be able to easily activate it CORS: *

Victor,
I am not sure this is a good idea from a security perspective.
As any memberstate (or a foreign state actor with an grip on something in the chain, or a normal rogue actor) can get in a position where they can trigger KID or OCSP lookups that are sufficiently unique to start tracking specific citizens or groups.
So one would really want bulk downloads and bulk CRLs - and stay far from 'discovery' and granular fetches.
Also - fetching a few 10's of KBs every night of just the X,Y and KIDs is probably a small price to pay for privacy.

That's a decision states can take, not developers.
Developers should just allow them to do so if they wish (build a configuration option as requested).

Point taken and understood - however in the EU we labour under the GDPR with requires "Security by Design" and "Privacy by default". So this is indeed something which is the responsibility/legal-liability of/for the developers too.

Sure, but this is neither a security risk or a privacy risk. The information is already public on master lists (privacy is irrelevant) and security is not diminished by sharing public keys freely, one by one.

I think we need to disagree on the "security is not diminished by sharing public keys freely, one by one".
And example of a scenario that concerns us if a citizen somehow gets a QR code on his phone which is signed by a DSC certificate that is completely unique and only used once - to sign that QR.
And that this triggers a KID fetch or a OCSP from the verifier in the field.
Thus informing whoever has visibility of the the KID->Cert or OCSP infra (or the path to it) its traffic a 'ping back' of a certain person showing up near a certain IP address (for example).

But that had nothing bro do with this feature. After all, if a verifier needs a new KID download, the app will hit the server for the master list anyway. That will happen no matter what you or states decide on this topic.

In fact, that if the individual download is not allowed by a state, my app will be pinging the master list at every 10mins just to make sure the app has all the keys all the time.

@vitorpamplona regarding the service you are referring here, the direct KID download was just a workaround for our demos that we used prior to having our national trust list. this functionality is not going to used by us, its purely there for demonstration purposes. there will be no individual cert download for the austrian backend.

Tracking by the server is why I strongly oppose to serve keys from any server, this project included. Individual keys should be in DNS records and the key ID should be the subdomain name, not a crop of the kID.

Removed the endpoint in question, thus closing here.


Updated all links to PSBicep/PSBicep

Updated all links from StefanIvemo/BicepPowerShell to PSBicep/PSBicep.

LGTM!


You need to install the request module

There is nothing in the docs about this that I could see, but after you clone the repo, run npm install request

This cured my MagicMirror 💊


NotSupportedError: CustomElementRegistry.define: 'giscus-widget' has already been defined as a custom element

I have used react component in next.js application.
I am getting this error randomly sometimes when I visit/route to any of my blog pages where giscus component is used.
Not sure how to exactly reproduce, it goes away if I refresh the page.
I see these logs when the error occurs.

Unhandled Runtime Error
NotSupportedError: CustomElementRegistry.define: 'giscus-widget' has already been defined as a custom element
Call Stack
Ot/</<
<EMAIL_ADDRESS>(5:8301)
Ot/<
<EMAIL_ADDRESS>(5:8301)
p
<EMAIL_ADDRESS>(5:11591)

<EMAIL_ADDRESS>(28:928)
<EMAIL_ADDRESS>file:/home/rajan/0.Projects/Next.js/nextjs-portfolio/.next/static/chunks/pages/articles/%5Bid%5D.js (18:1)
options.factory
/_next/static/chunks/webpack.js (606:31)
webpack_require
file:/home/rajan/0.Projects/Next.js/nextjs-portfolio/.next/static/chunks/webpack.js (37:33)
fn
/_next/static/chunks/webpack.js (275:21)
b/</<
<EMAIL_ADDRESS>(1:325)
promise callback*b/<
<EMAIL_ADDRESS>(1:286)
invokePassiveEffectCreate
node_modules/react-dom/cjs/react-dom.development.js (23487:0)
callCallback
node_modules/react-dom/cjs/react-dom.development.js (3945:0)
invokeGuardedCallbackDev
node_modules/react-dom/cjs/react-dom.development.js (3994:0)
invokeGuardedCallback
node_modules/react-dom/cjs/react-dom.development.js (4056:0)
flushPassiveEffectsImpl
node_modules/react-dom/cjs/react-dom.development.js (23574:0)
unstable_runWithPriority
node_modules/scheduler/cjs/scheduler.development.js (468:0)
runWithPriority$1
node_modules/react-dom/cjs/react-dom.development.js (11276:0)
flushPassiveEffects
node_modules/react-dom/cjs/react-dom.development.js (23447:0)
commitBeforeMutationEffects/<
node_modules/react-dom/cjs/react-dom.development.js (23324:0)
workLoop
node_modules/scheduler/cjs/scheduler.development.js (417:0)
flushWork
node_modules/scheduler/cjs/scheduler.development.js (390:0)
performWorkUntilDeadline
node_modules/scheduler/cjs/scheduler.development.js (157:0)

This indicates a possible misconfiguration in your website, as this shouldn't happen if there is only one package in the client bundle.
Still, I made it so that the element registration is skipped if the element is already defined. Should be fixed in v2.3.0, please update and confirm. Thanks!


Fix to #10785 - Model Query Filter generates incorrect SQL

Problem was that we would not apply null semantics properly to ColumnReference expressions - we were not detecting that the column behind it is actually nullable and IS NULL term needs to be generated for it.
Also as part of this change improved test infrastructure for cases when some of the results are null.

merged 154725799c44ac14e7592c17c2655037fcf76261


Design io3d.convert API

End goal: Allow users to export data3d to other 3d formats (such as gltf, obj, dae)
Proposal: Ability to do something like
io3d.furniture.getData3dStorageId( furnitureId )
	.then(io3d.export.dae)
	.then(io3d.export.whenDone)
	.then(io3d.storage.getUrlFromStorageId){
	.then(function(url)){
		console.log('your export is ready: '+url)
	})

Considerations: export keyword is reserved in javascript...what happens if people do
import { export } from io3d

I don't think the method should be called export because it complicates things for people wanting to import modules:

it's called convert

Makes things easier :D I updated the issue title

https://github.com/archilogic-com/3dio-js/pull/75


[#28] - Fixes jetpack compose compatibility

This fixes the incompatibility problem with Android app projects which are using Jetpack Compose.
Error shown without this change:
Cannot access 'androidx.fragment.app.FragmentActivity' which is a supertype of 'de.raphaelebner.roomdatabasebackup.core.RoomBackup'.
Check your module classpath for missing or conflicting dependencies

This PR will fix the problem mentioned in issue #28

Looks fine, thank you


Dropdown value/defaultValue boolean

Steps
Have a Dropdown with following possible options for value/defaultValue:
const options = [
  { key: 1, text: 'Yes', value: true },
  { key: 2, text: 'No', value: false }
]

Expected Result
It should show no warning.
Actual Result
It shows a warning Warning: Failed prop type: Invalid prop value supplied to Dropdown.
Version
0.78.2
Testcase
https://codesandbox.io/s/9qoymkzqp4

As you can see here, the type of value can either be a string, a number, or an array of one of these types.
I wouldn't know why boolean can't be a possible value for this prop, but there's probably a reason.

I saw this file and I googled a bit but could not find a valid reason for no boolean...

I see... let’s wait for the maintainers, they should know something about it

This is due to an old artifact, a hidden select element.  See #2572 for the fix.

Sorry to comment on a closed issue but

Note, this is just a warning and can be safely ignored in your app for now. We'll merge and ship the fix soon to rid the nuisance.

A member of the react core team and creator of CRA/Redux wants to move the community to a different approach: https://github.com/facebook/react/issues/10633

In React we intentionally rely on warnings treated as errors by the user. In fact at Facebook we show a modal dialog for each warning and we may enable the same behaviour in the open source version in the future.


chore(scene composer): addressing react-hook linter warnings

Overview
Addressing a portion of the linter warnings from the implementation of react-hook linter on Scene Composer. Takes us from 712 to 672 warnings.
Updates include:

Removing unused imports
Removing unused dependencies in hooks
Adding missing dependencies in hooks to prevent infinite loops & ensure accurate executions

Verifying Changes
Scene Composer
For scene-composer package changes specifically, you can preview the component in the published storybook artifact. To do this, wait for the Publish Storybook action to complete below.

Click on the workflow details
Select the Summary item on the left
Download the zip file

To run the storybook build locally, you need a local static web server:
npm install -g httpserver
cd <Extracted Zip Directory>
httpserver

Then open the website http://localhost:8080 to run the doc site.
Legal
This project is available under the Apache 2.0 License.

Did you manually update these or did you use the linter to auto-fix the warnings?


no data fixer rotten tomatoes

Minecraft version
1.21
Farmer's Delight version
2.1.6
Fabric Loader version
16.1
Fabric API version
0.102.1
Description
no data fixer for rotten tomatoes error on server boot
Steps to reproduce
No response
Mod list

Logs
No response
Minimal instance

[ ] I have tested this on a minimal instance

Performance and shader mods

[X] I am using performance or shader mods

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

does server crash? not boot? if so send latest.log
otherwise this is a harmless log line

It is a harmless log line, I'll fix it next time I update, but it isn't a priority.


Add elmflux

https://twitter.com/luke_dot_js/status/700563784922849280

@yang-wei Would it be possible to include an image that is 1000px wide by 800px tall. The one you've attached is only 705 x 564 so it has to stretch it. Perhaps you could slightly increase the jpg quality too, reducing the jpg artifacts? Thanks!

No problem =)

done @joelclermont

@yang-wei Looks like you changed the image to png, but did not update the json.

@joelclermont My bad. Changed.


Export types required for SamlOptions

Description
There are several types referenced by SamlOptions which aren't exported for a consumer to use. This PR, in the vane of #220, corrects this problem.

@repomen @ghusse, in continuation of our discussion here, I'm seeking your eyes on this PR. I'm trying to get things ready for a v5 release and want to make sure all your typing concerns are met since we are in a semver-major breaking-change window with this update to a new version of Node.

I took a look at types, and I noted that some public methods from the SAML object were using types that are not exported.
I'm not sure that these methods are meant to be called by users of this lib (maybe they should not be public?), so I'll let you decide what to do for each of them:

getAuthorizeUrlAsync uses AuthorizeOptions
getLogoutUrlAsync, getLogoutResponseUrl and getLogoutResponseUrlAsync use AuthenticateOptions and AuthorizeOptions
validateRedirectAsync uses ParsedQs

I checked the rest and it seems OK.

@ghusse , thanks for checking things over. I think I've addressed your findings. Can you have one more look before I merge this?

Thanks for the changes. I still see that validateRedirectAsync is public and is requesting a ParsedQs which is exposed by a dependency but not by node-saml itself.

True, but it is also available via other packages. So, I guess it should be a peerDependency. I hesitated to do that because it is only needed if the consumer is using TypeScript. Thoughts?

Further examination reveals that qs comes from express, so we have a transient dependency on express. I'll make another PR to refactor to remove that dependency.


about dataset

My dataset is multi-class, but there will be interleaving between two classes, I wonder if transunet can recognize it?

Hi,can u share your preprocessed data ?


Missing functionality as shown in the demo?

The project does not contain room creation functionality as shown in the demo.

hi abhilash29 ,
i added a Room_Example Folder.
try it out :smirk:


Cherrypick uithread from Dev15.8

With a developer build of F# from the master branch, when you load a legacy project and clean or rbuidl or build the project.  VS crashes.
This was already fixed in the dev15.8 branch with this commit:  https://github.com/Microsoft/visualfsharp/commit/91f490660c80f5c64fe930f7425275909f4c10d3
This merely cherrypicks and fixes the merge issues.

Yyyyyeeessss
On Sat, Jul 21, 2018, at 20:55, Kevin Ransom (msft) wrote:

With a developer build of F# from the master branch, when you load a
legacy project and clean or rbuidl or build the project.  VS crashes.> This was already fixed in the dev15.8 branch with this commit: 91f4906> This merely cherrypicks and fixes the merge issues.

You can view, comment on, or merge this pull request online at:

https://github.com/Microsoft/visualfsharp/pull/5364

Commit Summary

Cherrypick uithread from Dev15.8
File Changes

M vsintegration/src/FSharp.LanguageService.Base/DocumentTask.-
cs[1] (3)
M vsintegration/src/FSharp.LanguageService.Base/LanguageService.-
cs[2] (4)
M vsintegration/src/FSharp.ProjectSystem.Base/Project/IDEBuildLo-
gger.cs[3] (18)
M vsintegration/src/FSharp.ProjectSystem.FSharp/Project.fs[4] (3)
M vsintegration/tests/UnitTests/TestLib.Utils.fs[5] (1)> Patch Links:

https://github.com/Microsoft/visualfsharp/pull/5364.patch
https://github.com/Microsoft/visualfsharp/pull/5364.diff> — You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub[6], or mute the
thread[7].
Links:

https://github.com/Microsoft/visualfsharp/pull/5364/files#diff-0
https://github.com/Microsoft/visualfsharp/pull/5364/files#diff-1
https://github.com/Microsoft/visualfsharp/pull/5364/files#diff-2
https://github.com/Microsoft/visualfsharp/pull/5364/files#diff-3
https://github.com/Microsoft/visualfsharp/pull/5364/files#diff-4
https://github.com/Microsoft/visualfsharp/pull/5364
https://github.com/notifications/unsubscribe-auth/AGBEzrtRv0EobyU5XGuZTb4Lef3OWXn9ks5uI_fCgaJpZM4VZ2eG

Link #5305, #5304, #5303


raftstore: Implement coprocessor observer pre_persist

Signed-off-by: CalvinNeo<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: ref #12849
What's Changed:
Before commit and finish_for, if the observer decides it is not a proper time to do actual persist, it can skip this persistence.
This observer is aim to disable persistence of advanced applied_index, since some KvEngine may not persist replicated data when commit and finish_for, so we can persist advanced applied_index either.
This can be easily done if we just disable write_apply_state. However, TiKV assert that data and meta should be persist as a whole, so if we don't want to persist advanced applied_index, we should not persist data(which is actually empty, except some pending deleting ssts) either.
We don't worry too much about rubbish data. Since commit can also be triggered by post_exec, or at least ApplyContext::end. We don't call write_apply_sate in ApplyContext::end.

Support coprocessor observer pre_commit

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None

/cc @tonyxuqqi @BusyJay

/merge

/run-all-tests


Patch/nf anno utils

Closes #182, #183, #178 with substantial rewrite of nf annotation utils for processed data. Since the API has breaking changes, testers and anyone using the new version should refer to the updated vignette: https://github.com/nf-osi/nfportalutils/blob/patch/nf-anno-utils/vignettes/annotate-nf-processed-data.Rmd.
Update: since these changes are more complicated than usual, I'd only suggest Robert or Jineta do actual code review to spot bugs, everyone else is tagged for end-user awareness about the updated vignettes.

Hey, I'm annotating some RNAseq data now using this.
One issue I came across in the vignette:
> o <- map_sample_output_rnaseq(syn_out, fileview) # check outputs only
Path: A 3D Cutaneous Neurofibroma Model for Automated High-Throughput Drug Screenings/NFOSI-processed-data/NF-OSI Processing - Unreleased/RNA Sequencing/star_salmon
Found 3 files for STAR and Salmon
Error in strsplit(paths, "/") : non-character argument

Well, I'm glad the most temperamental macOS R-CMD-check is passing again.


Missing K8s compatibility information in the docs

Describe the bug
ESO v0.9 supports K8s v1.30 as per this makefile, however the docs do not reflect this. Currently it reads as no ESO version is compatible with K8s 1.30
I have also tested ESO v0.9.19 with an EKS 1.30 cluster and nothing seemed inoperable.
To Reproduce
Observe the compatibility table at https://external-secrets.io/latest/introduction/stability-support/
Expected behavior
The table to depict that ESO v0.9 is compatible with K8s v1.30
Screenshots

Additional context
Apologies if this isnt the correct template for documentation bugs but I didn't find any appropriate template.

I would be more than happy to create a PR to close this


Update hoist-non-react-statics to 2.x

https://github.com/mridgway/hoist-non-react-statics/releases/tag/v2.0.0

Thanks!


Docker: Pull access denied, repository does not exist or may require 'docker login'

Bug description
Unable to find image 'ec5079:5098b2a473f5478699c0bf0ea7fa5c49' locally
docker: Error response from daemon: pull access denied for ec5079, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
How to reproduce
I'm not sure. I followed the instructions exactly.
The build action succeeds on its own, but when I add steam-deploy, it fails.
Expected behavior
The process should work as expected without errors.
Additional details
Run game-ci/steam-deploy@v3
  with:
    username: ***
    configVdf: ***
    appId: ***
    buildDescription: v
    rootPath: Builds/StandaloneWindows64
    depot1Path: StandaloneWindows64
    depot1InstallScriptPath: StandaloneWindows64/install_script.vdf
    releaseBranch: internal-dev
/usr/bin/docker run --name ec50795098b2a473f5478699c0bf0ea7fa5c49_b274db --label ec5079 --workdir /github/workspace --rm -e "INPUT_USERNAME" -e "INPUT_CONFIGVDF" -e "INPUT_APPID" -e "INPUT_BUILDDESCRIPTION" -e "INPUT_ROOTPATH" -e "INPUT_DEPOT1PATH" -e "INPUT_DEPOT1INSTALLSCRIPTPATH" -e "INPUT_RELEASEBRANCH" -e "INPUT_TOTP" -e "INPUT_FIRSTDEPOTIDOVERRIDE" -e "INPUT_DEPOT2PATH" -e "INPUT_DEPOT2INSTALLSCRIPTPATH" -e "INPUT_DEPOT3PATH" -e "INPUT_DEPOT3INSTALLSCRIPTPATH" -e "INPUT_DEPOT4PATH" -e "INPUT_DEPOT4INSTALLSCRIPTPATH" -e "INPUT_DEPOT5PATH" -e "INPUT_DEPOT5INSTALLSCRIPTPATH" -e "INPUT_DEPOT6PATH" -e "INPUT_DEPOT6INSTALLSCRIPTPATH" -e "INPUT_DEPOT7PATH" -e "INPUT_DEPOT7INSTALLSCRIPTPATH" -e "INPUT_DEPOT8PATH" -e "INPUT_DEPOT8INSTALLSCRIPTPATH" -e "INPUT_DEPOT9PATH" -e "INPUT_DEPOT9INSTALLSCRIPTPATH" -e "steam_username" -e "steam_totp" -e "configVdf" -e "appId" -e "firstDepotIdOverride" -e "buildDescription" -e "rootPath" -e "depot1Path" -e "depot1InstallScriptPath" -e "depot2Path" -e "depot2Insta
Unable to find image 'ec5079:5098b2a473f5478699c0bf0ea7fa5c49' locally
docker: Error response from daemon: pull access denied for ec5079, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

name: Build Development

on:
  workflow_dispatch:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  buildForSteam:
    name: Build [DEVELOPMENT]
    runs-on: ubuntu-latest
    outputs:
      buildVersion: ${{ steps.buildStep.outputs.buildVersion }}
    steps:
      # Checkout
      - name: Checkout repository
        uses: actions/checkout@v4

      # Cache
      - uses: actions/cache@v4
        with:
          path: Library
          key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
          restore-keys: |
            Library-

      # Build StandaloneWindows64 Steam DEV
      - name: Build StandaloneWindows64 DEV
        uses: game-ci/unity-builder@v4
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
          UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
          UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
        with:
          targetPlatform: StandaloneWindows64
          buildName: "AwesomeGame"
          buildsPath: 'Builds'
          customParameters: '-Development'

      # Direct Steam Deployment
      - name: Deploy to Steam
        uses: game-ci/steam-deploy@v3
        with:
          username: ${{ secrets.STEAM_USERNAME }}
          configVdf: ${{ secrets.STEAM_CONFIG_VDF }}
          appId: ${{ secrets.STEAM_APP_ID }}
          buildDescription: v${{ steps.buildStep.outputs.buildVersion }}
          rootPath: Builds/StandaloneWindows64
          depot1Path: StandaloneWindows64
          depot1InstallScriptPath: StandaloneWindows64/install_script.vdf
          releaseBranch: internal-dev

The log is incomplete, the long line isn't showing which image it's trying to build, so I can't manually try to pull the image.
Are you running this on self-hosted or GitHub hosted runners? In case of self-hosted, you may need to add docker credentials as the error suggests. In case of GitHub hosted, I'd expect many people to have this same problem and some thumbs to this issue very soon.
Also, does this issue happen every time or was it just a flaky API call to Dockerhub?

It turns out I have to separate the build and deploy jobs, and then both the build and deploy succeed.
However, I still prefer not to use artifact upload if possible.


Real-time object detection (streaming video) with BNN

Hi Giuliogamba,
Actually, I'm interested in real-time object detection on pynq-z1 using the  BNN  project .
Indeed, I want to have as input a video on the HDMI IN of the card and I'd like to have as output (on the HDMI OUT) the detection of all the objects in this video.
Please, can you tell me if that is possible?
if so please tell me what are the things that must be done to achieve that?

Hi,
this wiki might be helpful for you. It shows the implementation of object detection on the Ultra96 or ZCU102 board, and it's based on the BNN IP available on this repo.
Hope this helps.

Thank you for your reply
I appraciate it


timescale-prometheus: 0.1.0-beta.1 -> 0.1.0-beta.2

Motivation for this change
Upgrade to 0.1.0-beta.2
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build timescale-prometheus


Consistent implementation for combining fuselage guide curves and kinks

Currently, the definition of (starting and end points of) fuselage guide curves is not consistent to user-defined parameterization for (e.g.) kinks. Those guide curve points are, up to now, defined based on the arc length of the start profile and end profile, respectively. While the user-defined parameterization can arbitrary differ from that (see issue #745).
This PR introduces the new CPACS nodes fromParameter and toParameter to account for this 'problem' to make it easier for users to sync guide curves with kinks.
The node is implemented via a choice element and the old implementation is kept as the default case to not get in the way with existing code, CPACS files and tests.
Since the CPACS scheme is changed, it has to be though about a CPACS PR, as well.
TODO:

Implement meaningful tests
Think about cases when the parameterization is not in the range of [0,1]
Take care about wings
(Potentially clean up the changed code)

Fix issue #745
Checklist:

[ ] A test for the new functionality was added.
[X] All tests run without failure.
[ ] The new code complies with the TiGL style guide.
[ ] New classes have been added to the Python interface.
[ ] API changes were documented properly in tigl.h.

The following example is taken from the CPACS file uploaded in the issue. Here, the first picture is copied from the issue for reference. The second one is built from the same CPACS file, but the nodes fromRelativeCircumference, toRelativeCircumference are replaced by the new fromParameter and toParameter.
The kink is defined to be at parameter=0.3, while the guide curve's respective argument is set to 0.28. Nevertheless in the first picture, the guide curve appears after the kink on the profile.
In the second picture, the positions change. The yellow crosses mark the parameters 0.28 and 0.3 on the profile curve and that is just what is expected before.

First picture

Second picture


Allow data refresh poke interval to be configured per media type

Description

Presently the data refresh poke interval can only be configured by an environment variable across all data refresh DAGs:
https://github.com/WordPress/openverse-catalog/blob/3ee97b6cbe45337bec6289bd77b9a57512a82522/openverse_catalog/dags/data_refresh/data_refresh_task_factory.py#L143
It would be ideal to allow each media type to have its own poke interval. For instance, audio data refreshes could probably be every minute, whereas for the image data refresh 15 minutes makes more sense.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Thanks @keiyanishio, I'll go ahead and assign it to you! 😄 Let us know if you have any questions on this one.


Arrow CSS class from Theme Editor is not correct

Hi,
Theme editor provide a wrong class to customize the arrow color.
Instead of 2 classes, theme editor provide .v-popper__arrow.

I also need to update the design pane to allow customizing the border (toggle + color).


Support for arrow function entrypoint in eval()

We can't have an expression body because it throws a compile error, like
String main() => 'Hello World!';

It only accepts a block body, like
String main() {
  return 'Hello World!';
}

Code
import 'package:dart_eval/dart_eval.dart';

void main() {
  print(
    eval('''
      String main() => 'Hello World!';
    ''')
  );
}

Error

Click to expand
Unhandled exception:
CompileError: Unknown statement type FunctionDeclarationStatementImpl at unknown (file package:default/main.dart)
#0      Compiler.compileSources
package:dart_eval/…/compiler/compiler.dart:344
#1      Compiler.compile
package:dart_eval/…/compiler/compiler.dart:131
#2      eval
package:dart_eval/…/eval/eval.dart:35
#3      main
test\temp.dart:5
#4      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)

#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
Exited (255)

Expression body should be supported since version 0.4.6, what version are you using?
This might also just be because you are using the eval() method, can you try using compiler.compile() -> Runtime.ofProgram() -> executeLib() instead? (described more in the readme)

Fixed in https://github.com/ethanblake4/dart_eval/commit/4e7d946bb1ebfcb621bc8eae64240283b9a5b9ec and https://github.com/ethanblake4/dart_eval/commit/36e0af75501bceaf159c0f6e1377e8d4b3066126, will be in next release


build: use webpack 5

Coverage increased (+0.02%) to 71.099% when pulling f0978f5336c167e41378feec78db312bb76d1309 on webpack5 into 24db0b37c328cf0eeef9ca032ed86b68b72aa6d0 on master.


⚠ Bofrost.at has degraded performance

In 9d2af44, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 6042 ms

Resolved: Bofrost.at performance has improved in 84c28d3.


Path Based MultiSites

Description
We have an application gateway where apps are routed by path e.g.
apps.romiko.com/app1/web
apps.romiko.com/app1/api
apps.romiko.com/app2/web
apps.romiko.com/app2/api
How can I [...]?
We notice with the routing urls that the path is added twice.
e.g.
mysite/app1/api/app1/api
Is it possible to [...]?
Have a configuration option to set the root level of the site e.g.
app.UsePathBase("/app1/app2");
Additional context
Request URL: https://app.romiko.com.au/coldstream-api/coldstream-api/tags
Request Method: GET
Status Code: 500 Internal Server Error
Remote Address: <IP_ADDRESS>:443
Referrer Policy: no-referrer-when-downgrade
Connection: keep-alive
Content-Length: 21
Content-Type: text/plain; charset=utf-8
Date: Thu, 03 Oct 2019 22:47:33 GMT
server: uvicorn
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Authorization: Basic xyz
Cache-Control: max-age=0
Connection: keep-alive
Host: app.romiko.com.au
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Sample Code
`# Coldstream globals
SCOPE = environ.get("SCOPE", "/coldstream-api/v1")
...
.....
app = FastAPI(
title="Coldstream",
description="A webservice to protect production Azure SQL.",
version=version,
openapi_url=SCOPE + "/openapi.json",
docs_url=SCOPE + "/docs",
redoc_url=SCOPE + "/redoc"
)
...
...
@app.get(
SCOPE + "/tags",
response_model=List[Tag],
response_model_skip_defaults=True,
tags=["Tags"],
response_class=UJSONResponse,
)
`

Check for root_path in uvicorn
Le ven. 4 oct. 2019 à 12:51 AM, Romiko Derbynew<EMAIL_ADDRESS>a écrit :

Description
We have an application gateway where apps are routed by path e.g.
apps.romiko.com/app1/web
apps.romiko.com/app1/api
apps.romiko.com/app2/web
apps.romiko.com/app2/api
How can I [...]?
We notice with the routing urls that the path is added twice.
e.g.
mysite/app1/api/app1/api
Is it possible to [...]?
Have a configuration option to set the root level of the site e.g.
app.UsePathBase("/app1/app2");
Additional context
Request URL: https://app.romiko.com.au/coldstream-api/coldstream-api/tags
Request Method: GET
Status Code: 500 Internal Server Error
Remote Address: <IP_ADDRESS>:443
Referrer Policy: no-referrer-when-downgrade
Connection: keep-alive
Content-Length: 21
Content-Type: text/plain; charset=utf-8
Date: Thu, 03 Oct 2019 22:47:33 GMT
server: uvicorn
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,
/;q=0.8,application/signed-exchange;v=b3
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Authorization: Basic xyz
Cache-Control: max-age=0
Connection: keep-alive
Host: app.romiko.com.au
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Stack Trace - Internal Server Error 500
[2019-10-03 10:37:42 +0000] [8] [ERROR] Exception in ASGI application
Traceback (most recent call last):
File
"/usr/local/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py",
line 375, in run_asgi
result = await app(self.scope, self.receive, self.send)
File
"/usr/local/lib/python3.7/site-packages/uvicorn/middleware/message_logger.py",
line 58, in call
raise exc from None
File
"/usr/local/lib/python3.7/site-packages/uvicorn/middleware/message_logger.py",
line 54, in call
await self.app(scope, inner_receive, inner_send)
File "/usr/local/lib/python3.7/site-packages/starlette/applications.py",
line 133, in call
await self.error_middleware(scope, receive, send)
File
"/usr/local/lib/python3.7/site-packages/starlette/middleware/errors.py",
line 177, in call
raise exc from None
File
"/usr/local/lib/python3.7/site-packages/starlette/middleware/errors.py",
line 155, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.7/site-packages/starlette/exceptions.py",
line 73, in call
raise exc from None
File "/usr/local/lib/python3.7/site-packages/starlette/exceptions.py",
line 62, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line
590, in call
await route(scope, receive, send)
File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line
208, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line
41, in app
response = await func(request)
File "/usr/local/lib/python3.7/site-packages/fastapi/routing.py", line
111, in app
raw_response = await dependant.call(**values)
File "/app/coldstream/coldstream.py", line 251, in fetch_tags
cursor.execute(QUERIES['fetch_tags'], (offset, limit))
TypeError: execute() takes 1 positional argument but 3 were given
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tiangolo/fastapi/issues/588?email_source=notifications&email_token=AAINSPV4JJ3BSZL4FJOTGRLQMZZPBA5CNFSM4I5JDPX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPRB4NA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAINSPSA46WYR5PRBAYNH5DQMZZPBANCNFSM4I5JDPXQ
.

Hmm, it's difficult to guess what can be wrong, can you please share a self-contained example of the misbehavior?
Are you running multiple apps or just one?
What's the value is the SCOPE env var?
Do you have a proxy on top of your app?


Block edge 4.4.30

4.4.30 needs to be disabled:
2 clusters currently failing (11%),  1 gone ( 5%),and 14 successful (74%), out of 19 who attempted the update over 7d
Currently failing classification:
* Logging issues: 1
* Version retarget: 1

4.4.30 can be enabled again:
2 clusters currently failing ( 9%),  1 gone ( 5%),and 14 successful (64%), out of 22 who attempted the update over 7d
Currently failing classification:
* Logging issues: 1
* Version retarget: 1


ReplayGain support

Normally mpd supports replay gain in the idv3 tags of mp3 but as far as i can hear it, the songs are played in different dB.
Only the folders where i've normalized the songs to 92dB (mp3gain -r -d 3) seem to playback with the same volume.
Does anybody know more about this?
Thanks in advance

I found the following in /etc/mpd.conf:
Normalization automatic volume adjustments

This setting specifies the type of ReplayGain to use. This setting can have
the argument "off", "album", "track" or "auto". "auto" is a special mode that
chooses between "track" and "album" depending on the current state of
random playback. If random playback is enabled then "track" mode is used.
See http://www.replaygain.org for more details about ReplayGain.
This setting is off by default.

#replaygain                     "album"

This setting sets the pre-amp used for files that have ReplayGain tags. By
default this setting is disabled.

#replaygain_preamp              "0"

This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
By default this setting is disabled.

#replaygain_missing_preamp      "0"

This setting enables or disables ReplayGain limiting.
MPD calculates actual amplification based on the ReplayGain tags
and replaygain_preamp / replaygain_missing_preamp setting.
If replaygain_limit is enabled MPD will never amplify audio signal
above its original level. If replaygain_limit is disabled such amplification
might occur. By default this setting is enabled.

#replaygain_limit               "yes"

This setting enables on-the-fly normalization volume adjustment. This will
result in the volume of all playing audio to be adjusted so the output has
equal "loudness". This setting is disabled by default.

#volume_normalization           "no"

###############################################################################
I think you have to activate at least:
#replaygain                     "album"
#volume_normalization           "no"
Due to the fact, audiofiles have to be "normalized" and saved with the special Information in the Tags, I think this should not be a default configuration of Phonie.

Thank you, I will work on it and see if it can be enabled for existing replay gain tags without impact on files without replay gain tags.
The use cases:

kid uses phoniebox for lullabies and is already half asleep. Next track starts playing much louder and someone has to quickly turn down the volume.

Phoniebox as background jukebox with shuffle mode. The volume level should stay the same for the whole time to not disturb.

As there are mpc and mpd commands, it should be easy to test (i guess there are no changes in the mpd.conf needed).
mpc offers following:

mpc replaygain [<off|track|album>]
Sets the replay gain mode. Without arguments, it prints the replay gain mode.

mpd has these options:

replay_gain_mode {MODE}
Sets the replay gain mode. One of off, track, album, auto.
Changing the mode during playback may take several seconds, because the new settings does not affect the buffered data.

I don't know what the difference between track, album and auto is, maybe you can test and report back.

Hi @Caliandroid if you test this behaviour, could you please look at...

delay in "starting" playout (due to possible scanning of peak values in the file ahead)
stuttering (due to possible buffering and calculating to change gain mode  - even though this would result more in a compressor behaviour than normalisation)
power consumption (due to the additional crunching of data. Anything streaming tends to suck CPU power unless it uses hardware support - which the Pi does not offer, of course)
The power consumption might be difficult to test if you don't have an Ampere meter. But either the top command via shell or the CPU meter on the Raspian windows task bar might give an indication.

If this is easy to do and we can give short information about the impact of this feature, it would be nice to have in the settings web UI.
Thanks, micz

:flushed: okay I'll test it as good as possible. I don't own an ampere meter so I'll check the Linux system information as indicator.

@Caliandroid did you get anything sorted regarding this thread? Or should I quietly close it?

Hi @MiczFlor : Yes please close it. I will work on and reopen the issue as soon as i'll find the time.


add support for sbyte, ushort, uint, ulong and nuint

I basically just copy-pasted the code for the existing types including tests. These commits look very similar to those adding short, byte etc. (https://github.com/lucasteles/Strongly/commit/82474700b1760d207e6961c8d32e4dd4ffdee3f4).

I had to introduct a new flag IsSigned to prevent the negation operator from being generated for unsigned types causing compiler errors.

I had to add some casts to the math operators because some types like short and byte do not yield their own type for math operators. short + short = int etc.


Remove warnings and mentions about 1.3.7 compiler only support

@kailash-manasarovar do not merge until the new version of the plugin is released.
@FilipTxFusion Let us know once the new version of the plugin is released.


Connecting to an external postgres database and specific schema

Hello
can I connect to an external postgres database with a specific schema using docker-compose? The question concerns which ENV i can use.
For example, I have a postgres database test_base with the address <IP_ADDRESS> and there is a schema is jasper
This option will work?
environment:
- DB_TYPE=postgres
- DB_HOST=<IP_ADDRESS>
- DB_NAME=test_base
- DB_SCHEMA=jasper
- DB_PORT=5432
- DB_USER=postgres
- DB_PASSWORD=postgres

In theory, yes, as long as the docker jasperserver container has network access to <IP_ADDRESS>.
The best way to know is to try it and check the logs.


Can skywalking exclude specified Exception？

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question

Question

What do you want to know?
In my project, developer defined BusinessException for some senerio such as parameter validate、bussiness logic validate，these exceptions are printed，but does not mean endpoint failure.
In skywalking，these situation are calulated for service success rate metric.Is there any way I can config, in order to exclude the BusinessException ?

No, we can't. Using exception to propagate error is not a good idea, and have bad performance.
Please consider to remove them.
The exception is dealt with in the plugin, If you insist, you have to change plugins one by one.

Because in last company，we used OneAPM which can config this，but also thanks a lot

OneAPM product did very different way. They Even can't 100% sampling, Even far from it. We are different.
Again, this can be added If some one wants to contribute.


[Improve][E2E] Reduce the times of copy connector jar to container

Purpose of this pull request
Reduce the times of copy connector jar to container, so that we can solve many time.

Does this PR introduce any user-facing change?
no

How was this patch tested?
exist test.

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

cc @hawk9821


Fix: unresolved promises

Proposed changes
This implementation is a fix to some eternal promises problem (promises that never resolve). It adds a timeout to resolveOnEvent, so events never called will cause a rejection on this promise.
This approach keeps the same behavior to existing implementations, but adds a timeout value to new ones, so after some other refactors could help fix those unresolved promises appearing in tests.
Types of changes

[x] Bugfix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] Chore (change that does not fix an issue or add functionality, but
improves TwitchJS in some other way)

Checklist

[x] I have read the
CONTRIBUTING.md
doc
[] My PR is named according to
CONTRIBUTING.md
doc
[x] End-to-end tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Further comments
I suggest 2 possible approaches to implement it on other functions:

[ ] keep this as is and go add a timeout argument on every call of resolveOnEvent. Then, after all implemented, removing the argument and use it inside resolveOnEvent as a default behavior.
[ ] use it inside resolveOnEvent as a default behavior, causing possible diferent behaviors

Wait, rollup-plugin-terser is already at ^5.1.2. I will have to look into this build error before this can be merged, unless you have any ideas on why it's failing.

Ok, no problem. When you fix problems at rollup lib, I can pull the code to this branch.
Also, feel free to add commits to this branch if you want (you have access and it's ok to me).
I'm working on those changes you commented, I think at maximum at the end of the day.

All problems, except rollup-plugin-terser dependency was fixed. Waiting for a new review. :)

Thanks @victorperin ❤
The changes look great. I will look into the build issues this weekend.

Thanks @marcandrews, I'll continue to help this project. The code base is in a great state, it will be easy to help maintain it. :)
Also, I've opted to do a rebase before squash, justo to check if the code is really ok with the new changes.


Remove unused judgement

Description
Logger already has level judgement internally.
Motivation and Context
Readable
How Has This Been Tested?
unit test and bddtest done.
Checklist:

[x] I have added a Signed-off-by
[x] Either no new documentation is required by this change, OR I added new documentation
[x] Either no new tests are required by this change, OR I added new tests
[ ] I have run goimports, go vet, and golint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives.  The goal is clean, consistent, and readable code.

Signed-off-by:Kai Chen<EMAIL_ADDRESS>

looks good

LGTM
Reviewed-by: Greg Haskins<EMAIL_ADDRESS>


Ratel sends incorrect query to Dgraph v1.0.x

A user reported this error when running Dgraph v1.0.14 with Ratel. When they send a query they get the following error. This happens on Ratel ?dev, ?latest, and ?local.
Error Name: t
Message: Expected some name. Got: lex.Item [1] "while lexing {\"query\":\"{\\n exampleQuery(func:has(userType), first:10){\\n \\tuid\\n \\tfirstName\\n \\tlastName\\n\\t}\\n}\",\"variables\":{}}: Unrecognized character in lexText: U+0022 '\"'"
Raw Error:
{
  "name": "t",
  "url": "http://localhost:8080/query?timeout=20s&debug=true",
  "errors": [
    {
      "code": "ErrorInvalidRequest",
      "message": "Expected some name. Got: lex.Item [1] \"while lexing {\\\"query\\\":\\\"{\\\\n  exampleQuery(func:has(userType), first:10){\\\\n  \\\\tuid\\\\n  \\\\tfirstName\\\\n  \\\\tlastName\\\\n\\\\t}\\\\n}\\\",\\\"variables\\\":{}}: Unrecognized character in lexText: U+0022 '\\\"'\""
    }
  ]
}
Error

Dgraph v1.0.x and earlier does not support queries in the JSON format {"query": "...", "variables": "..."}. This was introduced in the HTTP API in Dgraph v1.1.0 and later to pass GraphQL variables.
I couldn't reproduce this. Any ideas? It seems like Ratel mis-detected the version of Dgraph here and tried using the new HTTP API in v1.1.0 and And the user said that ?local didn't work either which is odd.

Tried on play latest with Dgraph v1.0.14 and v1.0.16 and it worked both times.
Even adding query variables through the new UI worked as expected.
@danielmai, can you please ask them to try sending that query from https://play.dgraph.io/?latest. ?
And also ask them to provide the Ratel's build TS and commit Id they are seeing in Ratel's help?
What is the version of the server they are seeing in the Ratel network tab? Does it say 1.0.15-??? ?

Github issues have been deprecated.
This issue has been moved to discuss. You can follow the conversation there and also subscribe to updates by changing your notification preferences.


Windows install issues

Looks like the latest Windows install win_install.bat has issues.
Building wheels for collected packages: wget
  Building wheel for wget (setup.py) ... done
  Created wheel for wget: filename=wget-3.2-py3-none-any.whl size=9683 sha256=a8a379249737a9e9e0cfff61b7e5320230f50ead675d42e840d455a30a8ec95c
  Stored in directory: D:\VoC_Systems\LoLLMS\installer_files\temp\pip-ephem-wheel-cache-6ur9cqak\wheels\40\b3\0f\a40dbd1c6861731779f62cc4babcb234387e11d697df70ee97
Successfully built wget
Installing collected packages: wget, sortedcontainers, pyreadline3, mpmath, flatbuffers, websocket-client, typing-extensions, sympy, soupsieve, sniffio, setuptools, safetensors, regex, pyyaml, python-multipart, PyPDF2, pycodestyle, protobuf, Pillow, numpy, multidict, lxml, jiter, humanfriendly, h11, fsspec, frozenlist, filelock, click, bidict, attrs, ascii_colors, annotated-types, aiohappyeyeballs, yarl, wsproto, uvicorn, tiktoken, pydantic-core, pipmaster, outcome, huggingface-hub, httpcore, coloredlogs, beautifulsoup4, autopep8, anyio, aiosignal, trio, tokenizers, starlette, simple-websocket, pydantic, onnxruntime, httpx, googlesearch-python, bs4, aiohttp, trio-websocket, transformers, python-engineio, openai, freedom-search, fastapi, selenium, python-socketio, lollmsvectordb, scrapemaster, lollms
  Attempting uninstall: setuptools
    Found existing installation: setuptools 72.1.0
    Uninstalling setuptools-72.1.0:
      Successfully uninstalled setuptools-72.1.0
  DEPRECATION: Legacy editable install of lollms==10.0.0 from file:///D:/VoC_Systems/LoLLMS/lollms-webui/lollms_core (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457
  Running setup.py develop for lollms
Successfully installed Pillow-10.4.0 PyPDF2-3.0.1 aiohappyeyeballs-2.4.0 aiohttp-3.10.5 aiosignal-1.3.1 annotated-types-0.7.0 anyio-4.4.0 ascii_colors-0.4.2 attrs-24.2.0 autopep8-2.3.1 beautifulsoup4-4.12.3 bidict-0.23.1 bs4-0.0.2 click-8.1.7 coloredlogs-15.0.1 fastapi-0.112.2 filelock-3.15.4 flatbuffers-24.3.25 freedom-search-0.1.9 frozenlist-1.4.1 fsspec-2024.6.1 googlesearch-python-1.2.5 h11-0.14.0 httpcore-1.0.5 httpx-0.27.2 huggingface-hub-0.24.6 humanfriendly-10.0 jiter-0.5.0 lollms-10.0.0 lollmsvectordb-1.0.2 lxml-5.3.0 mpmath-1.3.0 multidict-6.0.5 numpy-2.1.0 onnxruntime-1.19.0 openai-1.43.0 outcome-1.3.0.post0 pipmaster-0.2.4 protobuf-5.28.0 pycodestyle-2.12.1 pydantic-2.8.2 pydantic-core-2.20.1 pyreadline3-3.4.1 python-engineio-4.9.1 python-multipart-0.0.9 python-socketio-5.11.3 pyyaml-6.0.2 regex-2024.7.24 safetensors-0.4.4 scrapemaster-0.2.0 selenium-4.24.0 setuptools-70.2.0 simple-websocket-1.0.0 sniffio-1.3.1 sortedcontainers-2.4.0 soupsieve-2.6 starlette-0.38.2 sympy-1.13.2 tiktoken-0.7.0 tokenizers-0.19.1 transformers-4.44.2 trio-0.26.2 trio-websocket-0.11.1 typing-extensions-4.12.2 uvicorn-0.30.6 websocket-client-1.8.0 wget-3.2 wsproto-1.2.0 yarl-1.9.6
The system cannot find the path specified.
Obtaining file:///D:/VoC_Systems/LoLLMS
ERROR: file:///D:/VoC_Systems/LoLLMS does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
Requirement already satisfied: mpmath==1.3.0 in d:\voc_systems\lollms\installer_files\lollms_env\lib\site-packages (from -r requirements.txt (line 1)) (1.3.0)
Collecting numpy==1.26.0 (from -r requirements.txt (line 2))
  Downloading numpy-1.26.0-cp311-cp311-win_amd64.whl.metadata (61 kB)
Collecting sympy==1.12 (from -r requirements.txt (line 3))
  Downloading sympy-1.12-py3-none-any.whl.metadata (12 kB)
Collecting typing_extensions==4.8.0 (from -r requirements.txt (line 4))
  Downloading typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Collecting urllib3==2.0.5 (from -r requirements.txt (line 5))
  Downloading urllib3-2.0.5-py3-none-any.whl.metadata (6.6 kB)
Downloading numpy-1.26.0-cp311-cp311-win_amd64.whl (15.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 10.3 MB/s eta 0:00:00
Downloading sympy-1.12-py3-none-any.whl (5.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 10.6 MB/s eta 0:00:00
Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Downloading urllib3-2.0.5-py3-none-any.whl (123 kB)
Installing collected packages: urllib3, typing_extensions, sympy, numpy
  Attempting uninstall: urllib3
    Found existing installation: urllib3 2.2.2
    Uninstalling urllib3-2.2.2:
      Successfully uninstalled urllib3-2.2.2
  Attempting uninstall: typing_extensions
    Found existing installation: typing_extensions 4.12.2
    Uninstalling typing_extensions-4.12.2:
      Successfully uninstalled typing_extensions-4.12.2
  Attempting uninstall: sympy
    Found existing installation: sympy 1.13.2
    Uninstalling sympy-1.13.2:
      Successfully uninstalled sympy-1.13.2
  Attempting uninstall: numpy
    Found existing installation: numpy 2.1.0
    Uninstalling numpy-2.1.0:
      Successfully uninstalled numpy-2.1.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
openai 1.43.0 requires typing-extensions<5,>=4.11, but you have typing-extensions 4.8.0 which is incompatible.
selenium 4.24.0 requires typing_extensions~=4.9, but you have typing-extensions 4.8.0 which is incompatible.
Successfully installed numpy-1.26.0 sympy-1.12 typing_extensions-4.8.0 urllib3-2.0.5
The system cannot find the path specified.
The system cannot find the path specified.

Then it asks
Select the default binding to be installed:
1) None (install the binding later)
2) Local binding - ollama
3) Local binding - python_llama_cpp
4) Local binding - bs_exllamav2
5) Remote binding - groq
6) Remote binding - open_router
7) Remote binding - open_ai
8) Remote binding - mistral_ai
9) Remote binding - gemini
10) Remote binding - vllm
11) Remote binding - xAI
12) Remote binding - elf
13) Remote binding - remote lollms

I choose 2.
Type the number of your choice and press Enter: 2
python: can't open file 'D:\\zoos\\bindings_zoo\\ollama\\__init__.py': [Errno 2] No such file or directory
Installation complete.

Can you try to install using the new v12 installer?

Can you try to install using the new v12 installer?

What/where is the v12 installer?

Can you try to install using the new v12 installer?

OK trying
https://github.com/ParisNeo/lollms-webui/releases/download/v12/win_install.bat
still gives these errors during install...

Selecting the binding still fails

Then when starting, same error

So, no difference with v12 install bat.

Same issues here.

Hi. I have fixed this problem in the new installer. Please download the new installer from the v12 release and it should work

Still does not work.  During install (when selecting the default binding) and when running it.
ModuleNotFoundError: No module named 'sklearn'

Still does not work. During install (when selecting the default binding) and when running it. ModuleNotFoundError: No module named 'sklearn'

For example, the .bat file is at D:\LoLLM, then:
D:\LoLLM\installer_files\lollms_env\Scripts\activate
cd to the folder
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip --version
pip install scikit-learn
Fixed sklearn for me, but now I got another error:
No module named 'lollms'
But I have it:
`(D:\LoLLM\installer_files\lollms_env) (lollms_env) D:\LoLLM\lollms-webui>pip show lollms
Name: lollms
Version: 10.0.0
Summary: A python library for AI personality definition
Home-page: https://github.com/ParisNeo/lollms
Author: Saifeddine ALOUI (ParisNeo)
Author-email<EMAIL_ADDRESS>License:
Location: D:\LoLLM\lollms-webui\lollms_core
Editable project location: D:\LoLLM\lollms-webui\lollms_core
Requires: ascii_colors, autopep8, beautifulsoup4, fastapi, freedom-search, lollmsvectordb, Pillow, pipmaster, python-multipart, python-socketio, pyyaml, requests, scrapemaster, setuptools, tqdm, uvicorn, wget
Required-by:
(D:\LoLLM\installer_files\lollms_env) (lollms_env) D:\LoLLM\lollms-webui>win_run.bat
'win_run.bat' is not recognized as an internal or external command,
operable program or batch file.
(D:\LoLLM\installer_files\lollms_env) (lollms_env) D:\LoLLM\lollms-webui>cd..
(D:\LoLLM\installer_files\lollms_env) (lollms_env) D:\LoLLM>win_run.bat
Starting LOLLMS Web UI...
"     ___       ___           ___       ___       ___           ___      "
"    /_\     /\  \         /_\     /_\     /_\         /\  \     "
"   /:/  /    /::\  \       /:/  /    /:/  /    /::|  |       /::\  \    "
"  /:/  /    /:/:\  \     /:/  /    /:/  /    /:|:|  |      /:/\ \  \   "
" /:/  /    /:/  :\  \   /:/  /    /:/  /    /:/|:|| :~\ \  \  "
"/://    /:// :_\ /://    /://    /:/ |::::_\ /\ :\ \ _\ "
":\  \    :\  \ /:/  / :\  \    :\  \    //~~/:/  / :\ :\ // "
" :\  \    :\  /:/  /   :\  \    :\  \         /:/  /   :\ :_\   "
"  :\  \    :/:/  /     :\  \    :\  \       /:/  /     :/:/  /   "
"   :_\    ::/  /       :_\    :_\     /:/  /       ::/  /    "
"    //     //         //     //     //         //     "
By ParisNeo
Traceback (most recent call last):
File "D:\LoLLM\lollms-webui\app.py", line 8, in
from lollms.utilities import PackageManager
ModuleNotFoundError: No module named 'lollms'
Press any key to continue . . .`

Hi, the sklearn should disapear if you upgrade to the last version of lollmsvectordb.
if you have already installed lollms, then you can just use the condasession script (you can fin it in the same folder as lollms install) and then type:
pip install scikit-learn

This should fix it

I just installed the latest win_install.bat, ie https://github.com/ParisNeo/lollms-webui/releases/download/v12/win_install.bat in an empty directory.  It does not seem as either issue above is fixed yet.
Which of these is recommended?  If binding later works, then maybe just use that and do not prompt users?
Select the default binding to be installed:
1) None (install the binding later)
2) Local binding - ollama
3) Local binding - python_llama_cpp
4) Local binding - bs_exllamav2
5) Remote binding - groq
6) Remote binding - open_router
7) Remote binding - open_ai
8) Remote binding - mistral_ai
9) Remote binding - gemini
10) Remote binding - vllm
11) Remote binding - xAI
12) Remote binding - elf
13) Remote binding - remote lollms

If I select option 2 I still get this error
Type the number of your choice and press Enter: 2
python: can't open file 'D:\\Tests\\lollms\\lollms-webui\\zoos\\bindings_zoo\\ollama\\__init__.py': [Errno 2] No such file or directory
Installation complete.
Press any key to continue . . .

I can manually patch in scikit-learn, but if you remember I include support for LOLLMS in Visions of Chaos.  If your install fails it fails for any of my users who tries it.  So, can you fix it in your installer so it works?  Better to fix once in yuor install than have every Windows user who tries LOLLMS to have to find this issue and make the patch themselves, if they even know how to find the env, activate the env, install scikit-learn.

I ran into the same problem, but still got ollama errors when I installed with pip install scikit-learn in win_conda_session

I ran into the same problem, but still got ollama errors when I installed with pip install scikit-learn in win_conda_session


AB#9260 Create Products (5-col promo) component

Reverted the "Demo Portal - automated items sync" commits.


Breaking TOS by using Verdaccio instead of NPM ENterprice

We are considering using Verdaccio for our company, however we are concerned of breaking any TOS. Is there a place where we can confidently say we are not breaking any rules set by NPM Enteprise?
https://www.npmjs.com/enterprise

Sorry, What TOS means?

Terms of Service

Hi Juan,
I am reaching out to NPM directly to ensure we would not be breaking any rules, honestly I undestand NPM needs to make money to support their platform so it makes sense that they try their best to sell their Enterprise platform instead of just encouraging users to roll their own.
I just want to make sure the company I work for is protected if we were to make the recommendation to use verdaccio which BTW it is perfect for what we need.

Hi @helmutgranda

I am reaching out to NPM directly to ensure we would not be breaking any rules, honestly I undestand NPM needs to make money to support their platform so it makes sense that they try their best to sell their Enterprise platform instead of just encouraging users to roll their own.

I think many companies are using verdaccio with no fear, including previous companies I've worked on.
Furthermore, I don't think you are breaking any rule using verdaccio on an enterprise environment because verdaccio is not the unique solution available (but is the best one of course 😃 ) you can see this similar things list.
Also, npm provides a Open Source Terms to be better informed about their policies.
There are cloud platforms as Gemfury that they offer the same thing for free, Nexus is OSS and JFrog Artifactory even they charge for licenses to be able to use a npm registry.
Since v3 verdaccio is licensed as MIT https://github.com/verdaccio/verdaccio/issues/224 and if you are corcern about commercial usage you might read here and also with such change we encorage companies to contribute verdaccio to keep it alive for long long long time.
If you still have corcerns about this topic you might ask directly to Laurie Voss (here a npm enterprise slide talk) or file an issue here https://github.com/npm/registry where usually user ask about any registry issue.

use verdaccio which BTW it is perfect for what we need.

I'm so glad to read that.
I hope my answer solve your doubts. If you have further questions let me know, otherwise, feel free to close the issue.

Hi @juanpicado,
I heard back from NPM Sales team and I must say that they confirmed the assumption:
Using Sinopia or Verdaccio doesn't break any rules or TOS
There was more content in their email but in short that is what I was looking for. I must say that it is nice that they did not push their Enterprise platform but rather provide help and information.
Thanks again for creating this amazing tool!

I'm glad to hear that :) Enjoy Verdaccio ! Kudos to npm Inc !


Updated: far 3.0.5472.1168

Newer version of far (3.0.5503.1263) is now available in master. e6b9eae4db64098a404e77c61e3124d8eedcb89e


Avoid column projections in join/set_index tests

depends on https://github.com/dask-contrib/dask-expr/pull/938


Add yaml definition for AKS store without ingress

Purpose
We are going to use this file in the documentation page:
https://learn.microsoft.com/en-us/azure/aks/app-routing?tabs=default%2Cdeploy-app-default
Related to:
https://github.com/MicrosoftDocs/azure-aks-docs-pr/pull/112

The file looks good, but can we make a couple minor changes:

Add a comment in the yaml to signal where this is being used.
Move the file into a subdirectory where we store other manifests. Use: /sample-manifests/docs/app-routing

We will be moving the other YAML files in the future.


Modified Currency Calculator with many currencies- Issue no:198

#198
Please look into this.
@vasu-1 and other mentors
Regards

Thanks for feedback @mansi-garg-12

Oops. Please give me a minute. I will send.

https://user-images.githubusercontent.com/81409657/163847644-a1710cf3-97ba-4fc1-a2d5-4c2f7cfcfa54.mp4

Should I create a new branch?

#259
Please check this @vasu-1 .
Sorry once again @mansi-garg-12 @vasu-1


Update git clean alias to clean directories as well

add -d flag to gwC

Document it in the README.

done :+1:


Add flags to elide events that are strictly unnecessary for downward data-flow

Description
There are several cases where Polymer will fire events as a result of downward data flow (as opposed to async/user interaction thereof):

Downward data flow to notify: true events
dom-repeat and dom-if dom-change events
dom-repeat's renderedCount notifying property changes as a result of render

There should be an opt-out from these events to achieve maximum performance.

How soon do we think we can get this fixed?

@zhaoz PR incoming: https://github.com/Polymer/polymer/pull/4267


Pull etw-reader back in at the root

Thanks a ton!
Merging into etw-reader-at-root branch now so that I can add commits.


// Gradient Bar Colors for buttons and allerts
.gradientBar(@primaryColor, @secondaryColor) {
  #gradient > .vertical(@primaryColor, @secondaryColor);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  border-color: @secondaryColor @secondaryColor darken(@secondaryColor, 15%);
  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
}

Yes, but the first one is for browsers that doesn't support rgba.

Ok didn't see that thks