missing symbols in latest available version

Latest available version in nuget is 0.2.0-alpha.8. However, it seems to me missing some of the new symbols in API. On the other hand, the source code in Git already contains new codes. For example:
public static readonly Symbol NAV_BTC
Is it possible to upgrade to latest available version (trunc) somehow locally?
What is the build cycle of this project and how often when can we expect to get updates, even in Alpha releases?
In the example above, I'd like to have support for NAV_BTC. I would to appreciate to hear any advices on how to add support for it locally when there is no latest build available..
Thanks.

Binance is always adding new symbols. While I try to keep the static Assets and Symbols up-to-date, I do not plan to release a new version of this library every time there is a new symbol. I provide the static Assets and Symbols "for convenience/reference only." If you wish to have a full list of current Symbols at run-time you can use the IBianceApi.GetSymbolsAsync() method. Also, there is the static Symbol.Cache (initialized with the static Symbols) that you can reference and keep up-to-date with Symbol.UpdateCache().
Currently, I use the master branch for development and at times it will have code that is not yet released. If you wish to see the source code that applies to a specific release, you can select the corresponding Tag for that version.
If you want to build the latest development version, you can use Visual Studio Community 2017. You can then build/publish a NuGet package with the latest source and reference your local package source in your application. You may want to give that local package build a different name or versioning to avoid conflicts with future upgrades. If I do not have the latest Symbols in source you can use the BinanceCodeGenerator sample application to update the Asset.cs and Symbol.cs files. Otherwise, you can also create any static Symbol manually in the Binance library or you application code.


Fix apex-parser to version 2.9.0

Version 2.9.1 and 2.9.2 is impacted by an error on the ParseTreeWalker of
antlr4ts.
Cannot read property 'enterRule' of undefined

Codecov Report

Merging #708 (4f8c13f) into develop (a4704de) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 4f8c13f differs from pull request most recent head 91de982. Consider uploading reports for the commit 91de982 to get more accurate results

@@           Coverage Diff            @@
##           develop     #708   +/-   ##
========================================
  Coverage    64.18%   64.18%
========================================
  Files           43       43
  Lines         1438     1438
  Branches       250      256    +6
========================================
  Hits           923      923
  Misses         515      515

Continue to review full report at Codecov.

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

@nawforce Are you aware of this?

@aly76  lets merge this, so alpha gets unblocked. Will wait for comments frorm @nawforce before we update

Not seen this one before, do you have any steps to reproduce or was it just happening on any use?


Update the API token link

Really love this app. Would be good to change the api token link to https://todoist.com/prefs/integrations. Perhaps I can cook up a PR if I can find the right place.

Thanks!


Replacement of "compile" with "implementation"

As "compile" is going to be deprecated end-2018, this PR replaces with "implementation" that is the new usage.

Ok biendo y aprendo bics sale


Class emit: cached repeat prototype sets in a variable

If two or more class members would assign to the class .prototype, that'll be stored in a temporary variable named like proto per @kitsonk's suggestion. This approach is similar to #16469 but with the the original behavior preserved for classes with only one prototype member.
Does not return the class prototype from __extends for further terseness; I'd be interested in taking that on next.
Fixes #9638.
This PR contains <100 lines of real code change and >350 files of test changes. Fun!
~Waiting to update the last few baselines on #33364. They seem to be generally acceptable?~ I'll just fix them manually.

Ping @DanielRosenwasser - this, #33337, and #29374 have been sitting for a little while. Do you think someone would be able to take a look at them soon? Thanks!

@JoshuaKGoldberg we discussed this in the design meeting today. As you mention above, a previous attempt (#16469) to address this was made before. At the time it was determined that zlib compression can already handle repeated ClassName.prototype sections efficiently and there was not much to gain by this. This was reiterated again in todays design meeting with the added caveat is that this new output actually makes it harder for TypeScript to analyze the resulting JS code (say, if someone were to ship compiled TypeScript without declaration files). While I appreciate the effort that went into this PR, we've decided we are unlikely to take this change due to these factors.

@JoshuaKGoldberg we discussed this in the design meeting today. As you mention above, a previous attempt (#16469) to address this was made before. At the time it was determined that zlib compression can already handle repeated ClassName.prototype sections efficiently and there was not much to gain by this. This was reiterated again in todays design meeting with the added caveat is that this new output actually makes it harder for TypeScript to analyze the resulting JS code (say, if someone were to ship compiled TypeScript without declaration files). While I appreciate the effort that went into this PR, we've decided we are unlikely to take this change due to these factors.

Ok, thanks for letting me know and discussing! It was a fun learning experience regardless. 😄

Ok, thanks for letting me know and discussing! It was a fun learning experience regardless. 😄


Stops at amount due, nest step not clear to customer

iFrame height issue, should be fixed with the latest commit


Hierarchy visitor pattern.

Related to #317: having code for visiting each node in a hierarchy might be nice. We have that code internally, and it seems like we could expose it. Protovis had visitAfter and visitBefore methods. D3 doesn't require that hierarchy nodes implement any particular interface (for example, they can be loaded from static JSON files), so we'd probably want a method signature like this:
hierarchy.visitAfter(node, function(node, depth) {
  return stopVisiting;
});

There's no reason for this to be bound to a specific hierarchy layout instance, but making it a static method is more verbose. We took a similar approach with links.

I'd probably also alias visit to visitBefore.

I guess you might also want a reduce method?
var x0 = hierarchy.reduce(root, function(node, previous) { return Math.min(node.x, previous); }, 0),
    x1 = hierarchy.reduce(root, function(node, previous) { return Math.max(node.x, previous); }, 0),
    y1 = hierarchy.reduce(root, function(node, previous) { return Math.max(node.y, previous); }, 0);

This is a slight generalization of the existing d3_layout_treeSearch method. This is also rather inefficient if you have a way of pruning the tree, so it might be nice to consider how to support more selective searching.
My goal isn't for D3 to support a full-fledged hierarchy and graph manipulation API; I only thought this might be an easy way to implement fixed-sized nodes for layouts. But it's looking like this is more complicated than what we need so I'm tempted to defer this for later (or never). You can always write a separate library for this stuff.

Oh man, apparently I'm a week too late.  Was just in the process of creating something similar to the protovis indented tree example in D3.  But I'm sure I can write a function similar to visitAfter to accomplish my exact needs relatively easily.
While the indented tree is similar to the dendrogram, it seems like it won't be nearly as easy to recreate.  Maybe I'm just thinking too hard.  I will attempt to post an example when I get a chance.  I suppose I'm still not at the level where I can produce the minimalist examples that are posted, but hopefully progressing to that point, just hard to find the time to produce such elegant examples.

There's a collapsible indented tree example linked from the wiki.

Wow, I completely missed out on the wiki, had only seen the examples on http://mbostock.github.com/d3/ex/  and the ones in the git repository.
Thank you!  I knew it was worth mentioning what I was working on.  Now to see if the bosses are happy with the rounded lines, or if I will have to do right angles like in the protovis example.


Adjust Inputs to Camera Angle doesn't work

When the _adjustInputsToCameraAngle boolean is true and the main camera has any y rotation other than 0 the controller struggles to adjust the inputs and stutters. I believe this has to do with when the input system polls for new movement inputs being out of sync with FixedUpdate causing some fighting.

I pulled in the code and modified it to work with the built in Input system and polled for input in Update. This fixed the stuttering issue, so it is almost certainly a disconnect between the Input Aciton events and FixedUpdate().

Well spotted, you're right. I'm still getting to grips with the new input system myself.
Looks like it was inappropriate for _moveInput to be set inside the input action.
It works when _moveInput is inside the fixed update instead and references the input action from there.
The stuttering was being caused by _moveInput being set only when the input changes, but that same vector was being rotated every frame regardless. Thanks!


translate TITLE, LABEL, TOOLTIP in jsonConfig and a do a Fix to linkText

(Grizzelbee) New: Also translate TITLE fields in jsonConfig file
(Grizzelbee) Chg: log message titles in gray just like the rest
(Grizzelbee) Fix: test if there is a linkText first before translating - since it's not mandatory

@Grizzelbee Hey, very great work ... I just have a "strategic doubt" ;-)) What do you think about it?

I will release  a new version now and I took over the loinkText fix already! You need to rebase your code please. Thank you

I withdraw my pull request.


Crash  on start up with cyberware beta 2.1

http://pastebin.com/Y6wwFZEU

Wired hasn't updated to match the API changes in 0.2.0


Update README.md

I have added some more information about the fest that what is it all about and how can beginners participate.

I have contributed to my best added some important information please select my contribution.


Update k8s example [#159]

@bentasker Would you mind have a look at this PR? As I'm not familiar with k8s I want to make sure I got this all right, please.
Thanks!

thanks so much @bentasker !


Remove unused cards member variable from examples.

Cards member is not used by any of the examples, and I think it adds one extra thing to read that distracts from the point of each example. This removes the declaration.

Fixes #

Thank you for helping contribute to the TypeScript Handbook! We're trying to get through the large backlog of open PRs. As part of that effort, we're only merging PRs that clearly improve the content. PRs that only change phrasing, style, nits, or other aspects not directly related to accuracy or coverage won't be accepted - this will greatly reduce merge conflicts in PRs that do have content-critical changes. We'll be closing PRs like this one that make subjective improvements; often given two ways of writing the same thing, opinion will be split on which is better, and we have to defer to making fewer changes rather than more. Thanks for understanding.


Adding denseUt linalg::Norm/Eig/Eigh

This PR address https://github.com/Cytnx-dev/Cytnx/issues/311,
The Inv/InvM part is not fully done since there are lapack errors from very basic test, I'm investigating.

Will do Inv and InvM in another PR.


Bug when generating an scaffod

Theres a bug after trying to generate an scaffoling
php artisan infyom:scaffold test5 --datatables=true
Specify fields for the model (skip id & timestamp fields, we will add it automatically)
Read docs carefully to specify field inputs)
Enter "exit" to finish

 Field: (name db_type html_type options) []:
 > name string text

 Enter validations:  []:
 >

 Field: (name db_type html_type options) []:
 > exit

Migration created:
2020_08_05_194436_create_test5s_table.php

Model created:
test5.php

Repository created:
test5Repository.php

Create Request created:
Createtest5Request.php

Update Request created:
Updatetest5Request.php

   ErrorException  : Undefined property: InfyOm\Generator\Common\GeneratorField::$isOrderable

  at C:\laragon\www\test\vendor\smarirabah\laravel-generator\src\Common\GeneratorField.php:151
    147|         if ($key == 'fieldTitle') {
    148|             return Str::title(str_replace('_', ' ', $this->name));
    149|         }
    150|
  > 151|         return $this->$key;
    152|     }
    153| }
    154|

  Exception trace:

  1   Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Undefined property: InfyOm\Generator\Common\GeneratorField::$isOrderable", "C:\laragon\www\test\vendor\smarirabah\laravel-generator\src\Common\GeneratorField.php", ["isOrderable"])
      C:\laragon\www\test\vendor\smarirabah\laravel-generator\src\Common\GeneratorField.php:151

  2   InfyOm\Generator\Common\GeneratorField::__get("isOrderable")
      C:\laragon\www\test\vendor\smarirabah\laravel-generator\src\helpers.php:180

  Please use the argument -v to see more details.`

php version 7.2.33
"laravel/framework": "5.6.*",

@cfmorales we will check it. But soon we are going to deprecate (or no longer giving fixes) to all the versions below 6.x.
Since last 6 is an LTS, 7 is already released months ago and Laravel 8 is also announced to be released in September.
I will also check if the same bug is there in 6.x and 7.x.

@cfmorales I've just checked it with the latest version of Laravel that we support. I will say you try to reproduce this issue with Laravel 6.0 or great and report us with more inputs.
I tried to generate with your same input and I'm able to run it successfully.

Also, it looks like isOrderable is not from Laravel Generator, it's from DataTables. so, I do not see any possible fix right now for this.
Check with the latest version and if you still find a bug then re-open this issue with more inputs.


add managed clusters obj to backup

Signed-off-by: Valentina Birsan<EMAIL_ADDRESS>With the attached changes , after backing up the managed cluster resources ( cluster level and ns ) I can see the hive cluster being attached when I restore on a new hub
Backup content :

Namespaces : hive, openshift-operator-lifecycle-manager,  , <cluster pools ns .. this is new >
Resources:

    - secret
    - configmap
    - ManagedCluster.cluster.open-cluster-management.io
    - ManagedClusterAddon
    - ServiceAccount
    - ManagedClusterInfo
    - ManagedClusterSet
    - ManagedClusterSetBindings
    - KlusterletAddonConfig
    - ManagedClusterView
    - ManagedCluster.clusterview.open-cluster-management.io
    - ClusterPool
    - ClusterDeployment
    - MachinePool
    - ClusterProvision
    - ClusterState
    - ClusterSyncLease
    - ClusterSync

The cluster not available on hub a during restore ( they were in hibernating state ) show as pending import

t

/hold


chore: Reduce bench history from 10 to 5 blocks

To reduce running time

Bench history now runs in 17 mins. Hooray!


each CI/RR build gets queud up twice

Environment

Server - Azure Pipelines

For some reason we started to get every job duplicated since a few days - can you please have a look?
https://dev.azure.com/fastdotai/fastai/_build/index?definitionId=1&_a=completed
I checked that we have push/pr webhooks registered once, but it appears as if something else is pushing second time. Very odd.
You guidance is needed.
Thank you.

I believe this was a one-time issue with the service. If this is still an ongoing issue please open a thread on the Azure DevOps Developer Community.


Launch interchange as a fresh process

Description
This PR launches the interchange as a fresh process, rather than using multiprocessing fork. At heart, this is how the interchange has wanted to be launched for some time, I feel, and there are a bunch of problems that come from launching it with multiprocessing fork to do with inheriting state from the parent submitting process that go away with this (jumbled logging topics, race conditions around at least logging-while-forking, inherited signal handlers)
This PR is a draft of the remaining work I have in progress towards this, to seek review on the way that this new launch method works.
My main review question/topic is that I'm a bit uncomfortable with the bureaucracy around using argparse - this feels like an ugly ad-hoc serialization scheme (which is replacing the more principled transmission of a config tuple as regular function arguments using fork prior to this PR).
I have alternatively considered something like: serialize the parameter tuple to base64 and pass that on the command line, removing human readability but also removing the various ad-hoc python object -> CLI string -> python object serialization paths.
This PR contains another in-progress patch to do with defaults that I will separately submit, but I did not want this to delay review of the big part of my current work, especially the above question - comments welcome, but those changes exist properly in PR #3465

commit e7d18aa4725310534e0ec4aa1ce5601d01ec2ecc swaps this PR from using argparse to passing a base64 pickled config dict on the command line. that removes a lot of code around "we have to define a schema here", at the expense of a much more opaque interchange command line. (although prior to this PR, there was no visible interchange command line at all, in that sense: the same configuration dictionary was passed by remaining in memory across a fork)
I did it so that people can compare the argparse approach (before this commit) and the pickle approach (after this commit)

(@rjmello @yadudoc @khk-globus are the people that probably care about my last comment - https://github.com/Parsl/parsl/pull/3463#issuecomment-2160918089
)

@khk-globus suggested using stdin rather than a command line parameter, and I have made that change.
We also briefly discussed what protocol to use over stdin (primarily: pickle vs JSON). This PR sticks with pickle and I added a note about that into the PR description:

Using pickle here rather than (eg.) JSON keeps the path open for sending richer configuration objects, beyond what can be encoded in JSON. This isn't something needed right now, but at least configurable monitoring radios (the immediate driving force behind this PR) are modelled around passing arbitrary configuration objects around to configure things - and so it seems likely that if interchange monitoring configuration is exposed to the user, richer objects would be passed here. See PR https://github.com/Parsl/parsl/pull/3315 for monitoring radio prototype.

@khk-globus suggested using stdin rather than a command line parameter, and I have made that change.

Hmm; I appear to have commented in a weird place; pulling up from the commit-comment so the PR has an easily discoverable record of it:

Merely looking at the code removed, this is a beautiful addition.  The key insight being that we are the consumers of this interface, so we don't have to support debuggability-for-humans, per se.  That's good.
As discussed in Slack; I wonder if using pipe-to-stdin would be a better approach than faffing about with the CLI, "security concerns" there abouts, and potential (if nominal) size limits.  A secondary question is whether pickle (over base64) is the correct serialization, as opposed to a "simple" repr/ast.literal_eval cycle, or even JSON.


[firebase_auth_web] time to implement fetchSignInMethodsForEmail

firebase_auth_web.dart contains unimplemented fetchSignInMethodsForEmail waiting for resolving https://github.com/FirebaseExtended/firebase-dart/issues/272.
https://github.com/FirebaseExtended/firebase-dart/issues/272 is resoled so it's time to implement :)

Support has landed for this in the latest release.


Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: file must be a directory

Information

Apktool Version (apktool -version) - 2.3.4
Operating System (Mac, Linux, Windows) - Windows 10
APK From? (Playstore, ROM, Other) - Playstore

Stacktrace/Logcat
I: Using Apktool 2.3.4 on kik.android-15.2.0.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: file must be a directory: Decompiled-Apks\kik.android-15.2.0.apk
    at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:221)
    at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:136)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:122)
    at brut.apktool.Main.cmdDecode(Main.java:164)
    at brut.apktool.Main.main(Main.java:73)
Caused by: brut.directory.DirectoryException: file must be a directory: Decompiled-Apks\kik.android-15.2.0.apk
    at brut.directory.FileDirectory.<init>(FileDirectory.java:38)
    at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:201)
    ... 4 more

Steps to Reproduce

decompile apk
decompile apk again

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
APK
If this APK can be freely shared, please upload/attach a link to it.  https://play.google.com/store/apps/details?id=kik.android&hl=en
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? Yes
If you are trying to install a modified apk, did you resign it? Yes
Are you using the latest apktool version? Yes

Side not: I don't think this is apk depended, This happens when apktool tries to delete the already decompiled apk before decompiling again. I have a really high end PC, I doubt it has anything to do with my PC.

This now has a warning message.
➜  2100 apktool d com.ing.mobile_2020230001.apk
Destination directory (/home/ibotpeaches/Downloads/Apktool/2100/com.ing.mobile_2020230001) already exists. Use -f switch if you want to overwrite it.
➜  2100

Closing

Check the permission of the destination directory


Global modules do not show up for scripts

Global modules do not get required when executing a script through node. Process as follows:
nodist #Shows specified version
npm install -g archiver
node script.js #script.js has the contents "var a=require('archiver');" and fails with Error: Cannot find module 'archiver'

`

Even though I uninstalled nodejs it still kept the NODE_PATH env variable. I deleted that and reinstalled nodist and it works now.

Ah, phew. Would've been alarming otherwise... Cheers!


Tutorial

Hello!
I've interested in using autoanki and autoanki/cli. Do you have a quick (even just a few lines?) tutorial for how you use it?

Hi. Thanks for your interest in the project. At the current stage, I wouldn't advise anybody to use it, since it developed to a point that is barely enough for me (with many undocumented rough edges that only I know how to avoid).
Anyway, if you just want to have a quick try, I hope that the following instructions could be enough.
Install @autoanki/cli and the relevant plugins.
$ npm install -g  @autoanki/cli @autoanki/plugin-source-markdown @autoanki/plugin-content-markdown @autoanki/plugin-content-local-media-extractor

Write a configuration file named autoanki.config.js.
An example configuration to write in autoanki.config.js could be:
module.exports = {
  noteInputsConfig: [
    {
      // common configuration for all files
      inputs: ['*'],
      '@autoanki/sync': {
        manualActionDefaultChoices: {
          // for any existing Autoanki note, if it is found only in the source,
          // then by default re-add it to Anki.
          SyncActionHandleNotesOnlyInSource: 'ADD_TO_ANKI',
        },
      },
    },
    {
      // for files that end with `.md`,
      // * Extract notes using @autoanki/plugin-source-markdown
      // * Then run the extracted notes through the transformation plugins, in the specified order
      inputs: ['*.md'],
      '@autoanki/core': {
        defaultDeck: `TestDeck`,
        pipeline: {
          source: '@autoanki/plugin-source-markdown',
          transformers: [
            /**
             * Convert markdown to HTML.
             * Also handle:
             *
             * * Highlight using highlight.js
             * * Math using KaTeX
             */
            '@autoanki/plugin-content-markdown',
            /**
             * Extract local media referenced in the source
             */
            '@autoanki/plugin-content-local-media-extractor',
          ],
        },
      },
    },
  ],
};

Then run @autoanki/cli inside the directory where autoanki.config.js resides (or a subdirectory).
# Extract, transform the Autoanki notes from the given <input files> and then sync them to the current running Anki instance, via Anki-connect.
$ autoanki sync <input files>
# E.g.
# autoanki sync a.md b.md c.md
# autoanki sync **/*.md (may not work depending on what kind of glob your shell supports)

# Extract, transform the Autoanki notes and print them as JSON
$ autoanki print <input files>

For now the only Autoanki note syntax that @autoanki/plugin-source-markdown recognizes is the following:
```autoanki
note_type: <Note type>
fields:
  # Fields based on the note type
  # All the fields of the given note type must be specified and empty strings are not allowed.
```

Basically each autoanki block contains Autoanki notes defined using YAML, where each note in YAML must have the note_type property and the fields property appropriately specified.
An example markdown file could be:
# Hello world

This is a note

```autoanki
note_type: Basic
fields:
  Front: Hello
  Back: World
```

Another note

```autoanki
note_type: Cloze
fields:
  Text: Hello {{c1::World}}
  Extra: do not leave empty
```

Thanks! And thanks for the warning. I can probably handle rough edges, and could send a PR if I find any big issues. I mostly want to avoid writing the entire same thing myself :-)
Does cli support converting existing Anki notes to markdown yet?

Does cli support converting existing Anki notes to markdown yet?

No, it doesn't support this feature and I didn't plan to support this. I designed autoanki with the goal of creating Anki notes from source text files (mainly markdown) and then keeping the source text files and the Anki note in sync. While currently it does support bidirectional sync to some degree, which means that if a note is changed inside Anki the change is reflected in the source markdown, the anki note must still be present in the note sources (i.e. the markdown files) for this to work.
Basically how it works now is that when you invoke the cli with autoanki sync <some input files>, it parses all the given input files and extracts Anki notes. All the Anki notes created by autoanki are tagged with the autoanki tag. When performing the sync, we just try to match the parsed Anki notes with the Anki notes inside the Anki profile that are tagged with autoanki. The matching is done using an uuid unique for each Anki note.
So, e.g. if you run first autoanki sync a.md and then autoanki sync b.md, in the second run the Anki notes created using the first run won't be considered at all, since they don't match the Anki notes that have been parsed from b.md
What I want to say is that "source files" and "Anki profile" are not two ends that are treated equally by the syncing algorithm. The "Anki profile" is more of a second-class citizen.
Having said that, I would be interested to hear your use-case.

My use case is the same as you, I think, except I've been using Anki for years. I would like to do one dump from Anki to Markdown, and then continuing syncing as you describe.

I've also used Anki intermittently but was always bothered by the tedious process of card creation and correction. So I just dropped all the thousands of cards I've created previously (which I haven't reviewed for a long time anyway...).
For now, if you really want to try autoanki, I would suggest just leaving your previous Anki cards in Anki, since autoanki won't touch any note that is not tagged with autoanki. You can still benefit from the features of autoanki for new cards that you want to create.
Obviously, backup properly your Anki notes and when first trying autoanki I suggest to create a test profile!


Creating environment variable panel

we need to polish the UI for objects of type {'string': 'string', 'string2':'string2', ...}
currently, we can only display the predefined variables.

This is fixed in master.

This works has been done in https://github.com/Quansight/ksmm/pull/54


Testkit edits global git config

It would be better to keep things self-contained with a local .gitconfig if possible.
https://github.com/genesis-community/testkit/blob/master/testing/genesis.go#L67-L71

These settings should only end up in the temp work dir which is set via HOME https://github.com/genesis-community/testkit/blob/master/testing/genesis.go#L319


Safari 11 "prevent cross-site tracking" breaking google sign-in for websites

It would appear that this Safari 11 "feature" is preventing this library from determining user identity when they return to my site. Before, gapi.auth2.init would return true for googleUser.currentUser.get().isSignedIn() (assuming the user is signed in and has already accepted the auth flow). Now, no signed-in user is returned, and worse, when going through 'signIn()', no values are returned.
Cross posted to stack overflow here

Hi @duncanmcdowell, thanks for reporting this issue. I have a couple more questions as I can't reproduce it myself on my setup (I cannot upgrade to High Sierra right now).
Does this issue happen if you:

Open the page, sign in the user
Close the page.
In the same browser, open the page again

? Or do you need some time (>24hrs) between 2. and 3.?
Is there any console logs (errors)? when doing 1. or 3.?

@TMSCH my apologies for not getting back to this sooner as I was away.
For the steps 1 thru 3, yes that will replicate the issue. As far as I can tell it is not necessary to wait any extended duration of time.
There are no console errors.
I can replicate the same issue when trying to write a review for a business from Google search results. A modal asks me to sign in to google to continue. After doing so, I see the same behaviour as I am experiencing in my own application: the authentication process begins by launching a small window/modal, and then silently fails. As expected, if I turn off the Safari option to "prevent cross-site tracking", I am able to sign in and write a review.

Thanks for the further details @duncanmcdowell. We are investigating the behavior as to decide on the best course of action.

I want to add this, as I have issue after I upgrade to iOS 11 and High Sierra.
I use gapi.signin2.render, when the browser only have 1 account to login, the onfailure is fired instead onsuccess. After the 'success' login (without the onsuccess being fired), clicking the Login button will open the login window again but then automatically close with onfailure being fired again.
I could make turn-around for my self, as I login to gmail, then add another account. So at least 2 Google Account login on the browser (mobile safari and desktop safari). Then the problem are all gone.

Thanks @peprasetya for the report. Intelligent Tracking Prevention doesn't play nicely at all with Single Sign-On services (see here) and we're trying to find the best solution.

Any updates on this? I’m looking to roll out an app soon that relies on using google auth. I’d prefer not to ask Safari users to switch browsers

is there a plan to leverage https://webkit.org/blog/8124/introducing-storage-access-api/ in google sign in?

I don't know if it is the case.
ITP blocks 307 redirections from getting correct cookies, but meta refresh is still capable to access to the cookies. This could be a workround and it works well in our application, although we are using an oauth-like system not google sign in.

@CicholGricenchos how are you using meta refresh in a client OAuth like setup?
@razor-1 it's a good idea we'll investigate.

@TMSCH
We have two websites: S a central site and A a sub site. The first time when a user visits A, it needs to follow an A(entered url) -> S(generate_auth_code) -> A(consume_auth_code) -> A(entered url) redirection to get a session token from S's cookies. If we use 307 for redirections(for each ->), the A -> S cannot access to S's cookies and S -> A cannot access to A's cookies either.
Then we use meta refresh to replace the 307 redirections. The server returns a 200 and a html with a meta refresh tag containing a redirection url, which takes effect in 0.00001 second. This works just fine.
There are still differences between our case and another's. For example, our website doesn't return 200 in the first place, which may trigger the 24 hrs rule of ITP since it may not consider 307 a user interaction. So it's still important to find out which step caused the problem in this thread exactly.

with cookiepolicy: 'none', all works
auth2 = window.gapi.auth2.init({
    client_id: 'xxx',
    cookiepolicy: 'none',
  });

I don't know what exactly doing this, but it works

@TMSCH Hi. We can see this same issue at Qalaxia.
I am using Safari 11.0.2 on MacOS High Sierra 10.13.2.
This can be replicated by enabling Safari's "Prevent cross-site tracking" feature and accessing the website 24 hours after the user has logged out. Attempting to login after using attachClickHandler() or signIn() opens up an empty pop-up window which immediately closes. The success and failure callbacks are never called.

If Google Auth is only used in your context to authenticate users (and you're not using it to authorize users) you could use cookies on your own domain to track the user's session state.

What does this mean? In my case, the user is not logged in at all.

Is anyone still having this issue in Safari when "Prevent cross-site tracking" is enabled?  When I isSignedIn.get() it always returns false.

This issue still persists in some version of Safari.
We are using "https://www.google.com/maps/api/js/reviews?key="
and google.places.reviews.createPublishReviewFlow for writing Google review via Google review widget. On safari, even if I am logged in, it asks to log-in and after clicking on "sign-in", login modal open, disappears and fails silently. It again asks login and this goes in loop.
It's already login but Google review widget is unable to figure out based on cookie.
Any fix available?

Hi, I also have this problem.
Did you find any workaround ?

Hi, I also have this problem.
Did you find any workaround ?

@epitre
No solution found. For now we are redirecting our user to the url https://search.google.com/local/writereview?placeid=<PLACE_ID> to write a review in Safari.

I'm having this issue as well.
cookiepolicy didn't work for me unfortunately.

This problem is still here and also breaks for when trying to get the user to use the Google Drive picker.
Our auth2 configuration is as follows:
window.gapi.auth2.init({
    client_id:           CLIENT_ID,
    scope:               'https://www.googleapis.com/auth/drive.readonly',
    fetch_basic_profile: false,
    ux_mode:             'redirect',
    immediate:           true,
    redirect_uri:        REDIRECT_URI,
    cookiepolicy:        'none',
})

This works great on all other browsers but seems to be broken when in Safari. Any help/workaround/fix would be greatly appreciated since saying you can't use Safari doesn't boat well with most people 😄.

The problem is still here, I’ve tried to create a workaround by catching the error that the promise of signIn() throws.
The thing is it’s as if Safari doesn’t recognize the sign in and gapi.auth2..getAuthInstance().isSignedIn.listen(callback) always passes false to the callback...
This works fine on other browsers and on Safari in private mode, a fix wold be much appreciated!

I am experiencing the same problem with Safari.
In a recent attempt, I changed the ux_mode to "popup", and it worked. It is really bad that Google left this abandoned for two years. If I had access to the codebase, I would be glad to fix it.

I am still experiencing this problem. Pretty disappointing that it has been having this problem for so long

From my investigation, when redirected back to the website, the client script reads the data from the URL and sends it to a hidden iframe for validation. As cookies are not allowed on that iframe, the iframe is unable to verify the information. Thus, the user is not authenticated.

We're seeing big issues with this also :(
Sign-in doesn't work on our site at all using Chrome unless you try in an incognito window.
This is especially impacting us as the use case for our web-app is as an accompaniment to our Google Chrome Extension.
Is there no quick-fix for this we can set that will solve this for our users trying to sign in?

@wmaca Unfortunately that still gives me the same problems on the latest ios safari

If you have "access_token" for example after using another Google Sign in method you can use Google API CORS to access Google API authenticated requests
function asyncXhr(method, url) {
  return new Promise(function(resolve, reject) {
    const xhr = new XMLHttpRequest();

    xhr.open(method, url);

    xhr.onload = function() {
      if (this.status >= 200 && this.status < 300) {
        resolve(JSON.parse(xhr.response));
      } else {
        reject(JSON.parse(xhr.response));
      }
    };

    xhr.onerror = function() {
      reject(JSON.parse(xhr.response));
    };

    xhr.send();
  });
}

await asyncXhr(
  'GET',
  `https://www.googleapis.com/gmail/v1/users/${email}/threads/${threadId}?access_token=${encodeURIComponent(accessToken)}`
);

See my comment here. May help in your case

This issue still persists in some version of Safari.
We are using "https://www.google.com/maps/api/js/reviews?key="
and google.places.reviews.createPublishReviewFlow for writing Google review via Google review widget. On safari, even if I am logged in, it asks to log-in and after clicking on "sign-in", login modal open, disappears and fails silently. It again asks login and this goes in loop.
It's already login but Google review widget is unable to figure out based on cookie.
Any fix available?

Could you please share the sample code for this (google.places.reviews.createPublishReviewFlow for writing Google review via Google review widget)

@TMSCH Are you going to add support of Local Storage instead of relaying on Cookies in your library to avoid this problem?

Hi @es-repo, I am no longer working at Google and am not maintaining this repository anymore. Hopefully a current maintainer will be able to answer your questions!

The popup workaround doesn't solve the issue on the latest versions of Safari, unfortunately. I'm also stuck on this.

@matheusbaumgart Yep, seems Google doesn't care about this library at all. I had to switch to oidc-client-js library instead. It works pretty well.


pyright does not respect pyproject.toml defined extraPaths

As mentioned in #10. Opening a new ticket here to keep track of this issue.
Context
For some specific use case where extraPaths is defined in the pyproject.toml (example below). After activating VenvSelect venv, pyright no longer respect the extra paths defined.
pyproject.toml
...

[tool.pyright]
executionenvironments = [
  { root = "", extrapaths = ["layer/"]},
  { root = "my_serverless_app/lambda_functions/", extrapaths = ["layer/"]},
]

...

Investigation
Even when extraPaths is declared in the lspconfig as such.
lspconfig.lua
return function(opts)
  opts.settings = {
    python = {
      analysis = {
        ...
        -- both relative and absolute path doesn't work
        extraPaths = { "layer/", "<absolute>/<path>/layer/" },
      },
    },
  }
  return opts
end

However, when extraPaths is added into venv.lua
venv.lua
-- Hook into lspconfig so we can set the python to use.
M.set_pythonpath = function(python_path)
	lspconfig.pyright.setup({
		before_init = function(_, c)
			c.settings.python.pythonPath = python_path
			c.settings.python.analysis.extraPaths = { "<absolute>/<path>/layer/" }
		end,
	})
end

Also, before activating VenvSelect pyright knows my extra paths but is not aware of the venv paths. Which was reflected with errors to the externally imported packages. As soon as venv is activated, the import errors switched from showing errors to my internal packages and nothing for the external packages.
To Replicate
This particular use case is mainly for building a AWS serverless application where Lambda Functions and Layer live in a separate runtime environment but stay in a single repository.
Of cause there might be other use cases which I am not aware of.
Directory structure looks similar to this.
directory tree
my_serverless_app/
    layer/
        utils.py
        requirements.txt
    lambda_functions/
        function_one/
            main.py
            requirements.txt
pyproject.toml
.git

In normal circumstances main.py in function_one/ folder should import utils.py as such
my_serverless_app/lambda_functions/function_one/main.py
from my_serverless_app.layer import utils

But this will break on AWS Lambda runtime environment because the root directory is not being included into the runtime. So we can only import as such
my_serverless_app/lambda_functions/function_one/main.py
import utils

That means, we need to declare extraPaths in pyproject.toml for pyright to know that we are directly importing from a particular folder.

I don't know if there is a better way, but I am thinking if we parse pyproject.toml for the extra paths and append it into venv.lua that would work. however, I feel it's kind of hackish.

Yeah I agree. This week I'm starting a new job so won't have much free time, but if you have time and energy, please think about a good solution to this. I really like that you have some ideas already and maybe the hackish solution can be OK if we don't find another one for now....
See what you can come up with (if you have time of course).

Now that my PR #12 to resolve this issue have been merged into main. This issue is being resolved. Closing this for now!


VectorStoreRetriever can't correctly handle keyword parameters from invoke()

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
from typing import TYPE_CHECKING
from uuid import uuid4

from dotenv import load_dotenv
from langchain_chroma import Chroma
from langchain_core.documents import Document
from langchain_openai import OpenAIEmbeddings

if TYPE_CHECKING:
    from langchain_core.vectorstores.base import VectorStoreRetriever

load_dotenv()

def init_db(vs: Chroma) -> None:
    document_1 = Document(
        page_content="I had chocalate chip pancakes and scrambled eggs for breakfast this morning.",
        metadata={"source": "tweet"},
        id=1,
    )

    document_2 = Document(
        page_content="The weather forecast for tomorrow is cloudy and overcast, with a high of 62 degrees.",
        metadata={"source": "news"},
        id=2,
    )

    documents = [document_1, document_2]
    uuids = [str(uuid4()) for _ in range(len(documents))]

    vs.add_documents(documents=documents, ids=uuids)

def main(*, first_run_init_db: bool = False) -> None:
    vector_store = Chroma(
        collection_name="example_collection",
        embedding_function=OpenAIEmbeddings(model="text-embedding-3-small"),
        persist_directory="./chroma_langchain_db",
    )
    if first_run_init_db:
        init_db(vector_store)

    retriever: VectorStoreRetriever = vector_store.as_retriever(
        search_type="mmr", search_kwargs={"k": 1, "fetch_k": 2}
    )
    print(
        retriever.invoke("Stealing from the bank is a crime", filter={"source": "news"})
    )
    # output:
    # [Document(metadata={'source': 'tweet'}, page_content='I had chocalate chip pancakes and scrambled eggs for breakfast this morning.')]
    # The filter didn't perform as expected.

if __name__ == "__main__":
    main(first_run_init_db=True)

Error Message and Stack Trace (if applicable)
stdout:
[Document(metadata={'source': 'tweet'}, page_content='I had chocalate chip pancakes and scrambled eggs for breakfast this morning.')

Description
This code example uses the Chroma documentation and retains only two documents from the example.
Surprisingly, filter={"source": "news"} did not work as expected, and I received results outside of that filter.
I readed the source code and found that the docstring in the invoke indeed allows such behavior.(parameters can be passed to the retriever from the invoke) ⬇

The function indeed passes **kwargs to _get_relevant_documents.
However, the _get_relevant_documents function doesn't accept kwargs parameters. ⬇

The actual implementation of _get_relevant_documents in the VectorStoreRetriever doesn't accept **kwargs, which ultimately leads to the unexpected results.
System Info
langchain==0.2.14
langchain-core==0.2.33
platform==windows
python-version==3.12.5

I faced the same issue even in Lanchain_core==0.3.13 Langchain==0.3.4 and for this issue was open.
When I traced back the commit ID = cbebdae It was still in future branch fix/#25528 not merged with the master.
Is this merging is missed or still Work in progress?

#25934
Before version 0.3.0, there was also a PR addressing this issue.
However, that PR has not yet been merged and may no longer be applicable to version 0.3.0.

@gbaian10
In Version 0.3.0 the kwargs params are not considered for retrieval. If I am using filter in invoke method it is not getting the correct results.


ARC: MWDT: use MetaWare C library instead of MetaWare Compactlib

-Hcl option instructs linker to use MetaWare C Compactlib. According to MWDT documentation "Compactlib is not thread-safe", so it shouldn't be used with Zephyr.
Let's use MetaWare C library instead which is thread-safe.

Are there any side effects from dropping -Hcl? CompactLib disables other options, e.g. noxcheck, hostlib, and several crt options. I guess the crt ones are covered by -Hnocrt, but did you check the resulting files for inclusion of other MetaWare runtime files that wouldn't be required?

Are there any side effects from dropping -Hcl? CompactLib disables other options, e.g. noxcheck, hostlib, and several crt options.

crt options are covered by -Hnocrt
xcheck options are covered by Hnoxcheck_obj
About the hostlib the MWDT documentation says:

Compactlib uses the hostlink library to provide system functions in the same way as the standard
library.

So, removing -Hcl shouldn't change anything here.
PS: I've checked the resulting .map file - there is no hostlink symbols in it. However they may appear if we use some library call (like fopen()) and don't provide corresponding primitive (like _open()). I guess it worth to add -Hhostlib=  option to avoid that.
I can do it in a separate PR.

@nashif this change is related only to ARC and it has been approved by ARC side - I guess we can safely merge it now.


[GLUTEN-1950][CH]support asof join fallback for clickhouse backend

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #1950)

please add some case

Must wait until CH backend supporting ASOF JOIN, which is doing by @shuai-xu .


Can I make new WaveFile(...) from browser?

Hello!
I have only a link to file on remote server. How can I make WaveFile from browser?
var WaveFile = new WaveFile('./trueWav.wav');
console.log(wav.chunkSize);

returns Uncaught Error: Not a supported format.
How can I make a buffer from it in browser?
Thank you :)

WaveFile currently do not have any method for reading remote files. You should somehow download the file and then use WaveFile to read it.
Thanks!
Rafael


word-search: update description example to match most common impl

See #591 for context.

Good work @stkent! :tada:


User Settings do not appear to be functional

Product and Version [VS/VSCode]: 1.20.1
OS Version [macOS/Windows]: W10 1607
Live Share Extension Version: 0.2.133
Target Platform or Language [e.g. Node.js]: PowerShell
Issue
User Settings do not appear to be functional.
Maybe I am misusing the fields, but I would think that filling these two would allow vsCode to automatically sign me in using the GitHub (accountProvider) account tied with<EMAIL_ADDRESS>(account).  Is this valid?
"liveshare.account"<EMAIL_ADDRESS>"liveshare.accountProvider": "github"

I use Settings Sync, so theoretically this would sign me into all of my other workstations after I download the latest settings.

The confusion is understandable; I think we need to improve the documentation related to those settings.
When you manually sign in successfully, Live Share caches an authentication token in local secure storage. Then on the next startup, it attempts to sign in automatically using a cached auth token, if a token is found and is not expired. Since the cached token is stored in local secure storage, it does not get synced with settings. Therefore you will need to sign in manually at least once on each different computer.
The purpose of those settings is to support automatic sign-in with different accounts on different projects. For example, you may want to sign in with a work email address for one project and a personal email address for another project. In that scenario, you could add liveshare.account and liveshare.accountProvider settings to the workspace settings of each project to enable them to each automatically sign in with the appropriate account. If you do add those as workspace settings for some projects, you may also want to specify default values in the user settings, to indicate which of potentially multiple cached auth tokens should be selected for automatic sign-in for a project with no workspace settings.

That makes sense!  I do agree that the documentation could be improved.
Are there any plans to support an auth token in settings, or is that terrible idea? (No offense taken if it is an you tell me.)  Other plugins like shareCode and settingsSync support this method - which makes it very convenient, but not necessarily the best method.

It's better for security to avoid storing the auth token directly in settings. Settings files may be accidentally checked in to source control (if .gitignore is not set properly) or may be visible via screen-sharing or even Live Share co-editing. Then anyone else could use the auth token to impersonate you via Live Share. While we haven't yet implemented any authorization based on the user identity (currently anyone with the link can access a shared session), we will eventually enable the host to limit access to specific users/teams. So an impersonated identity in that case could be a big problem.

Understood!  Thank you for your explanation!


read-only variable: ZVM_NAME

What does this mean?
~/.zsh-vi-mode/zsh-vi-mode.zsh:100: read-only variable: ZVM_NAME

How can I avoid this message upon shell startup?

Hi @mskar
Could you provide the instructions about how you loaded this plugin?
Thanks and regards

I cloned and sourced the plugin:
git clone https://github.com/jeffreytse/zsh-vi-mode.git $HOME/.zsh-vi-mode
source $HOME/.zsh-vi-mode/zsh-vi-mode.plugin.zsh

I think I will have to use the process of elimination to see which line(s) in my .zshrc is/are causing the problem.

Hi @mskar
👍 You are right, to use the process of elimination to see the promblem. Any progress, please share to here, in case of it could help other people.
Thanks and regards

Could it be an OS-specific issue?
@GerardKetuma, do you also use MacOS?
What if we remove the -r option from line 105?
typeset -g ZVM_NAME='zsh-vi-mode'
https://opensource.apple.com/source/zsh/zsh-65/zsh/Doc/help/typeset.auto.html
If that doesn't work, maybe we can use export instead of typeset to set ZVM_NAME?

@mskar Yes, I'm using Mac OSX.
Tried removing the -r option but still got the same error.

Hi, @GerardKetuma @mskar
Many thanks for you guys reporting this issue and I'm so sorry for the inconvenient. Could you provide more details for me to dig this problem? Currently I have no way to reproduce it.
Thanks and regards

Hi @GerardKetuma @mskar
The commit (cd50109) has added a new feature to avoid sourcing this plugin multiple times. Welcome to update to this plugin and give some feedback.
Thanks and regards

@jeffreytse, I think this change fixed the issue. I will close the issue now.
@GerardKetuma, if you still get the message, please let me know and I can reopen this issue.


RuntimeError: maximum recursion depth exceeded

For all examples I get this error. I tried to increase recursion depth did not work.

Make sure you are using Python 2.7

Fixed it. I have sent a pull request with the required fix for this

I use Python 2.7.9.

Hi,
This issue is fixed in commit 493b855f55b18562fe991666eafec37d3116a27c

Please run
git pull

that commit fixed thanks!


Connection closed

Hello sir !
First I want to thank you for this :)
Give me your DOGEBEAR address from FTX I will sent you some.
My issue after while (few hours):
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line 827, in transfer_data
message = await self.read_message()
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line 895, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line 971, in read_data_frame
frame = await self.read_frame(max_size)
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line 1047, in read_frame
frame = await Frame.read(
File "/usr/local/lib/python3.8/dist-packages/websockets/framing.py", line 105, in read
data = await reader(2)
File "/usr/lib/python3.8/asyncio/streams.py", line 721, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "Simple_FTX_MM.py", line 281, in
loop.run_until_complete(ws_fills(json.dumps(msg)))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "Simple_FTX_MM.py", line 58, in ws_fills
message = json.loads(await websocket.recv())
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line 509, in recv
await self.ensure_open()
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line 803, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
I found this similar behavior I don't know if this can be implemented in your code or if are my side (tried on two different locations EC2 and vps)
https://stackoverflow.com/questions/54101923/1006-connection-closed-abnormally-error-with-python-3-7-websockets
Cheers

My FTX DOGEBEAR address:
0x33EE85787Ff6a443cbEA2CBAB4E8E26CcDf69A7b
I think the best solution for this connection drop is to auto reconnect.
The best way to do this is run your script as a subprocess in a separate
script. For example if your current script is called Simple_FTX_MM.py then
you can run another script to manage it like,
from subprocess import run
from time import sleep
Path and name to the script you are trying to start
file_path = "Simple_FTX_MM.py"
restart_timer = 8
def start_script():
try:
# Make sure 'python' command is available
run("python "+file_path, check=True)
except:
# Script crashed, lets restart it!
handle_crash()
def handle_crash():
sleep(restart_timer)  # Restarts the script after 2 seconds
start_script()
start_script()
On Tue, 16 Mar 2021 at 11:39, xispita @.***> wrote:

Hello sir !
First I want to thank you from this :)
Give me your DOGEBEAR address from FTX I will sent you some.
My issue after while (few hours):
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line
827, in transfer_data
message = await self.read_message()
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line
895, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line
971, in read_data_frame
frame = await self.read_frame(max_size)
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line
1047, in read_frame
frame = await Frame.read(
File "/usr/local/lib/python3.8/dist-packages/websockets/framing.py", line
105, in read
data = await reader(2)
File "/usr/lib/python3.8/asyncio/streams.py", line 721, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2
expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "Simple_FTX_MM.py", line 281, in
loop.run_until_complete(ws_fills(json.dumps(msg)))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
run_until_complete
return future.result()
File "Simple_FTX_MM.py", line 58, in ws_fills
message = json.loads(await websocket.recv())
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line
509, in recv
await self.ensure_open()
File "/usr/local/lib/python3.8/dist-packages/websockets/protocol.py", line
803, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1006 (connection
closed abnormally [internal]), no reason
I found this similar behavior I don't know if this can be implemented in
your code or if are my side (tried on two different locations EC2 and vps)
https://stackoverflow.com/questions/54101923/1006-connection-closed-abnormally-error-with-python-3-7-websockets
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sandybradley/FTX_Market_Maker/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5RJYUIO3MBXSCJCYUZF7TTD4RNZANCNFSM4ZIF7CTQ
.

Hello finally got you some DOGEBEAR transferred, was my first withdrawal please confirm/verify if have received in your wallet.
About the suggestion I tried without success, always got path not found when terminate the script, there is no way in the same script Simple_FTX_MM.py be in a loop when the error occur ?
Attemp to run inside the suggested script called keep.py the script is in the same directory I have tried with just the script name Simple_FTX_MM.py and with the full path, searched about it and all the examples was just about shell commands not another python script inside, so I don't know what to do next.
python3 keep.py
CTraceback (most recent call last):
File "keep.py", line 18, in start_script
run("python3 "+file_path, check=True)
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python3 Simple_FTX_MM.py'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "keep.py", line 31, in
start_script()
File "keep.py", line 23, in start_script
handle_crash()
File "keep.py", line 27, in handle_crash
sleep(restart_timer)  # Restarts the script after 2 seconds
KeyboardInterrupt

Received your DOGEBEAR. Thank you.
Looks like it should run if your files are in the same folder. I would
double check the file name is correct and your dependencies are up to date.
eg
pip3 install subprocess
Are you running on Windows / Linux / Mac ?
On Tue, 16 Mar 2021 at 15:27, xispita @.***> wrote:

Hello finally got you some DOGEBEAR transferred, was my first withdrawal
please confirm/verify if have received in your wallet.
About the suggestion I tried without success, always got path not found
when terminate the script, there is no way in the same script
Simple_FTX_MM.py be in a loop when the error occur ?
Attemp to run inside the suggested script called keep.py the script is in
the same directory I have tried with just the script name Simple_FTX_MM.py
and with the full path, searched about it and all the examples was just
about shell commands not another python script inside, so I don't know what
to do next.
python3 keep.py
CTraceback (most recent call last):
File "keep.py", line 18, in start_script
run("python3 "+file_path, check=True)
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python3
Simple_FTX_MM.py'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "keep.py", line 31, in
start_script()
File "keep.py", line 23, in start_script
handle_crash()
File "keep.py", line 27, in handle_crash
sleep(restart_timer) # Restarts the script after 2 seconds
KeyboardInterrupt
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sandybradley/FTX_Market_Maker/issues/1#issuecomment-800257051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5RJYUTLQBXKLL5REJYMU3TD5MF5ANCNFSM4ZIF7CTQ
.

I am running in the same folder, yes the dependencies shows OK because when not the script don't start and fail due lack of dependecies. I am running on Ubuntu Linux 20.04.
Even with the full path instead of just the script name doesn't have worked eg /full/path/to/Simple_FTX_MM.py shows not found too:
FileNotFoundError: [Errno 2] No such file or directory: 'python3 /full/path/to/Simple_FTX_MM.py'
But I just tried with another way around using for as example below:
#for i in {1..9999}; do date ; echo $i times ;  python3 Simple_FTX_MM.py; done
output:
Tue Mar 16 17:41:46 UTC 2021
1 times
Opening websocket. Waiting for order fills
{'type': 'subscribed', 'channel': 'fills'}

Looks like you got it working another way. That's fine if it's working for
you, otherwise try changing the following.
run("python3 "+file_path, check=True)
to
run(['python3',file_path])
On Tue, 16 Mar 2021 at 20:30, xispita @.***> wrote:

I am running in the same folder, yes the dependencies shows OK because
when not the script don't start and fail due lack of dependecies. I am
running on Ubuntu Linux 20.04.
Even with the full path instead of just the script name doesn't have
worked eg /full/path/to/Simple_FTX_MM.py shows not found too:
FileNotFoundError: [Errno 2] No such file or directory: 'python3
/full/path/to/Simple_FTX_MM.py'
But I just tried with another way around using for as example below:
#for i in {1..9999}; do date ; echo $i times ; python3 Simple_FTX_MM.py;
done
output:
Tue Mar 16 17:41:46 UTC 2021
1 times
Opening websocket. Waiting for order fills
{'type': 'subscribed', 'channel': 'fills'}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sandybradley/FTX_Market_Maker/issues/1#issuecomment-800505998,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5RJYVGUNOGEHZ4YPZH2ATTD6PTRANCNFSM4ZIF7CTQ
.

After the change to run(['python3',file_path]) worked just fine.
It's possible to integrate in the Market Maker script a Telegram notification when orders be filled ?
Thanks

I'm not sure how to integrate with Telegram. Maybe someone else can help?


Conflicts with IQKeyboardManagerSwift, iOS 11

Hero is creating issues with IQKeyboardManagerSwift, as the keyboard constraints were getting disturbed.
After removing hero from the Project, the project runs smoothly.
hoping this to be fixed shortly

Here you can find a sample project to reproduct problem with IQKeyboardManager and Hero https://github.com/hackiftekhar/IQKeyboardManager/issues/1020

have same issue - animation "jumps" of KB

Same problem with me
I have tried using textfield's inputAccessoryView, turn out the same issue.
Please help
thx

This is happening very often. The keyboard doesn't appear but if I touch where it should be, the keyboard input are responding. And if I press the button home & reopen the app, the keyboard is well displayed. The problem only appears when Hero is enabled

Calling myTextField.becomeFirstResponder() in viewDidAppear seems to be a workaround for me


From latest qemu-utils binaries (which was qemu-img version 7.2.2 D…

…ebian 1:7.2+dfsg-7) to pinned version qemu-img 5.2.0 (Debian 1:5.2+dfsg-11+deb11u2) from the Debian bullseye image.
Debian bullseye image is being used because the debian:stable image did not contain any other packages for qemu-utils.
Reference #127 @hellt

@RFC2516 what do you think about pinning qemu-kvm package as well?

@hellt I think it's a good idea. I'll try to update the commit soon.

Additionally, the container created with this new docker file was used to create vSRX images:
18.4R3.3
19.4R3.11
22.4R1.10
21.3R1.9


no way to assert OK outcome from a userDelete request in 1.8.x and 2.0.x

The userDeleteResponse used to have properties to check for a OK outcome:
Assert.isTrue(
        slackApiResponse.isOk(),
        String.format(
            "Error from slack API: %s %s",
            slackApiResponse.getError(), slackApiResponse.getWarning()));

    return slackApiResponse;

The updated api does not have any attributes to query for outcome. Does this mean it will be checked by the API (e.g. userDelete() will raise an exception if some problem?)

Sorry for the confusion. I'm ashamed to say that the previous implementation was totally wrong and that's the reason I decided to break backward compatibilities. Actually, the flag we had before doesn't work as you expect. The only reason we had it was that we just inherited the same interface with other APIs.
It depends on SCIM API's behavior but we have no ways to check if the deletion succeeded or not.  The API always returns 200 OK with empty body as of today.
https://github.com/seratch/jslack/commit/9b24fb9eb1759f1bbf5b8384bae52d06eac78038

Ok. Then this is just how it is.
Thanks!
Closing


Fix/story fn consistency

Issue: in a previous PR I changed the meaning of story on the context, this reverts that, deals with the consequences of that reversion and cleans up the api a bit.
What I did

CLEANUP naming of story, storyFn in client_api & story_store

MOVE getDecorated into storyStore
ADD getOriginal as the clear method for getting the undecorated storyFn
RENAME getStory to storyFn

CLEANUP naming of story, storyFn in apps
FIX storyshots after story changed to storyFn
RENAME component to element where applicable for consistency.
RENAME story to fn inside our decorators

Corrected as by your comments


Azure NextGen tutorials

Support Azure NextGen in tutorial generation
Add a landing page for Azure NextGen tutorials
Regenerate all tutorials

Part of https://github.com/pulumi/docs/issues/5185 (more to come when we have more examples)

Should we add a top-level item at /docs/tutorials for these as well?

@cnunciato Great points! I won't merge this until we are final on naming and positioning the two providers against each other.


RL-driven routing experiments

Hi, great work & thanks for releasing the code to your paper!
Was wondering if there is any plan to open-source the rl-driven routing experiments discussed
in section 4.4 of  the paper (or if I have missed it).

I found lots of overlap when training fullplace,so is the macro placement procedure legal?

Hi, great work & thanks for releasing the code to your paper!
Was wondering if there is any plan to open-source the rl-driven routing experiments discussed in section 4.4 of the paper (or if I have missed it).

I found lots of overlap when training fullplace,so is the macro placement procedure legal?

Thanks for your interest. We plan to open-source the routing part later this year.

about what  time? THX @Rogerity


Update to use latest_receipt_info instead of receipt

This requires many fewer changes than trying to adapt receipt to work
with the new version of apple receipts; just drop some fields

Coverage decreased (-4.3%) to 94.148% when pulling c25a8c15b3d1ba64a594801deab2720238d2d8f1 on alomoves:update-for-new-receipts into aa190df4ea43ecae61521f129cb4825ad54d2397 on jnbt:master.

I did not mean to make this PR here - this was meant to go to our fork.


Pool delete fails in lbaasv2 liberty when pool has members

Deleting a pool fails in lbaasv2 liberty when the pool still has members
[req-7bb30608-1423-4ed3-a6ca-409ce743b8c7 admin dc7b05045d1346bf9a70d70a461b7d8f] There was an error in the driver
Traceback (most recent call last):
  File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 471, in _call_driver_operation
    driver_method(context, db_entity)
  File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/a10networks/driver_v2.py", line 80, in delete
    self.driver.a10.pool.delete(context, pool)
  File "/usr/local/src/a10-neutron-lbaas/a10_neutron_lbaas/v2/handler_pool.py", line 68, in delete
    self.a10_driver.member._delete(c, context, member)
  File "/usr/local/src/a10-neutron-lbaas/a10_neutron_lbaas/v2/handler_member.py", line 95, in _delete
    self._pool_name(context, pool=member.pool),
  File "/usr/local/src/a10-neutron-lbaas/a10_neutron_lbaas/handler_base.py", line 39, in _pool_name
    pool = self.neutron.pool_get(context, pool_id)
  File "/usr/local/src/a10-neutron-lbaas/a10_neutron_lbaas/v2/neutron_ops.py", line 47, in pool_get
    return self.plugin.db.get_pool(context, pool_id)
  File "/opt/stack/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 479, in get_pool
    pool_db = self._get_resource(context, models.PoolV2, id)
  File "/opt/stack/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 70, in _get_resource
    raise loadbalancerv2.EntityNotFound(name=model.NAME, id=id)
EntityNotFound: pool None could not be found

Workaround: delete the members first

When the pool delete calls the member's delete the member's .pool isn't populated
    def delete(self, context, pool):
        with a10.A10DeleteContext(self, context, pool) as c:
            for member in pool.members:
                self.a10_driver.member._delete(c, context, member)

The member tries to get the _pool_name from the .pool, which isn't populated:
    def _delete(self, c, context, member):
        server_ip = self.neutron.member_get_ip(
            context, member, c.device_cfg['use_float'])
        server_name = self._meta_name(member, server_ip)

        try:
            if self.neutron.member_count(context, member) > 1:
                c.client.slb.service_group.member.delete(
                    self._pool_name(context, pool=member.pool),
                    server_name,
                    member.protocol_port)
            else:
                c.client.slb.server.delete(server_name)
        except acos_errors.NotFound:
            pass

_pool_name also accepts a pool_id and looks up the pool when the pool isn't specified.
There are two possible fixes. Set the .pool on each member in the pool handler:
    def delete(self, context, pool):
        with a10.A10DeleteContext(self, context, pool) as c:
            for member in pool.members:
                member.pool = pool
                self.a10_driver.member._delete(c, context, member)

Or pass the pool_id to _pool_name in the member handler delete:
                c.client.slb.service_group.member.delete(
                    self._pool_name(context, pool_id = member.pool_id, pool=member.pool),
                    server_name,
                    member.protocol_port)

Wait, if the member is still associated to the pool, why isn't pool populated?

Because the neutron lbaas data_models don't populate the backreferences.
In liberty:
    @classmethod
    def from_sqlalchemy_model(cls, sa_model, calling_class=None):
        ...
        for attr_name in vars(instance):
            ...
            # Handles M:1 or 1:1 relationships
            if isinstance(attr, model_base.BASEV2):
                if hasattr(instance, attr_name):
                    data_class = SA_MODEL_TO_DATA_MODEL_MAP[attr.__class__]
                    if calling_class != data_class and data_class:
                        setattr(instance, attr_name,
                                data_class.from_sqlalchemy_model(
                                    attr, calling_class=cls))

In master it keeps populating them until it's seen the same class twice, but doesn't reuse instances. Which means that pool.members[0].pool is not pool. Warning, the linked code will make you physcially ill.

Seriously, why doesn't the code in master reuse the existing instances and tie them together?
    @classmethod
    def from_sqlalchemy_model(cls, sa_model, translated=None):
        translated = translated or {}
        # Reuse already translated instances
        try:
            return translated[id(sa_model)]
        except KeyError as e:
            pass
        attr_mapping = vars(cls).get("attr_mapping")
        instance = cls()
        translated[id(sa_model)] = instance
        ...

See PR #316

Leaving this bug open until a fix gets merged into master.


Sync resource title with metadata title

The title for the resource that the user edits on resource landing page or though metadata extraction is stored as metadata title element. This is different than the mezzanine Page title attribute which is used in the  tag of the resource landing page. This code change is to set the Page title based on the metadata title to ensure both these titles have the same value.

Can one of the admins verify this patch?

This may also relate to #998.

+1


CLI instructions entry via a file?

Hello,
I have a working installation of H2OGPT on my university's cluster via the interactive CLI mode, meaning I can submit instructions to the model manually when prompted on the command line interface. I.e., I use the following code to accomplish this:
python generate.py --base_model=h2oai/h2ogpt-4096-llama2-7b-chat --cli=True --answer_with_sources=False
However, I'd now like to augment the command to input the instructions via a path to a prepared text file then receive the model's response also as a text file (to obviate the need for interactive input on the command line).
I used python generate.py --help to view the relevant flags hoping I could use --input_file or --output_file, but neither flag exists within the generate.py script. I also tried using the various --eval... flags (e.g., --eval_filename=test_prompts.json --eval_prompts_only_num=2 --eval_as_output=True) to no avail.
Could you please provide some guidance on using the generate.py script to run models from the CLI and submit instructions via prepared text files (receiving the response also as text)? Or is there a docs page / README somewhere that you could reference?
Thanks!

All of the CLI options can be controlled via ENV with prefix H2OGPT_ or h2ogpt_ and all caps or all lower, respectively.
See bottom of: https://github.com/h2oai/h2ogpt/blob/main/docs/FAQ.md#what-envs-can-i-pass-to-control-h2ogpt


Add master style and transforms to the ViewPort

The root scene should inherit both a style map and a transforms that have been set on the ViewPort via it's configuration record.
In this way, you can set something like a :scale transform on the ViewPort and all scene's it shows would be zoomed in or repositioned or whatever.
Same for supplying ViewPort specific defaults for the styles.

This is now in master. Needs documentation, but then again so do many other modules.


Using 5'/3' variants does not work

Describe the bug
Filter a case, e.g., hom. recessive. Enable 5'/3' variants.
To Reproduce
Steps to reproduce the behavior:

Setup filter with hom. recessive.
Use "More..." => Effects / Enable 5'/3' exonic.
Click Filter Variants button.
Nothing happens

Expected behavior
Variants should be properly filtered.
Screenshots

Closed with #1041


Don't coverage files under .tox/

Right now the python files under the .tox are showed as a coverage target.
It was not before.
Fix this.
https://travis-ci.org/junaruga/rpm-py-installer/jobs/365546420
---------- coverage: platform linux2, python 2.7.14-final-0 ----------
Name                                                                                Stmts   Miss  Cover
------------------------------------------------------------------------------------------------------------------------------
.tox/py27/lib/python2.7/distutils/__init__.py                                                                 74     38    49%
.tox/py27/lib/python2.7/site-packages/_pytest/_argcomplete.py                                                 35     34     3%
.tox/py27/lib/python2.7/site-packages/_pytest/_code/code.py                                                  583    552     5%
...
tests/test_integration.py                                                                                85     16    81%
tests/test_version.py                                                                                3      0   100%
------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                                51163  37289    27%

Current issue case:

https://travis-ci.org/junaruga/rpm-py-installer/jobs/365546420

pytest: 3.5.0
pytest-cov: 2.5.1
coverage: 4.5.1
Past good case
https://travis-ci.org/junaruga/rpm-py-installer/jobs/324064953
pytest: 3.3.1
pyteset-cov: 2.5.1
coverage: 4.4.2

This issue happens on coverage >= 4.5.

The PR is a temporary workflow.
When we will use latest coverage in the future, we can reopen this ticket, and check fundamental reason of the issue.


upd(joplin-desktop-app): 2.13.15 -> 2.14.17

@Elsie19 , I think those errors are still due to https://github.com/pacstall/pacstall/commit/1bd4a7f419cf00ad088a6aea56c66a706a9e1d3f and https://github.com/pacstall/pacstall/commit/2bc258e2ec983dd70a18f21a93c620fb12e50488, right? If so, please, review and merge. Thanks!

You are correct. This will be broken until we release 5.0.0 and update the pacscripts to confirm to this new behavior.


Particles using materials with Texture Filter Mode set to "N64" display incorrectly

While using the N64 Texture Filter Mode, if I set the material to not use alpha clipping, the texture appears with no alpha at all in the particle. However, if I enable alpha clipping (or change the material to use Transparent Surface Type), they look like a strange distorted line, or don't appear at all
Without N64 mode:

With the N64 mode:

Can you share with me a specific particle sim + material + texture that this happens for you on? I was not able to reproduce it with my own material + texture + particle sim (so probably missing something you are doing).

I verified N64 texture filter mode works correctly on particles on master e779c1c2af4a4a1fc2b98807063cc547ea49877d at the time of writing.


When using Enchanting Table with Yoyos in hand...

When using Enchanting Table with Yoyo in hand, will throw yoyo and cannot look up items' descriptions.

I'm not sure what you mean by "cannot look up items' descriptions."
Also, I can open enchanting tables just fine with a yoyo in my hand, what version of the mod are you using?

Yoyo not in hand, when cursor hovered, show description

Yoyo in hand, show nothing

Yoyo is thrown at the same time, but in fact I only want to use enchanting table. Also I tested FIshing Rod, sadly has the same problem. So its not a Issue caused by Yoyos.


React UI: Profile View: Inventory + For sale pagination

Fetch total inventory count from user profile, to set up page cache handling
Add next page / last page pagination if inventory count is greater than single page
Do we want page buttons?

Not relevant anymore.

Not relevant anymore.


new installation on Cloud 9

Hi there
i am student and learning ruby and want to test HUGINN
but i am unable to deploy it on cloud 9 server
(https://c9.io/)
can someone please make a small but detail tutorial on
how to install Huginn in Cloud 9
it will be very helpful for me
Solution
1- Create a cloud 9 ( c9.io ) rails workspace and enter the following command one by one:

git clone git://github.com/cantino/huginn.git
cd huginn/
cp .env.example .env
bundle
mysql-ctl start
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed

bundle exec rake db:seed <-- cannot download sample.
NOTE: The example 'SF Weather Agent' will not work until you edit it and put in a free API key from http://www.wunderground.com/weather/api/
See the Huginn Wiki for more Agent examples!  https://github.com/cantino/huginn/wiki

2- finally, you need to change the port number in the following config file:
.env
3- And kick the app by entering:
bundle exec foreman start

now we see the login page. Good to go

@cantino bro can you help me cause i didn't find any installation guide for cloud 9

Hi @isoftmaster,
I have never used Cloud9, but how it looks like the setup required is probably similar to the local installation.

@dsander thanks i did it


Create view to create applications

We need a view to create applications and also a way to select the application during the API sign-up process.
This is currently missing in the MVP.

This was added as the first step of the wizard.


Result difference on MMLU for falcon 7b

Hey, thank you for this wonderful repo, especially the evaluation script.
I run your MMLU evaluation script using  run_mmlu_open_source.py with Falcon 7b LLM, 5-shots. The result is the same as you reported in this repo with an average of 0.2641. I don't have an official LLaMA 7b model, so I run the evaluation on Openllama 7b and get an average of 0.2764.
However, the results are far away from what was reported on this leaderboard from Huggingface, where Falcon 7b can achieve 0.35 on MMLU. I wonder if is there any difference between the two evaluation implementations.
Thanks
Jiazhao

Hi,
The Open LLM Leaderboard numbers are a bit of problematic because they don't match the official LLaMA paper numbers on MMLU. This observation was found questionable by many researchers and practitioners, this is why we re-implemented our own LLaMA eval following the official MMLU prompt, see: https://twitter.com/Francis_YAO_/status/1666833311279517696
Later Hugging Face recognized this problem, and currently they are modifying their entire backend to correct the current leaderboard, see: https://twitter.com/natolambert/status/1667249342456160257?s=20
Also the problem why the current Open LLM Leaderboard has incorrect number is because they use Eleuther AI's LM evaluation harness, where there was a tokenized related bug for LLaMA, causing it to has smaller numbers, see: https://twitter.com/itanih0/status/1670120302691467264
and https://github.com/EleutherAI/lm-evaluation-harness/pull/531
We believe that Hugging Face will soon update their Open LLM Leaderboard numbers :)

Hey, thank you for this wonderful repo, especially the evaluation script.
I run your MMLU evaluation script using run_mmlu_open_source.py with Falcon 7b LLM, 5-shots. The result is the same as you reported in this repo with an average of 0.2641. I don't have an official LLaMA 7b model, so I run the evaluation on Openllama 7b and get an average of 0.2764.
However, the results are far away from what was reported on this leaderboard from Huggingface, where Falcon 7b can achieve 0.35 on MMLU. I wonder if is there any difference between the two evaluation implementations. Thanks
Jiazhao

I just rechecked your repo and found your explanation. I think the fairness of the evaluation of LLM is still unexplored well, especially considering the selection and design of prompts.

Hi,
The Open LLM Leaderboard numbers are a bit of problematic because they don't match the official LLaMA paper numbers on MMLU. This observation was found questionable by many researchers and practitioners, this is why we re-implemented our own LLaMA eval following the official MMLU prompt, see: https://twitter.com/Francis_YAO_/status/1666833311279517696
Later Hugging Face recognized this problem, and currently they are modifying their entire backend to correct the current leaderboard, see: https://twitter.com/natolambert/status/1667249342456160257?s=20
Also the problem why the current Open LLM Leaderboard has incorrect number is because they use Eleuther AI's LM evaluation harness, where there was a tokenized related bug for LLaMA, causing it to has smaller numbers, see: https://twitter.com/itanih0/status/1670120302691467264 and EleutherAI/lm-evaluation-harness#531
We believe that Hugging Face will soon update their Open LLM Leaderboard numbers :)

Thanks for the explanation, I will check your tweets for more information!

Our experience with MMLU is that it is a pretty stable and robust benchmark with regard to prompt selection -- different prompts may lead to different absolute numbers of different models, but their relative ranking is usually consistent under different prompt selections. It is less likely that one set of prompt will drastically increase / reduce the performance of a model such that one model may be suddenly worse than another. Hope this explains


Reduce default verbosity

Just playing around with aurutils. The first thing that comes to my mind is that IMO aurutils is too verbose by default:
$ aurchain pacaur
==> Querying AUR RPC...
==> Generating dependencies...
cower
pacaur

Could just reduced to:
$ aurchain pacaur
cower
pacaur

Maybe include some -v switch.

Yeah, I used this mainly to time things during development. Can be removed now (the nice PS4 prompt for bash -x should already be enough for debugging).

via  1c5be78599030b6fdf11f88101c1334bfb5f53db, ebd10853fff13b90c581df8002082e038c734d04, ca476b1f2fb95e679acfde63c30678773859f61d


Backup/Restore notes with encryption

I need of this feature.

I see, but backing up to the cloud is not something I'm considering at the moment

The notes are already saved locally

I would also like to know where the files are stored.
I looked under storage/emulated/0/Android on unrooted stock phone and couldn't find anything.
The ability to export a .json or .txt or .zip to local storage would be great.

It's a local DB stored on your device, you wouldn't be able to find it like that


Ingesting JSON data - dynamic type size limit not mentioned (nor BigObject/BigObject32)

I think it would be useful to mention on this page that the dynamic field type has a default limit of 1MB. Although this is stated on its own field type page, when ingesting large JSON objects it is not immediately clear why it fails (no error message, just empty data), and this may provide a more obvious link.
It also isn't mentioned that you can apply an encoding policy update to BigObject or BigObject32 type to handle larger ingestion (on either page).

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

ID: 68d5f8ab-85c7-19bf-d91a-e76e81c76d7b
Version Independent ID: 161a10d8-fc7f-97e8-b13e-0ddc7dd4f3c6
Content: Ingest JSON formatted data into Azure Data Explorer
Content Source: data-explorer/ingest-json-formats.md
Service: data-explorer
GitHub Login: @shsagir
Microsoft Alias: shsagir

@williamburns - Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can review and update  accordingly.

Hi @williamburns, thanks for your suggestion. We appreciate your contribution to docs.
At this point, we aren't going to add more information on dynamic fields, as this doc is referenced and outside the scope of the how-to.
#please-close


Simulator uPlatform

uPlatform simulator that shall be used to simulate the different types of uPlatforms for uPlatform development. The simulator shall run on a linux workstation and contain a UI that allows you to configure it to mock the various types of platforms. The platform simulation works by providing the different uTransport connections to the device (MQTT, SOME/IP, zenoh, etc...).
The simulator shall contain:

Mock uDiscovery service
Mock uServices (COVESA/uServices)
Test app
Functional uSubscription service
Plugable uStreamer (to be able to add new transports as they come about

#3 merged


Make driver install more resilient

Change this function to copy the downloaded binary to a temp file and
then move that file to the permanent location. This avoids problems
where you cannot override the binary because it is in use.

LGTM

https://github.com/rancher/rancher/issues/8379


Are you using the right word?

"price conscience baseline performance"
Conscience??
noun: conscience; plural noun: consciences
an inner feeling or voice viewed as acting as a guide to the rightness or wrongness of one's behavior.
"he had a guilty conscience about his desires"
Did you mean conscious?

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

ID: 9bb1d37c-6337-0906-42ff-b5dbc6afdc8b
Version Independent ID: 72a96e16-1d2d-4c01-45be-3caf82470592
Content: Azure Windows VM sizes - General purpose
Content Source: articles/virtual-machines/windows/sizes-general.md
Service: virtual-machines-windows
GitHub Login: @jonbeck7
Microsoft Alias: jonbeck

@preethc Thanks for the feedback! We are currently investigating and will update you shortly.

@preethc thanks for the feedback! I've gone ahead and made the change in the file for Jon. PR is: https://github.com/MicrosoftDocs/azure-docs-pr/pull/41229 #please-close. :)


Highlight the Open seeds paper on the website

Observed behaviour:
Currently, the open seeds program is described as being targeted at people interested in applying open principles in their work..." This boldly highlights a term but does not provide any further information for individuals seeking more context.
Fortunately, the Open seeds paper summarises these concepts. As such, the goal of this issue is to call for the paper to be made more prominent on the website.
Expected behaviour:

Create a new page (/about/open-science).
Explain the Open Principles.
Highlight the Open Seeds Paper.
Possibly, link to other useful resources (videos, articles, etc).

Thank you, @pazbc for pointing out something so critical! 🙏

@malvikasharan Here's the issue! Let me know if I have left out anything so far.
Happy to talk about it at the next team meeting!

I'm going to split this into two issues. This one should be just for adding "about open science" to the page. The paper is a dependency that still has a lot of work, so we've moved its tracking to another repo

@yochannah - Is there an existing doc with content I can build this "about open science" section from? I'm also happy to PR a definition based on my understanding and experience.
In any case, would 100-150 words be a desirable word limit?

Maybe the best would be to align with the definition we use in the Open Science introduction slides in Open Seeds

Good point. @NPDebs - https://docs.google.com/presentation/d/1eKRgozsGmJvjPELyP4KMgrgHchp7o58YowC5RkgLNd4/edit#slide=id.g21d0ef90081_0_0

+1 to @bebatut and we should use definitions as we are using in the open seeds paper draft to be consistent -- maybe more simplified with references we are primarily using. We also use UNESCO image which can be added.


feature-predict-games

feature-predict-games
NBA matches prediction including the following features:

Generation of predictions for a specific date
Return of predictions in dictionary format by means of an API endpoint
Specification of context data by prediction such as equipment name and date

Pull request status - Accepted


chore(deps): bump axios to 1.6.2

I hereby confirm that I followed the code guidelines found at engineering guidelines
Affected Components

[x] CLI
[x] Create CLI
[ ] Test
[ ] Docs
[ ] Examples
[ ] Other

Notes for the Reviewer
This bumps axios to 1.6.2 to resolve CVE-2023-45857

Thanks for the contribution @ellisio!


Implement alignment script

Implement an alignment script to walk the user through an alignment procedure. Initially I think this should do something similar to the NexStar Auto Two Star Alignment. The outputs will be estimates of parameters such as the encoder zero points and the tripod tilt. These outputs should be stored in a manner (possibly config files) that can be easily consumed by the other programs in this suite that will require them.

Won't implement because mount modeling and alignment are no longer planned for the track project.


Idea: Fork desmosinc/MathQuill and make a replacement to use our version instead of theirs

Any plugin that messes with MathQuill (Multiline, Intellisense, Custom MQ Config, Syntax Highlighting, Better Navigation, etc.) would immediately be able to expose whatever functionality they want from the source itself instead of having to reverse-engineer it. Plugins like Multiline could be made a lot more performant by directly editing the source.
Main downsides:

We'd have to keep this up to date/regularly pull from desmosinc/MathQuill.
Possible licensing issues since MPL 2.0 is copyleft.
If our fork breaks Desmos due to an update to their MathQuill, any plugin that relies on our fork is probably going to break as well. This adds one massive single point of failure for several plugins, and I'd rather not have that. Compare this to the hacky approach we have now, where plugins will break one-at-a-time.

Possible solutions to downsides:

Keeping it up to date: Might not be a big issue; MQ updates fairly infrequently.
MPL 2.0 doesn't matter since we can just license our fork under that and keep DesModder under MIT. Desmos itself is proprietary yet they can use the MPL, so we should be fine.
We could have a policy of plugins always implementing "fallback" options that only leverage vanilla MQ features. While this would fix the problem, it'd also be a headache to enforce and a pain to implement. I could see us having a few nice utility functions implemented both in the MQ fork's source and as a hacky reverse-engineered workaround (e.g. multiline vertical arrow nav).

Overall as of now the last bullet point is really the most compelling reason I feel like this probably isn't actually a good move. We've already done everything we've done without our own fork of MQ, so why do we need one now?

We could have a policy of plugins always implementing "fallback" options that only leverage vanilla MQ features. While this would fix the problem, it'd also be a headache to enforce and a pain to implement. I could see us having a few nice utility functions implemented both in the MQ fork's source and as a hacky reverse-engineered workaround (e.g. multiline vertical arrow nav).

"Implement everything twice, once the way we're already doing it and once an easier way". Why not just... only implement it the first way? If you're going to have to do it. Just seems a bit unnecessary.

Don't think this is a good idea because Desmos often fixes bugs or introduces features on their mathquill fork.

How often would this cause breakages to occur in practice? If it's anything more than once every few months I definitely agree it's not worth it at all.

Additionally, iirc MQ is directly bundled in so not entirely sure if that would even be possible.

While it might be directly bundled, it could very well be all accessed through one single, big entry point, a prime target for a replacement.

"Implement everything twice, once the way we're already doing it and once an easier way". Why not just... only implement it the first way? If you're going to have to do it. Just seems a bit unnecessary.

Yeah, that's why if anything it should only be a last resort akin to replacements for things that are potentially really laggy otherwise. And at that point I question whether it's even worth the effort.

I question whether it's even worth the effort

it is not

side suggestion, although doubt it would really work, there is also the option of contributing directly to desmos's fork? They might just not accept PR's though. Could be worth one try or asking?


chore: 🦆install harlequin

As suggested in #79, harlequin is handy enough, and ships with duckdb  out of box.
make setup will now install harlequin.
make sql will open harlequin pointed at  data/local.duckdb file.

Let's get harlequ.... in!
sorry


use grpc 1.4.2 instead

see https://github.com/grpc/grpc/issues/12109

FYI, there is no 1.4.2 ever released. You may want to use 1.4.1
https://pecl.php.net/package/gRPC


serial: migrate to lib.wiring components.

As a breaking change, divisor_bits must now be greater than or equal to bits_for(divisor).

Thanks for reviewing!


Save icon should be updated if autoSave is enabled

@gonpombo8  I think this one is already done and we can close it

This seems already solved


Implement list & delete entries

@kerelape 2 puzzles #49, #50 are still not solved.

@kerelape the puzzle #50 is still not solved; solved: #49.

@kerelape all 2 puzzles are solved here: #49, #50.