No support for alt-rep/alt-script

The current model does not support alt-rep/alt-script to provide a representation of a title or a contributor in another language/script.
This is mostly tied to the fact that we're directly de-serializing the structure to JSON:
https://github.com/Feedbooks/webpub-streamer/blob/master/models/metadata.go#L6
https://github.com/Feedbooks/webpub-streamer/blob/master/models/metadata.go#L44
The Web Publication Manifest has extensive support for alternative representations of a string, more so than EPUB 3.1:
"title": {
  "fr": "Vingt mille lieues sous les mers",
  "en": "Twenty Thousand Leagues Under the Sea",
  "ja": "海底二万里"
}

"author": {
  "name": {
    "ru": "Михаил Афанасьевич Булгаков",
    "en": "Mikhail Bulgakov",
    "fr": "Mikhaïl Boulgakov"
  }
}

This is one area where streamers in other languages SHOULD NOT copy the current Go project and make sure that their model support the full extent of what the Web Publication Manifest can do.
Is there an easy way to deal with the serialization issue in Go without making everything else far more complex? cc @jpbougie @banux

We can use advanced serialization describe in this article https://blog.gopheracademy.com/advent-2016/advanced-encoding-decoding/ we could  overrride the Contributor MarshalJSON() function.
We could store the data in another fields with an array for multi language contributor and use it to store the no principal languages.

Merged we need to check if there other fields that contributor name and title.


Fix stablePartition(subrange:by:) using subrange count instead of entire collection count.

Function stablePartition(subrange:by:) in Partition should not using the collection count which will cause bound error, but using subrange count.
Checklist

[x] I've added at least one test that validates that my change is working, if appropriate
[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary

Good catch!

Thanks for this fix, @pmtao! :clap::clap::clap:


Setting default values in URL

Use case
I would like to uniquely sync the state with the URL (modulo param permutation). This is not the case when using default, the same state can lead to two distinct url.
Current behavior
For instance on demo page (https://github.com/baruchiro/use-route-as-state), const [foo, setFoo] = useQueryStringKey('foo', 'bar'), the default value of foo (bar) does not show up in the URL on page load. Then after manual update is does.
First page load:

After changing the foo in input and setting it back to bar.

Any reco on how to make sure the URL is https://baruchiro.github.io/use-route-as-state/?foo=bar on page load?

Hi, thank you for using the library and sharing with me your concern!
First, you can open the Flow.drawio file with diagrams.net - Draw.io, to see when we assigning the default values into the returned object.
I don't remember exactly the decisions I made. Let's think.

How do you expect me to support that? By adding an options object to enable showing the default values?
What about you will not configure a default value, and instead, you will add a useEffect to set the value when the component is mounted? (I'm asking to understand the use-case).

@baruchiro

I expected it to be the default behaviour.
Yes you're right, a simple useEffect is enough for my use-case, I hoped there was a better way to do it.

Thanks for having taken the time to look at this issue.

OK then, thanks @louis-sanna-eki for your suggestion. I understand it, but I chose to take the another approach, which is also logical, so I will not change it for now.
Thanks again, and feel free to open other issues!


Customizing forms

Hi @gi0baro
Need information with examples)))

@bronte2k7 could you give us a bit of context?
What do you mean by customizing forms? Are you talking about styling, rendering, behaviour, validation..?

style and custom widget
no information: https://emmett.sh/docs/2.2.x/forms#customizing-forms empty

@bronte2k7 yes, you can use custom widgets and Form.custom attribute, see:

https://emmett.sh/docs/2.2.x/orm/models#widgets
https://github.com/emmett-framework/emmett/discussions/326#discussioncomment-751781

Regards creating custom styles, you can inherit from the FormStyle class (https://github.com/emmett-framework/emmett/blob/master/emmett/forms.py#L435), write your own widget functions and apply the style to forms using the formstyle parameter. You can also apply the style to all forms setting App.config.ui.forms_style to your class.

I'm closing this for inactivity


Find usages, Find & the 'Scroll to source' button do not work in generated code/imported libraries

When looking at code that shows up under the 'External Libraries' part of the project tree (both maven deps and generated libs) these three features fail.

Clicking on a class or method, right clicking and selecting 'Find usages' always reports that there are none.
Opening the global Find window and searching in the Project or Project and Libraries scopes will not find anything within external libraries. Oddly enough, if you select a directory from within the External library (e.g. /work/project-00/.blaze/libraries/dom4j-1.6.1-ijar_72672d22.jar!/org/dom4j/bean the preview window will list all the hits, but then if you select 'Open in find window' it reports that nothing was found.
If you open an External Library class and then click the 'Scroll to source' nothing happens, the project tree does not move.

Bazel plugin: 2<IP_ADDRESS>.2
IntelliJ IDEA 2017.3.4 (Ultimate Edition)
Build #IU-173.4548.28, built on January 30, 2018
JRE: 1.8.0_152-release-1024-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.3

I would like to qualify point 3, The scroll to source button does not work when the library has a source jar attached, when it is showing the decompiled actual jar the button functions as expected.

This should be fixed in the release after next. We now actually attach source jars (rather than just redirecting to them on the fly). It means the IDE will have to index the source jars, which slows things down, but also means you'll get support for find usages, navigation, etc.

@brownry1986 did you get this to work? I'm having a similar problem with a genrule


Add test cases for parsing closures inside if statement conditions

Add a bunch of test cases that verify that SwiftParser accepts closures inside if conditions if and only if the C++ parser does.
The only difference is that the C++ parser emits a warning in cases like if test { $0 } {}: Trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning. We currently don’t have any infrastructure to emit warnings from SwiftParser and I’m not sure if this warning is really necessary. NFC on whether we need it.
While writing the test cases, I found an issue in BasicFormat that adds a newline after the opening { of the closure inside these conditions, which causes the closure to get parsed as the statement’s body. Fixed that as well.
Fixes #795
rdar://99948919

@swift-ci Please test

@swift-ci Please test


Support for user defined functions

See https://github.com/Azure/bicep/blob/ant/exp/func/src/Bicep.Core.Samples/Files/Functions_LF/main.bicep for a syntax example.
Notes/limitations:

UDFs in JSON require declaring the return type, so I've modified the spec to require the user to declare the return type.
User-defined types in UDF params & outputs are unsupported.
UDFs are currently quite limited - they can't call UDFs, or access outer scoped variables.
This is currently behind an experimental feature flag ("userDefinedFunctions")

Closes #447
Closes #9239
Microsoft Reviewers: Open in CodeFlow

We don't support user-defined types in UDF params & outputs. Should we block this, or attempt to support it?

It would be a small-ish change in the ARM runtime to support user-defined types, and if it were up to me, I would rather put in the effort to close that feature gap than document and field questions about the limitation.
But it did get me thinking: because types can contain symbolic references to other types, I can't think of any reason we would allow user-defined types and still disallow references to variables and parameters. Should we look at removing that restriction on UDFs, too?

But it did get me thinking: because types can contain symbolic references to other types, I can't think of any reason we would allow user-defined types and still disallow references to variables and parameters. Should we look at removing that restriction on UDFs, too?

I think so - I just wanted to keep the initial implementation as simple as possible. One complexity is that UDFs overloads parameters(...) to refer to parameters of the UDF and not parameters of the template. We'd most likely need to introduce scoping rules to deal with this.

🤩🎉🚀

Support to outer scoped variables and include/import feature would be very useful


Subgraph query error

Describe the bug
While processing transactions router-subscriber logs error Cannot read properties of null (reading 'amount')
To Reproduce
Steps to reproduce the behavior:

Initiate multiple transfers
Look at logs from router-subscriber

Additional context
This was seen during recent load testing.

RCA:

Not a bug
Production and Staging were pointed to the same subgraphs API endpoints
Staging router-subsribers drop these transfers, as expected, as staging query prefixes are not available in production, subgraph queries fail.
Since production query prefixes available in prod, queries succeed, and transfers succeed


Version 0.3.2A7 has frozen twice in the interval of 24h

The instance that I've been running on a Raspberry Pi 3 has frozen twice in the interval of 24H

There are no support for those archs. Thanks.


Fix webrtc screen share

@RocketChat/core

Closes #65
Depends on RocketChat/Rocket.Chat#5893

Changes to make webrtc screen sharing work on electron app
TODO

[x] Improve design of screen selection

Screenshots

Thanks @alexbrazier can you please resolve the conflicts?


add mounted check to TypeWriterText for safer state updates

Added a check to make sure the TypeWriterText widget is still mounted before updating its state during animation, to prevent runtime errors

I encounter the issue relating to this PR (Unhandled Exception: A TypeWriterController was used after being disposed).
@Nialixus May I ask if you have any plan to update this feature in the near future?

I encounter the issue relating to this PR (Unhandled Exception: A TypeWriterController was used after being disposed).
@Nialixus May I ask if you have any plan to update this feature in the near future?

Yeah sure, I'll pull this request this night
Tho your error doesn't relate to this pr, to better help me understand your issue, i need to see the code

@Nialixus What a good news! Thank a lot.
Regarding my error, it occurs when I use TypeWriter.text.
TypeWriter.text(
                          "Initializing ...",
                          style: myTextStyle,
                          repeat: true,
                          duration: const Duration(milliseconds: 110),
                        )

Exception thrown:
E/flutter ( 9485): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: A TypeWriterController was used after being disposed.
E/flutter ( 9485): Once you have called dispose() on a TypeWriterController, it can no longer be used.
E/flutter ( 9485): #0      ChangeNotifier.debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:179:9)
E/flutter ( 9485): #1      ChangeNotifier.debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:186:6)
E/flutter ( 9485): #2      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:412:27)
E/flutter ( 9485): #3      TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:76:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #4      TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:78:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #5      TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:78:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #6      TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:78:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #7      TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:78:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #8      TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:78:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #9      TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:78:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #10     TypeWriterController.start (package:typewritertext/v3/typewriter_controller.dart:78:7)
E/flutter ( 9485): <asynchronous suspension>
E/flutter ( 9485): #11     _X.initState.<anonymous closure>.<anonymous closure> (package:typewritertext/v3/typewriter.dart:265:55)

So I think this error is related to the PR. Sorry if I made any mistakes.

@cem256 Thanks for the contribution.
@nguyen703 Thanks for reporting the issue. I fixed it by adding try & catch in the controller start function. Let me know if the issue still persists. I released it in version v3.0.5.


Add more scenarios for multiple convictions

These scenarios will be sent to legal to be checked, they have been numbered on purpose to be able to identify which test needs modifications - if that's the case.
We may add more so that we can understand which scenarios need attention, if that's the case do not change the order of the scenarios, just keep adding more without replacing existing ones.
This also removes all duplicate scenarios (1, 2 and 3) by deleting the file written_scenarios_spec.rb
Story: https://trello.com/c/6ynrKcLL/130-dc-multiple-conviction-scenarios

 [DC] Multiple Conviction Scenarios


Declarative shadow DOM should be opt-in only

Trying to render all registered components with declarative shadow dom may cause some issues.  I think it should be disabled unless a component explicitly opts-in by setting ::html/render? true.

Closed by #25


updateI18NCoverage actually looks at what keys exist, not which ones have translated all properties

@sderickson In https://github.com/codecombat/codecombat/commit/ffc33279b8ae34cf8945a9a443e7335434eb61d2 you made it so that updateI18NCoverage uses TreemaUtils.walk to do an intersection on which language codes have covered every property that needs to be translated. Except that in my test on effects.HasEffects, workingSchema is always {}, and even if it was filled in, wouldn't it be workingSchema.properties instead of workingSchema.props?
CocoModel updateI18NCoverage:
        # use it to determine what properties actually need to be translated
        props = workingSchema.props or []
        props = (prop for prop in props when parentData[prop])

How are we supposed to get the proper working schema to look for properties?
I was going to add this so that if there are no properties to translate (because any properties we have are actually just empty strings and so don't need translations), we mark the language as covered:
        unless props.length
          langCodeArrays.push _.without _.keys(locale), 'update'  # Every language has covered a path with no properties to be translated.
          return

Otherwise we get a lot of things marked as not covered when there are default "' values in schemas:

I guess props is what each i18n property calls its array of properties to translate. This is also failing on programming.Programmable's debug property documentation:

Here coverage is actually reading from the i18n node's properties in one case:

@sderickson can you advise?

@nwinter I'm seeing "could not resolve reference metaschema" in the output. Could that have something to do with it? If it can't resolve a reference, that would explain why workingSchema isn't being what it ought to be.
I'd suggest having these examples in the client tests. There's already one in here. Add more with the Programmable and HasEffects examples and that could make it easier to understand and debug the problem, and keep it from coming back. With that you could reduce the bug to its essence. It sounds like it's a tangled web right now that's dependent on what's in the db. Start by taking the raw @attributes and @schema() values and putting them into a test and then having the test identify what output you expect that you're not getting. Then reduce the values from there.
What are your tests, exactly?

Fixed with a combination of that commit plus a treema issue where walk wasn't properly passing workingSchema for array items.


test_vacuum fails on CircleCI often

Haven't seen this happen in a while, and I think this issue was created before we switch the new simpler vacuuming scheme.


Export _createDynamicElement

I was wondering if we can export _createDynamicElement from dynamic-element? It already exports _createCSSResource, and the typings say it's available, but it actually isn't.
Thanks!

Those are both supposed to be private. The d.ts files have a few apis in them currently that should not be. That's a bug in our build step we are currently working to fix.


Bug: history should work with custom TextNodes containing non-standard properties

I created my own TextNode to have random css class support via the added property __className and some methods like addClass. While trying it out via a button in my toolbar I realized that the editor wouldn't allow me to undo this change, while all other changes work as expected, checked lexical source code, playground code, issues and searched discord until I asked directly on Discord and after poking around a little @etrepum discovered the hardcoded isTextNodeUnchanged helper function which won't consider custom properties.
I think it would be nice to move isTextNodeUnchanged as a method maybe isUnchanged (or maybe isChanged or hasChanged or hasChanges) into TextNode so subclasses can override it when they need to support custom properties. Then the history plugin would call that method here instead of the hardcoded function.
This method might even live in LexicalNode so other nodes could also make use of it, tho I don't have a direct need for this right now I think.
Lexical version: 0.16.1
Steps To Reproduce

Create a CustomTextNode extending TextNode
Add a non-standard property like __className
Duplicate a method like setFormat from TextNode to set your property from 2
trigger this method somehow
Realize that undo won't work 😅

My addClass method
addClass(className: string): this {
	const self = this.getWritable();
	const classes = self.__className?.split(" ").map((s) => s.trim());
	classes.push(className);
	self.__className = classes.join(" ");
	return self;
}

The button onClick that calls it (my actual code is a little longer and inspired by $patchStyleText, tho this is enough to reproduce the problem)
onClick={() => {
    activeEditor.update(() => {
        const selection = $getSelection();
        if ($isRangeSelection(selection)) {
            const selectedNodes = selection.getNodes();
            if ($isTextNode(selectedNodes[0])) {
                selectedNodes[0].addClass("text-red-500");
            }
        }
    });
}}

Adding some more context here, this hack came from #2258 where an older version of the playground's MaxLengthPlugin did not use $restoreEditorState (added in #2273). It may actually be possible to remove the hack entirely.


Delete support/azure/azure-kubernetes/create-upgrade-delete/error-cod…

…e-requestdisallowedbypolicy-delete.md
Doc reviewed on 11/21/2024 and confirmed to be deleted by Mario Chaves and Chirag Pavecha.
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

@reknai This deletion is complete via the private PR https://github.com/MicrosoftDocs/SupportArticles-docs-pr/pull/7767, so I close this PR.


Implemented clearcoat material property

Solves https://github.com/gkjohnson/three-gpu-pathtracer/issues/168

This looks really great - nice work!
And thanks for splitting the new material properties out separately. It makes it a lot easier to follow.


Use "https://accounts.google.com" as issuer to validate JWT tokens

All the JWT tokens issued by Google currently have https://accounts.google.com as their issuer.
Below is an example of a JWT token generated today using the OAuth2 playground.
{
  "iss": "https://accounts.google.com",
  "at_hash": "***",
  "aud": "***",
  "sub": "***",
  "email_verified": true,
  "azp": "***",
  "hd": "***",
  "email": "***",
  "iat":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>
}

It seems like the issuer has been changing back and forth from "accounts.google.com" to "https://accounts.google.com" recently (see my comment on this post)
This change switches back to https://accounts.google.com as the issuer, it fixes the endpoints v2 backend sample.

Current coverage is 80.45% (diff: 100%)

Merging #17 into master will not change coverage

@@             master        #17   diff @@
==========================================
  Files           155        155
  Lines          5009       5009
  Methods           0          0
  Messages          0          0
  Branches        842        842
==========================================
  Hits           4030       4030
  Misses          716        716
  Partials        263        263

Powered by Codecov. Last update 9ca0a94...b4f0e9b

I believe JWTs with "accounts.google.com" are still being issued and this change will break them.
Possible solutions would be:

Add both "accounts.google.com" and "https://accounts.google.com" as default issuers;
No default issuers at all. Users need to explicitly annotate their code to allow Google ID token (they can list both URLs as issuers if they choose to do so).

Do you have a preference? @tangiel

Indeed, according to the documentation, both issuers can be used:
https://developers.google.com/identity/protocols/OpenIDConnect#obtainuserinfo
I submitted a new change that should support both issuers, but I'm not sure it would be enough.


Installation

Hello.
I have installed Web Interface and it works just fine. Now I have entered /var/www/aurora/Judge folder on my Ubuntu and want to install Python scripts. Instruction says I have to input a /path/to/chroot. Where can I find it?
Also how can I enter that jail and exit it? How to run Aurora as daemon?

Hi alex,
You can find the detailed steps of how to setup chroot jail in the readme file https://github.com/pushkar8723/Aurora/blob/master/Judge/README.md
If you want to know how chroot works you can watch https://www.youtube.com/watch?v=XTyY3in5r6Q
If you are feeling lazy, you can also execute https://github.com/pushkar8723/Aurora/blob/master/Judge/debian_setup.sh to setup judge automatically. Although i didn't test this script thoroughly but it should work in most cases.
On successful completion of the setup, this script will ask to execute one command to configure python script for db access. Just read the output at the end you will know what to do. :)
If you use this script, 'startjudge' command will be installed in /usr/bin folder which will start the judge.
To stop it, just press CTRL+C.
Note: Setting up jail is completely optional, you can run the python script in a virtual environment also using virtualbox or vmware. If you prefer virtual environment method then you just need to execute commands given in Readme file for compiler setup, security and configuring python script for db access.
I am closing this issue, but if you still face some problem, feel free to reopen.

Ok, I am trying to use debian_setup.sh. It asks for target folder. What is it?

Place where you want to setup the jail like
/opt/judge

Thanks. Currently is it downloading packages :)

I have made something incorrect and want to reinstall it. How can I delete a user that your scripts has created?

The script creates a jail and user is created inside that jail.
To undo all changes done by the script just delete the Jail folder and /usr/bin/startjude.

I can't delete Jail folder. It says 'Permission denied'. Maybe because of chown.

Ok, I tried to install it and it asked me to edit variables in judge.py files. I was lokking for it, but it doesn't exist. Can you help me installing Aurora if I give you my SSH credentials by email, please?

You are getting permission denied because the folder was created by root user and can be deleted only by root user.
To delete the jail use following commands
sudo rm -rf /path/to/jail/*
sudo rmdir /path/to/jail
Also variables are there in judge.py exactly on lines 14 to 19.
Try once more, before sharing your ssh creds with. Also if you share, please mention the directory where you installed the jail.

Can you help me installing it from the beginning, please?

OK, email me the problem.


Style structure

I established the basic layout of the app, especially the home page and added the FeaturedArticle, EditorsPicks and Trending sections

I think we can remove css-loader since we are doing all the styles server side now right?

I would say the biggest comment is I would refactor out all the flexboxing stuff into seperate classes like:
.row .row-item .width-1 .width-2 .width-3
This is more easy to understand and also gives us a lot of flexibility to change our layouts in future without having to rebuild the grid.

Try merge this one out soon soon, and make another pull request for easier reviewing.
Also I think given that we want to re-arrange the sections, it would be nice to have the categories come as an array rather than as keys, so you can do:
let issue = ...
issue.categories.map((category) => {
  return <Category category={category} />
})

The other advantage of using an array is it handles more elegantly the case where there is no articles from an issue within a specific category.

On design, two things I thought about (but they're just my opinions, feel free to disagree on design opinions with me):

The all caps trending list is really hard for me to read. Like I can't concentrate on it easily
Try doing 0 margin images on mobile (like edge to edge). It looks really good on a cellphone. Actually Gazelle used to have this but someone messed with the CSS and took it away.


Normalize README.md

Hey @jbalsas,
Looks like we might still have an issue with our saucelabs account.
29 11 2017 19:30:14.771:ERROR [launcher.sauce]: Can not start internet explorer 10 (Windows 7)
  [init({"version":"10","platform":"Windows 7","tags":[],"name":"metal-uri tests","tunnel-identifier":"31.1","record-video":false,"record-screenshots":false,"device-orientation":null,"disable-popup-handler":true,"build":"31","public":null,"customData":{},"base":"SauceLabs","browserName":"internet explorer"})] The environment you requested was unavailable.

Please visit https://saucelabs.com/pricing to purchase a subscription.

They haven't updated us to an open source account yet... and I'm not confident they will at this point, so we might need to look at other options :(

Do you want to merge the karma-launcher fix, or should we just merge the .md update?

Let's do both, if saucelabs ends up working we'll need that dependency locked down anyways.


'completionOptions' not used when add a openAI compatiable local model

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:
  MacOS 12.6.7
- Continue:
  v8.2.03
- IDE:
  VSCode 1.88.0

Description

You can see on the above image that the request missed the completionOptions params that required by the model server. (model param required).

Did I make a wrong config? I searched the document but did not find the answer.
To reproduce
No response
Log output
No response

@zhangjh I believe this will be solved by moving the "model" property out of "completionOptions" like this:
"model": "qwen",
"title": "LocalTongyi",
"apiKey": "",
...
"completionOptions": { "temperature": 0.0 }

The error in devtools is a bit misleading, as these "completionOptions" will be merged with the ones that you set in config.json. Let me know if the above solution doesn't work and I'll take a deeper look!

yeah..the devtools misled me. That doesn't related to completionOptions params.
In my case, it's about two reasons, the first is as you metioned above, the model key should be set to 'qwen' required by the AI server, and the second reason is my vscode has set up a network proxy, caused the http request respond 503 error.
now it's ok, thank you!


[Backport] Fix a bug of CSV/TSV parsers when extracting columns from header

Backport of #4443 to 0.10.1.

+1 after travis


Revert "OIDC IDP cluster auth object"

Reverts app-sre/qontract-schemas#341
The OIDC related changes in qontract-reconcile and qontract-schemas break FedRAMP environment authentication. We have to revert and align on a strategy that can exist in parallel.
re: https://coreos.slack.com/archives/GGC2A0MS8/p1670432900179959

cc cc https://coreos.slack.com/archives/GGC2A0MS8/p1670433394058299


[Email] Oauth card can't show up on DLS channel

What project is affected?
Email
What language is this in?
What happens?

What are the steps to reproduce this issue?
link Email skill by DLS channel
What were you expecting to happen?
the skill works well
Can you share any logs, error output, etc.?
Any screenshots or additional context?

Create an issue here? https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/issues

Create an issue here? https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/issues

Sure. Let's track the issue here: https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/issues/91

Close this issue. We had an issue on speech team to track.


Adding EF top level with beta5-13202 hangs after resolving dependency message

Starting with ef.inmemory causes it to hang.
Starting with ef causes it to hang.
Starting with ef.core zips along with install until it hits IX-Async then it errors out.
IX-Async has often been the cause of nuget problems through EF7 releases.
I explicitly installed Ix-Async. Then tried to start my EF install with EF.InMemory but it hung again and my fan went wild again. :)
I tried installing EF.core again. It ran quickly but then errored at installing system.runtime..I'll see if I can attach a txt file with the output.
I'm on windows 8.1 latest
VS2015RC
New project/solution.
I've had the same problem targetting .net 4.5.2 and .net 4.6.
Project is class library.
Install-package entityframework.inmemory.
PM> install-package entityframework.inmemory -pre
Attempting to gather dependencies information for package 'entityframework.inmemory.7.0.0-beta5-13202' with respect to project targeting '.NETFramework, Version=v4.6'
Attempting to resolve dependencies for package 'entityframework.inmemory.7.0.0-beta5-13202' with DependencyBehavior 'Lowest'
I've tried many different times thinking that something is wrong with my system. I've let it run for an hour but with later tests I've given up after about  5 minutes.
I've rebooted my machine before doing this to ensure nothing is lingering to affect the process.
I've tried this with just entityframework -pre
also with entityframework.sqlserver -pre
My battery fan goes crazy while this is going on.
I have to stop it by just closing VS. The cancel button on the console seems to have no effect.
I am not very experienced with using nuget from the commnad line but I did try it and got (a familiar) ix-async version issue. Could that be related to the problem? I would have expected to see this in the console.
D:\testing\ClassLibrary1>
nuget install entityframework.inmemory -pre -source "https://www.myget.org/F/aspnetvnext/api/v2"
Attempting to resolve dependency 'EntityFramework.Core (≥ 7.0.0-beta5-13202)'.
Attempting to resolve dependency 'Ix-Async (≥ 1.2.3)'.
Unable to resolve dependency 'Ix-Async (≥ 1.2.3)'.

can't attach a file so here is the output of attempting to install ef.core from vnext package source with ix-async already installed (from nuget).
Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
Package Manager Console Host Version <IP_ADDRESS>
Type 'get-help NuGet' to see all available NuGet commands.
PM> install-package entityframework.core
install-package : Unable to find package 'entityframework.core'
At line:1 char:1

install-package entityframework.core

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

PM> install-package entityframework.core -pre
Attempting to gather dependencies information for package 'entityframework.core.7.0.0-beta5-13202' with respect to project targeting '.NETFramework, Version=v4.6'
Attempting to resolve dependencies for package 'entityframework.core.7.0.0-beta5-13202' with DependencyBehavior 'Lowest'
Resolving actions to install package 'entityframework.core.7.0.0-beta5-13202'
Resolved actions to install package 'entityframework.core.7.0.0-beta5-13202'
Adding package 'Microsoft.Framework.Caching.Abstractions 1.0.0-beta5-11363' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Caching.Abstractions 1.0.0-beta5-11363' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Caching.Abstractions 1.0.0-beta5-11363' to 'packages.config'
Successfully installed 'Microsoft.Framework.Caching.Abstractions 1.0.0-beta5-11363' to ClassLibrary2.
Adding package 'Microsoft.Framework.ConfigurationModel.Abstractions 1.0.0-beta5-11337' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.ConfigurationModel.Abstractions 1.0.0-beta5-11337' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.ConfigurationModel.Abstractions 1.0.0-beta5-11337' to 'packages.config'
Successfully installed 'Microsoft.Framework.ConfigurationModel.Abstractions 1.0.0-beta5-11337' to ClassLibrary2.
Adding package 'Microsoft.Framework.DependencyInjection.Abstractions 1.0.0-beta5-11367' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.DependencyInjection.Abstractions 1.0.0-beta5-11367' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.DependencyInjection.Abstractions 1.0.0-beta5-11367' to 'packages.config'
Successfully installed 'Microsoft.Framework.DependencyInjection.Abstractions 1.0.0-beta5-11367' to ClassLibrary2.
Adding package 'Microsoft.Framework.DependencyInjection 1.0.0-beta5-11367' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.DependencyInjection 1.0.0-beta5-11367' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.DependencyInjection 1.0.0-beta5-11367' to 'packages.config'
Successfully installed 'Microsoft.Framework.DependencyInjection 1.0.0-beta5-11367' to ClassLibrary2.
Adding package 'Microsoft.Framework.Logging.Abstractions 1.0.0-beta5-11361' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Logging.Abstractions 1.0.0-beta5-11361' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Logging.Abstractions 1.0.0-beta5-11361' to 'packages.config'
Successfully installed 'Microsoft.Framework.Logging.Abstractions 1.0.0-beta5-11361' to ClassLibrary2.
Adding package 'Microsoft.Framework.Logging 1.0.0-beta5-11361' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Logging 1.0.0-beta5-11361' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Logging 1.0.0-beta5-11361' to 'packages.config'
Successfully installed 'Microsoft.Framework.Logging 1.0.0-beta5-11361' to ClassLibrary2.
Adding package 'Microsoft.Framework.OptionsModel 1.0.0-beta5-11337' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.OptionsModel 1.0.0-beta5-11337' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.OptionsModel 1.0.0-beta5-11337' to 'packages.config'
Successfully installed 'Microsoft.Framework.OptionsModel 1.0.0-beta5-11337' to ClassLibrary2.
Adding package 'Microsoft.Framework.Caching.Memory 1.0.0-beta5-11363' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Caching.Memory 1.0.0-beta5-11363' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Microsoft.Framework.Caching.Memory 1.0.0-beta5-11363' to 'packages.config'
Successfully installed 'Microsoft.Framework.Caching.Memory 1.0.0-beta5-11363' to ClassLibrary2.
Adding package 'Remotion.Linq 2.0.0-alpha-002' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Remotion.Linq 2.0.0-alpha-002' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'Remotion.Linq 2.0.0-alpha-002' to 'packages.config'
Successfully installed 'Remotion.Linq 2.0.0-alpha-002' to ClassLibrary2.
Adding package 'System.Collections.Immutable 1.1.34-rc' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'System.Collections.Immutable 1.1.34-rc' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'System.Collections.Immutable 1.1.34-rc' to 'packages.config'
Successfully installed 'System.Collections.Immutable 1.1.34-rc' to ClassLibrary2.
Adding package 'EntityFramework.Core 7.0.0-beta5-13202' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Added package 'EntityFramework.Core 7.0.0-beta5-13202' to folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Install failed. Rolling back...
Package 'EntityFramework.Core 7.0.0-beta5-13202' does not exist in project 'ClassLibrary2'
Removed package 'System.Collections.Immutable 1.1.34-rc' from 'packages.config'
Removed package 'Remotion.Linq 2.0.0-alpha-002' from 'packages.config'
Removed package 'Microsoft.Framework.Caching.Memory 1.0.0-beta5-11363' from 'packages.config'
Removed package 'Microsoft.Framework.OptionsModel 1.0.0-beta5-11337' from 'packages.config'
Removed package 'Microsoft.Framework.Logging 1.0.0-beta5-11361' from 'packages.config'
Removed package 'Microsoft.Framework.Logging.Abstractions 1.0.0-beta5-11361' from 'packages.config'
Removed package 'Microsoft.Framework.DependencyInjection 1.0.0-beta5-11367' from 'packages.config'
Removed package 'Microsoft.Framework.DependencyInjection.Abstractions 1.0.0-beta5-11367' from 'packages.config'
Removed package 'Microsoft.Framework.ConfigurationModel.Abstractions 1.0.0-beta5-11337' from 'packages.config'
Removed package 'Microsoft.Framework.Caching.Abstractions 1.0.0-beta5-11363' from 'packages.config'
Removing package 'EntityFramework.Core 7.0.0-beta5-13202' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'EntityFramework.Core 7.0.0-beta5-13202' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'System.Collections.Immutable 1.1.34-rc' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'System.Collections.Immutable 1.1.34-rc' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Remotion.Linq 2.0.0-alpha-002' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Remotion.Linq 2.0.0-alpha-002' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.Caching.Memory 1.0.0-beta5-11363' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.Caching.Memory 1.0.0-beta5-11363' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.OptionsModel 1.0.0-beta5-11337' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.OptionsModel 1.0.0-beta5-11337' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.Logging 1.0.0-beta5-11361' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.Logging 1.0.0-beta5-11361' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.Logging.Abstractions 1.0.0-beta5-11361' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.Logging.Abstractions 1.0.0-beta5-11361' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.DependencyInjection 1.0.0-beta5-11367' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.DependencyInjection 1.0.0-beta5-11367' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.DependencyInjection.Abstractions 1.0.0-beta5-11367' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.DependencyInjection.Abstractions 1.0.0-beta5-11367' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.ConfigurationModel.Abstractions 1.0.0-beta5-11337' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.ConfigurationModel.Abstractions 1.0.0-beta5-11337' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removing package 'Microsoft.Framework.Caching.Abstractions 1.0.0-beta5-11363' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
Removed package 'Microsoft.Framework.Caching.Abstractions 1.0.0-beta5-11363' from folder 'D:\demos to toss\EF7 Add Test\ClassLibrary2\packages'
install-package : Failed to add reference to 'System.Runtime'. Please make sure that it is in the Global Assembly Cache.
At line:1 char:1

install-package entityframework.core -pre

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

PM>

(I just can't let it go...what can I say? :) )
Seem to have gotten 3202 installed. Here's how.
New solution/project (.net 4.6, class library)
Used UI since it's easier to find things when you are not sure what you want. :)
Installed ef.core -pre
It ran through but then complained about system.runtime
Installed system.runtime
tried ef.core again, this time it compalined about system.runtime,extensions
I installed that package
tried efcore again
install success!
There's always an error about System.Collections.Concurrent. @Maartenba recommended just deleting that when I showed him that problem at a conference earlier this week. So I literally just deleted it from references.
Then I installed ef.inmemory
It worked!
My (empty) solution compiles.
HTH

@julielerman A fix is underway for this last System.Runtime issue

thanks.
On the other issue that you started where I asked if this was the same problem, I was told to open an issue so am just relaying it all here. (don't ask me the hours invested ...)
Anyway FYI
more! :)
I added another project ..unit test so it needed EF.
I had to go through all of the install problems again to get it in.
EF.core depends on but does not pull in system.runtime, system.runtime.extensions and system.threading. I have to do these one at a time then retry core to find out about each one.

@julielerman the ix-async and remotion.linq packages aren't on our nightly feed (since we don't build them) so can you make sure you have nugget.org in your package sources (NuGet will fall back to looking for them in other sources if they aren't in the active one).
As Erik mentioned the System.Runtime issue is known and fixed by https://github.com/aspnet/EntityFramework/pull/2207 (in the code base but hasn't made it onto the nightly build feed just yet).
If things are still hanging with those two items addressed then we likely have a NuGet issue that we need to look into.

Added a workaround to the top of this issue. Note that the fix for the System.Runtime issue (https://github.com/aspnet/EntityFramework/pull/2207) has not yet made it to our nightly feed so using the workaround at the time I'm writing this will still fail.

Leaving open as many folks are hitting this and it's critical to our experience... marking as blocked since it's a NuGet issue. Will close once we verify it is fixed in nightly NuGet builds.

@rowanmiller  Where do we get NuGet updates for VS 2015 RC?

Fix for https://github.com/aspnet/EntityFramework/issues/2152 has made it onto the nightly feed, so the workaround listed at the top of this issue will now successfully install the latest nightly builds.

@rowanmiller  :clap: Works like a charm with the latest bits, which now includes #2152

Simplified the workaround down to the shortest list of package installs that will avoid the hang.

Had to downgrade Remotion-Linq, this should not be a problem now with the shorter list of packages

@rowanmiller  Still broken, when running
 Install-Package EntityFramework.Commands -Pre

after installing the initial packages, VS hangs forever.
Do I need a NuGet daily, or is there a workaround?

Confirming with v 13266.
With the workaround:
ix-async
ef.core
ef.sqlserver installed fine.
But like Erik, with
ix-async
ef.core
ef.command failed (hung)

Maybe something like this https://github.com/aspnet/EntityFramework/commit/44955eb7241b083f1c0c3f01d4579caa2d05531b is missing from the EF.Commands project.json ? @bricelam ?

@julielerman @ErikEJ added workaround details to get commands installed. Seems to still be a complexity issue.

Updated workaround with details of NuGet 3.0 RC2 that can be downloaded and used with VS2015 RC. I've tested that it resolves the issue.

Thanks, Rowan, but I was unable to build at all with RC2!?

@julielerman Now completely unblocked with NuGet 3.0 RC2 and latest myget build

@ErikEJ sounds like the issues with building with RC2 are fixed now, can you confirm?

@rowanmiller Yes, everything builds fine in VS 2015 RC updated with NuGet 3.0 RC2 (still some errors in command line build for some reason, though)

Is this fixed and shipped with beta6 and VS2015 RTM?
In which case should this be closed as resolved?

@jasonwilliams200OK yes, this has shipped. Closing it out now.

PM> install-package entityframework.core -projectname MyLib.UnitTests -pre
Attempting to gather dependencies information for package 'entityframework.core.7.0.0-rc1-final' with respect to project 'Domain\Hive.Domain.UnitTests', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'entityframework.core.7.0.0-rc1-final' with DependencyBehavior 'Lowest'
Resolving actions to install package 'entityframework.core.7.0.0-rc1-final'
Resolved actions to install package 'entityframework.core.7.0.0-rc1-final'
Package 'Ix-Async.1.2.5' already exists in folder 'D:\Checkout\Hive\src\Hive.Core\packages'
Added package 'Ix-Async.1.2.5' to 'packages.config'
Successfully installed 'Ix-Async 1.2.5' to MyLib.UnitTests
Package 'Microsoft.Extensions.DependencyInjection.Abstractions.1.0.0-rc1-final' already exists in folder 'D:\Checkout\Hive\src\Hive.Core\packages'
Added package 'Microsoft.Extensions.DependencyInjection.Abstractions.1.0.0-rc1-final' to 'packages.config'
Successfully installed 'Microsoft.Extensions.DependencyInjection.Abstractions 1.0.0-rc1-final' to Hive.Domain.UnitTests
Package 'Microsoft.Extensions.DependencyInjection.1.0.0-rc1-final' already exists in folder 'D:\Checkout\Hive\src\Hive.Core\packages'
Added package 'Microsoft.Extensions.DependencyInjection.1.0.0-rc1-final' to 'packages.config'
Successfully installed 'Microsoft.Extensions.DependencyInjection 1.0.0-rc1-final' to Hive.Domain.UnitTests
Package 'Microsoft.Extensions.Logging.Abstractions.1.0.0-rc1-final' already exists in folder 'D:\Checkout\Hive\src\Hive.Core\packages'
Added package 'Microsoft.Extensions.Logging.Abstractions.1.0.0-rc1-final' to 'packages.config'
Successfully installed 'Microsoft.Extensions.Logging.Abstractions 1.0.0-rc1-final' to Hive.Domain.UnitTests
Package 'Microsoft.Extensions.Logging.1.0.0-rc1-final' already exists in folder 'D:\Checkout\Hive\src\Hive.Core\packages'
Install failed. Rolling back...
Package 'Microsoft.Extensions.Logging 1.0.0-rc1-final' does not exist in project 'Hive.Domain.UnitTests'
Removed package 'Microsoft.Extensions.Logging.Abstractions 1.0.0-rc1-final' from 'packages.config'
Removed package 'Microsoft.Extensions.DependencyInjection 1.0.0-rc1-final' from 'packages.config'
Removed package 'Microsoft.Extensions.DependencyInjection.Abstractions 1.0.0-rc1-final' from 'packages.config'
Removed package 'Ix-Async 1.2.5' from 'packages.config'
install-package : Failed to add reference to 'System.Collections.Concurrent'. Please make sure that it is in the Global Assembly Cache.
At line:1 char:1

install-package entityframework.core -projectname Hive.Domain.UnitTes ...

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

@rowanmiller Trying to get EF1 rc1 installed - yields the above exception, any idea how to fix/work around this?

@mmisztal1980 Remove all existing references incl packages.config entries, and re-add

@ErikEJ In the target project? or in the entire solution?

@mmisztal1980 For each project in the solution...

Done, re-added EF.Core & EF.InMemory to 1st project, that went well, attempted to add EF.Core to 2nd project - it crashed again saying "failed to add reference to 'System.Collections.Concurrent' - again.
Is there anything else I can look at? What's causing this? I thought this was fixed?
Both projects are targeting .NET 4.6 and I'm using VS2015

Seeing the same problem. Unable to add EntityFramework.Core to second .NET 4.6 project in the solution.

The same as previous one.

Had the same issue.
I added
<package id="Microsoft.Extensions.Logging" version="1.0.0-rc1-final" targetFramework="net451" />

manually to the packages.config, clicked on restore.
After that I could install EntityFramework.InMemory.


Using devo-sdk

Status
In Progress
Related Content Pull Request
Related PR: https://github.com/demisto/content/pull/33950
Related Issues
Related: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.

@JudahSchwartz
Updated the docker image to use the package devo-sdk instead of devodsconnector, as per the partner's request: https://github.com/demisto/content/pull/33950
I checked and the package devodsconnector was only used in  Devo_v2.yml

@kgal-pan is this work we should be doing? not the parner?

@JudahSchwartz it should be done by partner.
But it's ok to help them, if they're having some issues with that.
@anas-yousef they didn't want to do that by themselves?

relying on @anas-yousef to make sure pandas is needed

https://github.com/demisto/content/pull/33950#issuecomment-2063609921
https://github.com/demisto/content/pull/33950/files#diff-98dc9e9102066408b9e875f881b09e66f7c5337449452c2c4890cbff9e587237R179

@JudahSchwartz it should be done by partner. But it's ok to help them, if they're having some issues with that.
@anas-yousef they didn't want to do that by themselves?

@edik24 They asked for my assistance regarding updating the docker image.


Decouple viewport scrolling speed from FPS

Fixes #34
To allow for subpixel movement I've switched from Vector2D to Vector2f for viewport movement. Structure animation isn't being handled yet.
I dislike Vector2D because it sometimes loses precision - due to conversion from float to int - but the interface doesn't make clear when that happens. I think it should be converted to use integers only. If subpixel precision is necessary Vector2f should be used instead.
Speaking of Vector2f, I dislike that one as well because it's mutable :wink: When adding or scaling the vector it mutates the state of the current instance. This is counter-intuitive for me. For now I've fixed this by explicitly calling .copy() where necessary. I'd rather stear clear of mutating state and implement a non-mutable Vector2f. What do you think @stefanhendriks?

I'll look into it into more detail later - but this solves #34 how? Or is this a pre-requisite?

It solves #34 by using the delta provided by Slick.

my bad! I now understand why ... :)

ok so I found a bit of time ;-) thx for the PR! really nice to get this in quick! :)

After a bit of thought I think we should keep Vector2D and let it wrap this Vector2f of Slick. I also don't like this state manipulation and rather have Vector2D be an immutable thing that hides the 'internals' of slick vectors. It also is then easier to extend the vector behavior and return casted ints for places where we need to (with getXAsInt and getYAsInt).
Ie for scale we can move that stuff into Vector2D. I'll take a stab at this approach now and see how it looks like (so you can check and form an opinion @arjenvanderende). if you don't like it you can always revert the commit ;-)

I have some trouble understanding this piece of code:
    @Override
    public void update(GameContainer container, StateBasedGame game, int delta) throws SlickException {
        float deltaMs = delta / 1000f;
        for (Viewport viewport : viewports) {
            viewport.update(deltaMs);
        }
    }

The method signature states that delta is the time passed in milliseconds between this frame and the last. So deltaMs is not the delta, but actually the delta in seconds ?
Then when I look at viewport update it uses a scale method to influence the velocity. Which looks to me as if it uses a frame per second reference. Like in the ViewportMovementListenerTest  where there is a line calling update with 1f stating that it is 1 frame per second.
So we pass the amounts of 'frames' passed in the update method?

@stefanhendriks You're right: the delta is not in milliseconds but in seconds. This way the delta is easy to use, because you can just multiply any vector with it to get the correct fps-independent value.

I realised the following this morning:
We actually want to say/configure something like this in our code:
for x time we want to move y (pixels)
So in the viewport case, we now have:
for 1 second we move given VELOCITY SPEED.
I think the division by 1000f should not happen in the PlayingState class but in some sort of TimedVelocity class. Something along the lines of:
TimedVelocity = timedVelocity(velocity, perMilliseconds); // ie (velocity, 1000f)
Vector2D viewportVector = viewportVector.add(timedVelocity.moveProportionally(deltaInMilliseconds)) // pseudo

This means we can re-use the TimedVelocity class for units (where we perhaps want to move things at a different pace, like every 100ms?) and also for animations?

Why would we want to do that? That way we'll be mixing all different units of speeds, i.e. trikes move at 30 km/h, but infantry moves at 2 m/s. Why would we want to mix use different types of units for this? I feel this makes it more complicated than it needs to be.
Or do you plan to use this for unit movement?

What i mean is that we should move the conversion from time to movement (per frame) into a class and make it configurable. Because there will be a great diversity in movement speeds per "time unit". Ie flag animation might be per second. But unit movement is per millisecond? Perhaps it is not needed and we can use "per second" as default.
We could leave it for now and see how flag animation ends up and then see if there is possibly duplication
On Wed, Feb 18, 2015 at 8:54 AM, Arjen van der Ende
<EMAIL_ADDRESS>wrote:

Why would we want to do that? That way we'll be mixing all different units of speeds, i.e. trikes move at 30 km/h, but infantry moves at 2 m/s. Why would we want to mix use different types of units for this? I feel this makes it more complicated than it needs to be.
Or do you plan to use this for unit movement?
Reply to this email directly or view it on GitHub:
https://github.com/stefanhendriks/dune2themaker4j/pull/35#issuecomment-74825771

Structure and selection outline animation is now also correctly timed.

So what is left now to do?

@stefanhendriks I don't think there is much left to do for this PR. Maybe fix the TODO that is introduced? I'd like to keep those to an absolute minimum.

I have fixed the TODO. Ready to merge


Revert "Check for patched go crypto lib at runtime (#4671)"

This reverts commit 940f6f100fbf73bd42b186cee6d29a2b207f8041.
Revert the current implementation of the runtime check for the patched go library as this will always panic (when EEBUS is configured). There was a misunderstanding when implementing this.

Ist reverted


Cannot install from source

Ubuntu 20.04.1 LTS
Nvidia Jetson  TX2
Following the steps given, the build fails.
The error it gives is the following:
CMake Error at CMakeLists.txt:23 (find_package):
  By not providing "Findsick_safetyscanners_base.cmake" in CMAKE_MODULE_PATH
  this project has asked CMake to find a package configuration file provided
  by "sick_safetyscanners_base", but CMake did not find one.

  Could not find a package configuration file provided by
  "sick_safetyscanners_base" with any of the following names:

    sick_safetyscanners_baseConfig.cmake
    sick_safetyscanners_base-config.cmake

  Add the installation prefix of "sick_safetyscanners_base" to
  CMAKE_PREFIX_PATH or set "sick_safetyscanners_base_DIR" to a directory
  containing one of the above files.  If "sick_safetyscanners_base" provides
  a separate development package or SDK, be sure it has been installed.

Hi,
did you include https://github.com/SICKAG/sick_safetyscanners_base in your colcon_ws? This is the missing dependency.
The other dependency is https://github.com/SICKAG/sick_safetyscanners2_interfaces. Currently both have to be in your workspace. A release is triggered as apt package

Hi,
did you include https://github.com/SICKAG/sick_safetyscanners_base in your colcon_ws? This is the missing dependency.
The other dependency is https://github.com/SICKAG/sick_safetyscanners2_interfaces. Currently both have to be in your workspace. A release is triggered as apt package

Thank you for the clarification, now it was able to build!

Thank you for the clarification, now it was able to build!

Great, I'll clarify it in the build instruction.

Great, I'll clarify it in the build instruction.


Checkbox does not fit in filterable column header

See screenshot from toolbox/grids/columnFiltering: https://toolbox-dev.xh.io/app/grids/columnFiltering

Looking better in latest version of Hoist.  Closing....


brain.js too slow at training?

I'm trying to train a chatbot using brain.js as the brain, giving it some basic sentences to learn and when It doesn't answer anything, the bot asks the user how it should answer(so I can train it again with previous information + new information).
Problem is: To make a chatbot which is able to learn, it's necessary for me to train him multiple times, to include new information. And training is REALLY slow (took like a minute to train a few sentences, with 250 iterations). Is there a way to speed up it? I saw a video of someone using it and training didn't take more than 2 seconds
I'm using the browser version (since I've problems downloading npm's on nodejs). May that be the reason?

Can you put a jsfiddle of your example up so we can diagnose?

I've never made a jsfiddle before, so I hope this works
https://jsfiddle.net/tfwc6osh/7/
(I had to fuse 2 Css files into one and 2 javascript files too)

Which video was it that you saw?

keepNetworkIntact was removed in favor of just doing net.fromJSON(json) and then net.train(data).
Like "If I've gone through the trouble of loading data into the net, it is highly likely I want to further train it."

Thanks @robertleeplummerjr for clarifying 🙂.
Also, I found GRU() slightly faster than LSTM() when it comes to training  strings.

The problem is that I have a few(many) problems downloading and installing npms with node, so I nearly always have to install it manually on my project. That's why i'm trying to use the browser version.

Nice find!  Wait till we get the new architecture running in v2!

@elpeleq42 that explains this in part: the video you are watching is for a feedforward neural network, which they are much much faster because of how simple they are.  This, however, doesn't mean we cannot speed things up with the recurrent (rnn, lstm, or gru) networks.  In-fact, we are building out in v2 a completely gpu driven system that we are aiming at being much much faster.

I just hope it doesn't get too much GPU dependant. There must be a way to improve the trainning process for things such as strings.

I just hope it doesn't get too much GPU dependant.

It's all math.  The way the recurrent neural networks work with strings is by activating a single neuron that represents a value.  So when upgrades comes, we'll make sure they are compatible.

@elpeleq42 it could, but how many words are in the english dictionary?

Actually it could be bad, since then the bot wouldn't understand variations of some words/expressions such as "What is", "What's" and "whats" (which now it can, if the trainning goes well)

If you used a pre-built word embedding, then similar words will have similar values so that the neural net can easily understand the similarity of words.

RNN() is much more faster than both


Line number of RelaxNG error seems capped at 65535

When validating an XML document using RelaxNG, the line number of the error is capped at 65535.
test code: https://gist.github.com/mikevm/71095581645c62a971194b3142d09b92
output:
$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
$ ruby ./test.rb
Nokogiri: 1.6.8
XML document with a schema violation on line 400
 0. RelaxNG reports error on line 400: Error validating datatype string
 1. RelaxNG reports error on line 400: Element item failed to validate content
XML document with a schema violation on line 40000
 0. RelaxNG reports error on line 40000: Error validating datatype string
 1. RelaxNG reports error on line 40000: Element item failed to validate content
XML document with a schema violation on line 70000
 0. RelaxNG reports error on line 65535: Error validating datatype string
 1. RelaxNG reports error on line 65535: Element item failed to validate content

expected the result of #line always returns the line on which the error occurred
actual the result of #line is capped at 65535.

In fact this is a shortcoming in libxml2. We can not fix it in nokogiri and it probably will not be fixed in libxml2. See: https://mail.gnome.org/archives/xml/2012-August/msg00168.html

This will be fixed in v1.13.


Litecoin Scrypt API

An API for Scrypt-based cryptocurrencies such as Litecoin would be great.

Changing ports will not magically make alternate hashing algo's pop up in code.
So the problem here is simple, insight was made for Bitcoin and is a sha256 coin. The error described amongst a few threads all with differing coin hashing algo's likely all suffer the same problem.
This line here in "insight-bitcore-api/lib/peer sync.js".
var blockHash = bitcoreUtil.formatHashFull(block.calcHash())
Looking deeper we find a hard coded reference to sha256 hashing. Which of course won't return a valid block hash on say a sCrypt block.
My quick fix to remedy this temporarily is to look for malformed hashed (no leading zeros) and fall back to RPC which naturally works because the altcoin daemons are using the correct algo to parse and store blocks.
See the patch here https://gist.github.com/genecyber/46a835038221d8e30cfb
Note: the block reader that's reads from disk also has a similar issue but hey... Teach a man to fish and all...

@genecyber does that replace 85-102? or just replace 85?


Parameters not assignable to parameter of type

Which @ngneat/effects-* package(s) are the source of the bug?
effects
Is this a regression?
No
Description
I'm trying to put ngneat/effects on my ionic project but I get an error I don't understand, when I put the 'ofType' operator to observe my action it triggers this error:
Argument of type '(source: Observable<Action<string>>) => Observable<{ type: "[Spending] Load Spendings"; }>' is not assignable to parameter of type 'OperatorFunction<Action, { type: "[Spending] Load Spendings"; }>'.
it tells me it's a ts error, so I try to change the node version but nothing I still get the same error.
My action:
import { actionsFactory } from "@ngneat/effects";

const spendingActions = actionsFactory('Spending');

const loadSpending = spendingActions.create('[Spending] Load Spendings');

export { loadSpending };

my effect:
loadingSpendings$ = createEffect((actions) =>
        actions.pipe(
            ofType(spendingActions.loadSpending), // error triggered here
            mergeMap(() =>
                this.spendingService.loadSpending()
            ),
            tap(setSpendings),
        )
    )

Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
Node version: 18.10
Ts version: 4.8.4

Anything else?
No response
Do you want to create a pull request?
No

Please reproduce it on stackblitz

This happened to me, too.
I believe it's because the ts-action-operators (which exports the ofType operator) is requiring the local rxjs lib, I can see the below structure in the node_modules directory:

with a global dep of rxjs in the project, there're always such different references to the same type.


How can I get my friends richPresence?

Hi, I whould like to know if there is a way  for getting this kind of data.
Here is a screenshot of which data do I want exactly:

It's in their user event data, but you need to download localizations from Steam to make any sense of it, which can't be done with the release version of steam-user.
I just added support for rich presence strings to v4, which is not yet done. If you like, you can download the latest v4 commit and drop it into node_modules to try it, but be sure to check out the breaking changes first.

Where can I download a language file?


Is there an example for Data Table in carbon component react with pagination , I did not found in the storybook

I am not able to find any working example for  DataTable with pagination of carbon-component-react, at official their storybook https://react.carbondesignsystem.com/?path=/story/getting-started-welcome--welcome,
can anyone help me with it, please

We do not have a specific react story for a Data table with pagination but please reference the above example.


Crud snippets

Here is a wip of the snippet crud implementation.
It's not finished/ready for merge I just hack few moment on it.
I just want to be sure we agree about the way it's implemented for now.
I use only elastic search to store the snippets, but we may want in the future use a relational database to store snippets then feed elasticsearch with the database.
Just wanted to know your though about this for now.

Nice! One thing tho: we should reuse the same type what we have in the database (named problem, but open to suggestions) now. I made an edit view on the web UI: it's extremely crufty: one can edit the problem title and all the solutions in the same go.
Deleting a solution will work by sending an empty string in a textarea, a new solution can be sent by sending a non empty string in the last textarea. It's not too pretty but the best we can do without the solutions themselves having unique ids - which requires a db update etc :))
Once CRUD works we can think about making things prettier - I just want to get there asap and give the command line client support for saving things cause it would make my life tons better :D

Awesome. Will clean & debug and merge. Cheers, @jeremyletang


Fix deterministic use of random seed

Deterministic use of random seeds was originally implemented in #444 in response to #396. However, when a model was not explicitly passed a random seed it would use a random value, which meant the run was not deterministic overall. This fixes that, using the change originally suggested in #396.
CC: @idorrington-dstl @sdhiscocks

Is it not typical behaviour that when a model is not explicitly passed a random seed then it is not deterministic?
If we do want deterministic behaviour by default, then I think a safer way to do it is to use a default seed value rather than set random state to None. Otherwise we will have problems if people try to use methods of the random state (which is not a random state anymore) and we'll have to put "if random_state is not None" everywhere we use random states. To be honest, I'm surprised this passed the tests...

@idorrington-dstl
I don't have enough experience with Stone Soup to properly comment your question, but I can tell you how it affected me: I just ran the tutorials a few times and found they weren't detministic. They currently set the seed by just calling np.random.seed(1991) at the start. What would your suggestion be instead? Would they have to pass the seed to every model they instantiate? Aside from being more typing, that would very error prone: it would be easy for the developer to miss one place they need to pass in a seed, and that would ruin the determinism. The problem would pass silently, so someone could waste a lot of time generating data that turns out not to be useful for their needs.
On the other hand, I haven't thought about this from the perspective of someone that doens't want determinism.

@idorrington-dstl Sorry, I think I had misread your comment a bit. It sounds like your suggestion would not look any different from the user perspective. But it does sound like changing np.seed(...) wouldn't then affect the models because they have some other default seed embedded? Or do you just mean a default parameter which is an instance of the Seed class that uses the np.seed global state? (If so, to make sure it's instantiated at the time of the call, rather than during function parsing, you'd need to use a constant token instead and instantiate inside the function body... if you use None as the token then you arrive back at the currently suggested code.)

@idorrington-dstl This issue with the current implementation, is that when a seed isn't provided, rather than using the global random pool (behaviour prior to #444, and I'd say expected behaviour), it creates a RandomState that reads data from system pool (or clock).
From RandomState documentation:
"If seed is None, then the MT19937 BitGenerator is initialized by reading data from /dev/urandom (or the Windows analogue) if available or seed from the clock otherwise."

@idorrington-dstl Thanks 👍


[WB-7870] Support for TensorFlow/Keras SavedModel format.

Fixes WB-7870
Description
This PR adds the ability to save custom Keras models, which might include subclassed models or models using custom layers, in the SavedModel format. This SavedModel is then logged as a W&B artifact.
Current Behavior
Currently the Keras WandbCallback saves the model in the HDF5 format (#L414) and tries to log it along with the W&B directory. However, this has limitations:

HDF5 is not the recommended method to save TensorFlow/Keras models.
SavedModel format can be directly used by TF Serving, TF Lite, etc. Basically, this feature addition will serve well for industry usage.
Currently, when a subclassed model is used with save_model=True W&B throws an error message - Can't save model, h5py returned error: which might confuse the user.

What this PR is doing?
This PR will save the model in the SavedModel format and log it as an artifact. Why artifact?

The SavedModel format creates a directory in the wandb dir.
This dir if uploaded as W&B files (which is the current behaviour) cannot be restored using wandb.restore. (I tried it and it works with files and not dir)

How's the behaviour affected?
For a user using WandbCallback with save_model=True:

They will see a wandb warning notifying that in a future release we might deprecate the HDF5 model saving method and opt SavedModel format.

The earlier error is now replaced with a warning.

If Sequential or Functional model is used, the best model will be saved both in  HDF5 as W&B files and SavedModel as Artifacts format.

Here's an example run page.
Testing
Tested manually. yea test.
Checklist

https://wandb.atlassian.net/browse/WB-7870
https://wandb.atlassian.net/browse/WB-7686

Hey @dmitryduev, @raubitsj, @kptkin can someone take a look at this PR. Thanks.
cc: @soumik12345

Need approval from @tssweeney  or @vwrj

Hey @dmitryduev whenever you get a chance do let me know what else is required from my end. :)

@ayulockin seeing the relevant test flaking out, please look into it: https://app.circleci.com/pipelines/github/wandb/client/12213/workflows/55281dda-88c5-45aa-a767-fb3565455ad4/jobs/177362

Thanks @ayulockin !!

I was about to work on the flaky and saw your note for future selves. I wasn't very sure why it had failed.
Thanks for merging it @dmitryduev. :)


Initialize the php version

This is an extraction of https://github.com/emilybache/Racing-Car-Katas/tree/main/php.
I've also bumped phpunit to the latest version and removed the Windows related files (as I cannot execute them on my machine). I think it's enough to have the scripts available through composer.

Thankyou!


Hardhat Docs Parity

Purpose
Updates the documentation to cover Hardhat in addition to Foundry for importing openzeppelin proxies and live network deployments.

Could you follow the format docs: ... in the commit message? https://www.conventionalcommits.org/

Looks great!


updating release notes <IP_ADDRESS>

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1562 (468e59e) into 2.7 (6cfe354) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##                2.7    #1562   +/-   ##
=========================================
  Coverage     97.18%   97.18%
  Complexity     4104     4104
=========================================
  Files           371      371
  Lines         10459    10459
  Branches        706      706
=========================================
  Hits          10165    10165
  Misses          287      287
  Partials          7        7

Flag
Coverage Δ

sql-engine
97.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


ODB: The OneDrive API is inconsistent with providing hash data in /delta JSON response (URGENT BUG)

Category

[ ] Question
[ ] Documentation issue
[X] Bug

The OneDrive API
Expected or Desired Behavior
The hashes component should always have an entry.
"file": {
				"hashes": {
					"quickXorHash": "qlLLA1L3gC6HiNFu2JkgxT8ICuk="
				},
				"mimeType": "text/plain"
			},

Observed Behavior
As per https://github.com/abraunegg/onedrive/issues/2423 - the OneDrive Client for Linux now is only looking for quickXorHash or sha256Hash for files - however it appears in some instances the API does not always provide hashes in the /delta API response:
"file": {
				"hashes": {},
				"mimeType": "text/plain"
			},

Steps to Reproduce
Use the /delta query or the OneDrive Client for Linux  - see https://github.com/abraunegg/onedrive/issues/2433
Thank you.
[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

This looks to be an edge case with 0-byte files not generating a quickXorHash value.

A fix has been made and will deploy soon.

@ificator thanks! Notice that I have errors of "no hash" also for file that are not 0-sized (they seems to come from One Note). If you need/want more info, I can try to dig it.

#1706 appears to be OneDrive Personal.
@abraunegg does your change fall back to sha1 if quickXor is missing?

#1706 appears to be OneDrive Personal.
@abraunegg does your change fall back to sha1 if quickXor is missing?

No it does not - as it has been removed from the codebase and being stored.
The ms docs even talk about crc33 which was removed a long time ago.

@ificator
The code looks at quickxorhash then sha256hash as the fallback

#1706 appears to be OneDrive Personal.

It is.

#1706 appears to be OneDrive Personal.

It is.

@pablobass are you able to see a pattern with the files? File type, location, etc?

Mine is a business account, but it seems to me (I have just the id, and the name of the directories) that my non-zero files causing the error are related to OneNote.

#1706 appears to be OneDrive Personal.

It is.

@pablobass are you able to see a pattern with the files? File type, location, etc?

I don't know how to identify wich files are referring the "hash" notices to.
I tried dual verbose option and it does not give me that information too.
How can I do to see it?

#1706 appears to be OneDrive Personal.

It is.

@pablobass are you able to see a pattern with the files? File type, location, etc?

I don't know how to identify wich files are referring the "hash" notices to. I tried dual verbose option and it does not give me that information either.
What can I do to see it?

If you are seeing an 'id' rather than a 'path' this means the item in question is being excluded by your configuration.

If you are seeing an 'id' rather than a 'path' this means the item in question is being excluded by your configuration.

When I was playing with the code I think to remember that sometimes, even if the ->parent field was not available, the name field could have some information... but I was really printing random things  so I can't guarantee it.
@pablobass in the "double verbose" log you should see something like this:
[DEBUG] Not a OneDrive deleted item change
[DEBUG] defaultRootId                                        = 01CRET2R56Y2GOVW7725BZO354PWSELRRZ
[DEBUG] 'search id'                                          = 01CRET2R56Y2GOVW7725BZO354PWSELRRZ
[DEBUG] id == defaultRootId                                  = true
[DEBUG] isItemRoot(item)                                     = false
[DEBUG] item['name'].str == 'root'                           = false
[DEBUG] singleDirectoryScope                                 = false
[DEBUG] 'parentReference id'                                 = 01CRET2R63B3UZEGQYDFFIZCQVNQAURE4X
[DEBUG] search criteria: syncFolderName                      = root
[DEBUG] search criteria: syncFolderPath                      =
[DEBUG] search criteria: syncFolderChildPath                 =
[DEBUG] thisItemId                                           = 01CRET2R2NSM7N4LKUYVGKU7PU3ZBUEZ73
[DEBUG] thisItemParentPath                                   = /drives/b!LtHke7bh3kG0bVzBE1QCWW33fbzkHnhNqI5o-VcAsHJ_LJBMtZ3mQagpnag-F9Cq/root:/Blocs de notas/Cuaderno de Moodle
[DEBUG] thisItemFullPath                                     = /drives/b!LtHke7bh3kG0bVzBE1QCWW33fbzkHnhNqI5o-VcAsHJ_LJBMtZ3mQagpnag-F9Cq/root:/Blocs de notas/Cuaderno de Moodle/Cuaderno de Moodle.onetoc2
[DEBUG] 'item id' matches search 'id'                        = false
[DEBUG] 'parentReference id' matches search 'id'             = false
[DEBUG] 'thisItemParentPath' contains 'syncFolderChildPath'  = true
[DEBUG] 'thisItemParentPath' contains search 'id'            = false
[DEBUG] Change matches search criteria to apply
[DEBUG] quickXorHash is missing
[DEBUG] sha256Hash is missing
ERROR: OneDrive API inconsistency - the file does not have any hash
[DEBUG] Flagging as unwanted: find(item.parentId).length != 0
[DEBUG] Skipping OneDrive change as this is determined to be unwanted

So the entry before the error should give you information about what is failing...

If you are seeing an 'id' rather than a 'path' this means the item in question is being excluded by your configuration.

When I was playing with the code I think to remember that sometimes, even if the ->parent field was not available, the name field could have some information... but I was really printing random things so I can't guarantee it.
@pablobass in the "double verbose" log you should see something like this:
[DEBUG] Not a OneDrive deleted item change
[DEBUG] defaultRootId                                        = 01CRET2R56Y2GOVW7725BZO354PWSELRRZ
[DEBUG] 'search id'                                          = 01CRET2R56Y2GOVW7725BZO354PWSELRRZ
[DEBUG] id == defaultRootId                                  = true
[DEBUG] isItemRoot(item)                                     = false
[DEBUG] item['name'].str == 'root'                           = false
[DEBUG] singleDirectoryScope                                 = false
[DEBUG] 'parentReference id'                                 = 01CRET2R63B3UZEGQYDFFIZCQVNQAURE4X
[DEBUG] search criteria: syncFolderName                      = root
[DEBUG] search criteria: syncFolderPath                      =
[DEBUG] search criteria: syncFolderChildPath                 =
[DEBUG] thisItemId                                           = 01CRET2R2NSM7N4LKUYVGKU7PU3ZBUEZ73
[DEBUG] thisItemParentPath                                   = /drives/b!LtH***************nhNqI5o-VcAsHJ_LJBMtZ3mQagpnag-F9Cq/root:/Blocs de notas/Cuaderno de Moodle
[DEBUG] thisItemFullPath                                     = /drives/b!LtH***************nhNqI5o-VcAsHJ_LJBMtZ3mQagpnag-F9Cq/root:/Blocs de notas/Cuaderno de Moodle/Cuaderno de Moodle.onetoc2
[DEBUG] 'item id' matches search 'id'                        = false
[DEBUG] 'parentReference id' matches search 'id'             = false
[DEBUG] 'thisItemParentPath' contains 'syncFolderChildPath'  = true
[DEBUG] 'thisItemParentPath' contains search 'id'            = false
[DEBUG] Change matches search criteria to apply
[DEBUG] quickXorHash is missing
[DEBUG] sha256Hash is missing
ERROR: OneDrive API inconsistency - the file does not have any hash
[DEBUG] Flagging as unwanted: find(item.parentId).length != 0
[DEBUG] Skipping OneDrive change as this is determined to be unwanted

So the entry before the error should give you information about what is failing...

Debug info from one of the "hash" notices:
[DEBUG] OneDrive Change: {"@odata.type":"#microsoft.graph.driveItem","cTag":"aYzpBRTU3NDNCQkJFMzA3RDBCITE0MjAzNi4yNTc","deleted":{"state":"hardDeleted"},"eTag":"aQUU1NzQzQkJCRTMwN0QwQiExNDIwMzYuMQ","file":{"hashes":{"sha1Hash":"A86F23B202C2223E3219D0963660EF85E0C33572"}},"id":"AE5743BBBE307D0B!142036","name":"","parentReference":{"driveId":"ae5743bbbe307d0b","driveType":"personal","id":"AE5743BBBE307D0B!142035"},"size":235644}
and in my config:
skip_file = "*.tmp|*.crdownload|desktop.ini|thumbs.db|.~*|.DS_Store|._.DS_Store"

@pablobass the OneDrive Change JSON snippet suggests this file is hard deleted (i.e. unrecoverable and simply exists so that we can tell clients that it's gone). It's possible that the process of generating the quickXorHash values for older files simply ignored these (because it's likely the blob doesn't exist in the store anymore). Can you confirm whether this is the case for all of the files that are generating the missing hash message for you?

@pablobass the OneDrive Change JSON snippet suggests this file is hard deleted (i.e. unrecoverable and simply exists so that we can tell clients that it's gone). It's possible that the process of generating the quickXorHash values for older files simply ignored these (because it's likely the blob doesn't exist in the store anymore). Can you confirm whether this is the case for all of the files that are generating the missing hash message for you?

Like I said, I can't tell wich files the "hash" notice are referring to. Even with "double verbose" option.

@pablobass the double verbose is giving the OneDrive Change JSON blob which lets us see that file AE5743BBBE307D0B!142036 is hard deleted. If we can confirm that's the case for all of the other item ids that would let us scope the problem down to a case where it'll resolve itself over time.
@abraunegg out of curiosity, why do we hash deleted files? Is that so you don't delete the local content if it appears to be different to the cloud? I'm trying to rationalize if we can hide the hash errors for this case, but realistically this hash check still makes sense.

@pablobass the double verbose is giving the OneDrive Change JSON blob which lets us see that file AE5743BBBE307D0B!142036 is hard deleted. If we can confirm that's the case for all of the other item ids that would let us scope the problem down to a case where it'll resolve itself over time.
@abraunegg out of curiosity, why do we hash deleted files? Is that so you don't delete the local content if it appears to be different to the cloud? I'm trying to rationalize if we can hide the hash errors for this case, but realistically this hash check still makes sense.

I'm almost sure that all the other files gives me the "same" information (with a different ID, of course). I didn't post the whole log because of this, and I thought it'll be too long for a comment. Anyway, of course I can doy it if you need.

@ificator

@abraunegg out of curiosity, why do we hash deleted files? Is that so you don't delete the local content if it appears to be different to the cloud? I'm trying to rationalize if we can hide the hash errors for this case, but realistically this hash check still makes sense.

The 'onedrive' application does not hash deleted files.
What is happening is, in the /delta call, depending on the users configuration (where they can configure client side filtering rules to only sync content that they are interested in) - the call to /delta will not include the deltaLink URL, thus all object items are returned - including any deleted items or other data.
When the application is processing the JSON responses, it is processing each response, and creating an item struct that the application uses for that object. It is in that function call where this warning is being generated - because the JSON item as received from OneDrive does not contain either a quickXorHash or a sha256hash JSON entry item.
Essentially because the API is not providing the data in the /delta response - that is why this message is being presented.

I can add one more thing to this: "Hash" notices only appear when I use "onedrive --monitor", but not when I execute "onedrive --synchronize". Weird, right?

@pablobass

I can add one more thing to this: "Hash" notices only appear when I use "onedrive --monitor", but not when I execute "onedrive --synchronize". Weird, right?

Please submit a verbose debug log for analysis following the correct support process.

The 'onedrive' application does not hash deleted files.
What is happening is, in the /delta call, depending on the users configuration (where they can configure client side filtering rules to only sync content that they are interested in) - the call to /delta will not include the deltaLink URL, thus all object items are returned - including any deleted items or other data.
When the application is processing the JSON responses, it is processing each response, and creating an item struct that the application uses for that object. It is in that function call where this warning is being generated - because the JSON item as received from OneDrive does not contain either a quickXorHash or a sha256hash JSON entry item.
Essentially because the API is not providing the data in the /delta response - that is why this message is being presented.

@abraunegg in that case, if the item contains the deleted facet, could we skip the logic that asserts the required hashes are present? That'll avoid some noise in your client logs while this type of hash-less data ages out of the system.

@ificator

@abraunegg in that case, if the item contains the deleted facet, could we skip the logic that asserts the required hashes are present? That'll avoid some noise in your client logs while this type of hash-less data ages out of the system.

In the current v2.4.x codebase, unfortunately this is not going to be possible without a new v2.4.26 release.
In the v2.5.x codebase (which is in active development & is a 100% re-write of the client to implement some major features & change) this has already factored in - and only items that are files and not deleted are checked for the presence of the required hash items.

I'm going to close this issue as I think the primary problem has been addressed, and the updated client will handle the deleted files appropriately.

Hello!
Today I was testing out the client and got this same error (not sure if it was the same source tho). After reading the log outputted with both double verbose and https was able to find that OneDrive does supply information about files in the Personal Vault in the Delta api.
Testing in a freshly downloaded copy of onedrive, single folder, download only and resync:
Part of first HTTP call * h2h3 [:path: /v1.0/drives/xxxxxx/root:/NasSync?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference,size]
A few calls later, it reaches the offending file
[DEBUG] OneDrive Change: {"cTag":"xxxxxx","deleted":{"state":"hardDeleted"},"eTag":"xxxxxx","file":{"hashes":{"sha1Hash":"xxxxxx"}},"id":"xxxxxx!150524","name":"","parentReference":{"driveId":"xxxxxx","driveType":"personal","id":"xxxxxx!146271"},"size":1320}
And the corresponding warning just after
WARNING: OneDrive API inconsistency - this file does not have any hash: xxxxxx!150524
And there is some information about the folder 146271
[DEBUG] OneDrive Change: {"cTag":"xxxxxx","deleted":{"state":"hardDeleted"},"eTag":"xxxxxx","folder":{"childCount":0,"view":{"sortBy":"name","sortOrder":"ascending","viewType":"thumbnails"}},"id":"xxxxxx!146271","name":"","parentReference":{"driveId":"xxxxxx","driveType":"personal","id":"xxxxxx!246"},"size":0} [DEBUG] isRoot                                               = false [DEBUG] !hasParentReferenceId(item)                          = false [DEBUG] isItemDeleted(item)                                  = true [DEBUG] Handling change as 'root item', has no parent reference or is a deleted item [DEBUG] Remote deleted item [DEBUG] The item we are syncing is a folder
And that folder is directly inside the root directory (246).
After some digging in Google about the meaning of the "hardDeleted" value

Sorry for reviving this old thread.
I finally discovered which files were returning the warning 'OneDrive API inconsistency - this file does not have any hash.'
They were not deleted files, but rather those located in the 'Personal Vault.'
Evidently, the Linux client could somehow list them but not view them or something like that. I'm not a programmer.
I’m sharing this just in case it’s helpful information, as to this day (onedrive v2.4.25-13-g1a88d33) I was still seeing those warnings.
I hope this can be of help.
Best regards.

@pablobass

Sorry for reviving this old thread.
I discovered which files were returning the warning 'OneDrive API inconsistency - this file does not have any hash.'
They were not deleted files, but rather those located in the 'Personal Vault.'
Evidently, the Linux client could somehow list them but not view them or something like that. I'm not a programmer.
I’m sharing this just in case it’s helpful information, as to this day (onedrive v2.4.25-13-g1a88d33) I was still seeing those warnings.
Finally, I was able to get rid of those alerts in the logs, and I'm happy about that, but unfortunately, it was by removing the files I had in the vault.
Maybe this issue has been resolved since version 2.5.x, but I don't know since I'm waiting for the final version to update.
Anyway, I hope this can be of help.
Best regards.

There is zero issue with v2.5.x version for this issue.
My test account as the following files in the vault:

With v2.4.25 , the following occurs:
Configuration file successfully loaded
Configuring Global Azure AD Endpoints
The item database is incompatible, re-creating database table structures
Initializing the Synchronization Engine ...
Syncing changes and items from OneDrive ...
WARNING: OneDrive API inconsistency - this file does not have any hash: 66D53BE8A5056ECA!431414
WARNING: OneDrive API inconsistency - this file does not have any hash: 66D53BE8A5056ECA!431415
WARNING: OneDrive API inconsistency - this file does not have any hash: 66D53BE8A5056ECA!431416
Performing a database consistency and integrity check on locally stored data ...
Uploading differences of ~/OneDrive
Uploading new items of ~/OneDrive
Sync with OneDrive is complete

With v2.5.x (specifically RC2 at the moment) , the following occurs:
Reading configuration file: /home/alex/.config/onedrive/config
Configuration file successfully loaded
Using IPv4 and IPv6 (if configured) for all network operations
Attempting to contact Microsoft OneDrive Login Service
Successfully reached Microsoft OneDrive Login Service
Configuring Global Azure AD Endpoints
The item database is incompatible, re-creating database table structures
Fetching items from the OneDrive API for Drive ID: 66d53be8a5056eca ....
Processing 513 applicable changes and items received from Microsoft OneDrive ..
Performing a database consistency and integrity check on locally stored data ..
Scanning the local file system '~/OneDrive' for new data to upload .
Performing a last examination of the most recent online data within Microsoft OneDrive to complete the reconciliation process
Fetching items from the OneDrive API for Drive ID: 66d53be8a5056eca .
No changes or items that can be applied were discovered while processing the data received from Microsoft OneDrive

Sync with Microsoft OneDrive is complete
Shutting down Database instance
Shutdown of Database instance is complete

So in v2.4.x, the API data is analysed, and the Personal Vault items kick out a warning that there is no hash
In v2.5.x, the API data is analysed, and items that are hard deleted or in the Vault are correctly handled without a warning message being displayed.


[Item] Added property for handling contextMenu event on item

In our project we need to overwrite the context menu on an item.
Probably it can be useful for somebody else :)

Thank you for the PR! v0.8.1 released!


Update onSegmentChange function logic to get it via props

[ ] The useSegmentNavigation hook uses pageId for navigation, while not all IDEs can have the pageId. The navigation shouldn't be dependent on pageId. Hence, make the onSegmentChange function customizable by getting it via props for different IDEs.

Component: https://github.com/appsmithorg/appsmith/blob/release/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentedHeader.tsx

Hey team! Please add your planning poker estimate with Zenhub @alex-golovanov @ankitakinger @hetunandu


Test PaymetURI

Test methods in PaymentURI.swift

@usatie funded this issue with $10. Visit this issue on Issuehunt

@usatie cancelled funding, $10, of this issue. Visit this issue on Issuehunt