how to add custom route data?

Current Behavior
hello, im currently learning how to use create a custom navigation, in the doc it says we can add some custom route data in the navigation state. i tried putting { test: 'test'} in several places in my Custom navigation, but the logs only show me Index, routeName and key.
How can i put "test":"test" in route?
from MyCustomTabs.js
const NewsfeedStack = StackNavigator({
  Newsfeed: { screen: Newsfeed, },
  Explore: { screen: Explore, },
  Profile: { screen: Profile, },
  Map: { screen: Map, },
  Restaurant: { screen: Restaurant, },
  Dish: { screen: Dish, },
  Image: { screen: Image, },
})

const ExploreStack = StackNavigator({
  Explore: { screen: Explore, },
  Map: { screen: Map, },
  Search: { screen: Search, },
  Restaurant: { screen: Restaurant, },
  Dish: { screen: Dish, },
  Image: { screen: Image, },
  Profile: { screen: Profile, },
},{
  navigationOptions :{
    title :'dododo'
  }
})

const BookmarkStack = StackNavigator({
 Bookmark: { screen: Bookmark,},
  Trophy: { screen: Trophy, },
  Restaurant: { screen: Restaurant, },
  Dish: { screen: Dish, },
  Image: { screen: Image, },
  Explore: { screen: Explore, },
  Map: { screen: Map, },
  Profile: { screen: Profile, },
},{
  navigationOptions :{
    title :'dududu'
  }
})

const ProfileStack = StackNavigator({
  Profile: { screen: Profile, },
  Settings: { screen: Settings, },
  Restaurant: { screen: Restaurant, },
  Explore: { screen: Explore, },
  Map: { screen: Map, },
  Dish: { screen: Dish, },
  Image: { screen: Image, },
},{
  navigationOptions :{
    title :'dadada'
  }
})

const CustomTabBar = ({ navigation }) => {
  const { routes } = navigation.state;
  console.log(routes[0].routes);
  return (
    <View style={styles.tabContainer}>
      {routes.map(route => (
        <TouchableOpacity
          onPress={() => navigation.navigate(route.routeName, {data:'test'})}
          style={styles.tab}
          key={route.key}
          test={'test'}
        >
          <Text>{route.routeName}</Text>
        </TouchableOpacity>
      ))}
    </View>
  );
};

const CustomTabView = ({ router, navigation }) => {
  const { routes, index } = navigation.state;
  console.log(' custom tab view' + routes);
  const ActiveScreen = router.getComponentForState(navigation.state);
  return (
    <View style={styles.container}>
    <ScrollView>
      <ActiveScreen style={{flex:1}}
        navigation={addNavigationHelpers({
          ...navigation,
          state: routes[index],
        })}
      />
      </ScrollView>
     <CustomTabBar navigation={navigation} />
    </View>
  );
};

const CustomTabRouter = TabRouter(
{
  NewsfeedStack: { screen: NewsfeedStack, },
  ExploreStack: { screen: ExploreStack,  },
  BookmarkStack: { screen: BookmarkStack,  },
  ProfileStack: { screen: ProfileStack,  },
},{
  initialRouteName: 'NewsfeedStack',
  backBehavior :'initialRoute'
  test:'test'
})

const CustomTabs = createNavigationContainer(
  createNavigator(CustomTabRouter)(CustomTabView)
);

console.log(routes) shows me this
Array [
Object {
   "index": 0,
  "key": "NewsfeedStack",
"routeName": "NewsfeedStack",
"routes": Array [
  Object {
    "key": "Init-id-1501975093315-0",
    "routeName": "Newsfeed",
     },
  ],
},
   Object {
   "index": 0,
   "key": "ExploreStack",
   "routeName": "ExploreStack",
  "routes": Array [
  Object {
    "key": "Init-id-1501975093315-1",
    "routeName": "Explore",
  },
],
  },
   Object {
   "index": 0,
   "key": "BookmarkStack",
   "routeName": "BookmarkStack",
   "routes": Array [
     Object {
      "key": "Init-id-1501975093315-2",
      "routeName": "Bookmark",
    },
  ],
  },
    Object {
   "index": 0,
   "key": "ProfileStack",
   "routeName": "ProfileStack",
   "routes": Array [
     Object {
       "key": "Init-id-1501975093315-3",
      "routeName": "Profile",
    },
  ],
},
   ]

I'm curious as well…

You need to use navigationOptions in your route config. For example,
const NewsfeedStack = StackNavigator({
  Newsfeed: { screen: Newsfeed, },
  navigationOptions: { customData: 'customString', }
})

You can then retrieve the value using getScreenOptions

@kikoololmdrxdd @lxcid have either of you tried the potential solution that @alexkuc supplied?

Hi! In an effort to get the hundreds of issues on this repo under control I'm closing issues tagged as questions. Please don't take this personally - it's simply something we need to do to get the issues to a manageable point. If you still have a question I encourage you to re-read the docs, ask on StackOverflow, or ask on the #react-navigation Reactiflux channel. Thank you!


Update version to 1.2.77-4 on production

Update version to 1.2.77-4

Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers!


[Open for all] UI Design for Broadcast page of the website

Make UI for the broadcast of the website using any of the UI designing tool like figma

Hello, I'd like to help design the broadcast page. What kind of design would you like?

Hey @JLopezz3 I am attaching here the rough diagram of the design we are looking for. So basically along with header and footer there will be two sections. First section would be Recent Broadcasts that will contains 3-5 most recent broadcasts in form of slider cards and each card will be clickable which on click will display the complete braodcast message. Sceond section would be of Previous broadcasts which will also be a slider of card havng left and right arrow key for navigation and clickable cards.

If you need any further clearance or want to discuss about the design feel free to drop me a msg at our slack channel
Happy Coding :)

Okay I will get started on it. I will update you with the Figma when I'm done. Thank you

I have the rough-draft of the Broadcast page on my Figma.
FIGMA LINK HERE
Let me know what you think, or what I should change. Thanks

Hey @JLopezz3 , please add a folder with name broadcast page in here and readme.md file  under this file .There you can add the design link and also please attach the screenshot of the design in this folder and make a PR.

I think I need to be invited as a collaborator because I do not have push access.

I want to work on this issue. @Kajol-Kumari

sure @kanishkaa24 . Go ahead with this issue :)

@Kajol-Kumari Please review this and let me know the changes.

Hey @kanishkaa24 it's looking go to me 👍

Interested!

@Kajol-Kumari
I would like to contribute some designs to if possible

@Kajol-Kumari
I would like to contribute some designs to if possible

sure @SHITIZ-AGGARWAL Looking forward to your designs :)

@Kajol-Kumari
I would like to contribute some designs to if possible

sure @SHITIZ-AGGARWAL Looking forward to your designs :)

Hey There, This is my approach for webpage design. This is just an experimental UI following a retro-classic theme. Hope you'll like it.

Hey There, This is my approach for webpage design. This is just an experimental UI following a retro-classic theme. Hope you'll like it.

@yashsehgal the design looks clean, but maybe in place of learn more button, put 2-3 dummy lines

@yashsehgal the design looks clean, but maybe in place of learn more button, put 2-3 dummy lines

Okay, I will do that.

Okay, I will do that.

There you go, Here are the changes that I have made.

There you go, Here are the changes that I have made.

@Kajol-Kumari here are my designs
https://drive.google.com/drive/folders/1o659BFpFpOaMsvOsWjHqf0uA2fh5kbEP?usp=sharing
please tell if I can make a PR
Figma Link: https://www.figma.com/file/gbwpSEiR5FW2G6Zjc0BgE6/Untitled?node-id=0%3A1

@Kajol-Kumari here are my designs
https://drive.google.com/drive/folders/1o659BFpFpOaMsvOsWjHqf0uA2fh5kbEP?usp=sharing
please tell if I can make a PR
Figma Link: https://www.figma.com/file/gbwpSEiR5FW2G6Zjc0BgE6/Untitled?node-id=0%3A1

@yashsehgal @SHITIZ-AGGARWAL the design looks good to me :)

@yashsehgal @SHITIZ-AGGARWAL the design looks good to me :)

Shall I make a PR too?

Shall I make a PR too?


Gradle fails to resolve classes from local modules with the same name.

Two local modules with the same name, but different groups only resolve the classes from whichever dependency is declared first in the dependencies block.
Expected Behavior
Gradle should resolve classes from both local modules.
Current Behavior
Gradle only resolves the classes from which dependency is declared first.
Context
Running into this issue as part of upgrading this project to use 7.6: https://github.com/cashapp/redwood/pull/554
I'm not sure if this issue is specific to 7.6, but we ran into it as part of upgrading.
Seems potentially relate to https://github.com/gradle/gradle/issues/847, but the work-around to change the group didn't work for me.
Steps to Reproduce
Repro repo: https://github.com/colinrtwhite/gradle_same_module_name_bug

Run ./gradlew assemble.
Note that main fails to compile as the Test2 class is unresolved. Test1 is resolved.
Change the order of the dependencies so implementation project(':test2:widget') is first.
Note that main fails to compile as the Test1 class is unresolved. Test2 is resolved.

Your Environment
JDK 19
Gradle 7.6

The very same happens with Gradle 7.5, or 7.0. I adjusted the title according to that.

Thank you for your interest in Gradle!
This issue will be closed as a duplicate of

https://github.com/gradle/gradle/issues/847

Please add your 👍 to that issue.

Looking at this again, your reproducer uses the same group, so the same GAV coordinates, for both projects. If you can share a reproducer with proper coordinates we can consider reopening this.


Update Marketing Templates to reflect Design Library

HOLD FOR RELEASE
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @sendgrid-ryan,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Implement page layouts with documentation.

Closes #34.
This pull request introduces styles which apply to major page components, like:

The “An official website of the United States government” banner
The main logo and header, including primary and secondary navigation
Side navigation
Footer with GSA logo

The documentation page renders previews of these via zoomed out <iframe>s. I decided to skip embedding code samples based on my experience using the U.S. Web Design System’s page layouts (it’s a lot faster to just inspect the source to jump to the right section of the layout, since the code sample is so long).
Here’s what it all looks like — and feel free to click through to the Federalist preview:

Interesting, and nice catch! I’ll take a look (as per the Sketch, they should not reach the edges on internal items)!

Ahh I see the problem. The imported sidenav is using usa-nav-primary-item on the list items in the nav but it should be using usa-sidenav-item per the examples

Fixed the navigation helpers for the style guide to appropriately apply sidenav classes in e5afb48, and followed-up with 1058054 to fix the styles to apply to the sidenav correctly.
Additionally, rebased to master to fix merge conflicts.
Thanks for catching that! I believe we should be good to go — mind giving it a double-check? :heart:


deadline_exceeded

I saw message from debug.
<!--deadline_exceeded for filter CacheExtender--><!--deadline_exceeded--><!--deadline_exceeded--><!--deadline_exceeded-->
What does it mean?

Those are informational messages, and nothing to worry about. It means that some optimizations didn't make it in time for a page render. On the next render/page load it's probably going to be ready.

I see lots of time browse these pages. But still saw the same message at the same position.
It looks those js always cannot be optimized.
Is there anyway to improve it?

pagespeed RewriteDeadlinePerFlushMs 20;
It can extend rewrite timeout from default 10ms to 20ms.

pagespeed RewriteDeadlinePerFlushMs 20;
It can extend rewrite timeout from default 10ms to 20ms.

Sure but it does make browsers wait a little longer. But 20ms still seems reasonable to me!


source maps should use node_modules rather than ~

What is the current behavior?
sourcemap sources emitted by webpack have tilda character ~ which corresponds to node_modules
{
version: 3,
sources: [
"webpack:///webpack/bootstrap 6898e6484b977a8688ff",
"webpack:///(webpack)-dev-server/client",
"webpack:///(webpack)-dev-server/client?cd17",
"webpack:///./~/url/url.js",
"webpack:///./~/url/~/punycode/punycode.js",

should actually be
{
version: 3,
sources: [
"webpack:///webpack/bootstrap 6898e6484b977a8688ff",
"webpack:///(webpack)-dev-server/client",
"webpack:///(webpack)-dev-server/client?cd17",
"webpack:///./node_modules/url/url.js",
"webpack:///./node_modules/url/node_modules/punycode/punycode.js",

This breaks a whole bunch of tools such as chrome devtools and VSCode.
I believe the ~ notation is added to make output readable but it should not be outputted in sourcemaps since its not part of the sourcemap standard.
Happy to submit a PR if someone can guide me.

see https://github.com/webpack/webpack/pull/4144

so this is resolved on master then?

fixed on next branch


Move focus to first text field when creating a new item

If I want to create a new course, I first klick on "create" then into the text field to enter the name.
This clicking into the text field should be not necessary to gain focus

This is actually implemented already. Apple seems to dislike it though that websites auto-focus input fields, so it does not work on iPhone:

https://medium.com/@brunn/autofocus-in-ios-safari-458215514a5f
https://stackoverflow.com/questions/5771785/how-can-you-autofocus-on-a-form-field-in-iphone-safari


Provide more context around in-tree and out-of-tree cloud providers

Proposed changes
Provide more context around in-tree and out-of-tree cloud providers

Add helper text to help people find the out-of-tree providers for vsphere
Label each in-tree provider with (In-tree) label
Show a deprecated message for each in-tree option

Types of changes

New feature (non-breaking change which adds functionality)

Linked Issues
rancher/rancher#31162

Verified on 2.5-head, 03b8153
Test1

Selected custom (in-tree) provider and also noticed the in-tree deprecation warning and message.
provided the cloud provider config in cluster YMAL and
Created the cluster as in-tree

Test2

Selected "external" for creating an out-of-tree and noticed a warning which is not relevant. Instead we can say the requirement as "After creating an external cluster, install cpi and csi driver to make out-of-tree  ...... "
I am not sure about the exact wording but I listed the workflow below, we need to communicate that with the users.

The links for CPI and CSI driver are misleading during creating a cluster, these driver needs to be installed once the external cluster is created and ready. Also, there is some dependency between these drivers. CPI needs to installed first, after installation is complete, we need to check if all the nodes are marked with the vSphere provider information before we can start installing CSI driver.

The right workflow for the external (out-of-tree) are as follows

create a cluster by selecting external,

Once the cluster is up, install CPI driver

Chek all the nodes are marked with the vSphere provider information

kubectl describe nodes | grep "ProviderID"

Then install CSI driver

Reopening this bug, we need to remove the CPI and CSI driver link from the cluster creation page and change the warning message.


📝 Draft Project Idea: Cross-Chain Oracles

What is a Draft Project Idea?
A Draft Project Idea is a concept for a project within the Optimism ecosystem that is generally considered valuable but has not yet been fleshed out into a clearly defined product. Draft Project Ideas may be converted into Ecosystem Project Ideas as they are explored further and more thoroughly specified.

Summary
There's a huge opportunity for cross-chain oracles, as well as oracles that pull data from L1 and make it available in L2. It's possible to implement this sort of L1 indexing system as an OP Stack chain.
Possible Features

OP Stack chain that indexes L1
Oracles that make communicate data between OP Stack chains in the Superchain

Would like to take this on as a part in Scrys feature set
http://docs.scry.finance/
The idea being to enable nodes to connect to arbitrary networks and pull data from arbitrary addresses through onchain calls and RPC insertion and swapping handled by the node but requested onchain.
This would enable anyone to run a node or use a node they choose for the data, while being able to access data at any address.
The node would take in an RPC endpoint, address and the data needed for the call with ABI, then perform the call using the RPC to the address, then the oracle would push the data back onchain. This would enable out of the box compatibility with any data in realtime from any chain, for any contract on any EVM.

It's my pleasure to introduce our decentralized oracles, which I believe would be an excellent fit for Optimism ecosystem.
Orally is a decentralized cross-chain oracle system designed to bridge real-world data with decentralized applications on various blockchain networks. By leveraging the Internet Computer Protocol (ICP), Orally can securely fetch, verify, and deliver real-world data from numerous internet sources.
With key products like "Sibyl" for price feed data and "Pythia" for an automated transaction and random data generation, Orally offers a comprehensive data solution for blockchain networks. Its ability to operate across multiple chains simultaneously broadens the range of dApps that can utilize its data, enhancing its functionality.
Check our documentation for more details: https://docs.orally.network/overview/how-orally-works


Update the Resources Page to adapt to JSON server | Fetch and Update Resource Details Page

As the Website now supports the JSON server for data interchange, therefore I want to implement the following:-

Update the Resources page to dynamically fetch resources data from a JSON server instead of using a static .js file.
This change will enhance data flexibility, allowing the resource's content to be updated externally without modifying the codebase.

resource page is static it rarely will get change i have not added resources in the data json server @rishicds

resource page is static it rarely will get change i have not added resources in the data json server @rishicds

where you have added @inkerton
I have checked

resource page is static it rarely will get change i have not added resources in the data json server @rishicds

Yup, But when the JSON Server is already there, then why a static file this events too, let make it move to JSON server for better scalability

resource page is static it rarely will get change i have not added resources in the data json server @rishicds

where you have added @inkerton I have checked

It is a STATIC page (not dynamic) You need not fetch the resources everytime and enhance load. I provided and added links in the page itself each card has a roadmap attached and they won't change .


Adding in disableGlobalProjectWarning, fixes #1168

Adds disableGlobalProjectWarning to the ExtraConfig for the provider, allowing users to disable the initial default project.

Thanks for writing this up! I had a few questions here but we're almost there.

@iwahbe this might be hitting a bridge bug - the extra config seems to be incorrectly passed to the TF provider. I'm investigating

Opened https://github.com/pulumi/pulumi-terraform-bridge/issues/2702 for the issue and I also have a fix in progress.

@VenelinMartinov @iwahbe can one of yall looking under the doc and see if that looks good. If so its ready to merge.


youtube download failing on NASA.gov channel

This youtube url from the NASA.gov channel is failing with a perl error.
https://www.youtube.com/watch?v=qWRJped5Tfw
Using method 'youtube' plugin version 0.02 for http://www.youtube.com/watch?v=qWRJped5Tfw
Downloading http://www.youtube.com/watch?v=qWRJped5Tfw
Use of uninitialized value in subroutine entry at /usr/share/perl5/URI/Escape.pm line 184.
Use of uninitialized value in subroutine entry at /usr/share/perl5/URI/Escape.pm line 184.
Unable to get YouTube video information.
Error: Unable to find video URL
Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.
Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).
Check for updates by running: /home/pwalden/bin/get_flash_videos-1.25 --update
If the latest version does not support this please open a bug

I think the video is removed. Youtube says
"
This video has been removed by the user.
Sorry about that.
"

Yes you are correct. I should have checked the link :(
Sorry about this :)


Fix mro of generic subclass

Change Summary
Override ModelMetaclass.mro such that indexed generic type can be inserted into __mro__ of its subclasses.
For example:
class A(BaseModel, Generic[T]): ...
class B(A[T]): ...
class C(B[bool]): ...

# before
assert C.__mro__ == (C, B[bool], B, A, BaseModel, Generic, object)
# after
assert C.__mro__ == (C, B[bool], B, A[bool], A, BaseModel, Generic, object)

This allow C() to be assigned to A[bool].
I have checked all testcases in test_generic.py. This change doesn't break existing tests. Also, I collected all the tests where __mro__ is affected by this change, and add them into new tests.

Related issue number
fix #10039

Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Hmm, I think the way to solve this is actually going to be revalidating instances of classes that have a shared generic parent. Happy to think about this proposal more tomorrow.
@dmontagu, I haven't looked in depth, but this is up your alley, and might be worth a glance.

@dmontagu Thanks for the review!
I made some changes, so now this can work:
class A(BaseModel, Generic[T1]): ...
class B1(A[T1], Generic[T1, T2]): ...

assert A[int] in B1[T1, str][int].__mro__
assert A[int] in B1[int, str].__mro__

@dmontagu I found that my current solution cannot handle this (very unlikely) case:
class A(BaseModel, Generic[T1]): ...
class B(A[T2], Generic[T2]): ...
class C(B[T3], Generic[T3]): ...
class D(C[T1], Generic[T1]): ...
class E(D[T2], Generic[T2]):...

because the MRO of D[T2] will be like
D[~T2], D,
C[~T2], C[~T1], C,
B[~T2], B[~T1], B[~T3], B,
A[~T2], A[~T1], A[~T3], A[~T2], A, ...

and the repeated A[T2] is invalid.
Do you think this is worth fixing, or could we mark it as an expected fail and address it in other PR?

I'd say it's at least worth adding an xfailing test

@kc0506, if you're able to finish this up in the next couple of days, we can get this into our v2.9 release! Thanks for your awesome work here.

Sure, I will try to wrap it up by this weekend.

I've updated the logic insdie mro. The new approach does not need an extra class variable and can solve the failed case mentioned above, as well as remove redundant bases (e.g. A[int], A[T2], A[T1], A, ... will now become simply A[int], A, ...).
I think this is ready to be merged. Looking forward to any feedbacks!

@kc0506,
Awesome work here. I'm going to do another review here as well, then we'll merge this after our v2.9 release (we've already released the beta, so can't introduce any major changes during this beta trial period).


Release of 2.0 ?

Any ETA for releasing the 2.0?

Hi Hadim,
Hydra is closely related to OmegaConf and 2.0 will likely be released with Hydra 1.0.
In the mean time I recommend that you install release candidates, they are getting pretty mature.
Are you using OmegaConf without Hydra?

Gotcha.
You should probably look at Hydra, but regardless - for now feel free to install RC versions.
keep in mind that they are still may still be some minor incompatibilities between different RC versions that are not documented in the release notes. if you see any regression let me know.

Also, I am trying to conda build a package for the 2.0rc: https://github.com/conda-forge/omegaconf-feedstock/pull/3
The build fails because the requirements.txt file is not in the pypi source archive. Would that be possible to include that file or hard code deps in the setup.py file?
This issue does not only impact the conda recipe but also people who wants to build omegaconf from the pypi source archive.

sure, can you send a PR that adds it?

@hadim, it would actually be awesome to also include the tests in the source dist (but not in the wheel).
I have never done anything like this, do you happen to know how to do it?

And, out of curiosity:
Why do you need 2.0? are you using Structured configs? anything else?

2.0 is soon to be released so I prefer to use this one in my code rather than 1.4.
I don't think we can include tests without also including it into the wheel.

I was wrong about the tests folder so it's possible.

See https://github.com/omry/omegaconf/pull/223


Firebase function - User Feedback

Create a branch from stg
Follow the search API structure on accessing firestore database
POST
Take user feedback and store it in userFeedback

Managed to get the emulator to work locally. A quirk is that I needed to put from feedback.feedback import feedback at the bottom of main.py so that the firebase app is initialized by the time it gets to running my firebase function.
Keen to get some feedback on what I've done.


Add dynamic-codecs package

#289  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lorisleiva and the rest of your teammates on  Graphite


Version bump to 2.4 for dependent packages

Signed-off-by: Heemin Kim<EMAIL_ADDRESS>Description
Version bump to 2.4 for dependent packages
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #87 (534873e) into 2.x (94655c1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.x      #87   +/-   ##
=======================================
  Coverage   85.03%   85.03%
=======================================
  Files           5        5
  Lines         147      147
  Branches       24       24
=======================================
  Hits          125      125
  Misses         16       16
  Partials        6        6

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


IOS - BA - App freezes and black camera preview displayed while going through Onfido flow

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Unable to validate in Prod because of Bank Setup
Issue was found when executing this PR: https://github.com/Expensify/App/pull/49464
Issue reported by: Applause Internal Team
Action Performed:

Open the app and log in
Create a workspace
Navigate to workspace settings and enable workflows
Select Connect bank account > Connect online with Plaid
Enter BA information to trigger Onfido
On the Onfido screen tap Start and then Accept
Enable camera and a take picture of the front of the ID
Submit the image
Try taking a picture of the back of the ID

Expected Result:
The camera preview is displayed, user is able to take a picture of the back of the ID
Actual Result:
The app freezes, the camera preview is black. The app eventually crashes when trying going back to the previous screen.
Issue repro on iPhone 13 / iOS 18
Workaround:
Unknown
Platforms:

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
2609.txt
https://github.com/user-attachments/assets/67c1608b-41a2-44e0-85cb-0db5b07201b7

View all open jobs on GitHub

We think that this bug might be related to #wave-collect - Release 1

I'm temporarily removing the blocker label so I can deploy Web-Secure.

Just tested and I was able to go through the flow without issues. I'm gonna remove the blocker label.
It seems like the Onfido sdk might throw an error after many failed attempts to take a photo of a screen (as shown in the video), which might be the cause of the bug seen here. I'll open this to the community to investigate further.

Still looking for proposals

I also was not able to recreate this - but there are actually lots of issues that Onfido encounters - here is a list of troubleshooting steps -

I actually think that this can be closed


cmd/atlascmd: add supported format for dbmate

What
SSIA
Why
To integrate with amacneil/dbmate easily.

@iwata, any reason for closing this?

I accept your argument and agree with it. You're welcome to contribute it in case it's still relevant. Thanks


$client->getFolder('INBOX') returns null

I have 2 accounts on MS Outlook 365 that I'm polling for messages. For one of them getFolder('INBOX') is ok, but for another one it returns null. How can I debug that?
Part of code:
				$client->connect();
				$folder_name = 'INBOX';
				$folder = $client->getFolder($folder_name); // @todo check if mail can be in other folders
				if (null === $folder) {
					throw new Exception(sprintf('Error getting folder %s', $folder_name));
				}

Use getFolders() and then loop through the results to make sure it is actually called INBOX. If getFolders() fails, use getFolders(false).

Thanks, but there was no folders at all. I set a debug and got some meaningful errors:

TAG2 LIST "" "*"
TAG2 BAD User is authenticated but not connected. Exception : Error getting folder INBOX

Searching for that I find a solution in this link
This PowerShell command solved issue:
Add-MailboxPermission -identity<EMAIL_ADDRESS>-user<EMAIL_ADDRESS>-accessrights fullaccess -inheritancetype all


Http-go template fails

Creating a new Spin application using the http-go template fails without any modifications to the code:
Serving http://<IP_ADDRESS>:3000
Available Routes:
  go-temp2: http://<IP_ADDRESS>:3000 (wildcard)
2022-10-14T17:31:26.421024Z ERROR spin_http_engine: Error processing request: wasm trap: wasm `unreachable` instruction executed
wasm backtrace:
    0: 0x3a8f - <unknown>!runtime.runtimePanic

Could you please share which versions for Spin and TinyGo this is?
Just validated this with Spin from canary, TinyGo 0.26, and the latest template version and it fails for me as well.
For reference, I also tested our C# template, which is built on top of the same C interop, and that one works well.
cc @adamreese

As it passes on CI, it looks like there are some breaking changes between 0.22 and 0.26 - https://github.com/fermyon/spin/actions/runs/3245485308/jobs/5323079898

I've been testing the 0.5.0 release and the canary release (from October 14th) and both fail, with both SDK, Spin runtime, and template being from the same version.
TinyGo: tinygo version 0.26.0 darwin/amd64 (using go version go1.19.2 and LLVM version 14.0.0)

I did a little research about it - it works fine up to 0.25.0 (incl).
Also, I've figured out the commit that is causing the issue - https://github.com/tinygo-org/tinygo/commit/03d1c44265e1f628b2730b9c214db2390a745ee6
Reverting it from the tinygo's dev branch make tests (make test-sdk-go) to pass again (so as http-tinygo example).

Validated that TinyGo v0.25 works.
Thanks for investigating this!

Removing -no-debug from the tinygo build command and running spin with WASMTIME_BACKTRACE_DETAILS=1 gives more detail:
    2: 0x141d9 - realloc
                    at /usr/lib/tinygo/src/runtime/arch_tinygowasm.go:136:28

Finally getting back to this... The backtrace appears to point at the indexing operation here:
ptr := unsafe.Pointer(&buf[0])

Suggesting that the panic could be caused by buf having size zero, which could possibly happen if realloc was called with size 0.

This makes sense with the patch identified in https://github.com/fermyon/spin/issues/820#issuecomment-1280726355, which changed the underlying realloc implementation. I'm testing a patch to tinygo.

When I patch tinygo with #3303 I get a different error
    0: 0x2a9ec - abort
                    at /Users/areese/p/src/github.com/tinygo-org/tinygo/lib/wasi-libc/libc-bottom-half/sources/abort.c:5:5
    1: 0x29b8f - canonical_abi_realloc
                    at /Users/areese/p/src/github.com/fermyon/spin/sdk/go/http/wasi-outbound-http.c:13:3

Looks like the bindings expect a pointer returned from realloc but the patch returns nil.
https://github.com/fermyon/spin/blob/722107325f01a58e5e04b09df3e70f73409c58bf/sdk/go/http/wasi-outbound-http.c#L11-L13
https://github.com/tinygo-org/tinygo/pull/3303/files#diff-5134aa362b4882a502f819967129e9d01184206daf02f989e50aa03999632ae6R45-R49

realloc(ptr, 0) is "allowed" to return null by POSIX, but glibc returns a unique pointer and it looks like wit-bindgen depends on that behavior.

Hi, any idea of whats is happening?
2023-01-24T11:16:24.608075Z ERROR spin_http: Error processing request: error while executing at wasm backtrace:
    0: 0x3a4a - <unknown>!runtime.runtimePanic
    1:  0x830 - <unknown>!runtime.lookupPanic
    2: 0xac0f - <unknown>!realloc
    3: 0x27ce0 - <unknown>!canonical_abi_realloc

Caused by:
    wasm trap: wasm `unreachable` instruction executed

Can you try TinyGo 0.25.0? 0.26.0 has an issue, but haven't been fully investigated yet.

Same problem with TinyGo 0.25.0!

I cannot replicate, can you share the code? I was using the http-go template.  From a quick search the only other one that makes sense to be for Fedora might be kernel-headers.

https://github.com/tinygo-org/tinygo/pull/3410 should fix the original error, though it revealed another issue with the SDK bindings as well so it isn't a complete fix.

https://github.com/fermyon/spin/pull/1114 might have fixed the issue with tinygo 0.26.

Hurrah!

For anyone wanting this upgrade. Spin v0.8.0 works, but you need to update the Go SDK reference using go get github.com/fermyon/spin/sdk/go@main in the folder containing go.mod for your Spin component.

I'd suggest to keep this issue open until we have a v0.9.0 version shipped, and this fix will be part of the default SDK version being used by the template.

With tinygo 0.27.0 although the http-go template and http-tinygo example builds/runs successfully for me, I seem to get errors for the other tinygo-related templates and example apps.  Others able to confirm?  (Not sure if user error)
For example, the http-tinygo-outbound-http example (here using spin built recently from main, go sdk should be the same):
$ spin up
Serving http://<IP_ADDRESS>:3000
Available Routes:
  tinygo-hello: http://<IP_ADDRESS>:3000/hello
panic: free: invalid pointer
2023-02-15T22:01:07.166089Z ERROR spin_http: Error processing request: error while executing at wasm backtrace:
    0: 0x196b - <unknown>!runtime._panic.llvm.6707981987192336823
    1: 0x6530 - <unknown>!free
    2: 0x2cc9e - <unknown>!canonical_abi_free
    3: 0x2ce6b - <unknown>!spin_http_headers_free
    4: 0x2d1c3 - <unknown>!spin_http_request_free
    5: 0x2c98a - <unknown>!github.com/fermyon/spin/sdk/go/http.send$1
    6: 0x2c80e - <unknown>!github.com/fermyon/spin/sdk/go/http.send
    7: 0x2a51e - <unknown>!spin_http_handle_http_request
    8: 0x2d338 - <unknown>!__wasm_export_spin_http_handle_http_request

Caused by:
    wasm trap: wasm `unreachable` instruction executed

If someone who is still on tinygo 0.26.0 can compare notes, that'd be handy.  If it is indeed particular to 0.27.0, I/we can create a separate issue.

That could be a bug in the SDK that managed to stay hidden with earlier tinygo versions.  I'm working on updating the Go SDK right now to add key-value support and update outbound-redis.  I can take a look at this while I'm at it.

This does look vaguely like the kind of bug I (thought I) fixed.

With the recent v0.9.0 release (and corresponding go SDK), compatibility with tinygo should be restored.
Thanks @dicej @lann @adamreese for the fixes!


refactor: types, declarations

Sad story that biome is not supported in codesandbox ci.

I think #52 will be fixed by this PR, could you try out the codesandbox-ci package to check? @jaydenseric
Also, there's a small breaking change in this PR, I renamed PrettierPluginEmbedOptions to PluginEmbedOptions. And just like what you suggested in #52, the language specific types are exported to the users for them to manually include in the following two ways:

Augment the Options type from Prettier to use plugin-specific options.
/// <reference types="prettier-plugin-embed/plugin-embed" />
/// <reference types="prettier-plugin-embed/embedded/sql/plugin-sql" />

Import plugin-specific options.
import type { PluginEmbedOptions } from "prettier-plugin-embed";
import type { PluginSqlOptions } from "prettier-plugin-embed/embedded/sql/plugin-sql-types";
// You can also import the types from the `prettier-plugin-sql` plugin directly,
// but not all plugins provide types, or provide them in a predictable way,
// so I also export them in this plugin.


⚠ Bofrost.be has degraded performance

In 39c9ce1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 852 ms

Resolved: Bofrost.be performance has improved in f8f5b2b.


Allow Lm to be passed-in to conditionals/util.py

PR content:

Title
Description
Minimal working example

Title
Allow Lm to be passed into utility functions for computation of conditionals.
Description
This PR allows the utility methods in conditionals/util.py to use pre-computed values for Lm. This allows the performance of, for example, prediction to be improved by passing these pre-computed values into the conditionals calculation, instead of calculating these each time.
This is a more minimal version of #1507, requiring many fewer changes to GPflow (at the expense of slightly more code in my model -- see the example below).
Minimal working example
Here is a rough example of how I would use the new base_conditional in my model. This improves prediction time by about 10x.
class MySVGP(SVGP):

    def __init__(self, kernel, likelihood, inducing_variable, *, mean_function=None,
                 num_latent_gps: int = 1, q_diag: bool = False, q_mu=None, q_sqrt=None,
                 whiten: bool = True, num_data=None):
        super().__init__(kernel, likelihood, inducing_variable, mean_function=mean_function,
                         num_latent_gps=num_latent_gps, q_diag=q_diag, q_mu=q_mu, q_sqrt=q_sqrt,
                         whiten=whiten, num_data=num_data)
        self._Kmm_for_prediction = None  # [M, M]
        self._Lm_for_prediction = None  # [M, M]

    def train(self):
        # Do training here...
        self._Kmm_for_prediction = covariances.Kuu(self.inducing_variable,
                                                   self.kernel, jitter=default_jitter())
        self._Lm_for_prediction = tf.linalg.cholesky(self._Kmm_for_prediction)

    def predict_f(self, Xnew: InputData, full_cov=False, full_output_cov=False) -> MeanAndVariance:
        if self._Kmm_for_prediction is None or self._Lm_for_prediction is None:
            raise ValueError('Kmm or LM is not set. Use the train method to train the model.')
        mu, var = self.compute_conditional(Xnew, full_cov, full_output_cov)
        return mu + self.mean_function(Xnew), var

    def compute_conditional(self, Xnew, full_cov, full_output_cov):
        Kmn = Kuf(self.inducing_variable, self.kernel, Xnew)  # [M, N]
        Knn = self.kernel(Xnew, full_cov=full_cov)
        fmean, fvar = base_conditional(
            Kmn, self.Kmm, Knn, self.q_mu, full_cov=full_cov, q_sqrt=self.q_sqrt, white=self.whiten
        )  # [N, R],  [R, N, N] or [N, R]
        return fmean, expand_independent_outputs(fvar, full_cov, full_output_cov)

@st-- I've opened this as a more minimal alternative to #1507. This involves very few changes GPflow. What do you think?

Hi @nfergu, I thought about this and discussed it with @markvdw. In some sense this is a band-aid for a larger underlying issue (and also related to a previous discussion about introducing a separate, decoupled posterior object that allows more efficient predictions.
The code you changed doesn't actually use Kmm directly other than to compute the Cholesky: to avoid having to pass in both Kmm and Lm, with the former not getting used at all, and wondering whether we should ensure consistency between the two, we were thinking it might make more sense, instead, to introduce an extra flag Kmm_is_cholesky, defaulting to False, and then
    Lm = Kmm if Kmm_is_cholesky else tf.linalg.cholesky(Kmm)

What do you think about that?

Thanks for your comments @st--

Hi @nfergu, I thought about this and discussed it with @markvdw. In some sense this is a band-aid for a larger underlying issue (and also related to a previous discussion about introducing a separate, decoupled posterior object that allows more efficient predictions.

I agree that it is a band-aid. I'm also vaguely aware of the discussion around a separate posterior object. We need a solution for this in the fairly near future though, so it may be that a band-aid is the only realistic solution.

The code you changed doesn't actually use Kmm directly other than to compute the Cholesky: to avoid having to pass in both Kmm and Lm, with the former not getting used at all, and wondering whether we should ensure consistency between the two, we were thinking it might make more sense, instead, to introduce an extra flag Kmm_is_cholesky, defaulting to False, and then
    Lm = Kmm if Kmm_is_cholesky else tf.linalg.cholesky(Kmm)

What do you think about that?

I'm happy with that solution if you are. I guess an alternative could be for the conditional computation function to take a "cholesky calculation function" argument, which is a function that takes Kmm as its argument and defaults to tf.linalg.cholesky(Kmm), but which the user could override to just return Kmm? I guess this wouldn't actually enforce that Lm is consistent with Kmm though, since the caller could return whatever they like from this function.
I don't feel strongly about either approach, so feel free to advise as to which you prefer.

Hi @nfergu,
I've been thinking of doing something similar because I have similar requirements (fast predictions). Are you running predictions from a TF saved_model or via aot/tfcompile?
I'm doing the latter and I'm observing something really odd in term of runtime performance. Basically even if Lm is pre-computed the prediction time doesn't drop. I'll try and share a minimum working example this week so that you can have a look as well, just to double check that I'm not doing anything silly. Unless I'm doing something really silly it's most likely a TF issue.
Best Regards,
Marco

Hi @marcoadurno.

I've been thinking of doing something similar because I have similar requirements (fast predictions). Are you running predictions from a TF saved_model or via aot/tfcompile?

I'm using a TF savedmodel. With this I get around a 10x speed-up by computing Kmm and Lm. I haven't tried via aot/tfcompile I'm afraid. I'd be happy to look at your example and see if I can spot any problems though.

Superceded by #1528

Hi @marcoadurno.

I've been thinking of doing something similar because I have similar requirements (fast predictions). Are you running predictions from a TF saved_model or via aot/tfcompile?

I'm using a TF savedmodel. With this I get around a 10x speed-up by computing Kmm and Lm. I haven't tried via aot/tfcompile I'm afraid. I'd be happy to look at your example and see if I can spot any problems though.

Hi @nfergu ,
We have done some further work with aot and identified two possible issues with TensorFlow.
One is a possible bug in the code-gen step: 41938
The other is related to the performance of the generated code for triangular_solve: 41940
Regarding 41938 I don't understand how on earth the whole computational graph generated by GpFlow works (we routinely compile it via aot and it works), but we'll first try to get to the bottom of this issue and then we'll see.
Best Regards,
Marco


Mute/Unmute participants from a call - CallAutomation

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


Add [Ultrastellar ultrastellar.com] #anchor #issuer #wallet GARDNV…DL5T55

Address: GARDNV3Q7YGT4AKSDF25LT32YSCCW4EV22Y2TV3I2PU2MMXJTEDL5T55
Tags: anchor issuer wallet
Title: Ultrastellar  Domain: ultrastellar.com
Requested by @koly4ij

@koly4ij Thank you for your input. When you look at the issuing account you would see that it has already been correctly labeled. The issuing account/wallet is where these lables can be placed. It is always important to check the issuing account and to domain. There are many scams that counterfeit ultrastellar for example uitrastellar as just one.


New AWS SDK

Not merged so far: #4, #5

Cherry-picked #5 and skipped #4, because everything looks to be okay (see https://github.com/ClickHouse/ClickHouse/pull/17794/files ).


RFE Add 'clone issue' functionality

Feature Description
I would like to propose a 'clone issue' function that can duplicate an issue, within the same repo or into another repo.
Screenshots
No response

I have switched to Forgejo, I no longer have an interest in this issue.


Enhancement: Support for Waffle Fixtures to Facilitate EVM Compatibility

Problem
A significant pain point for projects transitioning to or working with Hedera, especially those from other EVM networks, is the current lack of support for fixtures. This feature is critical for efficient development workflows, particularly when using testing frameworks like Waffle, which utilize snapshots to speed up the testing process. Without this capability, projects like SaucerSwap and other evm projects are forced to redeploy contracts for every test suite, leading to considerable delays and frustration.
Solution
Implementing snapshot functionality in Hedera would make the platform more frictionless in testing- increasing EVM compatibility by offering a familiar experience in testing as other EVM chains. It would allow developers to create fixtures for testing scenarios that are executed once and then preserved, significantly accelerating development time and improving efficiency. This feature would not only benefit current projects like SaucerSwap but also make Hedera a more appealing choice for future projects considering EVM compatibility.
Alternatives
Currently, the workaround involves the time-consuming redeployment of contracts for each test suite. While functional, this process is not efficient and represents a significant barrier to development and testing speed.
Additional Context:
Waffle's fixture feature is a prime example of how fixtures can be utilized to enhance testing workflows. By creating fixtures that deploy contracts and set up specific testing scenarios once, and then taking snapshots of the state, Waffle enables tests to run much faster since the setup needs to occur only once. For more information on how Waffle implements this feature, please see Waffle's documentation on fixtures.
https://ethereum-waffle.readthedocs.io/en/latest/fixtures.html

Hello @vea-vecturne, thank you for opening the ticket!
I've delved into the Fixtures feature of the Wafflejs framework and have crafted a POC to explore its functionalities. You can access the POC project here. It's a straightforward Hardhat project utilizing the Wafflejs testing framework to experiment with fixtures.
Upon my research, it looks like the capability to enable users to create predefined testing scenarios and snapshots of the blockchain's state via fixtures is only available on the default local test network provided by development frameworks (GETH, Ganache, Hardhat, etc.). The mentioned POC project above is configured with two networks, Hedera and Sepolia Ethereum testnet, and regardless of the targeted networks, fixtures will only operate on the local test network. This assertion is validated through the unit tests of the POC, located under the /test/PiggyBank.spec.ts file.
In the Testing With Fixture test suite, I employed the 'fixture' feature from 'Waffle' to deploy a contract. Despite setting the defaultNetwork in the hardhat.config.js file to either hedera or sepolia, the transaction was executed as expected against the local test network. Specifically, line 39 and line 40 validate the chainId returned from the deployTransaction and getChainId() transactions, ensuring alignment with the LOCAL_TESTNET_CHAIN_ID (1337 as convention).
Having said that, I believe fixtures are a feature somewhat integrated at the framework level rather than the network level. However, it would be interested to learn about your thoughts and insights on this matter!

@arianejasuwienas does your example at https://github.com/hashgraph/hedera-json-rpc-relay/tree/main/tools/waffle-example resolve this issue or do we think there's still more work to be done here?


Crash with large grammars and parse trees

Attached is a zip file of a solution/project containing a Java parser example. Displaying the tree with ANTLR4ParseTreeVisualizer crashes, presumably because it is a large parse tree, on release <IP_ADDRESS>. It's good to be able to visualize non-trivial large trees, especially for nodes deep in the tree in a tree visitor. GetText() of a node doesn't work well, and I need to visualize where in the tree I am, e.g., with a variableDeclarator in what block.
AntlrConsole3.zip

GetText() of a node doesn't work well

Is this related to #37?

Yes, Antlr's runtime RuleContext.GetText() doesn't fill in white space between tokens. https://github.com/antlr/antlr4/blob/master/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/RuleContext.cs#L173 . It's annoying, but one can write an extension method that works around it. The bug is that the visualizer crashes in the attached program after the parse, trying to display "tree". Adding in a listener for variableDeclarator and breaking there instead, I can see the parse tree for "context". Note, I could get the parse tree pane to show the node for version <IP_ADDRESS>, but not for <IP_ADDRESS>--"No tree nodes. Choose the lexer class, the parser class, and the parse method from the settings." I could select a parser and lexer but not a parser rule. I'm not clear why this would not be needed--you have the tree node when I clicked on the magnifier icon to call the visualizer.

@kaby76
Aside from the GetText issue, I've fixed the visibility binding logic, and the treeview and tokens display properly. I've pushed a commit, and it's in
https://github.com/zspitz/ANTLR4ParseTreeVisualizer/releases/tag/<IP_ADDRESS>.

I'm not clear why this would not be needed--you have the tree node when I clicked on the magnifier icon to call the visualizer.

You can now run the visualizer against a string (or a token stream); but in order to do so, you need to choose which lexer, parser, and parse method to use. If there is only one lexer defined outside of the Antlr.Runtime or Antlr.Runtime.Standard DLLs, that is set as the default. Same goes for the parser. The visibility was tied to whether there was a selected lexer and parser and parser method, which is wrong if the the visualizer is run against a parse tree. As I said, it should be working now.
I didn't see any sign of a crash in the project you uploaded. Perhaps a specifically deeply nested node?

and I need to visualize where in the tree I am, e.g., with a variableDeclarator in what block.

Could you elaborate on what you mean here?

Wonderful! <IP_ADDRESS> fixes the crash and the parse tree pane problem. Now, it would be even better when I want to visualize a particular node in a listener method to display the tree in one of two ways, selectable with some sort of UI: (1) the whole tree (from root), with the focus set to the node I asked to display; (2) display the partial tree, starting from the internal node and into the sub-tree as you currently do. You could add an item to the right-click context menu which you have already ("Scope to this;  Scope to this in new window/; ...") to toggle between either of these views of the parse tree. This will really help to visualize where I am in the parse tree.
Eventually, it would be even better to highlight the code in an ITextView back in VS for the node I selected. By default, Antlr4.Runtime.Tree.TerminalNodeImpl.Symbol.InputStree.SourceName is null, but if you assume that the programmer here sets AntlrInputStream.name to the full path of the file after creating the AntlrInputStream, then your code could then open a fresh ITextView for the file. You'd also need to change the visualizer dialog box to be non-modal so I can go and look at the code in a VS ITextView.
One other request--double click on the Parent in Properties to set the Parse Tree View to a new node. You might then want to add a "back" function to navigate back to where you were before double-clicking on the Parent property.
Thanks so much! Looking good.

RE: GetText -- I've committed fix for #37 with an extension method that serves as a replacement for GetText but fills in the blanks.
RE viewing the entire tree from a single node, I've opened #34
Navigating to Parent node from Properties is in #44 .
See also #45

@kaby76 Just a last question: could you upload an even larger Java source file, say 5000 characters? I want to see how the source textbox handles scrolling in various directions, and does it keep the selection in the right place? Thanks.

I tried the visualizer with input https://github.com/kaby76/AntlrVSIX/blob/master/test/FormatterTest.java. I got an interesting crash:
   at Microsoft.VisualStudio.DebuggerVisualizers.Impl.VisualizerObjectProvider.TransferDataToDebuggeeSideVisualizer(Stream outgoingData)    at Microsoft.VisualStudio.DebuggerVisualizers.Impl.VisualizerObjectProvider.Microsoft.VisualStudio.DebuggerVisualizers.IVisualizerObjectProvider.TransferObject(Object outgoingObject)    at ParseTreeVisualizer.VisualizerControl.LoadDataContext() in C:\Users\kenne\Documents\ANTLR4ParseTreeVisualizer\Shared\VisualizerControl.xaml.cs:line 71    at ParseTreeVisualizer.VisualizerControl.set_objectProvider(IVisualizerObjectProvider value) in C:\Users\kenne\Documents\ANTLR4ParseTreeVisualizer\Shared\VisualizerControl.xaml.cs:line 95    at ParseTreeVisualizer.Visualizer.Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider) in C:\Users\kenne\Documents\ANTLR4ParseTreeVisualizer\Shared\Visualizer.cs:line 42    at Microsoft.VisualStudio.Debugger.ClrCustomVisualizerVSHostHelper.DisplayValue(IntPtr hWnd, SuccessEvaluationResultProxy evaluationResult, Int32 selectedIndex)
It took 30+ seconds to parse, which is a problem in itself. I'm looking into Harwell's optimized runtime to see if that will help.


[AMD] turn on reduce tests with argmax/argmin

The latest main branch seems working fine for all cases in test_reduce, so turn on them for amd backend.

Looks like the tests are still failing? Are you sure it was passing?

Looks like the tests are still failing? Are you sure it was passing?

I tested locally sever times, did not see any failing. If failed, could you please revert it?

Looks like the tests are still failing? Are you sure it was passing?

I tested locally sever times, did not see any failing. If failed, could you please revert it?

can you send a revert PR and I'll merge it?

BTW I see it failing on the mainline bot:
https://github.com/openai/triton/actions/runs/8227536191/job/22495596954

Actually looking at the error it might be a problem with the numpy version on the CI bot. @zhanglx13 might know how to fix it

Actually looking at the error it might be a problem with the numpy version on the CI bot. @zhanglx13 might know how to fix it

Should we revert this PR to avoid CI failure?

Actually looking at the error it might be a problem with the numpy version on the CI bot. @zhanglx13 might know how to fix it

Should we revert this PR to avoid CI failure?

I would still suggest reverting it to avoid the noise and make sure there aren't more failures piling on top of this. Someone should look at what is causing the problem on the CI bot

FYI: https://numpy.org/doc/stable/reference/generated/numpy.argmin.html
looks like we need to update the bot to numpy version 1.22.0.


clinicalEnrichment Error: Object 'Analysis' not found amongst []

Describe the issue
Hi, I am attempting to run clinicalEnrichment on my maf sample but have hit an error that states 'Error: Object 'Analysis' not found amongst []'. I've tried looking at other github issues but I'm confused on what exactly Analysis is. Is it something that is required to be in my clinical data?
Command
Please post your commands and the output (errors or any unexpected output)
Command:
clinicalEnrichment(
  maf = rare_no_flags,
  clinicalFeature = 'hypermaturity'
)

Ouput:
Sample size per factor in hypermaturity:

 no yes
  6   4
Null data.table (0 rows and 0 cols)
Error: Object 'Analysis' not found amongst []
Traceback:

1. clinicalEnrichment(maf = rare_no_flags, clinicalFeature = "hypermaturity")
2. plist[Analysis %in% "Pairwise", .(Hugo_Symbol, Feature_1, Feature_2,
 .     n_mutated_Feature1, n_mutated_Feature2, fdr)]
3. `[.data.table`(plist, Analysis %in% "Pairwise", .(Hugo_Symbol,
 .     Feature_1, Feature_2, n_mutated_Feature1, n_mutated_Feature2,
 .     fdr))
4. tryCatch(eval(.massagei(isub), x, ienv), error = function(e) {
 .     if (grepl(":=.*defined for use in j.*only", e$message))
 .         stopf("Operator := detected in i, the first argument inside DT[...], but is only valid in the second argument, j. Most often, this happens when forgetting the first comma (e.g. DT[newvar := 5] instead of DT[ , new_var := 5]). Please double-check the syntax. Run traceback(), and debugger() to get a line number.")
 .     else .checkTypos(e, names_x)
 . })
5. tryCatchList(expr, classes, parentenv, handlers)
6. tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
8. .checkTypos(e, names_x)
9. stopf("Object '%s' not found amongst %s", used, brackify(ref))
10. stop(gettextf(fmt, ..., domain = domain), domain = NA, call. = FALSE)

**Session info**
Run `sessionInfo()` and post the output below
R version 4.3.1 (2023-06-16)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Rocky Linux 8.8 (Green Obsidian)

Matrix products: default
BLAS/LAPACK: /home/eczhang/miniconda3/envs/my_r_environment/lib/libopenblasp-r0.3.21.so;  LAPACK version 3.9.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

time zone: America/Los_Angeles
tzcode source: system (glibc)

attached base packages:
[1] stats4    grid      stats     graphics  grDevices utils     datasets
[8] methods   base

other attached packages:
 [1] readr_2.1.5                       fs_1.6.3
 [3] mclust_6.0.1                      pheatmap_1.0.12
 [5] NMF_0.27                          Biobase_2.62.0
 [7] cluster_2.1.6                     rngtools_1.5.2
 [9] registry_0.5-1                    BSgenome.Hsapiens.UCSC.hg38_1.4.5
[11] BSgenome_1.70.2                   rtracklayer_1.62.0
[13] BiocIO_1.12.0                     Biostrings_2.70.2
[15] XVector_0.42.0                    GenomicRanges_1.54.1
[17] GenomeInfoDb_1.38.6               IRanges_2.36.0
[19] S4Vectors_0.40.2                  BiocGenerics_0.48.1
[21] rstatix_0.7.2                     ggpubr_0.6.0
[23] ggplot2_3.4.4                     VennDiagram_1.7.3
[25] futile.logger_1.4.3               ggVennDiagram_1.5.2
[27] gdata_3.0.0                       data.table_1.15.0
[29] dplyr_1.1.4                       maftools_2.18.0
[31] future_1.33.1

loaded via a namespace (and not attached):
 [1] RColorBrewer_1.1-3          jsonlite_1.8.8
 [3] magrittr_2.0.3              farver_2.1.1
 [5] zlibbioc_1.48.0             vctrs_0.6.5
 [7] Rsamtools_2.18.0            RCurl_1.98-1.14
 [9] base64enc_0.1-3             htmltools_0.5.7
[11] S4Arrays_1.2.0              lambda.r_1.2.4
[13] broom_1.0.5                 SparseArray_1.2.4
[15] parallelly_1.37.0           plyr_1.8.9
[17] futile.options_1.0.1        uuid_1.2-0
[19] GenomicAlignments_1.38.2    lifecycle_1.0.4
[21] iterators_1.0.14            pkgconfig_2.0.3
[23] Matrix_1.6-5                R6_2.5.1
[25] fastmap_1.1.1               GenomeInfoDbData_1.2.11
[27] MatrixGenerics_1.14.0       digest_0.6.34
[29] colorspace_2.1-0            labeling_0.4.3
[31] fansi_1.0.6                 abind_1.4-5
[33] compiler_4.3.1              bit64_4.0.5
[35] withr_3.0.0                 doParallel_1.0.17
[37] backports_1.4.1             BiocParallel_1.36.0
[39] carData_3.0-5               R.utils_2.12.3
[41] ggsignif_0.6.4              DelayedArray_0.28.0
[43] rjson_0.2.21                gtools_3.9.5
[45] DNAcopy_1.76.0              tools_4.3.1
[47] R.oo_1.26.0                 glue_1.7.0
[49] restfulr_0.0.15             pbdZMQ_0.3-11
[51] gridBase_0.4-7              reshape2_1.4.4
[53] generics_0.1.3              gtable_0.3.4
[55] tzdb_0.4.0                  R.methodsS3_1.8.2
[57] tidyr_1.3.1                 hms_1.1.3
[59] car_3.1-2                   utf8_1.2.4
[61] foreach_1.5.2               pillar_1.9.0
[63] stringr_1.5.1               vroom_1.6.5
[65] IRdisplay_1.1               splines_4.3.1
[67] lattice_0.22-5              bit_4.0.5
[69] survival_3.5-8              tidyselect_1.2.0
[71] SummarizedExperiment_1.32.0 matrixStats_1.2.0
[73] stringi_1.8.3               yaml_2.3.8
[75] evaluate_0.23               codetools_0.2-19
[77] tibble_3.2.1                cli_3.6.2
[79] IRkernel_1.3.2              repr_1.1.6
[81] munsell_0.5.0               Rcpp_1.0.12
[83] globals_0.16.2              XML_3.99-0.16.1
[85] parallel_4.3.1              bitops_1.0-7
[87] listenv_0.9.1               scales_1.3.0
[89] purrr_1.0.2                 crayon_1.5.2
[91] rlang_1.1.3                 formatR_1.14

Hi,
Could you please update the pacakage from GitHub and try again?

Hi!
Should I just update the maftools package?

Hi,
Yes. Just update it from GitHub.
BiocManager::install("PoisonAlien/maftools")
On Tue, Mar 26, 2024 at 8:07 PM Emily Zhang @.***>
wrote:

Hi!
Should I just update the maftools package?
—
Reply to this email directly, view it on GitHub
https://github.com/PoisonAlien/maftools/issues/1010#issuecomment-2021264639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6JFXWDEWOTYR4BJTY4QULY2HBO7AVCNFSM6AAAAABFHVQQG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRGI3DINRTHE
.
You are receiving this because you commented.Message ID:
@.***>

Hi,
I tried the reinstall with Github and have the same error message as posted above.

I see. Would it be possible to share reproducible example?
You can remove all the sensitive information and change the identifiers.

Hi,
I've attached ten of my subsetted maf files in the zip file which along with the clinical data (PAS_WGS_metadat_subset.txt) to read in. What I have been doing so far was using mergeMafs on these ten files. I've adjusted the clinical data so that there's only one category called disease that we can use as the clinicalFeature to test clinicalEnrichment with.
Thank you so much for all your help!
PAS_WGS_metadata_subset.txt
PAS_WGS_subsetmafs.zip

Hi,
Thank you for the files. The error is due to minMut argument in clinicalEnrichment which requires min 5 samples to be mutated for a gene to be considered for analysis. Since your cohort is small - there are no such genes available. You could check this with getGeneSummary().
You could try to decrease minMut to 3 or any number that works for you.
I have pushed a patch which should now throw a proper error message. I hope this helps.

Hi,
Got it! Thank you for all your help again!


replyWithFile: stream ended after first time handled

var scope = nock('http://www.example.com')
  .get('/some-file')
  .times(2)
  .replyWithFile(200, __dirname + '/some-file');

Suppose you define replyWithFile for two requests. Suppose you make both requests at different times and read the whole response before making the second request. The response stream has already ended. Is it possible only one readstream is created for the file?
As a workaround, this works:
var scope = nock('http://www.example.com')
  .get('/some-file')
  .replyWithFile(200, __dirname + '/some-file')
  .get('/some-file')
  .replyWithFile(200, __dirname + '/some-file');

Fixed by 19bb1bb752fb914464219bb44a6a472a763ac12a
Landed on v1.2.1


Update index.html

@ankitsridhar16  try this year for Hacktoberfest and have a look at the updated repo and contribute.Make sure to follow me and star the repo
HAPPY HACKING


Minor issue with documentation on force rollup calculation

The documentation says:
FieldName: The Rollup field schema name of the parent entity.
It should probably state:
FieldName: The Rollup field Name of the parent entity.
This is because if you put in the schema name it fails, you must put in the "Name" of the field.
Thanks much for the great utils!
Drew

Thanks dpoggemann !
just updated!
best regards!


Contact number field validation required on "Become a Mentor" form

The contact number field in the "Become a Mentor" form allows users to enter strings or non-numeric input, and the form proceeds to the next step without validation. The form should not proceed unless a valid contact number is entered.
Describe the bug
The contact number field does not validate input properly. It accepts strings or any unfair input, allowing the user to go to the next step without proper validation.
To Reproduce
Steps to reproduce the behavior:

Go to the "Become a Mentor" form on ScholarX.
Fill out the form, and in the contact number field, enter a string (e.g., "abcdef").
Proceed to the next step of the form without receiving an error message.

Expected behavior
The form should prevent the user from moving to the next step until the contact number is valid (i.e., contains only numbers).
Screenshots

Are you working on it?
Yes/No

Hey buddy🙌
Seems like interesting to work on. One more thing, do you also want the contact number to have specific digits or 10 only..

@shiv-0101  it's not necessary to restrict it to a specific number of digits since our mentors come from various countries with different number formats. So, as long as we validate for numeric input, that should be sufficient.

Hey Buddy
Is there anything else that need correction apart from step 1's contact no. validation issue?

@shiv-0101 if you've done this part, you can make the PR. and you can get try to fix another issue that we've created.

Not merged yet!! all good?


Is this project still under development?

Hey,
I am looking for a tool like this, but I can see this tool has not had updates since 2019. Is it still being maintained? If not do anyone know a similar service that can:

Copy data from one database to another
Obfuscate personal data
Be containerised with Docker
Work with mSQL

Hi Nikolai
Yes, the project is not being maintained anymore. It was a side project when there was no client in my company and as soon as the paying client emerged, we moved to profitable work. At the current state Fogger is able to copy from one database to the other with some basic obfuscations, but it has been tested only with open source databases like mysql and postgres. Have no experience with MSQL :(
Don’t know if there are similar tools doing the same thing.
On 28 Dec 2021, 17:42 +0100, Nikolai Damm @.***>, wrote:

Hey,
I am looking for a tool like this, but I can see this tool has not had updates since 2019. Is it still being maintained? If not do anyone know a similar service that can:
• Copy data from one database to another
• Obfuscate personal data
• Be containerised with Docker
• Work with MSQl
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@tsurowiec thanks for reaching out. That is a shame, the use case seemed promising in cases where seeding data is no longer a manageable solution to replicate the production environment, and I have not been able to find a similar tool.
Best of luck,
Nikolai


Completed structure, and got lulesh to run with gcc

Dynamic module loading, compiler factories and link up to the parser are functional.
Benchmark is compiled and run with the system's gcc at the moment.
Issues : Perf output is not parsed correctly though

Great! This is looking good. The only final bit is the compiler class.
Right now, you have to specify "gcc" or "g++", as Lulesh won't work with "gcc" because it's C++, but SPEC needs both C and C++ as well as Fortran, so we need modules that define a family, not a specific compiler.
I suggest "clang" and "gcc" as two initial families, that once defined, know about their C, C++ and Fortran compilers, then pass as CC, CXX, etc. and amend the Makefiles accordingly.


Publish-PSResource does currently not work with Azure Artifacts

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.

Steps to reproduce
I tried to use PowerShellGet 3.0.0-beta19 for publishing a module to a Azure DevOps Artifacts feed.
At first I tried to register the feed using the v2 endpoint. But I have seen that the cmdlet Publish-PSResource hardcoded adds /package to the URL, if it is a NuGet v2 endpoint, because the PowerShell gallery apparently uses this. But my Azure Artifacts feed does not have this and therefore the cmdlet fails with HTTP404.
The v2 endpoint for Azure Artifacts looks like this:
https://pkgs.dev.azure.com/<org>/<project>/_packaging/<feedname>/nuget/v2/
Then I tried to register the the PS Repository using the NuGet v3 endpoint. This however fails with this error message:
Publish-PSResource : Unable to load the service index for source https://pkgs.dev.azure.com/<org>/<project>/_packaging/<feedname>/nuget/v3/index.json.

Is there a preference which version I should use? Is this something that still needs implementing and is there a temporary workaround I can use in the meantime?
I am having a really hard time getting things to work with Azure Artifacts using PowerShellGet 2.x (older NuGet version, authentication, double repository registration) and therefore I'd prefer switchtig to PowerShellGet 3.x if possible.
Expected behavior
PowerShellGet should publish the package.

Actual behavior
Neither on the v2 nor on the v3 endpoint I seem to be able to publish the package.

Error details
Publish-PSResource : Unable to load the service index for source https://pkgs.dev.azure.com/<redacted>/<redacted>/_packaging/<redacted>/nuget/v3/index.json.
At line:1 char:1
+ Publish-PSResource -ApiKey <redacted> -Repository <redacted> -Path "C:\temp\psmod ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (:) [Publish-PSResource], ArgumentException
    + FullyQualifiedErrorId : PushNupkgError,Microsoft.PowerShell.PowerShellGet.Cmdlets.PublishPSResource

Environment data
No response
Visuals
No response

Thanks @hemisphera were you having the same issue with Find and Install or just with Publish?

Haven't tried Find, but I have successfully installed a module by using
Install. So I guess that one works fine.
I have tried to have a look at the code and it seems that the source that
is passed along to the PushRunner does not get the credentials and
therefore never authenticates. In fact: debugging traps a lot of HTTP401
exceptions.
On Tue, 28 Feb 2023, 21:05 Sydney Smith, @.***> wrote:

Thanks @hemisphera https://github.com/hemisphera were you having the
same issue with Find and Install or just with Publish?
—
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/PowerShellGet/issues/969#issuecomment-1448806898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACD4LEEHVTMB7NZWSONDZIDWZZLAFANCNFSM6AAAAAAVENRHHM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@SydneyhSmith there seems to be no way for the Credentials to be passed along to to the PushRunner which is used to push the nupkg to the source. Therefore, the package source that is created inside the PushRunner is always created without credentials and fails to authenticate.
When using Find or Install on the other hand, the PackageSource object is created by PowerShellGet and not by the NuGet SDK and therefore the Credentials are correctly passed along - and it works.
The only way to bypass this, I guess, is to inject the credentials into the ISettings object. I have tried that and using this approach I am able to correctly publish a module to a feed that requires authentication.
I have created a PR, even if I don't know if I'm supposed to because the readme clearly states that you do not accept PRs (beside tests).

I just now realized that this is actually a duplicate of #668.

We recommend publishing to AzureArtifacts with a V3 protocol URI for your repository. It's fixed now and -Credential with CredentialInfo value should work as of this next release.


Error when we long the account id to ulong

I need to upgrade this implementation by changing the id of the account to ulong. It can run, register account, verify the email, but when I try /accounts it shows unauthorized error.
How can I do this upgrade that
var account = (Account)context.HttpContext.Items["Account"];

could find the account?

I found the reason, we need to change the line 51 in JwtMiddleware like following:
var accountId = ulong.Parse(jwtToken.Claims.First(x => x.Type == "id").Value);


Bread styling

Ready for review

[x] Style index page
[x] Amend context on index page model to pass through all fields
[x] Style detail page

Looking good; a few comments:

We need a margin between the entries when the window is narrowed and the entries stack
images should have a fixed width (or become hidden?) when the window narrows else they get distorted.

@heymonkeyriot I pushed a change for; it looks as though when you changed from the property to a method, you weren't invoking the method:
self.get_breads vs self.get_breads()

:face-palm: knew it'd be something daft! Thanks @daaray.

Screenshots for desktop and mobile for the BreadIndexPage and BreadPage

This is looking great.
Side question (not quite about this PR): I notice you put some thought into punny bread titles - they're very good. I'm already working with Tumi's original breads and have them in the "master" content copy. Were you wanting to go with funny title instead, or was that just placeholder content?

Travis is not happy with Docker.

Side question (not quite about this PR): I notice you put some thought into punny bread titles - they're very good.

I was sort of doing them for my own amusement, and was just placeholder content. I'm not sure how well they'll travel. I'd suggest we keep it fairly neutral in tone, though perhaps it wouldn't hurt to hide one or two puns around the place?

Roger dodger, we'll stick with wikipedia content with maybe a pun here or there.
I had parents in town this weekend and wasn't able to put in time, but back on the case tonight hopefully.


File Upload fail

I try to save uploaded file like:
yield file.move(Helpers.storagePath('uploads')) but i got this error

{"error":{"errno":-4037,"code":"EXDEV","syscall":"rename","path":"C:\Users\9234~1\AppData\Local\Temp\upload_5c2499a4b15a286f46ffcffdd57e0797","dest":"E:\work\wot\storage\uploads\gNlR77bMB0U.jpg"}}

this is my FilesController.store method code
* store(request, response) {
    const file = request.file('file')

    yield file.move(Helpers.storagePath('uploads'))

    if (!file.moved()) {
      response.badRequest({error: file.errors()})
    }

    response.ok({message: 'File uploaded successfully'})
  }

and my view code
{{ form.open({action: 'FilesController.store', files: true, class: 'form-horizontal', id: 'formCreate'}) }}

{{ csrfField }}

    {{ form.file('file', { class: 'form-control' }) }}

{{ form.submit('Upload', 'upload') }}

{{ form.close() }}

Hey !
Duplicate of https://github.com/adonisjs/adonis-framework/issues/438

i google and find that issue is with node js because moving files from different directory then project is not allowed by default. but i also i didn't find any configuration related to this.
How i can allow moving files from different directory then project?

Closing this one, will work on #438


Nodejs compatibility #4

made compatible with node.js #4 :smile: using UMD (Universal Module Definition) returnExports pattern

client-side usage unchanged
documented inside README file
added example for usage node.js

A further enhancement could be to publish the module in npm, may be done separately from this pull request.

@upphiminn Any update on this?

Nevermind that - https://github.com/jgranstrom/jLouvain


python311Packages.pylitterbot: 2023.4.2 -> 2023.4.3

Diff: https://github.com/natekspencer/pylitterbot/compare/refs/tags/v2023.4.2...v2023.4.3
Changelog: https://github.com/natekspencer/pylitterbot/releases/tag/v2023.4.3
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 244904 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.litterrobot
python310Packages.pylitterbot
python310Packages.pylitterbot.dist
python311Packages.pylitterbot
python311Packages.pylitterbot.dist


Fix unselected row styles in Category Widget

Description
Shortcut: (#291684](https://app.shortcut.com/cartoteam/story/291684/category-widget-ui-glitch))
[sc-291684]
The category widget is not greying out the non-selected categories.
Type of change

Fix

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.29%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1930

Relevant Lines:
2488

💛  - Coveralls


Bugfix

One major fix causing bad calls to um_goto_position_ext
One minor fix causing the accuracy test to fail on 2-axis devices

Oh, and one more commit I missed that disables an axis if the distance to move is less than its retry threshold (these often just end up farther from target than when they started)

.. actually it turns out the major bug that I fixed was also introduced in this PR, so it has never been out in the wild :D


Support Windows

Work in progress in the windows branch. It fails on my laptop with the message "An error occurred while transmitting data to the device on the I2C bus". This error also occurs when calling GetMonitorCapabilities.

I literally started writing half of this last night lol.
https://github.com/jacob-pro/brightness/commit/f4a438d4ce54250923a51bc3b6e38fd7e9ec7aaf
Like I said I have done this before, so I should be able to get it working.
Just trying to find a way to get a unique name/id for each physical display, szPhysicalMonitorDescription isn't that useful

The code in the windows branch might already work; it might just be an issue with my laptop (based on a cursory search, not all laptops support what GetMonitorBrightness, etc., use under the hood.
Regarding a unique ID, there's GetMonitorInfo but that takes a HMONITOR, which can be mapped to multiple physical monitors AFAIK, so it's not quite what we need.

yeah that is because the Get/Set MonitorBrightness APIs use DDC/CI which is for external but not laptop screens. I think there is a seperate API for laptop screens although I haven't read up the details yet... I will have a PR for it soon

Implemented by @jacob-pro in #3. Thank you very much!


Add more pictures/description of the physical installation

We got a VP18 from 2012 with CTS 600.
I understand that the modbus adapter needs to go in the control panel - not the VP18 itself?
Our control panel is sitting in the middle of a wall in the living room.
Zero WAF if the installation requires extra boxes and/or wires across the wall.
Could you please share some pictures and descriptions of your physcial installation?
Do you have any experience with WiFi modbus adapters?
And whether is room inside the control panel box?

Just saw @frodef's answer to https://www.facebook.com/groups/667765647316443/posts/1552676995491966/?cft[0]=AZWma3XMAkHEq0wVEHjOEk_OB687r9Za9zjRVX0r210R0Xg1BRV0CvofOdxnwrQG1DTHJSUUiNOIiqdG_CSz_hVXPOzVJq3EuDNp0A9WkCAgAtKgTHG6CFEzOarMWd6DvZWPSuvrSzB_frhnUo4Ty6gnBSR6o7dL3ASYFQFQaYEbcvVjUwsVpqmEhVwfAg_nlEGyGocw7Ye2173FwLx_HTjk&tn=%2CO%2CP-R and now I'm even more confused...
This setup replaces the control panel with buttons in HA, right?
So I disconnect the original electronics in the control panel and connect the modbus adapter instead?
This is why we need to replace the room temperature sensor in control panel with a HA entity, right?
So in my case what I need is a Wifi modbus adapter and potentially a power regulator from the 12V to the adapter requirement.
And if I cramp both into the control panel box my wife would notice any difference (except an empty display window and it's now (HA) app controlled.
Adding a temperature sensor updating the HA sensor would be an extra bonus...

Hello, sorry for the late answer. Yes the modbus adapter exactly replaces the control panel, in terms of how it is connected to the HVAC unit. It also needs to be connected to your HA machine, and currently only USB is supported for this.
While the control panel is usually put on the wall somewhere, you probably want the modbus/RS485 adapter hidden away in the attic or technical room somewhere. Again, it needs to be connected both to the hvac and the HA machine.
I have this all hidden away in the attic, so the WAF is quite good. Hope this helps.


Major documentation update with minor code refractoring

Documentation preview is available here:
https://jrz-bamt-test.readthedocs.io/en/latest/index.html

Readme is fully updated and now written in reStructuredText instead of CommonMark Markdown.

Minor code refactoring with autopep8 and some changes to code to make it more readable and clean.

Added a new github action for code coverage badge, but adding a secret (API key for codecov)  is still essential. I could not do it for some reason.

Lets rename 'BN Algorithms' section to 'BN Theory' in Documentation

done

Thank you for your contribution @jrzkaminski!
Everything is good, except a few things:

It seems, that in the Learn and Visualize Bayesian Network section missed the part about setting models (regressors and classifiers). See the following imports:

from sklearn.ensemble import RandomForestClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn.tree import DecisionTreeClassifier

User is also capable of changing a directory, where models stores with sample(models_dir = dir). I think we should add this in tutorials.
I think we should add section about data management in BAMT.

First we need to declare, which data types user should use. We have been reported that sometimes types of columns are uncertain (ex. pd.Object), and BAMT will not be able to work with them. For example, column type is Object (so it is a disc) but in fact it must be a disc_num.
See from GraphUtils.py:

disc = ['str', 'O', 'b', 'categorical', 'object', 'bool']
disc_numerical = ['int32', 'int64']
cont = ['float32', 'float64']

PS: I think we will allocate it into config.

Then we should explain, how we store models. To do this, I think, it will be better to describe config's params and serialization methods and rules.

Typos.
User also can pass argument as_df: bool to some functions (get_info, sample). It is usefull for PyCharm.


[Range Plugin] Logic select range dates seem wrong

I see agoda as a good example how range picker works: https://www.agoda.com/

And in flatpickr:

The wrong is when I have a selected, then wanna change date. If I pick at start-date, select a date greater than current end-date the selected dates seem change order.
And seem we need disable dates after start-date in end-date picker too.

True +1

I was going to post a PR for this, but then I noticed that I already fixed it in 2019 with #1795
I will probably do it again next year because I will forget about it and it will still not be merged :(


EF Core SqlServer connect hang

Describe the bug
Can not able to connect SQL Server instance. No exceptions, it just hangs at 'OpenConnection' function indefinitely. Even though I give 10 seconds of timeout, it does not timeout.
No exceptions. Just logs. Trace enabled.
May 13 09:08:46 ubuntu pompa-proxy[4071]: dbug: Microsoft.EntityFrameworkCore.Infrastructure[10401]
May 13 09:08:46 ubuntu pompa-proxy[4071]:       An 'IServiceProvider' was created for internal use by Entity Framework.
May 13 09:08:52 ubuntu pompa-proxy[4071]: info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
May 13 09:08:52 ubuntu pompa-proxy[4071]:       Entity Framework Core 3.1.4 initialized 'OrkaContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: CommandTimeout=10
May 13 09:08:52 ubuntu pompa-proxy[4071]: dbug: Microsoft.EntityFrameworkCore.Database.Connection[20000]
May 13 09:08:52 ubuntu pompa-proxy[4071]:       Opening connection to database 'ORKA_0996_2020' on server '<IP_ADDRESS>\ORKASQL'.

To reproduce
                var context = _serviceLocator.GetInstance<OrkaContext>();

                context.Database.OpenConnection();

                _logger.LogInformation("Execution is starting...");

<EMAIL_ADDRESS>
Expected behavior
A connection should be opened or an exception should be thrown.
Further technical details
Microsoft.Data.SqlClient version: 3.1.4
.NET target: .NET Core 3.1.4
SQL Server version: SQL Server 2012 SP4
Operating system: Ubuntu 20.04 (Client) , Windows Server 2012 (Server)
Additional context
It was working until I have upgraded my ubuntu. At first, I got an SSL exception. I have upgraded the SQL server to SP4 to resolve issue, it did solve problem. but hang problem started.
I can connect to the database from the server's itself by sql server management studio using sql server authentication.
There are windows computers in the office, I can confirm they can connect to the sql server, too.

I have following logs in the servers event logs.
It looks like there is a problem at the server side, too.

I have resolved my issue by setting MinProtocol = TLSv1.1 at openssl.cnf. BTW MinProtocol = TLSv1.0 did not work, that was the main reason I have struggled with this issue for hours.
But I think infinite hang should be solved. It is up to you.

@oguzhantopcu
It really depends on what TLS protocols are mutually supported by Client and Server. Many Linux Clients and Docker images are now removing support for TLS 1.1 and 1.0 by default and TLS 1.2 is set as default. You can either update your SQL Server 2012 to accept/work with TLS 1.2 protocol or modify client to work with TLS 1.1.
But I agree, the hang issue needs a fix, it is known to us and is tracked in #126 so I'll close this as duplicate.

Today, I have failed to connect Sql Server 2016. Same exact scenario again, it has broken after ubuntu 20.04 update. There is something wrong here. Sql server 2016 should not have TLS version issues. Again I have downgraded TLS version to v1.1 to make it work.
@cheenamalhotra  FYI.

You would need to check if your server is accepting TLS 1.2 connections or not, it doesn't seem to do so. If your server does not yet support TLS 1.2 or you have manually disabled it using Registry entries on host machines, you'd notice this behavior.
I'll once again say, you should consider "Updating SQL Servers and Enabling TLS 1.2" as first solution, for enhanced security as TLS 1.1 and 1.0 are declared insecure and not recommended for server-client communication.

Unfortunately those are customer machines which I can not free to
update/alter settings everytime.
AFAIK Sql Server 2016 has TLS 1.2 support by default. That is why I have
concerned. And unfortunately the only thing I have about this server is sql
login, so i can not check the registry to see whether 1.2 is disabled.
Another thing, I had chance to examine the situation on  previous machine
which has Sql Server 2012 SP4. SP4 has tls 1.2 support, and as I checked
the registry on the machine, TLS 1.2 was enabled.
14 May 2020 Per, saat 18:57 tarihinde Cheena Malhotra <
<EMAIL_ADDRESS>şunu yazdı:

You would need to check if your server is accepting TLS 1.2 connections or
not, it doesn't seem to do so. If your server does not yet support TLS 1.2
or you have manually disabled it using Registry entries on host machines,
you'd notice this behavior.
I'll once again say, you should consider "Updating SQL Servers and
Enabling TLS 1.2" as first solution, for enhanced security as TLS 1.1 and
1.0 are declared insecure and not recommended for server-client
communication.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/SqlClient/issues/562#issuecomment-628727918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWRXBXOFQNO3NDHLR3EIBDRRQIGJANCNFSM4M7SPB4Q
.

--
oguzhan

Could you also check if server certificate is not encrypted with SHA1?
Related issue was also reported here: https://github.com/dotnet/SqlClient/issues/538#issuecomment-622587024


x/tools/gopls: cannot working lsp definition

What version of Go are you using (go version)?

$ go version
go version go1.14.4 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN="/Users/skanehira/dev/go/bin"
GOCACHE="/Users/skanehira/Library/Caches/go-build"
GOENV="/Users/skanehira/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/skanehira/dev/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.14.4/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14.4/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/pb/r7kfzkbj3k18bkmd_ntd6c4w0000gn/T/go-build574856938=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

using vim-lsp and gopls to jump some imported package functions with :LspDefinition
vim-lsp has error that No definition found

main.go is below.
Can jump some definitoins.
What did you see instead?
Cannot jump some definitions.

Can you please share the information requested in the issue template, as well as in the Troubleshooting guide linked above?

@stamblerre Sorry, I posted before I wrote the information

No worries. I think you need to open your workspace at the /Users/skanehira/dev/go/src/github.com/skanehira/sample/api directory, as it is your module root. This is a current limitation of gopls that we are working on addressing.

@stamblerre Thank you :)
Can you tell me how I change workspace ?

I'm sorry, but I'm not familiar with vim-lsp - I would suggest asking that question in the vim-lsp repository or in the #vim channel of the Gophers Slack.

@stamblerre I misunderstood that change workspace is gopls's features
Thank you :)

Ah I see. Yeah my guess is that changing your workspace should be as simple as opening Vim with a different directory, but I know some editors have commands to change workspaces.

@stamblerre
This is looks like vim-lsp's bug.
I'll close this issue.
Thank you for helping me :)


feat: License Selection

Is your feature request related to a problem? Please describe.
Since CT3 is for scaffolding new projects, many of these projects would end up with a license. It would be a nice addition if users had an option to select their license of choice (or no license at all).
Describe the solution you'd like to see
A simple license selection menu.
Describe alternate solutions
N/A
Additional information
I would be glad to implement this myself, but I'm looking for a greenlight before I spend a bunch of time on it.

Out of scope, there are many license generators out there or I believe there's like 2 clicks in Github to add any license you want


tailwindcss style not working with vite + React

Here's the use case repository code, and here's a screenshot (the actual tailwindcss style doesn't take effect when I click on the dialog)
before:

after click dialog button:

After googling, I found that the problem is that the app/globals.css is not working, but my project is built exactly according to the official website documentation. Hoping I can get a reply

If you import app/globals.css into App.tsx the styles will be applied.

If you import app/globals.css into App.tsx the styles will be applied.

Thanks, it worked for me. But I would like to know why building a project according to the official documentation tutorial will occur this problem, and if this is the solution, this step should be one of the steps in the official documentation

If you import app/globals.css into App.tsx the styles will be applied.

Thanks, it worked for me. But I would like to know why building a project according to the official documentation tutorial will occur this problem, and if this is the solution, this step should be one of the steps in the official documentation

Is it that where I am inconsistent with the construction steps of the documentation?

I believe you misconfigured components.json at this step
Where is your global CSS file? › › src/index.css
The default value for the global CSS file is app/globals.css (Nextjs's default global css file), you have to change it to src/index.css, otherwise you'll have to manually import it

If you import app/globals.css into App.tsx the styles will be applied.

Thanks, it worked for me. But I would like to know why building a project according to the official documentation tutorial will occur this problem, and if this is the solution, this step should be one of the steps in the official documentation

Is it that where I am inconsistent with the construction steps of the documentation?

I believe you misconfigured components.json at this step:
Where is your global CSS file? › › src/index.css
The default value for the global CSS file is app/globals.css (Nextjs's default global css file), you have to change it to src/index.css, otherwise you'll have to manually import it

I re-created the project twice from the documentation, and the results were the same. I know the problem is global.css was not imported properly, and I wanted to explore why it occur the problem to build according the documentation.
The normal situation is to build the project according to the documentation, it should be smooth

Please check this part of the documentation

If you are setting up using the CLI, you should change the global CSS file to 'src/index.css` instead of the default value

Please check this part of the documentation

If you are setting up using the CLI, you should change the global CSS file to src/index.css instead of the default value

I understand what you mean, thank you
In addition, if the CLI detects it to create a project with VITE, can the default value provided by this item be src/index.css？

If you import app/globals.css into App.tsx the styles will be applied.

Thank you, it solves our problem!


Follow up - Inactivity

Is your feature request related to a problem? Please describe.

We have the option to display some title to let the user know his tab is inactive, we can look into which are our options and how useful its.
Describe the solution you'd like

Not planned