Crahses on chat screen sometimes.

My app using JSQMessages controller and it's crahses on chat screen with the following error.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/5401514B-0B5E-4EA5-A395-680DD324F276/appname.app> (loaded)' with name 'niF-NV-pHi-view-mtR-K9-W16' and directory 'Main.storyboardc''
Initially app loads and running fine on the device with iOS 10.2, when I try to get into the chat screen for 3rd or 4th time, it crashing. And no crash with the simulator.
When I search for "storyboardc" in my project, found the below,
if [[ "$1" = /* ]] ; then
RESOURCE_PATH="$1"
else
RESOURCE_PATH="${PODS_ROOT}/$1"
fi
if [[ ! -e "$RESOURCE_PATH" ]] ; then
cat << EOM
error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
EOM
exit 1
fi
case $RESOURCE_PATH in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/basename \"$RESOURCE_PATH\" .storyboard.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/basename \"$RESOURCE_PATH\" .storyboard.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
Please help to fix this issue.

This is a shell script, and has nothing to do with a runtime crash.  Usually a full stack trace dump is helpful in isolating the root cause. Somwtime the error reported is a side effect of a previous call. If you are using a variable to reference a custom nib (for instance) and the reference is a weak reference, it is possible the handle is pointing to garbage at time of use. (Not that this is the case)

*** First throw call stack:
(
0   CoreFoundation                      0x00000001088bed4b __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x000000010b4f221e objc_exception_throw + 48
2   CoreFoundation                      0x00000001089282b5 +[NSException raise:format:] + 197
3   UIKit                               0x000000010962abd2 -[UINib instantiateWithOwner:options:] + 507
4   UIKit                               0x00000001093be9c5 -[UIViewController _loadViewFromNibNamed:bundle:] + 386
5   UIKit                               0x00000001093bf2e7 -[UIViewController loadView] + 177
6   UIKit                               0x00000001093bf61c -[UIViewController loadViewIfRequired] + 201
7   UIKit                               0x00000001093c6062 -[UIViewController __viewWillAppear:] + 118
8   UIKit                               0x00000001093f11d3 -[UINavigationController _startCustomTransition:] + 1290
9   UIKit                               0x0000000109401e48 -[UINavigationController _startDeferredTransitionIfNeeded:] + 697
10  UIKit                               0x0000000109402fdb -[UINavigationController __viewWillLayoutSubviews] + 58
11  UIKit                               0x00000001095f9dd7 -[UILayoutContainerView layoutSubviews] + 223
12  UIKit                               0x00000001092e2ab8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1237
13  QuartzCore                          0x000000010ab61bf8 -[CALayer layoutSublayers] + 146
14  QuartzCore                          0x000000010ab55440 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
15  QuartzCore                          0x000000010ab552be _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
16  QuartzCore                          0x000000010aae3318 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 280
17  QuartzCore                          0x000000010ab103ff _ZN2CA11Transaction6commitEv + 475
18  UIKit                               0x0000000109216d9b _UIApplicationFlushRunLoopCATransactionIfTooLate + 206
19  UIKit                               0x0000000109a2177c __handleEventQueue + 5672
20  CoreFoundation                      0x0000000108863761 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
21  CoreFoundation                      0x000000010884898c __CFRunLoopDoSources0 + 556
22  CoreFoundation                      0x0000000108847e76 __CFRunLoopRun + 918
23  CoreFoundation                      0x0000000108847884 CFRunLoopRunSpecific + 420
24  GraphicsServices                    0x000000010d505a6f GSEventRunModal + 161
25  UIKit                               0x000000010921dc68 UIApplicationMain + 159
26  IT HELPDESk                         0x00000001081b5aa2 main + 114
27  libdyld.dylib                       0x000000010d66368d start + 1
28  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


add new marathon version in universe to test

universe #164 added a new marathon version to universe which broke test_describe since dcos package describe marathon changed. It's not great that universe changes can break our test :disappointed:

LGTM when tests pass

fixed by #241


[ECO-5137] Ensure room is ATTACHED before performing operation

Fixed #62
Added ensureAttached method to DefaultRoom as a common implementation to ensure room is ATTACHED.
Updated Room Feature constructors to only accept room instance as constructor param since other params are not needed, updated related tests.
Only exception isMessages feature, it's constructor is not updated and will be done as a part of https://github.com/ably-labs/ably-chat-kotlin/issues/68
Updated related unit/integration tests.

@coderabbitai pause

@coderabbitai help

@coderabbitai pause

@coderabbitai resume


Remove static assetAttributeProvider from XmlHandler

to reduce size of #6154

@oa-s heads-up, I will get to this tomororw


Fixes for html parsing and Browser simulation

The website has a new html structure, so cant parse with actual algorithm, i have fixed this problem
Also, updated the headers to match with a Chrome Browser, and be able to read emails.

Great!
First commit was really needed, thanks.
Your solution for the problem of reading source mail is a good one, but I found that the cause of the exception was just I was using an old source url that changed (only needs a '/' at the end).
Good Job, Thanks.

Excelent, thank you!


Pushbutton only listed as a battery sensor

Devices are imported from file and all switches and dimmers seems to work fine. However, all pushbuttons does not have any state that show if the button was pressed. It only show the battery level for the button. How can I detect if any button is pressed?

The buttons don't have a state, they only fire events. Try making an automation with one, HA should discover the event types.

I have looked for events also (in HA Developer Tools - Events). Subscribed to all events and I see all other events, but none that appear when I push a button. If I try start a Automation from the screen shown above, then there are no option to select an event. I only can select from the state of the battery and signal strength. It does not seem like HA has discover the event or that HA is even receiving the events at all from the pushbuttons.

Never mind, seems to work now after restart of XComfort add-on and reload of MQTT integration.
Thanks for help :-)


feat: add rpc server metrics into dashboard

Closes #3925
Add the following rpc server metrics into dashboard:

active requests
active websocket connections
histogram

Let me know what do you think, if those were the right things to implement.

Needs a rebase


[Bug]:

Describe the bug
Relation on styles.
inline styles break svelte-reveal
for example color: #ff000088 or color: #eee7 will just leave it transparent
#174 transiton in invisbly setted for element making it wierd on resize for example.
Reproduction

System Info
ubuntu, firefox, sveltekit

Severity
Annoyance
Additional Information
my first bug report in life ever ))

Hi, thank you for reporting this issue. I'm aware of issues relating to styling that would need to be adressed. I currently don't have a lot of time to work on this project, but I'll see what I can do.
Do you have a reproduction environment?

@agamurian I've just tried to reproduce what you mentioned about inline styles, but I wasn't able to break Svelte Reveal. Do you still have a reproduction environment around that I could take a look at?

Sorry for the long wait. It should be fixed now! Please open a new issue if you notice other weird behaviors 🙏🏻


Remove Tinytest usages for Velocity.

Closes #189.
Updated each package include to use versions.
Updated documentation, Travis CI script file, run_test.sh script.
Rewrote existing tests using Jasmine test API.

+1

Travis CI looks good, ran through some manual tests to ensure the update to <IP_ADDRESS> w/ the useraccounts:iron-routing package routes correctly. This should be good to merge. Ill ping IRC for more reviewers.

+1, looks great


Trying to import MF from Py_FS.wrapper.nature_inspired raises ImportError

ImportError: cannot import name 'MF' from 'Py_FS.wrapper.nature_inspired' (/usr/local/lib/python3.7/dist-packages/Py_FS/wrapper/nature_inspired/init.py)

The PyPi page had the filename listed as MF.py instead of MA.py

Hi,
I am extremely sorry for the inconvenience. Thanks a lot for pointing it out. I think it is just a problem with the readme documentation. We have used the naming 'MA' instead of 'MF' for 'Mayfly Algorithm' 😅. Once again sorry for that. Please let me know if there is any other issue. I have updated the Readme file.
Best,
Ritam


I want RVCalendarWeekView example in swift4

while I am using RVCalendarWeekView pods of Objective-C in swift I got errors i.e
No such module 'MSWeekViewDecoratorFactory'

I believe some other user found this as well but can't remember how they fixed it...


Make text post text selectable

For some reason selecting text triggered insets listener which called
notifyItemChanged on the header causing the header ViewHolder to bind
again and drop the selection.

Oh this is so great! I couldn't figure this out so thanks a lot. This is much better than the old long press thing :)


Using filter_by and other Typesense search parameters

Description
As the documentation says, it should be possible to specify additional search parameters. queryBy works, but filterBy doesn’t.
Steps to reproduce
I tried the following parameters:
additionalSearchParameters: {
queryBy: 'name',
filterBy: 'myfilter:0',
'filter_by': 'myfilter:0',
}
Expected Behavior
Filtered results
Actual Behavior
Unfiltered results
Metadata
Typsense Version:
OS:

@furnnl The reason filterBy doesn't work when set in additionalSearchParameters is because it's overridden by InstantSearch's refinement widgets internally. So you want to manage default filters through InstantSearch's configure widget. (Also works similarly in React, Vue, Angular, etc flavors of InstantSearch).
And specifically for filters, you want to use the facetFilters key and define the filters in the format described here. The adapter will then take care of translating that into the Typesense filter format.
So in your example, you want to do something like this:
instantsearch.widgets.configure({
  facetFilters: ['myfilter:0']
});

Does that help?

Closing this for now, but please feel free to re-open if you're still running into issues.

Adding additional info for any react users:
const facetFilters = useMemo(() => [`myfilter:0`], [])

// ...

<Configure facetFilters={facetFilters} />

does the trick (making sure to keep the identity of that facetFilters array as constant as possible, since it'll trigger re-fetches when it changes, and providing that inline can cause an infinite fetch-render loop)

Adding additional info for any react users:
const facetFilters = useMemo(() => [`myfilter:0`], [])

// ...

<Configure facetFilters={facetFilters} />

does the trick (making sure to keep the identity of that facetFilters array as constant as possible, since it'll trigger re-fetches when it changes, and providing that inline can cause an infinite fetch-render loop)

I don't know if it's worth re-opening this but in my tests, adding a correctly-formatted facet filter to <Configure /> in React adds an a property like configure: {facetFilters: ['meal:lunch']} to searchState, and adds e.g. &configure[facetFilters][0]=meal%3Alunch to the query string, but the actual query results are completely unaffected.
/shrug

I don't know if it's worth re-opening this but in my tests, adding a correctly-formatted facet filter to <Configure /> in React adds an a property like configure: {facetFilters: ['meal:lunch']} to searchState, and adds e.g. &configure[facetFilters][0]=meal%3Alunch to the query string, but the actual query results are completely unaffected.
/shrug

@ctorgalson Could you post the full <Configure /> line, showing the facetFilters string?
Could you also copy-as-curl the request that gets made to the Typesense server from the browser and post it?

@ctorgalson Could you post the full <Configure /> line, showing the facetFilters string?
Could you also copy-as-curl the request that gets made to the Typesense server from the browser and post it?

@jasonbosco I will, though I'll have to recreate the issue as I found an alternate solution :)

Adding to this thread because I didn't find it on my first ten trips through Algolia's docs: Virtual Widgets.
TL;DR: There's a way in React to provide default values without adding a "real" widget, like this:
<VirtualRefinementList attribute="categories" defaultRefinement="Cell Phones" />

@jasonbosco I will, though I'll have to recreate the issue as I found an alternate solution :)

Adding to this thread because I didn't find it on my first ten trips through Algolia's docs: Virtual Widgets.
TL;DR: There's a way in React to provide default values without adding a "real" widget, like this:
<VirtualRefinementList attribute="categories" defaultRefinement="Cell Phones" />

Has anyone solved it for vue-instantsearch?
If I do: <ais-configure :filters="'my_filter:true'"> the filter is not picked up, for <ais-configure :facetFilters="['my_filter:true']"> the filter is picked up, but overwritten once I select another filter

@reinoldus Filters need to be specified in the format mentioned here. The adapter then converts them to the Typesense filter string format internally.

the filter is picked up, but overwritten once I select another filter

This is expected behavior for the configure widget. It's only meant to set a default filter on load. If you need to enforce a filter for all searches, then you want to use the helper object that's exposed via the search function.

Hi @jasonbosco , I have tried to use the search helper you mentioned which gets injected into the searchFunction of the as described here. Now I want to add a default filter to all searches based on a language field we have in our typesense index so the user only sees english or german or french results. The field in the index is defined as a facet but when I try to use for example this code:
searchFunction(helper) {
  helper.addFacetRefinement("language", "de").search();
},

I get the error that the facet 'language' is not defined. It is mentioned that these facets need to be declared when initializing the helper like so:
var helper = AlgoliasearchHelper(client, indexName, {
  facets: ['nameOfTheAttribute']
});

Is there a way to use facets like that at all using the helper object? I am not sure how I can get to this using the vue version of the adapter and the instansearch-js widget set for vue.

@krisimmig I just tried this out myself in Vue and I saw the same error you saw: "Error: X is not defined in the facets attribute of the helper configuration". Didn't find anything useful googling around. I was almost going to give up, but by some trial-and-error serendipity I found a configuration that made that error go away:
export default {
  data() {
    return {
      searchClient,
      searchParameters: {
        facets: ['language'],
      },
      searchFunction(helper) {
        helper.addFacetRefinement('language', 'de').search();
      },
    };
  },
};

Here's the full diff to get static filters working in my demo Vue app: https://github.com/typesense/typesense-vue-instantsearch-demo/compare/typesense:c4d2400...typesense:7edf1bf

That´s it, awesome! :) I didn't think to find the facets param in the ais-configure widget, but it is there and like that it seems to work as expected. Thanks for your help!

@jasonbosco Thanks for all the tips, this has been driving me insane for days.
Can you think of a way to conditionally apply the filterBy logic if a given input has a value in it? Use case is being able to filter by an exact record ID should the user want to do that.

@pjatx You could do this outside of the context of the adapter, from the Typesense backend. You can turn off typo tolerance and prefix search for just the record ID field, and add it to the query_by fields may be in the beginning of the list. Then if a user searches for an exact record ID, that will be surfaced first.

@jasonbosco thanks that's super helpful - will give it a shot!

Supported operands, less than is not supported on numeric filter
  methods: {
     searchFunction(helper) {
        //helper.addFacetRefinement('deal', 'deal').search();

        helper.addNumericRefinement('price_per_night','>',this.slider_amount).search();

     //helper.addFacetRefinement('price_per_night','>'+this.slider_amount).search();
      },

Even the commented code works, but for numeric filter, less than is not supported.

@krisimmig I just tried this out myself in Vue and I saw the same error you saw: "Error: X is not defined in the facets attribute of the helper configuration". Didn't find anything useful googling around. I was almost going to give up, but by some trial-and-error serendipity I found a configuration that made that error go away:
export default {
  data() {
    return {
      searchClient,
      searchParameters: {
        facets: ['language'],
      },
      searchFunction(helper) {
        helper.addFacetRefinement('language', 'de').search();
      },
    };
  },
};

Here's the full diff to get static filters working in my demo Vue app: typesense/typesense-vue-instantsearch-demo@typesense:c4d2400...typesense:7edf1bf

The searchFunction should be placed inside the functions block in vue js. It still works where its placed but if you have a variable, its changeable once its in the methods block._

@britisharmy
You want to call addNumericRefinement in a method chain like this:
https://github.com/typesense/typesense-vue-instantsearch-demo/commit/0b30a5b62fc938196c24658c1ea8727621d750de
Side note: instantsearch only issues <= and >= filters from its widgets, so those are the only two operators supported by the adapter.
Separately, good call out on moving searchFunction to methods. I've updated the demo.

@jasonbosco any way to have a separate search field that only filters on a single attribute within the context of the search adapter? Still wrestling with the same use case above.
More context:

Currently using vue-instantsearch (works great)
Using it to search through about 50K film records - fields include title, abstract, release date, film ID, etc...
Want to use main search field (AisSearchBox) to search across all fields, but want to include a separate field that would filter all the results by an exact match on the film id. Using a refinement, but not the best UX.

Any way this is achievable in my current setup?

@pjatx I see, if you really wanted to, you can have multiple search boxes, you'd need multiple instances of InstantSearch as described here.
numTypos: 0 will disable typo tolerance for all fields. numTypos: '0,2,2,2,2,2,2' is what you need. Could you expand on what you mean by it doesn't work? Did you see an error or did you get results which included typo corrected ones? In any case, could you open a separate issue in the main typesense repo for this?

@jasonbosco thanks, that's definitely helpful.
Yeah no problem, here's the error I get when I try to pass a string of comma-separated values:
Error: 400 - Parameter num_typos must be an unsigned integer.
Would be happy to open a separate issue if helpful!

Could you make sure you're running the latest version of Typesense v0.21.0 - that's the one that has support for per-field num_typos. If you're running on Typesense Cloud, if you email contact @ typesense d0t org with your cluster id, we can upgrade it in place for you.

@jasonbosco ah - that's it. I'm still on 0.19.0. Will upgrade and let you know if I have any more issues. Can't thank you enough for the help! Love Typesense : )

@furnnl The reason filterBy doesn't work when set in additionalSearchParameters is because it's overridden by InstantSearch's refinement widgets internally. So you want to manage default filters through InstantSearch's configure widget. (Also works similarly in React, Vue, Angular, etc flavors of InstantSearch).
And specifically for filters, you want to use the facetFilters key and define the filters in the format described here. The adapter will then take care of translating that into the Typesense filter format.
So in your example, you want to do something like this:
instantsearch.widgets.configure({
  facetFilters: ['myfilter:0']
});

Does that help?

So, we only can filter by field that has beed declared "facet"? In my case, user want to filter by some value that I didnot make it as facet when creating the collection. So, do I need to recreated the collection and import all the data? I didn't find any "edit schema" menu.

So, we only can filter by field that has beed declared "facet"?

In Typesense Server, you can filter by fields that are not set as facets. However, (unfortunately) InstantSearch.js's widgets makes the assumption that all filter fields are set as facets, since that's how Algolia works. So if you're using InstantSearch with Typesense, you would also have to set any fields you want to filter by as a facet.

So, do I need to recreated the collection and import all the data?

Correct. I'd recommend using collection aliases to do this with zero downtime. We have an open item to add support for editing an existing schema: https://github.com/typesense/typesense/issues/96

For those trying to configure Angular ~12, here's a working example.
It also includes a geosearch solution that @jasonbosco helped me solve.
component.ts
// region Typesense Configuration
config = {
  indexName: 'events',
  searchClient
} as InstantSearchConfig;

searchParameters = {
  hitsPerPage: 10,
  q         : '*',
  query_by  : 'title',
  aroundLatLng: '45.406431, -78.6848739',
  aroundRadius: 1000
}
// endregion

component.html
<ais-instantsearch [config]="config" (change)="setHits($event)">
  <ais-configure
    [searchParameters]="searchParameters"
  ></ais-configure>

  <ais-search-box [searchAsYouType]="false"></ais-search-box>
  <ais-geo-search></ais-geo-search>

  <ais-hits>
    <ng-template #searchResults let-hits="hits" let-results="results">
      <div *ngFor="let hit of hits">
        {{hit.title}}
      </div>
    </ng-template>
  </ais-hits>
</ais-instantsearch>

Further insight for filtering with numbers within Angular:
As previously mentioned, when doing a numeric search, only ">= and <=" are supported.
However you must also be use them with the 'numericFilters' field instead of 'facetFilters'.
// assign to <ais-config> widget
  searchParameters: any = {
    hitsPerPage: 10,
    numericFilters: ['date.startDate >=<PHONE_NUMBER>'],
    q         : '*',
    query_by  : 'title',
    aroundLatLng: '44.406431, -79.6848739',
    aroundRadius: 14000 // in meters
  }

Quick update: I just added the ability for the adapter to handle the filters prop in the Configure widget in addition to facetFilters and numericFilters in v2.4.1-3. Here's documentation for the format to use with filters.

@jasonbosco came here via a Slack Typesense thread. I just gave numericFilters a shot on 2.4.1-3 and I'm receiving the following error:

Per typsense docs, I think I'm implementing it correctly by following Algolia's syntax, right?:
<Configure
    numericFilters={[
        `teamId = 1`
    ]}
/>

However, with this version, I can at least get away with using filters as that seems to work in 2.4.1-3:
<Configure
    filters='teamId:= 3'
/>

Am I missing something obvious in the numericFilters implementation?

@uncvrd Thank you for catching that and thank you for PR #114. I've published this in v2.4.1-4.

this was really helpful in figuring out how to use typesense search parameters with configure i managed to get facet refinement working as follows, (using js version of instantsearch):
 facetWidget = instantsearch.widgets.configure({             facets: ['your facet column']    }) searchInstance = instantsearch({indexName, typesenseSearchClient}) searchInstance.addWidget(facetWidget) searchInstance.start() searchInstance.helper.addFacetRefinement('facet column name', 'facet value'))

Hi @jasonbosco ,
Is there a way to do this with negation? For example we want to show all items EXCEPT those that have someAttr:true. How would we do this :facetFilters?
Thanks.

@reinoldus Filters need to be specified in the format mentioned here. The adapter then converts them to the Typesense filter string format internally.

the filter is picked up, but overwritten once I select another filter

This is expected behavior for the configure widget. It's only meant to set a default filter on load. If you need to enforce a filter for all searches, then you want to use the helper object that's exposed via the search function.

@braincomb Does addFacetExclusion help: https://instantsearchjs.netlify.app/algoliasearch-helper-js/reference#AlgoliaSearchHelper#addFacetExclusion

@braincomb Does addFacetExclusion help: https://instantsearchjs.netlify.app/algoliasearch-helper-js/reference#AlgoliaSearchHelper#addFacetExclusion

Thanks @jasonbosco, that worked perfectly.
For anyone looking for the same solution, here's what I did for vue-instantsearch to do an exclusion filter:
<ais-instant-search index-name="index" :search-client="searchClient" :search-function="searchHelper">

<ais-configure :facets="['facetToExclude']"></ais-configure>

const searchHelper= (helper: any) => {
  helper.addFacetExclusion("facetToExclude", "value").search();
};


ARM Support for SQL

Looking forward to future iterations of the auto-generated ARM packages. In the current version, I don't see SQL present anywhere. Are there plans to generate an ARM package for SQL? There are some ARM-only commands I'm looking to take advantage of.
Thanks!

@av11d Thanks for bringing this up. It looks like we are currently missing API specs for SQL Databases API. Can you please request for the API sp ec to be written by opening an issue at https://github.com/Azure/azure-rest-api-specs ? Once the specs are in place, we can auto-generate the code easily.
cc: @devigned

I have started working on the spec.  I will try to get it done soon, but I'm not sure how long it will take with other obligations I have.

:+1: @akromm you are awesome!

@ahmetalpbalkan looks like this is now present:
https://github.com/Azure/azure-sdk-for-go/tree/master/arm/sql
Should we close this issue?

@brendandburns sounds about right.


JMSCC0111 for simple application with two topic listener and without JMS cache

Hi everyone,
I have a Java application using Spring Boot 2.6.3 and mq-jms-spring-boot-starter in version 2.6.3 which subscribes to two durable topics using @JmsListener. When I disable the JMS cache, I get the following exception every 5 seconds:
Could not refresh JMS Connection for destination 'topic1' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: JMSCC0111: IBM MQ classes for JMS attempted to set a pre-existing client ID on a Connection or JMSContext.

A minimal working example can be found at https://github.com/bjpe/jms-mq-jmscc0111, the application is running against a local MQ started in Docker via
docker run --env LICENSE=accept --env MQ_QMGR_NAME=QM1 --env MQ_APP_PASSWORD=passw0rd --publish 1414:1414 --publish 9443:9443 ibmcom/mq:<IP_ADDRESS>-r1

If I either enable com.ibm.mq.jms.SupportMQExtensions or spring.jms-cache, then the exception is not thrown.
Is this a bug or am I missing something here? I would be glad for any help.
Kind Regards,
Björn

The MQ documentation describes that property and how the clientid would normally need to be unique on connections for a standards-compliant program.
Your config yaml file contains a clientid, so that is going to be set on all connections - which breaks the JMS rules, but the MQExtensions property allows you to go ahead anyway. I don't know why turning on caching also gets round it but perhaps it's reduced the number of connections that are getting made.


Why Do I See "Error On Page" In Internet Explorer?

Yes, I already cleaned the cache, removed the cookies, jump 3 times and drunk 5 virgin tears. Still doesn't work in Internet Explorer. The other 3 amigos work as expected :
Firefox :
Chrome :
Opera :
Please help!

Try to use

What version of IE are you using ?
Running it with the following command on Edge works, I hope it helps:

@paraita ir's not better this other solution?

@paraita I'm running on internet explorer 10

@Dokman how could I not see it, thanks for the clarification, I'm modifying my previous comment


Select the first project when searching in the project manager

This makes the project manager usable for opening existing projects without ever touching the mouse. Just enter text in the autofocused search box and press Enter.
This partially addresses #8149.

Thanks!


PageView jumpToPage not working properly

Steps to Reproduce

PageView has a few pages. (ex. 6 pages)
A new page is added at the end of the pageview. (ex. index is 6)
pageController.jumpToPage to the last page(index 6). (between 2, 3 steps, there is plenty of time to redraw widget

Expected results:
onPageChanged called with the last-1 page (index is 5)
Actual results:
onPageChanged called with the last page (index is 6)

it does behave weirdly
it seems to me that triggers both for the page visible when calling jumpToPage
and the page before the jumpToPage target
@wolru does the code sample below represent the issue you are describing?

code sample
import 'package:flutter/material.dart';

class NumberOfPages extends ValueNotifier<int> {
static final NumberOfPages _instance = NumberOfPages._();

NumberOfPages._() : super(1);

factory NumberOfPages() => _instance;
}

void main() {
runApp(const MaterialApp(home: MyHomePage()));
}

class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});

@override
State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
late PageController _controller;

@override
void initState() {
  _controller = PageController();
  super.initState();
}

@override
void dispose() {
  _controller.dispose();
  super.dispose();
}

@override
Widget build(context) => ValueListenableBuilder(
      valueListenable: NumberOfPages(),
      builder: (context, numberOfPages, child) => Scaffold(
        appBar: AppBar(
          title: Text('Number of Pages: $numberOfPages'),
          actions: const [IncreaseMaxPagesActionWidget()],
        ),
        body: Builder(
          builder: (context) => PageView.builder(
            onPageChanged: (value) {
              print(value);
              ScaffoldMessenger.of(context).showSnackBar(
                SnackBar(content: Text('$value')),
              );
            },
            itemCount: numberOfPages,
            controller: _controller,
            itemBuilder: (context, index) => Center(
              child: Text('Page: ${index + 1}'),
            ),
          ),
        ),
        floatingActionButton: FloatingActionButton(
          key: ValueKey(_controller.hashCode),
          onPressed: () => _controller.jumpToPage(numberOfPages),
          child: const Icon(Icons.fast_forward),
        ),
      ),
    );
}

class IncreaseMaxPagesActionWidget extends StatelessWidget {
const IncreaseMaxPagesActionWidget({super.key});

@override
Widget build(context) => IconButton(
      onPressed: () => NumberOfPages().value++,
      icon: const Icon(Icons.plus_one),
    );
}

@iapicca Thank you for your answer.
I have a question.
Why is the page index 15 and not 14?
onPressed: () => _controller.jumpToPage(numberOfPages),
And I tested index + 1 in my code like example, onPageChanged is called twice (the prev index and last index)
You can also see this in your video.

If call jumpToPage function with numberOfPages - 1, the problem is occurred

@wolru It's working as expected. jumpToPage is taking an index. So to jump to the second to last page, you'd do _controller.jumpToPage(numberOfPages - 2) instead

@exaby73
why do I see page 14 in the snack at all?

@iapicca Do you mean that the onPageChanged callback is being called with an incorrect value when using jumpToPage?

@exaby73 I don't understand. Isn't the variable of jumpToPage the index I want to jump to?

Total pages are 15
I want to move page to the last page
So I call jumpToPage(14) (the last index)
Are you saying this is wrong?

I'll tell you exactly the problem
jumpToPage is working as expected, but  onPageChanged is is being called with an incorrect value

@iapicca Do you mean that the onPageChanged callback is being called with an incorrect value when using jumpToPage?

@exaby73
in the first part of my sample onPageChanged calls 1 and 14

assuming onPageChanged's callback is page based, not index

1 makes perfect sense since it's leaving page 1
14 doesn't make sense since has no interactions with page 14

assuming onPageChanged's callback is index based, not page

1 doesn't make sense since has no interactions with page 2, but why not calling 0?
14 makes only partially sense as it "lands" on page 15

which is it?

As what I can reproduce, onPageChanged is being called with the incorrect value. With this, I'll label the issue.

My current parcial workaroung is to only execute the onPageChanged code if the user interacts by scrolling and not if he uses jumpToPage
onPageChanged: (int index)  {
   if (pageController.page == pageController.page!.floor())   {
      return;
   }
   // code
},

Is there a better way to check if the PageView is scrolling?

I'm experiencing this issue too as described above.
If I'm on the page with index 0 and I call controller.jumpTo(1) then onPageChanged is called with index = 0 when I would expect it to be 1 since this is the new page.


No data from standard cosmos chains

Describe the bug:
We are working on new chain and do not get any data from bigdipper.
On console I see following error:
field "genesis" not found in type: 'query_root'- Tertasu on error handle ErrorOrCompleted afterExecute h Ii unstable_runwithpriority WI Oi zi D onmessage.
OS: Rest client and the explorer are running on separate instances both running Ubuntu 20.04.3 LTS
COSMOS SDK - 0.44.5
BD - postgres with bdjuno - 1.1.0
Additional context:
I cheeked database - data is there.
I checked the  client logs nothing.  How to proceed with debugging?

@AlexanderNtk
field "genesis" not found in type: 'query_root'- This seems like a hasura error.
Can you update the following to your gql url and run npm run graphql:codegen in the terminal.
https://github.com/forbole/big-dipper-2.0-cosmos/blob/f1c9080171d03c2483de035e95a90e1539df26e1/codegen.yml#L11
If there are errors there's most likely something wrong with your current hasura setup.

On console:
field "genesis" not found in type: 'query_root'
field "validator" not found in type: 'query_root'
Can we collaborate to fix this?
@ryuash where I can drop you privately info ?

@AlexanderNtk
Can you check the following for me?
In the hasura console, turn off x-hasura-admin-secret

and test this query:
query ChainId {
  genesis(limit: 1, order_by: {time: desc}) {
    chainId: chain_id
    time
  }
}

If you get the following this most likely is a permissions error from hasura and possibly mean the metadata was imported incorrectly https://docs.bigdipper.live/cosmos-based/parser/hasura#importing-the-metadata.

If it's not the following then, feel free to invite me to a private repo, gist with the url

I want to write was done without errors. :)
I reimport metadata and got:
Error: [big.js] Division by zero
NextJS 13
framework-7687e9f5fb6df3737fc2.js:1:83585
NextJS 21

Whoops! please use the latest base! I just fixed this bug a few hours ago https://github.com/forbole/big-dipper-2.0-cosmos/pull/760

cloned from base, prepared and now works fine. Do not have errors right now. Thanks.


Add recipes for SAPCAL images

So far there's only the SLES 15 SP1 SAPCAL image available in keg-recipes. Each of the following versions need to be added for AWS, Azure and GCE, on-demand only:

SLES 15 SP4 SAPCAL
SLES 15 SP3 SAPCAL
SLES 12 SP3 SAPCAL

We're not handling SLES 12 SP3 in keg-recipes. I'll add the other ones.

Related PRs: https://github.com/SUSE-Enceladus/keg-recipes/pull/113 https://github.com/SUSE-Enceladus/keg-recipes/pull/114

Added a while ago.


Build failed when the DesignTools assemblies are loaded by Visual Studio.

I'm sorry that I can't find a correct place to report the issues of xaml design time. if any suggestions, please let me know☺.
Environment:
Microsoft Visual Studio Enterprise 2019 Preview
Version 16.4.0 Preview 5.0
Issuse:
After opening the MainWindow.xaml in DemoApplication project(building the entire solution successfully before, so I think the DesignTools is loaded by VS), then I modify some code in CustomControlLibrary.WpfCore.DesignTools project and want to re-build it, but failed.

Is there any way to improve this? because it's really a nightmare during developing the XAML design time.

VS loads assembly and it gets locked on disk so we get build errors. Workaround is to close VS instance and open it again then build should work.

@hemantbajpai4

VS loads assembly and it gets locked on disk so we get build errors. Workaround is to close VS instance and open it again then build should work.

Yeah, that's a workaround, but it's weird and really inconvenient to me, can we have another better option? it's impossible?
Seems the old architecture won't have the problem, the new one should not at least be worse than the old one, right?

Any updates?

I spent almost half of the time to restart VS when developing desgin time assemblies. Can anyone address it?

We will investigate this and update you, currently I am reopening this issue. Thanks

Can I release the occupation of the corresponding designtool.dll when the view is closed?


Add perceptually uniform colormaps (colorcet)

I am a aware that custom colormaps can be injected through the API, but i still think that it would be valuable to have a range of perceptually uniform colormaps available as named colormaps. I would argue, that in the majority of map visualizations, perceptually uniform colormaps should be preferred, and hence they should be available "as default". It seems that in Python, the preferred collection is colorcet,
https://colorcet.holoviz.org/
I am not sure about the naming scheme, the simplest option would probably be to keep everything else as-as and just add new schemes of the form "colorcet.rainbow" for the rainbow from colorcet. I guess the implementation would be fairly simple. I could try myself, if there are no objections towards the feature itself.

I note the recent requests for more colormap choices, and I'm thinking about a clean solution.
In the meantime, it might be worth noting that the following build-in colormaps are perceptually uniform:

viridis
plasma
inferno
magma
cividis

(see here)

Thanks for the update! Yes, it's correct that matplotlib has a few options. However, there are not that many - and i like some of the ones from colorcet better. I will stay tuned for further developments :)

and i like some of the ones from colorcet better

That is exactly why we make the selection of color maps extendable - everyone has different preferences. 😄 We'll think of something very soon.

@j08lue Haha, as i was writing that sentence i kind of realized that making the selection of color maps extendable would be the right way to go rather than simply adding colorcet. I'll monitor the progress :)

This is possible now with the new custom colormap feature. Just dump them into a folder in the right format and point terracotta to it via the TC_EXTRA_CMAP_FOLDER envvar (see the tutorial here).


[App Config] Add missing dev dependencies

@HarshaNalluru looks good but you still need to fix this issue in the package.json you link to in the guide: https://github.com/Azure/azure-sdk-for-js/blob/fe9b1e5a50946f53b6491d7f67b2420d8ee1b229/sdk/storage/perf-tests/storage-file-datalake/package.json


Missing assets

Hi.
I upgraded to v.2.0 and when I run I get
php artisan vendor:publish \
--provider="SciFY\LaravelCookiesConsent\LaravelCookiesConsentServiceProvider" \
--tag="cookies-consent-assets"

  ERROR  Can't locate path: <vendor/scify/laravel-cookies-consent/src/../public/cookies-consent.js>.

   ERROR  Can't locate path: <vendor/scify/laravel-cookies-consent/src/../public/cookies-consent.css>.

   ERROR  Can't locate path: <vendor/scify/laravel-cookies-consent/src/../public/cookie.png>.

Hello! Thanks for opening an issue. We released a new version with the bug fix. Can you please try updating?


Enhancements Abusement_Gaming

Discord message
+ Web Browser Type Bar (Moveable Tabs) as pictured
+ Search Bar to find server faster if  you have a large amount of servers like me.
+ Custom Server Tags (so you can filter types of servers or versions) i.e PVP, 1.9, Pixelmon, Tech
+ Unlimited Legnth Server Names (Currently I have to use NBT Explorer to do so)
+ Custom Color Server names like the minimotd plugin
+ I have more ideas if you want to pick my brain

Example tabs picture

Ideas Expanded:
[Server Title Length]
Default Max is 31 Characters; Would be nice not to have a limit.

-Ability to use custom server-icons (locally stored
-Ability to use custom server motd (locally stored)
-Ability to use a master server list. (sync server list across multiple versions of minecraft with the same client mod)
[Color Text]
The ability too use Color Text:

https://docs.adventure.kyori.net/minimessage/format.html#
That's it for now.


vendor report

The vendor Report is still not working properly.  When I pull it it now includes language from RFP's and is not lining up columns correctly.
vendor pull 12.5.16.xlsx

Hi Riley,
Sorry I didn't have a chance to take a look at this this weekend, but I'll look later this week.

This should work now.


Tweak TileMap editor's missing source message to use "bottom panel" term

This term is used throughout the editor (including EditorPlugin) as these bottom panels are technically not tabs.

This closes https://github.com/godotengine/godot-proposals/issues/3874.

Thanks!


Split the library in smaller, more manageable, libs

In progress, development in branch crate_split/dev.

Implemented in https://github.com/MindFlavor/AzureSDKForRust/pull/124


Frage

https://github.com/schwibbes/sugardaddy/blob/0705a42ba00ac0f4825aa381a718347ff535fcad/app.py#L11

works as intendend!


can substitute boringssl with openssl?

Click to expand!
Issue Type
Build/Install
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
tf 2.8.4
Custom Code
No
OS Platform and Distribution
ubuntu22.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
my project import brpc and tf both, brpc must use openssl, tf use boringssl, so build will fail, can I modify tf use openssl?

Standalone code to reproduce the issue
build conflict

Relevant log output
No response

In general, it's not advised to do so. boringssl is a safer version of openssl, with none of the design choices that resulted in the openssl vulnerabilities that are famous (Hearthbleed) or not

I know boringssl may have better security and performance, but our service not for public, so security may not so important to us. for we must use brpc, so we must use openssl, from you answer, I guess I can modify tensorflow to use openssl

thanks a lot

for anyone has same demand, use repo_mapping = { "@boringssl": "@openssl",} is the fastest sustitution way

for anyone has same demand, use repo_mapping = { "@boringssl": "@openssl",} is the fastest sustitution way对于任何有相同需求的人，使用 repo_mapping = { “”： “”，} 是最快的 sustitution 方式

there?please


K8s chart update

Those fix a few things, plus add support for :

gameserver data files download when pv is empty
external mysql server (untested)

Thanks @2o1o0 again, looks good to me!
And external database works as expected 👍


Implement some way to show the sql used to create a view

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As suggested by @Dandandan  on https://github.com/apache/arrow-datafusion/pull/2279#discussion_r869751636 it would be very nice to be able to see the original SQL used to define a view.
Apparently postgres uses a function: https://stackoverflow.com/questions/14634322/how-to-see-the-create-view-code-for-a-view-in-postgresql
Mysql uses SHOW CREATE VIEW: https://dev.mysql.com/doc/refman/8.0/en/show-create-view.html
mysql> create view f as select * from foo;
Query OK, 0 rows affected (0.00 sec)

mysql> show create view f;
+------+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+----------------------+
| View | Create View                                                                                | character_set_client | collation_connection |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+----------------------+
| f    | CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `f` AS select `foo`.`bar` AS `bar`,`foo`.`baz` AS `baz` from `foo` | utf8mb4              | utf8mb4_0900_ai_ci   |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+----------------------+
1 row in set (0.00 sec)

Describe the solution you'd like
Store the original SQL and make it accessable via SQL
Describe alternatives you've considered
Additional context
https://github.com/apache/arrow-datafusion/pull/2279

I'll have a go at this

Thank you very much @mrob95  -- we have appreciated all your other fine work to date as well!


Fix make go/apis/envoy

Description
In PR #1638, I wrote:

make go/apis/envoy was broken, then I spent a while trying to fix it. There was breakage introduced by this PR, so I added a commit fixing that specific breakage. But it was already broken, and I haven't fixed that breakage. That can be a later unit of work.
I'm not stoked that the workflow for Envoy that emerged resulted in make go/apis/envoy [being broken] went un-noticed, since make docker-update-base is supposed to call it. Oh well, that can be dealt with later.

To which @gsagula replied:

I have tried other make commands such as make docker-update-base and I can confirm that it works. I haven't tried make go/apis/envoy but I agree that we can deal with it later.

I'm not quite sure how that's possible, given that docker-update-base is defined as:
docker-update-base:
	$(MAKE) docker-base-images go/apis/envoy
	$(MAKE) docker-push-base-images

I suspect what happened is that make docker-update-base failed, but after creating the Docker images.  Then Gabriel didn't notice the error, and proceeded to manually run make docker-push-base-images.
Regarding the specific breakage, make go/apis/envoy broke in commit 910c8eee2952fab0d0c4b5ca6f5ddf1d6200f126, which pulled in changes to the list of protobuf dependencies, but didn't update imports or mappings in the Makefile.
Without addressing the workflow concerns, this PR fixes make go/apis/envoy.
I'm leaving workflow fixes for another unit of work, as I brain-storm ways to improve the workflow such that we/CI catch this in the future.
Testing
I ran rm -rf go/apis/envoy && make go/apis/envoy && go build ./go/....

Uhhhhh. I have no idea how to review this. Shall we talk about it tomorrow? 🙂

An annotated patch:

$ git diff master lukeshu/fix-go-generate -- ':!go/apis/envoy/'

Maybe glance at changes to go/apis/envoy/ for sanity checking; but
they're all generated files and can mostly be ignored for review.

diff --git a/Makefile b/Makefile
index af8a4d1a..b675719d 100644
--- a/Makefile
+++ b/Makefile
@@ -614,6 +614,11 @@ release:
 # Go gRPC bindings
 # ------------------------------------------------------------------------------

+# The version numbers of `protoc` (in this Makefile),
+# `protoc-gen-gogofast` (in go.mod), and `protoc-gen-validate` (in
+# go.mod) are based on
+# https://github.com/envoyproxy/go-control-plane/blob/master/Dockerfile.ci
+
 PROTOC_VERSION = 3.5.1
 PROTOC_PLATFORM = $(patsubst darwin,osx,$(GOOS))-$(patsubst amd64,x86_64,$(patsubst 386,x86_32,$(GOARCH)))

@@ -630,29 +635,28 @@ venv/bin/protoc-gen-validate: go.mod | venv/bin/activate

 # Search path for .proto files
 gomoddir = $(shell $(FLOCK) go.mod go list $1/... >/dev/null 2>/dev/null; $(FLOCK) go.mod go list -m -f='{{.Dir}}' $1)
+# This list is based 'imports=()' in https://github.com/envoyproxy/go-control-plane/blob/master/build/generate_protos.sh
 imports += $(CURDIR)/envoy-src/api

Just adding comments.

 imports += $(call gomoddir,github.com/envoyproxy/protoc-gen-validate)
-imports += $(call gomoddir,github.com/gogo/protobuf)
+imports += $(call gomoddir,github.com/gogo/googleapis)
 imports += $(call gomoddir,github.com/gogo/protobuf)/protobuf
+imports += $(call gomoddir,istio.io/gogo-genproto)
 imports += $(call gomoddir,istio.io/gogo-genproto)/prometheus
-imports += $(call gomoddir,istio.io/gogo-genproto)/googleapis
-imports += $(call gomoddir,istio.io/gogo-genproto)/opencensus/proto/trace/v1

 # Map from .proto files to Go package names
+# This list is based 'mappings=()' in https://github.com/envoyproxy/go-control-plane/blob/master/build/generate_protos.sh
 mappings += gogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto
 mappings += google/api/annotations.proto=github.com/gogo/googleapis/google/api
-mappings += google/api/http.proto=github.com/gogo/googleapis/google/api
 mappings += google/protobuf/any.proto=github.com/gogo/protobuf/types
 mappings += google/protobuf/duration.proto=github.com/gogo/protobuf/types
 mappings += google/protobuf/empty.proto=github.com/gogo/protobuf/types
 mappings += google/protobuf/struct.proto=github.com/gogo/protobuf/types
 mappings += google/protobuf/timestamp.proto=github.com/gogo/protobuf/types
 mappings += google/protobuf/wrappers.proto=github.com/gogo/protobuf/types
-mappings += google/rpc/code.proto=github.com/gogo/googleapis/google/rpc
-mappings += google/rpc/error_details.proto=github.com/gogo/googleapis/google/rpc
 mappings += google/rpc/status.proto=github.com/gogo/googleapis/google/rpc
 mappings += metrics.proto=istio.io/gogo-genproto/prometheus
-mappings += trace.proto=istio.io/gogo-genproto/opencensus/proto/trace/v1
+mappings += opencensus/proto/trace/v1/trace.proto=istio.io/gogo-genproto/opencensus/proto/trace/v1
+mappings += opencensus/proto/trace/v1/trace_config.proto=istio.io/gogo-genproto/opencensus/proto/trace/v1
 mappings += $(shell find $(CURDIR)/envoy-src/api/envoy -type f -name '*.proto' | sed -E 's,^$(CURDIR)/envoy-src/api/((.*)/[^/]*),\1=github.com/datawire/ambassador/go/apis/\2,')

A few things are going on here; let's re-arrange it a bit:

The Envoy protobufs stopped referring to opencensus trace.proto
as bare trace.proto, and started referring to it as
opencensus/proto/trace/v1/trace.proto; the search path now needs
to be istio.io/gogo-genproto instead of
istio.io/gogo-genproto/opencensus/proto/trace/v1; we also need
to adjust the mapping to include the path.

-imports += $(call gomoddir,istio.io/gogo-genproto)/opencensus/proto/trace/v1
+imports += $(call gomoddir,istio.io/gogo-genproto)
-mappings += trace.proto=istio.io/gogo-genproto/opencensus/proto/trace/v1
+mappings += opencensus/proto/trace/v1/trace.proto=istio.io/gogo-genproto/opencensus/proto/trace/v1

Envoy updated to a newer version of opencensus, which adds
trace_config.proto.  We need to add a Go package mapping for it.

+mappings += opencensus/proto/trace/v1/trace_config.proto=istio.io/gogo-genproto/opencensus/proto/trace/v1

Move protobuf definitions istio.io/gogo-genproto/googleapis →
github.com/gogo/googleapis.  NB that we were already using
github.com/gogo/googleapis in the Go package mappings.

-imports += $(call gomoddir,istio.io/gogo-genproto)/googleapis
+imports += $(call gomoddir,github.com/gogo/googleapis)

Garbage collect unused stuff.

-imports += $(call gomoddir,github.com/gogo/protobuf)
-mappings += google/api/http.proto=github.com/gogo/googleapis/google/api
-mappings += google/rpc/code.proto=github.com/gogo/googleapis/google/rpc
-mappings += google/rpc/error_details.proto=github.com/gogo/googleapis/google/rpc

 joinlist=$(if $(word 2,$2),$(firstword $2)$1$(call joinlist,$1,$(wordlist 2,$(words $2),$2)),$2)
diff --git a/go.mod b/go.mod
index b7b058bc..506899f1 100644
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,7 @@ go 1.12

 require (
 	github.com/envoyproxy/data-plane-api v0.0.0-20190403155806-897f5b09bbe3
-	github.com/envoyproxy/protoc-gen-validate v0.0.0-20190405222122-d6164de49109
+	github.com/envoyproxy/protoc-gen-validate v0.0.15-0.20190405222122-d6164de49109

Note that the commit has at the end stayed the same--it's just the
vX.Y.Z being updated because they retroactively pushed some tags, and
that confused go, which thought that the version pointed to
something before v0.0.14 (because v0.0.0 < v0.0.14), instead of few
commits after v0.0.14.

 	github.com/gogo/googleapis v1.1.0
 	github.com/gogo/protobuf v1.2.1
 	github.com/golang/protobuf v1.2.0
@@ -18,5 +18,16 @@ require (
 	golang.org/x/text v0.3.0
 	google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
 	google.golang.org/grpc v1.19.1
-	istio.io/gogo-genproto v0.0.0-20190124151557-6d926a6e6feb
+	istio.io/gogo-genproto v0.0.0-20190614210408-e88dc8b0e4db

gogo-genproto contains the opencensus protobuf definitions; we need an
update here to get trace_config.proto.

+)
+
+// Pin versions of external commands (i.e. things that we don't use as
+// libraries).  We explicitly 'replace' them so that `go mod tidy`
+// can't make the file forget which version we want.
+replace (
+	// Go a few commits after v0.0.14 to get the
+	// github.com/{lyft→envoyproxy}/protoc-gen-validate rename
+	github.com/envoyproxy/protoc-gen-validate => github.com/envoyproxy/protoc-gen-validate v0.0.15-0.20190405222122-d6164de49109
+
+	github.com/gogo/protobuf => github.com/gogo/protobuf v1.2.1
 )

Comments should make this self-explanatory.

diff --git a/go.sum b/go.sum
index 0deea649..582a4467 100644
--- a/go.sum
+++ b/go.sum
@@ -5,6 +5,9 @@ github.com/envoyproxy/data-plane-api v0.0.0-20190403155806-897f5b09bbe3/go.mod h
 github.com/envoyproxy/protoc-gen-validate v0.0.0-20190405222122-d6164de49109 h1:FNgqGzbOm637YKRbYGKb9cqGo8i50++w/LWvMau7jrw=
 github.com/envoyproxy/protoc-gen-validate v0.0.0-20190405222122-d6164de49109/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
 github.com/envoyproxy/protoc-gen-validate v0.0.14 h1:YBW6/cKy9prEGRYLnaGa4IDhzxZhRCtKsax8srGKDnM=
+github.com/envoyproxy/protoc-gen-validate v0.0.15-0.20190405222122-d6164de49109 h1:U1RyeEwqO++6RvIA7bY98AcYIFPQMwrOeWNmw+dvq9w=
+github.com/envoyproxy/protoc-gen-validate v0.0.15-0.20190405222122-d6164de49109/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
+github.com/envoyproxy/protoc-gen-validate v0.1.0 h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A=
 github.com/gogo/googleapis v1.1.0 h1:kFkMAZBNAn4j7K0GiZr8cRYzejq68VbheufiV3YuyFI=
 github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s=
 github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=
@@ -47,3 +50,5 @@ google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZi
 honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
 istio.io/gogo-genproto v0.0.0-20190124151557-6d926a6e6feb h1:m6oJj4SHNNgTcsQG0Wgx881zrYo8LkYy9w6SE3Gk8gM=
 istio.io/gogo-genproto v0.0.0-20190124151557-6d926a6e6feb/go.mod h1:eIDJ6jNk/IeJz6ODSksHl5Aiczy5JUq6vFhJWI5OtiI=
+istio.io/gogo-genproto v0.0.0-20190614210408-e88dc8b0e4db h1:a++JUbz/eKj16759379pFBhuoiSxUTmnut6ITM/9FEs=
+istio.io/gogo-genproto v0.0.0-20190614210408-e88dc8b0e4db/go.mod h1:eIDJ6jNk/IeJz6ODSksHl5Aiczy5JUq6vFhJWI5OtiI=

All of this looks good -- many thanks!


x86 and Jetson Orin compiling error in 20.04/Noetic

Please provide information for your bug report:
Extension error:
Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/home/iscan/.local/lib/python3.8/site-packages/jinja2/init.py))
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer':
Command '['ninja', '-j2']' returned non-zero exit status 1.
Reproduce this error by running:
==> cd /home/iscan/cartographer_ws/build_isolated/cartographer && ninja -j2
Command failed, exiting.

if you're using cartographer_ros from source, provide the Git commit hash
(via git log -1 --format="%H"):

if you're using a release package, provide the version
(e.g. via apt show <package_name>):

provide all information that is needed to analyze and reproduce the bug
(logs, commands that have been used, ...)
just following the guide
PLEASE NOTE: we don't support custom forks or extensions.
If you need tuning advice, you can open a tuning issue instead.

sudo pip3 install jinja2==3.0.3


Add updating label selector range in QtLabelsControls on data change

References and relevant issues
extracted from  #6471
Description
Add updating label selector range in QtLabelsControls on data change

Hmm. Fresh env but with pyqt6 python 3.11
When I try to start napari with this branch I get:
Traceback (most recent call last):
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-dev/bin/napari", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/piotrsobolewski/Dev/napari/napari/__main__.py", line 573, in main
    _run()
  File "/Users/piotrsobolewski/Dev/napari/napari/__main__.py", line 343, in _run
    viewer._window._qt_viewer._qt_open(
  File "/Users/piotrsobolewski/Dev/napari/napari/_qt/qt_viewer.py", line 926, in _qt_open
    self.viewer.open(
  File "/Users/piotrsobolewski/Dev/napari/napari/components/viewer_model.py", line 1203, in open
    layers = self._open_or_raise_error(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/piotrsobolewski/Dev/napari/napari/components/viewer_model.py", line 1266, in _open_or_raise_error
    _path = paths[0]
            ~~~~~^^^
IndexError: list index out of range

If I checkout main it's fine.

@psobolewskiPhD given that everything is green, I suspect there is something wrong with your installation, rather than the PR...
Why is it even trying to open anything??? 🤔

This works for me. It's a little wonky in that e.g. if I:

run examples/add_labels.py
set the selected label to 700
then convert the datatype to int8

The selected label doesn't change. Only when I click - does it switch down to 126.
Incidentally, I am not allowed to switch the dtype from signed to unsigned, and it just fails silently to convert if I click on uint8 instead of int8. I'll raise an issue about that.

given that everything is green, I suspect there is something wrong with your installation, rather than the PR...

Peter stactrace contains untested code.

Why is it even trying to open anything??? 🤔

Because it always try to do this...
@psobolewskiPhD spot bug introduced by #6467
He just does not have the latest main pulled locally.

eep, yeah sorry about that, I pulled down fresh main and get the same error on main--which there is already a PR to fix. Code looks OK but I like to be able to play with GUI elements.

Incidentally, I am not allowed to switch the dtype from signed to unsigned, and it just fails silently to convert if I click on uint8 instead of int8. I'll raise an issue about that.

Could you describe it in more detail? It converts successfully in my case (but the menu is not refreshed).

Could you describe it in more detail? It converts successfully in my case (but the menu is not refreshed).

Ah, checking the menu is all I was doing. But it's surprising that the menu refreshes for the same-kind (signed/unsigned) switch, but not signed->unsigned, right? 🤔


[Bug]: Installation failed on VM

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When running from towhee import pipeline in VM, it raises “ModuleNotFoundError: No module named 'towhee'”
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- Towhee version(e.g. v0.1.3 or 8b23a93):
- OS(Ubuntu or CentOS): Ubuntu
- CPU/Memory:
- GPU:
- Others:

Anything else?
No response

Can you clarify? What VM are you using and how did you install Towhee?

I chose installation via pip. See below:
zichuan@zichuan-Standard-PC-i440FX-PIIX-1996:~$ python3
Python 3.6.9 (default, Dec  8 2021, 21:08:43)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from towhee import pipeline
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'towhee'

Can you rerun pip install towhee and paste the output here?

zichuan@zichuan-Standard-PC-i440FX-PIIX-1996:~$ pip install towhee
Collecting towhee
  Downloading https://files.pythonhosted.org/packages/1a/85/5aca04c56146b1774a0344b447978f7e82b1ee8fef2a3b9d1b535f40f8a0/towhee-0.4.0.tar.gz (3.8MB)
    100% |████████████████████████████████| 3.8MB 247kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-BIJzoY/towhee/setup.py", line 27
        def create_towhee_cache(dst: str):
                                   ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-BIJzoY/towhee/

We don't support Python 2. Try this:
$ python3 -m venv towhee_env  # create a virtual environment
$ source towhee_env/bin/activate  # activate your newly created virtual environment
$ pip3 install -U pip  # we recommend updating pip first before installing Towhee
$ pip3 install -U towhee  # install Towhee

Then try running a pipeline.


Labels or Tooltip on note-actions at the bottom

Problem
I'm always frustrated when I see a bunch of icons I don't understand immediately. Despite being a designer and avid-tech-person, I struggled to understand (right away), what each icon would do.
Solution
Ideal solution is to add labels along with icons. If that's not possible, then add a tooltip that shows up immediately when I hover on the action-icon-button and persist till I don't take my cursor out.
Notes

Spotify reference when you hover the 'heart' icon. (They still don't load the tooltip immediately.)

More reading on this topic - https://www.nngroup.com/articles/icon-usability/

Hey @sanketpath,
I think this is an amazing thought, this can improve the user experience. If the issue is not taken yet, can you assign the task to me?
As a Full Stack Web Developer, I have extensive Frontend knowledge to implement this and would love to contribute to this project.

@uzairali19 Looks like I don't have the rights to assign the ticket to anyone. Perhaps @taniarascia can help here. Thanks for your interest! :)


Permit required ownership of flags

Add support for tagging of ownership of a specific feature flag.
This works either through the presence of a default ownership file (testtrack/owners.yml) or a file specified via an ENV variable (TESTTRACK_OWNERSHIP_FILE).
If the file exists, --owner is required to be set and to match one of the owners in the file.
If the file does not exist, --owner is required to be blank.

@smudge I don't have merge rights and I don't know how to build this package once it's merged. Can you help with that? :)

@jesseproudman to release this to the org, we can update the homebrew package here:
https://github.com/Betterment/homebrew-betterbrew/blob/main/HomebrewFormula/testtrack-cli.rb


storage.list not working when upgrading to NextJS 14

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
When upgrading to NextJS 14, ccassionally, supabase.storage.from(bucket).list('', {search: 'searchTerm'}) will return no data even though such a file exists.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Upgrade NextJS to Next14
Run code like the following:

const files = await supabase.storage.from(BUCKET).list('', {
    search: 'searchTerm',
})

Ocassionally (not always, very weird) files will be empty even though I am sure a file exists with the 'searchTerm' in my BUCKET in the root path
I made no changes to this code, I just upgraded to NextJS 14
Expected behavior
I would expect files to have the data that exists in the bucket for the searched file
Screenshots
N/A
System information

OS: macOS
Browser (chrome
Version of supabase-js: Tried with 2.15.0 and with 2.38.4
Version of Node.js: 18

Additional context
This only happens when I upgrade to NextJS 14 from NextJS 13. Also not sure but possible related to this other issue: https://github.com/supabase/supabase-js/issues/898

Not sure but could this PR in the storage-api fix it? https://github.com/supabase/storage-api/pull/394


Angular Space Meetup or YouTube Livestream teased

Angular Space is a teasing a meetup livestream.  No date yet so this might be something you watch for.

Indeed, Daniel told me so. I'll more likely replace the link towards the existing community as he does not use the X Space for content anymore.


[stable/sonarqube] No language analyzers/default quality profiles

Describe the bug
When installing a fresh release of sonarqube, none of the language analyzers appear to be loaded.
Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.1",
GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Kubernetes version
1.12
Which chart:
stable/sonarqube
What happened:
The application does not start with the default language analyzers
What you expected to happen:
Application to start with default language analyzers
How to reproduce it (as minimally and precisely as possible):
helm install stable/sonarqube
Anything else we need to know:
I went back a few version to version 0.12.0 and when doing a default helm install sonarqube starts up with all the default language analyzers.

The plugins folder is replaced with a volume that defaults to EmptyDir when using default values.
This was introduced via commit: https://github.com/helm/charts/commit/4ecc41158d8b9e0a268f3c42eb6c82133d9f4f74
PR: #12661
Issue: #12635
Simple workaround is to delete the mountPaths from the deployment.yaml but that would propably break the fixed issue from the PR that causes this issue.
We should have a look on how we can fix this without breaking the ability to run on readOnlyRoot enabled clusters.

Maybe we can use another init container that populates the emptyDir volumes before startup.
I will try this and give feedback.

I pushed a quick fix to my fork: https://github.com/jcoeltjen/charts/tree/feature/default-plugins
Currently I have no access to a cluster where PodSecurityPolicies are properly configured. Maybe somebody with a configured cluster on hand can try this.


Laravel 9.29.0 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v9.29.0 branch.
Before merging, you need to:

Checkout the shift-ci-v9.29.0 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8.1. If you are running a different version of PHP you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP environment.


SSL using PEM files on macos

Hi
Is there a reason behind SSL not being supported with PEM files on macOS? Are there some limitations of the macOS openssl compared to Linux?
Thanks

Hi.
It's not obvious how to use PEM with security_framework API. The only option that I found is importing PKCS#12 data.
Btw creating PKCS#12 container out of your PEM is quite easy:
$ openssl pkcs12 -export -inkey cert_key_pem.txt -in cert_key_pem.txt -out cert_key.p12

Thanks for the response. Using PKCS12 does not work for me, because I don't have access to the private key. However I could connect with macos using openssl.
Other users who'd like to connect to amazon RDS from a mac are in the same situation as me. I could create a PR with some changes to enable openssl for mac if you're open for it.

Hi
So I added an open-ssl feature to use openssl instead of security-framework on mac.
This is the PR: https://github.com/blackbeam/rust-mysql-simple/pull/141, unfortunately I couldn't make it so that the dependency is feature based, as I saw from the documentation this is not possible.
I guess you had a reason to use security-framework over openssl on mac, so I'll just post this here for people who run into this same problem and wouldn't like to switch to openssl by themselves.

Hi. I'm not sure, that it's still relevant, but I just want to point you to #225, where RDS and TLS are considered.


#146292579 Remove unused dependency

What does this PR do?

Remove unused Express-jwt from file express.js.
Move coveralls from dev dependencies to dependencies.

Description of Task to be completed?

Remove unused express-jwt dependency

How should this be manually tested?
N/A
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?

Remove unused dependency

Screenshots (if appropriate)
N/A
Questions: N/A

Coverage remained the same at 0.0% when pulling 84ff24dd3b2046cea2c9baae2b37fe7e79f89429 on bug/146292579/Remove-unused-dependency into e650c43632b30a140cfe6b8a2edfbdf57d7b567f on staging.


Update piet

This fixes breakage from upstream changes, and takes advantage of the fact that piet-common now reexports piet and kurbo.

This leaves the druid-shell examples (perftest and hello) not compiling. Arguably that's a weakness in our CI coverage...

alright, I've rebased this on #56, and it should be gtg.

Very cool! Now I'll want to rebase my prototyping on top of it :)


Doc Push: create-bookings-frontend-2

This PR was generated by Doc Push, the Wix Tech Writers single-sourcing Tool.
Changes to articles in this PR must be made using the tool.
The source files are stored in the velo-docs repo.

Merged with this PR.


ImportError: No module named 'coinbase_config'

I get this error 👆when I do python2 main.py

I haven't touched this code in a long time, so I'm sure other things will break too. Basically, create a coinbase_config.py file and search the code base to see what constants are imported from that file (API Keys). I'd like to come back to this project at some point (which is why the repo is still up), but don't hold your breath!

Awesome thanks for the heads up :)


usdt: resolve usdt arguments

This patch introduces initial support for USDT arguments through the
argX builtins.  For example:
./bpftrace -e 'usdt:bin:probe { printf("%s\n", str(arg0)); }'
Ref: #33

This is maybe not the right place to bring this up, but it's the GitHub issue I keep coming back to. When I do a minimal probe with a string argument, it keeps printing the empty string.
Source:
#include <sys/sdt.h>
#include <sys/time.h>
#include <unistd.h>

int main(int argc, char **argv) {
  while (1) {
    DTRACE_PROBE1(tracetest, testprobe, "foo");
    sleep(1);
  }
  return 0;
}

Behavior:
sequoia% sudo bpftrace -e 'usdt:./tracetest:tracetest:testprobe { printf("%d: str is %s\n", pid, str($1)); }'
Attaching 1 probe...
20153: str is
20153: str is
20153: str is

Expected: it prints foo. Is this worth filing a new issue?

$1 is a command line argument, like $1 in bash is. For usdts you need arg[0-9]

Ah. When using arg0 I either get a compilation failure:
sequoia% sudo /usr/share/bcc/tools/trace -T 'u:./probed:testprobe "str = %s", arg0'
/usr/include/c++/10/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = USDT::Argument; _Alloc = std::allocator<USDT::Argument>; std::vector<_Tp, _Alloc>::reference = USDT::Argument&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.

or an abort:
sequoia% sudo bpftrace -e 'usdt:./tracetest:tracetest:testprobe { printf("%d: str is %s\n", pid, str(arg0)); }'
Attaching 1 probe...
terminate called after throwing an instance of 'std::experimental::bad_optional_access'
  what():  bad optional access
zsh: abort      sudo bpftrace -e

And if I don't use str() I get
ERROR: printf: %s specifier expects a value of type string (integer supplied

Sounds like your build is broken. Can you open a new issue for this? Please add all the info it asks for.

Filed https://github.com/iovisor/bpftrace/issues/1494


Streaming audio into websocket connection produces silence

Original:
This is a complete change from the past few months. Everything has been working fine, even yesterday. Woke up this morning and I'm getting no audio by reading a file into a websocket connection. I did not touch my code between the time it was working and now. I've checked versions, other vendors, and file paths. Everything is else working as expected.
I can echo back the received binary fine with connection.sendBytes(message.binaryData)
The method I use to send audio is identical to this post.
I filed a support request this morning and have been unable to resolve it via that route so far.
Was there a release or update in the past 24 hours that I'm unaware of?
Update:
I had shortened my highWaterMark to 320 because the audio is better that way. So I reupped it to 640 and increased the delay accordingly. I now get a tiny bit of audio and then the call is automatically closed after a second or two. Completely terminates.

@phil-andrews there was no release of the npm package in the past 24 hours.

I've found the culprit. Buried way down in a place where you wouldn't think to look unless you've exhausted all other options. I was connecting to my websocket securely wss://. I've been doing this for months without a problem. On a whim I decided to make it unsecure, ws:// and it solve the problem for the most part.
In order to get any audio I am still forced to move it back up to a 640 byte length instead of 320. That doesn't make sense to me why. But that is the case.
Anyone have an idea why this might be happening?

Hi Phil, glad its working seems like you have 2 issues:
You can't connect to a secure websocket server? I'm not aware of any reasons we don't support wss connections, whats your url? I wonder if there's an incompatibility with certificate providers? I'll test one of my websocket apps on heroku with their ssl connection.
Regarding the 640/320 the websocket will expect to receive audio in 16bit 16Khz PCM format with 20ms per frame, therefore each message should be 640 bytes, (320 16bit samples), I'm a bit confused were you saying before that putting 320bytes in a message was better? in that case you would have only had half the frame filled and I would have expected that to play very choppy audio
We have recently released a fix which means you no longer need to sleep the 18-19ms between each frame if you are sending a pre recorded file, you can now write to the socket as quick as you like and we will buffer that our end, this should help with quality.

Hi Sam. Thanks for the response.
I just emailed my vendor to see if it's their system. I had asked yesterday and they of course said it wasn't. But maybe with the detail I could give them today they'll have a better idea if it's on their end. I have been using a secure socket for months. It was just all of a sudden yesterday that it went out.
With the 320 I had shortened the frame down to 10ms. Which I found to be very smooth. I tinkered around with a lot of different configurations that added up to 640/~20ms and found 320/10ms to be the best quality.
This looks like it was a two-legged problem. First, I just tested your sleepless fix. Wonderful quality sound, by the way! That's pretty exciting. However, that fix plays no audio if I have my highWaterMark set to 320. Which is where I had it.
But at 640 a secure websocket connection still terminates.

I've just tested with a websocket application running locally and using ngrok to expose the socket over wss no issues for me, I wonder if its something with your certificate? Perhaps its expired?
If you want to send me the url privately my email is sam.machin (at) nexmo.com

Its possible that the changes made to the buffering which means you don't need to sleep could have affected the ability to send 320bytes every 10ms 640/20 is what we expect so the old option might have been a "bug" :(

Hi @sammachin, so that means that now we don´t need to send chunks every 18ms ? for example I am sending text to ibm text to speech service and i need to pass audio chunks as they come.

@yeinel That's correct. Nexmo handles that for you now. You can dump an entire audio file all at once and they'll handle chunking it up.

Just to clarify you no longer need to control the rate at which you send the audio frames (eg the 18ms sleep) but you do need to ensure that each message is a 640byte frame, (16bit, 16Khz 20ms)


added currency to mailer.js

Makes sense to not only say value and exchange but currnecy as well.

Nice catch :) thanks!


Package as a dune package?

This would help integrating this package in existing builds, e.g. via nix’s buildDunePackage.

done in v0.2.1!


Embedded JavaScript templating syntax support

language_ejs.lua, fork of language_html.lua to support .ejs files.

Looks good! Thanks!


paddingbottom taking input from paddingtop in Footer for iPhone X only

Hi, I found a bug on Footer component in iPhone X where the paddingBottom is set by taking paddingTop from style. I think it should be from paddingBottom in style. You should see the bug on /src/basic/Footer.js in calculatePadder function.
Is this an actual bug or something intended? I hope this help.
Node: v10.6.0
npm: 6.1.0
react-native: "0.56.0"
react: "16.4.1"
native-base: "^2.7.1"

thats intended, and works fine on iPhoneX


Makefile: Run black to break lines before linting with ruff

I've found this to be mildly annoying when running make reformat. Basically, ruff complains about lines being too long and I have to break lines manually to get past ruff and let black run.
black also needs to run after ruff since ruff could make edits that are incompatible with black so if we don't run black twice, we'd get into a situation where we'd need to run make reformat twice to make sure that there aren't any fixes needed.

Oh goody, no fixpoints 🙂
I'm okay with this, although I wonder if we can just disable ruff's line length checks entirely -- black should be entirely sufficient, and that would save us from having to run it twice.
(I'll approve and leave it to your judgement to determine whether than makes sense to do.)

I'm okay with this, although I wonder if we can just disable ruff's line length checks entirely -- black should be entirely sufficient, and that would save us from having to run it twice.

Ah, yeah you're right. Let's do that instead.


Dot notation for fields

Describe the bug
When using formik where the form name have object notation , It breaks. mapPropsToValues builds an object like {'person.name':'Person Name'} , handleChange does not seem to work fine .
I am using the  component  <Field id={path} value={values[path]} className={form-control ${props.errors[column.index] && props.touched[column.index] ? 'is-invalid' : ''}} type="text" placeholder={Enter ${column.name}} /> where column.path has a dot within , like 'menu.name' .
I tried passing the onChange custom using handleChange with first argument as the field name and second with the value , But it did not work .

Formik Version: 0.11.11
React Version:16.3.2
Node Version:10.3.0
Package Manager and Version:
npm : 6.1.0

@32teeths mapPropsToValues  in case of object yup type should includes within object.
mapPropsToValues = {
    person: { name: 'Person Name' }
}

@sshmyg how comes yup into play here? If you want/need to separate keys which become HTML element ids you need some separator. E.g.:
{
  'billingInfo.firstName':'Max',
  'contactInfo.firstName':'Clementine',
}

While keeping the values object flat you are able to handle it the same way, no matter how the input/output should look like. This custom form fields are easier to implement as they don't need to handle different structures.
I hope this provides some details about the use case, at least mine.

@jaredpalmer ?

@jaredpalmer ?

@karbica How to handle nested objects are described here: https://jaredpalmer.com/formik/docs/guides/arrays

If anyone gets here while trying to do the opposite (having keys with dots instead of nesting) you should do like this:
<Field
  name="['owner.username']"
  label="Owner user name'"
/>

This is not documented. But I'm creating a PR.

Tbh it's a little bit weird solution for this problem. I would rather allow arrays as name, so something like this:
<Field
  name={["owner.username"]}
  label="Owner user name'"
/>

so that you can also pass something like this, if you want nesting.
<Field
  name={["owner", "username"]}
  label="Owner user name'"
/>

Internally the "owner.username" is still being split into array by . separator, so allowing arrays as name is imho elegant.
@italodeandra thanks for the info about this feature!

Hi @lukejagodzinski,
I don't use Formik anymore, but I think this behavior is not intentional. They use the same notation as Lodash, which is pretty old and they never implemented the way you described, so I'm not really sure why they didn't but I agree with you that is more elegant. Perhaps its a limitation.

@italodeandra yep I've just checked source code and discovered that they are using lodash under the hood. Makes sense why it was done this way :).
What are you using this days? I'm not supre happy about Formik :)

Welp, in the end I had to use
import set from 'lodash/set';
...
...
// Get an updated version of the values where the deep key has been updated
const updatedFormikInstanceValues = set(formikInstance.values, getInKeyList), newValue);
// Apply new value through the first pointer so everything re-hooks (no validation is intentional)
formikInstance.setFieldValue(getInKeyList.shift() as string, updatedFormikValues, false);


I don't understand what to do

I am new to this and I try to learn every day, but I do not understand where to put the code
// Restore original NtOpenFile from external process
LPVOID ntOpenFile = GetProcAddress(LoadLibraryW(L"ntdll"), "NtOpenFile");
if (ntOpenFile) {
    char originalBytes[5];
    memcpy(originalBytes, ntOpenFile, 5);
    WriteProcessMemory(csgoProcessHandle, ntOpenFile, originalBytes, 5, NULL);
}

I appreciate a little more help, to continue learning and testing

are you retarted
thats c++

are you retarted
thats c++

That your mother is what?
Ah, yes, retarded, that's why you have the round face of down syndrome.
We already know

are you retarted
thats c++

Reported!

Dude you don't need to put the code anywhere. Just execute the python script and you can use LoadLibrary normally again to inject your stuff

Dude you don't need to put the code anywhere. Just execute the python script and you can use LoadLibrary normally again to inject your stuff

Thank you very much, friend for your answer.
I have tested the script and it works perfectly
More than anything my query was referring to what someone who does not have python installed, who does not understand.
Will a phyton script run without having phyton in the system?
Or can create an .exe based on the code that Daniel put?
Sorry for my english

Dude you don't need to put the code anywhere. Just execute the python script and you can use LoadLibrary normally again to inject your stuff

Thank you very much, friend for your answer.
I have tested the script and...
  File "OneByteLdr.py", line 9     address = csgo.lpBaseOfDll + re.search(rb'.\x1A\xF6\x45\x0C\x20',                                                                    ^ SyntaxError: invalid syntax

are you retarted
thats c++

Reported!

-1

Dude you don't need to put the code anywhere. Just execute the python script and you can use LoadLibrary normally again to inject your stuff

Thank you very much, friend for your answer.
I have tested the script and...
 File "OneByteLdr.py", line 9 address = csgo.lpBaseOfDll + re.search(rb'.\x1A\xF6\x45\x0C\x20', ^ SyntaxError: invalid syntax

Try this: https://github.com/danielkrupinski/OneByteLdr/issues/5


EPG information

Hallo, I recently installed your project on my phone, added URL for m3u playlist. Everiting is just fine except that no EPG informatin for dispalyed TV channels. Can you advice me what I do wrong. Best regards

Sorry, this application is designed to be installed on Android TV, not phone or tablet (yet).
I have no time to redesign UI to fit phone or tablet recently.

Hallo, Please tell me how to force load new EPG file instead use an old variant of file.


Update create-table-transact-sql.md

The syntax diagram showed that a column default could be set with only a constraint name and no default; that should have been the other way around (the name is optional, but the default clause is really needed to supply a default)

@HugoKornelis : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


[Storage] Add Readme for customer to consume from source code/Vcpkg.

done in https://github.com/Azure/azure-sdk-for-cpp/pull/2388


Support hiding cells when using table_to_book()

Currently table_to_book() checks the cell visibility to determine if it should be skipped. There are uses cases when a cell should be visible in the browser, but hidden from export. It would be great if such cell could be marked (e.g. by a class) for being ignored.

You can programmatically hide rows in a worksheet by setting the hidden property of the row object: https://docs.sheetjs.com/#row-properties

@SheetJSDev yes but you need to do it after the fact, while it would be both easier and faster to do it during the conversion from a table.

Sure, this could be supported as a data-attribute attached to the TR element

I would have to agree that a data-attribute would be extremely helpful! I'm in a scenario where I have a column with an icon + text. It's downloading to the excel file with icon css + text. Having an attribute that I could put on my icon to hide it from the parser would be ideal.

The attribute data-v="" suppresses cells in the DOM walker


Pagination not working in project page

Describe the bug

in not started status if we click next button once then it change to 6th page and again click then it goes to 7th page in pending it changes per click 5 pages
if we change stauts with some page number  page number not start from 0

Screenshots

https://www.berrycast.com/conversations/b767457f-2d8e-5bba-ae65-511b89aa6749

https://www.berrycast.com/conversations/b36a73f1-3a87-5ea9-ae11-d599e63bf9cb


[SPARK-17038][Streaming] fix metrics retrieval source of 'lastReceivedBatch'

https://issues.apache.org/jira/browse/SPARK-17038
What changes were proposed in this pull request?
StreamingSource's lastReceivedBatch_submissionTime, lastReceivedBatch_processingTimeStart, and lastReceivedBatch_processingTimeEnd all use data from lastCompletedBatch instead of lastReceivedBatch.
In particular, this makes it impossible to match lastReceivedBatch_records with a batchID/submission time.
This is apparent when looking at StreamingSource.scala, lines 89-94.
How was this patch tested?
Manually running unit tests on local laptop

Test build #63905 has started for PR 14681 at commit ccd211f.

LGTM

Test build #63905 has finished for PR 14681 at commit ccd211f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63905/
Test PASSed.

LGTM. Merging to master and 2.0.


Add animations switch for ng-zorro components only

What problem does this feature solve?
Ng-zorro allows developers to turn off animations globally, in templates and in services (https://ng.ant.design/docs/animations/en). However this feature heavily relies on NoopAnimationsModule which means there is no option to turn animations off globally only for ng-zorro components.
In our particular use case, we have recently upgraded from v8 to v9 and we would like to turn off animations for ng-zorro components only, while leaving animations on for the components we wrote ourselves. Considering that our existing code base is fairly large, it is not viable to turn it off template by template. Turning animations off globally using NoopAnimationsModule means we will have to lose all the animations we wrote for our platform.
What does the proposed API look like?
Provide an option to turn off ng-zorro animations only at root level (or module level) of an app.

Please use NzNoAnimationModule.


Family planning link replaced

French part, Femme, Age 20, Patient, Sujets:
Planification familial: The last link is broken:
plus de renseignements
in French excel sheet, it is on row 51, Column D.
Link replaced  with : https://www.sogc.org/fr/Pour-le-public/fr/content/public-resources/ressources-a-lintention-du-public.aspx?hkey=1180038b-a220-437b-9fe7-7878bc27fcdb
Please check in the recent update

Issue Row 51 D: Fixed

Thanks, Juveriya! Closing issue.


etcd transport rename

Description of change
Reverse client and server naming for etcd transport package
Checklist

[x] Tested in playground or other setup
[ ] Screenshot (Grafana) from playground added to PR for 15+ minute run
[ ] Documentation is changed or added
[ ] Tests and/or benchmarks are included
[ ] Breaking changes

Summary by CodeRabbit

Refactor

Transitioned various components from using server-based transport modules to client-based transport modules, enhancing communication efficiency.

New Features

Implemented new handler registration functions to streamline the processing of requests and responses.

Bug Fixes

Addressed issues with transport client initialization and request handling to improve system reliability.

Chores

Removed unused code and variables to clean up the codebase.

Documentation

Updated documentation to reflect changes in transport and handler mechanisms.

Above approval was from me signed in with a separate account from IC.


Introduce Await component for nicer template usage

Supersedes?: https://github.com/tracked-tools/ember-async-data/pull/709

The existing load function/helper combo gets the job done, but this new component has a similar top-level API but requires no if-based branching. Instead, it uses named blocks to render the resulting state.
import { Async } from 'ember-async-data';

<template>
  <Async @data={{Promise.resolve 123}}>
    <:pending>Still waiting...</:pending>
    <:resolved as |value|>
      The value is: {{value}}.
    </:resolved>
    <:rejected>Whoops! Something went wrong!</:rejected>
  </Async>
</template>

This ends up being both briefer and less error prone, not least since it provides the resolved value automatically from the resolved block, whereas expressly checking {{#if someAsyncData.isResolved}} allowed the further {{someAsyncData.value}} access but did not provide it automatically.

@NullVoxPopuli do you think we could split infra updates into separate PR to keep this managed/focused?
Also I think .gts conversion for existing tests could be separate PR, e.g. I was doing this as well in #688

@NullVoxPopuli do you think we could split infra updates into separate PR to keep this managed/focused?

Yes, this makes sense -- usually my way of working is to spike all the way to the end / green (so that I know my direction is even valid), and then pull the isolated stuff out.

Also I think .gts conversion for existing tests could be separate PR, e.g. I was doing this as well in https://github.com/tracked-tools/ember-async-data/pull/688

ah awesome! I'll rebase once that's merged


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

This breaks the build.


Generate master redirect doesn't handle relative URL as redirect_url

EX: https://github.com/dotnet/docs/pull/12056#pullrequestreview-231344624
The redirect file
---
redirect_url: intro-net-docker
ms.custom: "mvc"
---

was rewritten to a relative to the root of the document rather than as relative to the redirect file.
Maybe this was just a bad redirect file though

@adunndevster same question as the other issue, was this resolved or rejected?


chore(blockifier): separate create and validate logic on gas prices struct

This change is

#2246
#2245
#2244
#2243  👈 (View in Graphite)
main

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

Merge activity

Nov 28, 4:15 AM EST: A user merged this pull request with Graphite.