Does it support windows?

I need a scpi tool to run at Windows 10.
Is this supporting?

You can install the WSL2 (Windows Subsystem for Linux) and e.g. Ubuntu from the Windows app store. This will give you an Ubuntu command-line via which you can install and run lxi-tools using the command 'apt-get install lxi-tools'. From there you should be able to run the lxi command to discover instruments and send SCPI commands and scripts etc.
It should be fairly easy to get WSL2/Ubuntu up and running but I haven't tried myself as I don't use Windows.
You may even be able to run the graphical application lxi-gui but I don't think it is available on Ubuntu yet.

I gave this a very quick try a few days ago. My first attempt failed, but that was because I was using WSL1 vs WSL2 (an Ubuntu 22.04 LTS). I will give WSL2 a try soon.
I'm curious what is it about WSL1 that keeps the GUI from installing and working? I can run GUI tools from WSL1 using a X-client on Windows. Is it the USB support?
When I tried to install with SNAP as some folks online suggest, it gives me the error "WSL1 not supported". Installing via APT worked but only the command line tools. It's possible the tools only installed but didn't work, because I wasn't connected to my oscilloscope at the time to test further.

@thestumbler lxi-gui is only included in Ubuntu 23.04 and onward. To install the latest version you can use snap but snap is only available in WSL2 (because snap requires systemd etc.).


NameError: name 'schema_links' is not defined

Hi folks,
this piece of code from 01_din_sql.ipynb
links = schema_links.split('<links>')[1].split('</links>')[0].replace('\n','')

is resulting in
NameError: name 'schema_links' is not defined

The root cause is self-explanatory, to me it looks the part where you perform LLM inference to generate schema_links using schema_links_prompt  is just missing
best,Andrei

Happened also for me. Replaced it with schema_links_prompt and it worked.
However, later when running:
sql_qry = din_sql.llm_generation(
                    prompt=din_sql.medium_prompt_maker(
                        test_sample_text=question,
                        database=DB_NAME,
                        schema_links=links,
                        sql_tag_start='```sql',
                        sql_tag_end='```'),
                    stop_sequences=['</example>'])
                    print(f"{sql_qry}")

I get:
database name specified and found, inspecting only 'tpcds1' Successfully invoked model anthropic.claude-v2  Unfortunately, the schema links and tables provided do not contain information about customers, web stores, or money spent. The given schema describes a university database with tables like course, student, instructor, etc.

closing due to inactivity.


iOS Application Extensions + macCatalyst not compiling currently

See https://github.com/SwiftUIX/SwiftUIX/runs/1340633889 for the logs.

Fixed!


App Freeze when search bar and categories clicked

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dm.wallpaper.board.sample, PID: 9150
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.SearchView.setImeOptions(int)' on a null object reference
at com.dm.wallpaper.board.fragments.WallpaperSearchFragment.onCreateOptionsMenu(WallpaperSearchFragment.java:134)
at android.support.v4.app.Fragment.performCreateOptionsMenu(Fragment.java:2368)
at android.support.v4.app.FragmentManagerImpl.dispatchCreateOptionsMenu(FragmentManager.java:3279)
at android.support.v4.app.FragmentController.dispatchCreateOptionsMenu(FragmentController.java:319)
at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:341)
at android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:93)
at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.onCreatePanelMenu(AppCompatDelegateImplBase.java:332)
at android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:93)
at android.support.v7.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:454)
at android.support.v7.app.ToolbarActionBar$1.run(ToolbarActionBar.java:55)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:165)
at android.app.ActivityThread.main(ActivityThread.java:6375)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:883)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)

Do you found any solution yet? If yes then please share.

Do you found any solution yet? If yes then please share.

Not yet dude, sorry

I think u guys did not import the source code correctly,if u do so nothing
will happen ,I am working on a project with this source code and its work
fine just download the enhanced version of wallpaperboard 😊 there u can
find admob
On Wed 19 Sep, 2018, 6:30 AM AnangM<EMAIL_ADDRESS>wrote:

Do you found any solution yet? If yes then please share.
Not yet dude, sorry
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danimahardhika/wallpaperboard/issues/140#issuecomment-422609962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgyMf-7TahgX0ZBK6InVrRKAbvbR5oWjks5ucZdAgaJpZM4WtR2P
.

Can you please provide the link of the enhanced version?

I have followed the instruction well, also the enhanced version, but same thing happened, I'll try to clone it one more time and try agaian

Mail me will try to resolve
On Wed 19 Sep, 2018, 8:12 PM AnangM<EMAIL_ADDRESS>wrote:

I have followed the instruction well, also the enhanced version, but same
thing happened, I'll try to clone it one more time and try agaian
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danimahardhika/wallpaperboard/issues/140#issuecomment-422830567,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgyMfy15gxXowDiXrFYlybZMn4Tg1d_4ks5uclfbgaJpZM4WtR2P
.

Mail me will try to resolve
…
On Wed 19 Sep, 2018, 8:12 PM AnangM, @.***> wrote: I have followed the instruction well, also the enhanced version, but same thing happened, I'll try to clone it one more time and try agaian — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#140 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AgyMfy15gxXowDiXrFYlybZMn4Tg1d_4ks5uclfbgaJpZM4WtR2P .

okay, how i find your e-mail address, haha, idk

<EMAIL_ADDRESS>Man
On Thu 20 Sep, 2018, 2:00 PM AnangM<EMAIL_ADDRESS>wrote:

Mail me will try to resolve
… <#m_-1629585921026308367_>
On Wed 19 Sep, 2018, 8:12 PM AnangM, @.***> wrote: I have followed
the instruction well, also the enhanced version, but same thing happened,
I'll try to clone it one more time and try agaian — You are receiving this
because you commented. Reply to this email directly, view it on GitHub <#140
(comment)
https://github.com/danimahardhika/wallpaperboard/issues/140#issuecomment-422830567>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgyMfy15gxXowDiXrFYlybZMn4Tg1d_4ks5uclfbgaJpZM4WtR2P
.
okay, how i find your e-mail address, haha, idk
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danimahardhika/wallpaperboard/issues/140#issuecomment-423092027,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgyMf67DyvJKVVoC2bckxPvCugh4wRt5ks5uc1IegaJpZM4WtR2P
.


Fail to pass the test

I ran ./gradlew clean build deployNodes
But it did not generate any file in build/nodes directory, because 2 tests failed.
com.r3.demos.ubin2a.lsm.ScenarioExceptional > Scenario E8_1 FAILED
net.corda.core.flows.FlowException
com.r3.demos.ubin2a.privacy.PrivacyTests > Privacy of owner in cash states FAILED
java.lang.AssertionError at PrivacyTests.kt:237
101 tests completed, 2 failed
:test FAILED

I'm also getting failed tests. My workaround was to uncomment them. Did you manage to get them fixed?

Sorry i can't
On Sat, Nov 10, 2018 at 1:32 PM Tuna<EMAIL_ADDRESS>wrote:

I'm also getting failed tests. My workaround was to uncomment them. Did
you manage to get them fixed?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/project-ubin/ubin-corda/issues/2#issuecomment-437565027,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ag-gUeCudPEb-xRuDvaALP8NDQ2NXLR3ks5utoD4gaJpZM4Tu_00
.

If you want to skip all Tests:
.\gradlew clean build -x test deployNodes


Create initial Models for competencies

Is your feature request related to a problem? Please describe.
We need to be able to populate the database with the competencies and skills that form the framework.
Describe the solution you'd like
Currently the framework has three tiers. So I suggest we make three models, one for each tier:

[ ] Category
[ ] Subcategory - contains a ForeignKey to a Category
[ ] Skill - contains a ForeignKey to a Subcategory

Additional context
We need to determine a sensible database schema for the competencies, the above suggestion may serve as a "good enough" first step, but someone with experience designing database schemas should have a proper think about this.

Updated Schema Diagram


Vb.net cloude Microsoft secure ssh

Azure documentation issue guidance
@copyrigh auth0 : Fadliwiryawirawan
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[x] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[x] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

@wiryallcserviceseducative Thanks for reaching out. Could you please share the info regarding issue and documentation which you wants to refer.

As there is no information present regarding the issue so closing the thread.


More customization

It's good if hyperline be more customizable. As far as I've investigated, I can't change font size, padding (or margin), border color and height of hyperline.

In my opinion, current visual of hyperline is not consistent.
I tried to edit hyperline.js, but it resets everytime I open Hyper.

I agree 100%


IMPROVE ----- User's photo transfer

1- When we get User's information, we can take user's photo
2- We can transfer user's photo on onGenerateRoute

I used provider


How to include CSS from component

It seems like all the CSS supporting this is in an external file. Is it possible to import this file in my Vue single-file component?

It's completely optional, but here's the import statement you'll need:
import 'vue-transmit/dist/vue-transmit.css';

You can see the css here too, btw<EMAIL_ADDRESS>

Do I put that in the script or style tag?

I assumed I needed this CSS file, since I don't see the dropzone on the page at the moment.

So if you have webpack setup to resolve .css files, you can place that in the <script> section of a SFC. You could also place it in the <style> section with this syntax when using sass/scss:
@import '~vue-transmit/dist/vue-transmit.css'

If you're not seeing a dropzone on your page, you might need to add content to the default slot.
<vue-transmit>
  <div class="d-flex align-items-center justify-content-center w-100"
       style="height:50vh; border-radius: 1rem;">
    <button class="btn btn-primary"
            @click="triggerBrowse">Upload Files</button>
  </div>
</vue-transmit>

The default slot should contain your markup for getting an upload started. This could be a file uploade button and/or dropzone-like styling.

I wasn't sure if vue-loader would do for me in terms of loading CSS files. I had tried putting it in style tag but was missing the tilde, thanks!
P.S. It took me a bit of digging to realize the styles for this were in a separate file. Can I recommend putting that somewhere on the docs?

Oh, I didn't realize the default slot was empty. I can see that's kind of in the docs as well, but might be worth calling out as well. Maybe I'm just a dummy tho.

Yes, it's definitely a faux pas of mine! If you want to PR that, go right ahead! Otherwise we can rename this issue to something like fix(docs): missing css import info and leave it open till I get to it.

I'm definitely up for some better explanation in the docs! It's always hard to introduce the concept to this since I've been working with it for so long. I do want to give this lib a dedicated doc site with vuepress with v9 once I finish the firebase driver.

Oh wow! That's pretty cool. Did you use vue-cli? I just know the tilde seems to be a common alias in css to resolve from node_modules.

No, this is a hand rolled webpack config on a legacy Symfony 1.4 project! We're doing some unconventional things, so it can be hard to figure out what the right config is between webpack/vue/babel/etc!
I'm adding an FAQ to the bottom about styling/default slot for anyone who runs into a similar issue of not seeing the component the first time they try to use it. PR will be incoming shortly!


use parameterized logging

avoid String building if the log level doesn't cause the line to be logged.

Thanks, @mebigfatguy !


what's  the final solution of issue #7?

https://github.com/RationalCoding/video-stream-merger/issues/7
this issue seems have not really solved. what's the final solution?

I don't have a Wowza instance so I assumed his solution worked. Are you seeing this problem without Wowza?

If all source disconnect from MediaStreamDestination ,it will stop sending audio stream data, and that will cause decoder  side  crash. I've tested by using ffmpeg.That is to say, const audio stream is a must. I modify the code base on xiang-valcano 's and audio quality is ok.
var constantAudioNode = self._audioCtx.createConstantSource()
constantAudioNode.start()
var gain = self._audioCtx.createGain()
gain.gain.value=0
constantAudioNode.connect(gain)
gain.connect(self._audioDestination)

Okay, well if you aren't seeing a drop in audio quality, I would use that solution.
I will add an option for this, because I definitely saw a quality drop when it was on.
Are you using Wowza?

I see you've added a gain node as well. I'll try that.

It works. 2.5.1


[stable/locust] add environment variables from existing secret

Description

There is a value environment_secret that creates a secret and mounts its keys as environment variables. This was, however, not documented, so I added the details to values.yaml and the README.
If environment_secret was not set, an empty secret with name locust would be created. I changed this, so the secret is only created if there is data to fill it with.
While this is great, when using GitOps tools like Flux, the contents of values.yaml are uploaded to Git, so this is not a great way to pass secrets to the deployment for these users. To avoid this, I added the environment_external_secret value, so an existing secret can be used for environment variables. This way you can create the secret some other way, without keeping its contents in plain text on Git. The format I'm suggesting is:

environment_external_secret:
  secret_name: env_var_name

Where secret_name is the name of the secret already created, not managed by the chart. And env_var_name is the name of the environment variable, and also the name of the relevant key in the secret containing the desired secret value.
For example, for the secret created as
kubectl create secret generic test-secret \
  --from-literal=token=abcd \
  -n locust

The value would be
environment_external_secret:
  test-secret: token

Does this sound good to you?
Checklist

[x] Title of the PR starts with chart name (e.g. [stable/mychartname])
[x] Github actions are passing

If I'm not mistaken we have our secrets already encrypted in secrets.yaml files where necessary and not as plain text in the values.yaml. I guess @max-rocket-internet can shed more light on the details

If I'm not mistaken we have our secrets already encrypted in secrets.yaml files where necessary and not as plain text

We do, yes. But this is with helm-secrets, a great tool for sure, but not everyone is using this.


ad-hoc filters

In version 3.2.4 (2024-10-28)
ad-hoc filters not work on grafana 11.[1-3].0 in query

version 3.2.3 work is fine

Check plugin 3.3.0 version, https://github.com/Altinity/clickhouse-grafana/releases/download/v3.3.0/vertamedia-clickhouse-datasource-3.3.0.zip
we already fixed it and waiting when Grafana labs publish our plugin


The Selection pane section incomplete.

The Selection pane section does not describe the z-order change features. The Selection pane actually has several features which don't appear to be documented anywhere in docs? I recommend it get's it's own page, then this page could just link to that.

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

ID: 6e579557-27e4-8a24-69b7-55189b0f4966
Version Independent ID: 0c97fa47-9695-aaaf-efcd-63b35362310e
Content: Use bookmarks in Power BI Desktop to share insights and build stories - Power BI
Content Source: powerbi-docs/desktop-bookmarks.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment. We’ve forwarded your feedback to the writer, who should respond to this thread shortly. Thanks!

Thanks for your suggestion (and the other feedback about the Selection pane). As mentioned, we've added this to our queue of requested content, and will add it as time and resources allow.


Kml exception

Unable to load kml file. Error:

END_TAG expected (position:START_TAG (empty) @26:37 in java.io.InputStreamReader@c8587d0)

Kml attached
CNTTronco.zip

If you have HTML embedded inside description tags they need to be wrapped in CDATA strings, see some examples here:
https://developers.google.com/kml/documentation/kmlreference#examples
https://www.w3.org/TR/REC-xml/#sec-cdata-sect


Compatibility with non-React VDOMs (e.g. Preact, Inferno)

[x] I have searched for similar issues, but found none.
[x] I have read the README.
[x] I attempted to read the CONTRIBUTORS guide, but found none.

I am wondering if there is interest within this project to support other VDOM implementations such as preact and inferno. I am currently using recompose with preact and I believe it adds a lot of value to our project; but there are bugs caused by accessing non-public React API's such as the use of Component.prototype.isReactComponent in isClassComponent.
If this is considered valuable for recompose I would be happy to contribute towards that direction. Thanks for the quality library.

can you provide an example of opensource library with support of react preact and inferno where tests are shared across all frameworks.
what the minimal changes we can make to run jest tests?

BTW I dont like the idea to add official support of all that react-like libs. As since that to implement - change or a new feature we will need to have a knowledge about implementation details of all that libraries.
IMO its the problem of compatibility wrappers of preact and inferno to implement needed features.

I doubt I could find a library which is tested against all three of these VDOM implementations. I have seen in the past that popular component modules become forked for compatibility, such as react-side-effect being forked into both preact-side-effect and inferno-side-effect. To fork recompose in this way would be a large undertaking, and I would like to avoid the need for that.
I wouldn't suggest targeting anything other than React, just that the public API should be preferred over diving into the "private" API. I agree the majority of the work should be handled in compatibility wrappers, and this could be an issue to be raised with preact-compat.

What about using something that is in the public API for Component, like checking for the existence of the setState and/or forceUpdate functions, to determine if something is a React Component class?  Those are both publicly documented, and are only on Component, not on PureComponent or any of the other classes from https://github.com/facebook/react/blob/ae430b79139777b74167b124719b3dc311aa5294/src/isomorphic/modern/class/ReactBaseClasses.js

Best to check for render() - it's technically the only required method for a component to implement.  I submitted PR #463 for the change.

To maintain compatibility with what he is already doing in isClassComponent, it would have to return true for React.Component but false for React.PureComponent and React.AsyncComponent, since React.Component is the only one that has the isReactComponent prop.  All of them have would have render, but only React.Component has setState and forceUpdate.  If he doesn't care about changing it so it returns true for PureComponent then checking for render would work as well.

Yup. A quick scan shows it seems like the desired semantic (and tests) is "is this a component that is not a PFC", which would point to the render check:

usage to check if a component is a functional component before converting it to a class
usage to check if a component is a pure functional component

I was attempting to use recompose with preact (after seeing #463 ship v0.25.0), but found that react is still required and throws a run-time error if missing.
By adding babel-plugin-lodash, I was able to see that some features (not all) require react (e.g. withStateHandlers).
Lastly, by aliasing in preact-compat, I was able to get everything to work.
I don't know if it's possible for more of recompose to exist without react as an explicit dependency, but I would like to investigate it.
Anecdotally, we've leveraged recompose + react on a large codebase, but have needed to severely cut file size down for our partners, requiring preact + preact-compat, but are eagerly attempting to cut every Kb (including preact-compat).

Confirmed that resolve: { alias: { react: "preact" } } is enough for this to work with preact!
I can't answer for Inferno, but would that warrant an update to the README.md, since preact support isn't advertised yet?

Having that it work, it would be nice to extend readme :-)

@ericclemmons preact-compat is still required as only aliasing gives an error:
./node_modules/recompose/dist/Recompose.esm.js 759:33-46
"export 'createFactory' was not found in 'react'


more tests needed?

there are only 6 tests which test only test 6 out of first 7 functions.

I know, I'm new to project management and don't really understand tests. They seem like a lot of extra work with little return. I'm doing some research on them right now to see if I can understand them better.

They are a simple way to check if a pull request messes something else up, pretty useful, but still takes time to implement. I could work on tests if you'd like.

Okay, if you think that they would be beneficial to this project I would appreciate your contributions.


Test if IP address gathering works as expected

Don't merge

Closing, the real IP should come through on prod


CardTableView 0 Articles

Working with CardTableView Sample but no card is displayed anything wrong with the setup of the project
Please check

the screenshot for more details

I'll take a look to see what's wrong. Is this directly from the sample?

Yes

All seems to work. I downloaded the latest sample and did a pod install on that project. I tried it both on an iPhone 6s and the iPhone 7 simulator. Please provide more details or a reproducible project with the error. Thank you!

XCode Version: 9.0 beta 2
Simulator
Device: iPhone 7 Plus version:  iOS 11

I don't support beta software in the samples.

Thank you, It's working in stable version

Perfect!


[Expo Dev Client] - Failed to create new MMKV instance. The native initializer function does not exist

Getting this weird error once I press R in the terminal or with reload in my Expo dev client app:
expo start --dev-client
This error is getting spammed over 26 times. It only happens when I reload. If I restart the expo terminal it all works just fine as usual. Its very on and off when this works and when it doesn't. I've tried starting the terminal  with --clear to remove bundler cache and the error persists.

Production mode: ✅
Dev mode first load: ✅
Dev mode hot reload: ✅
Dev mode reload by keydown R in terminal: ❌
Dev mode reload by Reload button in dev client app: ❌

The hook triggering this error is this:
export const stateKeys = {
	onboarded: "app.onboarded",
};

export const useOnboarded = () => useMMKVBoolean(stateKeys.onboarded);

 ERROR  Error: Failed to create a new MMKV instance, the native initializer function does not exist. Are you trying to use MMKV from different JS Runtimes?

This error is located at:
    in AuthLayout
    in Unknown (created by Route((auth)))
    in Route (created by Route((auth)))
    in Route((auth)) (created by SceneView)
    in StaticContainer
    in EnsureSingleNavigator (created by SceneView)
    in SceneView (created by QualifiedSlot)
    in QualifiedSlot (created by DefaultNavigator)
    in PreventRemoveProvider (created by NavigationContent)
    in NavigationContent
    in Unknown (created by QualifiedNavigator)
    in QualifiedNavigator (created by Navigator)
    in Navigator (created by DefaultNavigator)
    in RNCSafeAreaView
    in Unknown (created by DefaultNavigator)
    in DefaultNavigator
    in Unknown (created by Route())
    in Route (created by Route())
    in Route() (created by ContextNavigator)
    in RNCSafeAreaProvider (created by SafeAreaProvider)
    in SafeAreaProvider (created by wrapper)
    in RCTView (created by View)
    in View (created by GestureHandlerRootView)
    in GestureHandlerRootView (created by GestureHandlerRootView)
    in GestureHandlerRootView (created by wrapper)
    in wrapper (created by ContextNavigator)
    in EnsureSingleNavigator
    in BaseNavigationContainer
    in ThemeProvider
    in NavigationContainerInner (created by ContextNavigator)
    in ContextNavigator (created by ExpoRoot)
    in ExpoRoot (created by App)
    in App (created by withDevTools(App))
    in withDevTools(App) (created by ErrorOverlay)
    in ErrorToastContainer (created by ErrorOverlay)
    in ErrorOverlay
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in main(RootComponent), js engine: hermes

Probably related to #566

Hey!

Can you reproduce the issue in a fresh app that only has react-native-mmkv installed?
I believe this is related to react-native-reanimated.

Got the same problem. Removing the config from new MMKV(config) resolved it.

Got the same problem. Y remove config like @Shpackk first and it works.
Then, I remove only path key from config.
My actual code
const storage = new MMKV({
    encryptionKey: 'supersecret',
    id: 'custom-storage-id',
});

Removing config didnt resolve it for me, but downgrading to 2.9.0 did. Im guessing because i have app groups in my expo config, something is conflicting. I'll happily provide a repo in a few days

same problem, without config
I confirm the context provide by @sannajammeh :
Production mode: ✅
Dev mode first load: ✅
Dev mode hot reload: ✅
Dev mode reload by keydown R in terminal: ❌
Dev mode reload by Reload button in dev client app: ❌

I'm also getting this error after updating to expo SDK 49. I'm not passing a config object to MMKV, just doing const storage = new MMKV().

I'm having the same issue. Expo SDK 49, dev client build

I'm also facing this issue after upgrading to Expo SDK 49 (from SDK 48) using a dev client build.
[App] Installing global.mmkvCreateNewInstance...
[App] [W] <libMMKV.mm:74::+[MMKV initializeMMKV:logLevel:handler:]> already called +initializeMMKV before, ignore this request
[App] Installed global.mmkvCreateNewInstance!
 ERROR  Error: Failed to create a new MMKV instance, the native initializer function does not exist. Are you trying to use MMKV from different JS Runtimes?, js engine: hermes

I can't work why global.mmkvCreateNewInstance is null since upgrading.

This may have something to do with Expo or something else clearing the global namespace. I changed it to be __mmkvCreateNewInstance instead of mmkvCreateNewInstance and I haven't seen the error message in half a day. Still not 100% sure though, happy to open a PR once it's confirmed.
Have attached my .patch if you wanna give it a try with patch-package.
react-native-mmkv+2.10.2.patch

This may have something to do with Expo or something else clearing the global namespace. I changed it to be __mmkvCreateNewInstance instead of mmkvCreateNewInstance and I haven't seen the error message in half a day. Still not 100% sure though, happy to open a PR once it's confirmed.
Have attached my .patch if you wanna give it a try with patch-package.
react-native-mmkv+2.10.2.patch

This didn't seem to fix it for me.

I'm still having this issue today, nothing so far has fixed it.

@nhuesmann @fli @stevengoldberg @soyjuanmacias @jake-ruth @ludwig-pro @steinalex @sannajammeh
I'm going to spend some time and fix this. Could you guys give me all your app dependencies, i want to find the common dominator. I believe it might be a package clearing the global namespace.

@claudesortwell
"dependencies": {
    "@react-native-async-storage/async-storage": "1.18.2",
    "@react-native-community/netinfo": "9.3.10",
    "@react-native-picker/picker": "2.4.10",
    "@react-navigation/bottom-tabs": "^6.5.7",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/native-stack": "^6.9.12",
    "@react-navigation/stack": "^6.3.16",
    "@reduxjs/toolkit": "^1.9.5",
    "@shopify/flash-list": "1.4.3",
    "@shopify/react-native-skia": "0.1.196",
    "accordion-collapse-react-native": "^1.1.1",
    "date-fns": "^2.30.0",
    "expo": "^49.0.0",
    "expo-blur": "~12.4.1",
    "expo-camera": "~13.4.4",
    "expo-crypto": "~12.4.1",
    "expo-dev-client": "~2.4.11",
    "expo-file-system": "~15.4.4",
    "expo-font": "~11.4.0",
    "expo-haptics": "~12.4.0",
    "expo-image": "~1.3.4",
    "expo-image-manipulator": "~11.3.0",
    "expo-image-picker": "~14.3.2",
    "expo-location": "~16.1.0",
    "expo-mail-composer": "~12.3.0",
    "expo-media-library": "~15.4.1",
    "expo-sharing": "~11.5.0",
    "expo-splash-screen": "~0.20.5",
    "expo-status-bar": "~1.6.0",
    "expo-updates": "~0.18.14",
    "immer": "^10.0.2",
    "lodash": "^4.17.21",
    "lottie-react-native": "5.1.6",
    "native-base": "^3.4.28",
    "patch-package": "^7.0.0",
    "react": "18.2.0",
    "react-devtools": "^4.27.8",
    "react-native": "0.72.5",
    "react-native-autocomplete-input": "^5.3.2",
    "react-native-countdown-circle-timer": "^3.2.1",
    "react-native-devsettings": "^1.0.5",
    "react-native-gesture-handler": "~2.12.0",
    "react-native-image-colors": "^2.3.0",
    "react-native-midnight": "^1.0.2",
    "react-native-mmkv": "^2.10.0",
    "react-native-onboarding-swiper": "^1.2.0",
    "react-native-reanimated": "^3.5.4",
    "react-native-safe-area-context": "4.6.3",
    "react-native-screens": "~3.22.0",
    "react-native-share": "^9.2.2",
    "react-native-shared-element": "^0.8.8",
    "react-native-svg": "13.9.0",
    "react-native-vector-icons": "^9.2.0",
    "react-native-view-shot": "^3.7.0",
    "react-native-vision-camera": "^3.4.0",
    "react-native-volume-manager": "^1.8.1",
    "react-native-webview": "13.2.2",
    "react-navigation-shared-element": "^3.1.3",
    "react-redux": "^8.1.1",
    "redux-logger": "^3.0.6",
    "redux-persist": "^6.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/eslint-plugin": "^7.22.5",
    "@welldone-software/why-did-you-render": "^7.0.1",
    "babel-plugin-module-resolver": "^5.0.0",
    "eslint": "^8.42.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-config-universe": "^11.2.0",
    "eslint-plugin-react": "^7.32.2",
    "eslint-plugin-react-hooks": "^4.6.0",
    "prettier": "^2.8.8"
  },

https://gist.github.com/wcastand/8752cad254faba235dc040101c87a829

In my case, this is solved by deleting node_modules, running yarn again, and then doing a new expo build.

Guys, after struggling a bit with this problem, I found another lib that uses the MMKV from tencent: https://github.com/ammarahm-ed/react-native-mmkv-storage its working just fine in expo 49 and expo router
import "react-native-url-polyfill/auto";
import { createClient } from "@supabase/supabase-js";
import { MMKVLoader } from 'react-native-mmkv-storage';

const supabaseStorage = new MMKVLoader().withInstanceID("supabase.storage").initialize();

export function useSupabase() {
  const MMKVStorage = {
    setItem: (key: string, data: string) => supabaseStorage.setItem(key, data) as any,
    getItem: (key: string) => supabaseStorage.getItem(key) as any,
    removeItem: (key: string) => supabaseStorage.removeItem(key) as any,
  };

  const supabase = createClient(
    process.env.EXPO_PUBLIC_SUPABASE_URL as string,
    process.env.EXPO_PUBLIC_SUPABASE_ANON_KEY as string,
    {
      auth: {
        storage: MMKVStorage,
        autoRefreshToken: true,
        persistSession: true,
        detectSessionInUrl: false,
      },
    },
  );
  return supabase;
}
```;

Guys, after struggling a bit with this problem, I found another lib that uses the MMKV from tencent: https://github.com/ammarahm-ed/react-native-mmkv-storage its working just fine in expo 49 and expo router
import "react-native-url-polyfill/auto";
import { createClient } from "@supabase/supabase-js";
import { MMKVLoader } from 'react-native-mmkv-storage';

const supabaseStorage = new MMKVLoader().withInstanceID("supabase.storage").initialize();

export function useSupabase() {
  const MMKVStorage = {
    setItem: (key: string, data: string) => supabaseStorage.setItem(key, data) as any,
    getItem: (key: string) => supabaseStorage.getItem(key) as any,
    removeItem: (key: string) => supabaseStorage.removeItem(key) as any,
  };

  const supabase = createClient(
    process.env.EXPO_PUBLIC_SUPABASE_URL as string,
    process.env.EXPO_PUBLIC_SUPABASE_ANON_KEY as string,
    {
      auth: {
        storage: MMKVStorage,
        autoRefreshToken: true,
        persistSession: true,
        detectSessionInUrl: false,
      },
    },
  );
  return supabase;
}

Yeah, we have also switched to this library instead now. I tried finding the issue but just couldn't.

Hey everyone!
I was looking into this issue but couldn't reproduce this with a fresh Expo dev client project. Is anyone experiencing this in a clean expo project?
@claudesortwell could you please also provide your app's lockfile/app's dependencies?

also, on which platform are you experiencing this issue? iOS and/or Android?

@chrispader, I was having the problem with these dependencies:
"dependencies": {
"@apollo/client": "^3.8.6",
"@gorhom/bottom-sheet": "^4.5.1",
"@hookform/resolvers": "^3.3.2",
"@react-native-community/blur": "^4.3.2",
"@shopify/flash-list": "1.4.3",
"@supabase/supabase-js": "^2.38.2",
"apollo3-cache-persist": "^0.14.1",
"date-fns": "^2.30.0",
"expo": "^49.0.16",
"expo-clipboard": "~4.3.1",
"expo-constants": "~14.4.2",
"expo-crypto": "~12.4.1",
"expo-dev-client": "~2.4.11",
"expo-gradle-ext-vars": "^0.1.2",
"expo-image": "~1.3.4",
"expo-linking": "~5.0.2",
"expo-location": "~16.1.0",
"expo-notifications": "~0.20.1",
"expo-router": "^2.0.0",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"geodesy": "^2.4.0",
"graphql": "^16.8.1",
"lodash.debounce": "^4.0.8",
"lottie-react-native": "5.1.6",
"mobx": "^6.10.2",
"mobx-react-lite": "^4.0.5",
"mobx-state-tree": "^5.2.0",
"qs": "^6.11.2",
"radash": "^11.0.0",
"react": "18.2.0",
"react-hook-form": "^7.47.0",
"react-native": "0.72.6",
"react-native-date-picker": "^4.3.3",
"react-native-flash-message": "^0.4.2",
"react-native-gesture-handler": "~2.12.0",
"react-native-maps": "1.7.1",
"react-native-mask-input": "^1.2.3",
"react-native-mmkv": "^2.10.2",
"react-native-pager-view": "6.2.0",
"react-native-paper": "^5.11.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-shadow-2": "^7.0.8",
"react-native-size-matters": "^0.4.2",
"react-native-svg": "13.9.0",
"react-native-tab-view": "^3.5.2",
"react-native-url-polyfill": "^2.0.0",
"react-use": "^17.4.0",
"responsive-native": "^1.0.2",
"styled-components": "^6.1.0",
"ts-pattern": "^5.0.5",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/client-preset": "^4.1.0",
"@styled/typescript-styled-plugin": "^1.0.0",
<EMAIL_ADDRESS>"^4.0.8",
"@types/react": "^18.2.31",
"typeorm": "^0.3.17",
"typescript": "^5.2.2"
}
The thing is that the problem is not 100% of times consistent, had times that I reloaded and it didnt failed.
Is anyone experiencing this in a clean expo project? In my case, Im using managed workflow with dev client, so I install the dependencies above and run expo prebuild.
My expo plugins:
"plugins": [
  "@react-native-firebase/app",
  "@react-native-firebase/perf",
  "@react-native-firebase/crashlytics",
  [
    "expo-build-properties",
    {
      "ios": {
        "useFrameworks": "static"
      }
    }
  ],
  [
    "expo-location",
    {
      "locationWhenInUsePermission": "Allow $(PRODUCT_NAME) to use your location."
    }
  ],
  [
    "expo-gradle-ext-vars",
    {
      "googlePlayServicesLocationVersion": "20.0.0",
      "appCompatVersion": "1.4.2"
    }
  ],
  "expo-router"
]

Im in a monorepo using expo router, I think that the problem is related to expo router, you fresh testes used expo router?

@chrispader good look finding the problem, I think is very relevant understand whats happening. Could bring some really important understanding, or just show a bug rsrs.

also, on which platform are you experiencing this issue? iOS and/or Android?

iOS here too. Ill share my deps later today

iOS, monorepo setup, not consistent some reloads nothing, other times i would get the error and would have to do a complete restart of the app.
  "dependencies": {
    "@react-native/normalize-colors": "0.72.0",
    "@invertase/react-native-apple-authentication": "^2.2.2",
    "@react-native-google-signin/google-signin": "^10.0.1",
    "react-native-localize": "^3.0.2",
    "react-native-device-info": "^8.7.0",
    "expo-dev-client": "^2.4.10",
    "zustand": "^4.4.1",
    "dripsy": "^4.3.3",
    "expo-apple-authentication": "^6.1.2",
    "react-native-mmkv": "^2.10.2",
    "@react-native-cookies/cookies": "^6.2.1",
    "@expo/vector-icons": "^13.0.0",
    "@react-navigation/native": "^6.0.2",
    "expo": "~49.0.16",
    "expo-font": "~11.4.0",
    "expo-linking": "~5.0.2",
    "expo-router": "^2.0.9",
    "expo-blur": "^12.6.0",
    "react-native-floating-label-input": "^1.4.2",
    "expo-secure-store": "^12.5.0",
    "expo-splash-screen": "~0.20.5",
    "expo-status-bar": "~1.6.0",
    "expo-system-ui": "~2.4.0",
    "expo-web-browser": "~12.3.2",
    "expo-clipboard": "^4.5.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.72.6",
    "react-native-drawer-layout": "^3.2.1",
    "@react-navigation/stack": "^6.3.19",
    "react-native-gesture-handler": "~2.12.0",
    "react-native-safe-area-context": "4.6.3",
    "react-native-screens": "~3.22.0",
    "react-native-reanimated": "~3.3.0",
    "react-native-svg": "13.9.0",
    "expo-updates": "~0.18.13",
    "react-native-component-inview": "^1.0.2",
    "react-native-svg-animated-linear-gradient": "^0.4.0",
    "react-native-google-places-autocomplete": "^2.5.1",
    "emoji-mart-native": "^0.6.5-beta",
    "emoji-datasource-apple": "^15.0.1",
    "sentry-expo": "^7.0.1",
    "expo-application": "~5.3.0",
    "expo-constants": "~14.4.2",
    "expo-notifications": "^0.20.1",
    "customerio-expo-plugin": "^1.0.0-beta.13",
    "customerio-reactnative": "^3.2.1",
    "expo-device": "~5.6.0",
    "@sentry/react-native": "5.5.0",
    "@segment/analytics-react-native": "^2.16.1",
    "@segment/sovran-react-native": "^1.0.4",
    "react-native-get-random-values": "^1.9.0",
    "expo-standard-web-crypto": "^1.7.0",
    "expo-crypto": "^12.6.0",
    "react-native-shared-group-preferences": "^1.1.24",
    "expo-build-properties": "~0.8.3",
    "@intercom/intercom-react-native": "^5.3.1",
    "cookie": "^0.5.0",
    "config-plugin-react-native-intercom": "^1.10.1",
    "moti": "^0.26.0",
    "react-native-toast-message": "^2.1.6",
    "react-native-render-html": "^6.3.4",
    "gradient-parser": "^1.0.2",
    "yup": "^0.32.11",
    "apollo-upload-client": "^17.0.0",
    "@apollo/client": "^3.8.1",
    "expo-checkbox": "~2.1.0",
    "fetch-headers": "^3.0.1",
    "formik": "^2.2.9",
    "graphql": "^16.8.0",
    "graphql-tag": "^2.12.6",
    "graphql-ws": "^5.14.0",
    "intl": "^1.2.5",
    "isomorphic-unfetch": "^4.0.2",
    "lodash": "^4.17.21",
    "mobx": "^6.5.0",
    "moment": "^2.29.4",
    "moment-timezone": "^0.5.40",
    "nanoid": "^4.0.0",
    "patch-package": "^7.0.1",
    "query-string": "^6.2.0",
    "react-content-loader": "^6.2.1",
    "react-native-actions-sheet": "0.8.29",
    "react-native-appstate-hook": "^1.0.6",
    "react-native-biometrics": "^3.0.1",
    "react-native-calendars": "^1.1293.0",
    "react-native-collapsible": "^1.6.1",
    "react-native-confirmation-code-field": "^7.3.0",
    "expo-document-picker": "^11.7.0",
    "react-native-rate": "^1.2.10",
    "react-native-rsa-native": "^2.0.5",
    "react-native-select-dropdown": "^1.13.0",
    "react-native-sha256": "^1.4.9",
    "react-native-svg-charts": "^5.4.0",
    "react-native-url-polyfill": "^1.3.0",
    "react-native-webview": "13.6.0",
    "react-use": "^17.4.0",
    "rn-fetch-blob": "^0.12.0",
    "set-cookie-parser": "^2.6.0",
    "ts-is-present": "^1.1.1",
    "d3-shape": "^3.1.0",
    "date-fns": "^2.29.3",
    "axios": "^0.27.2",
    "color": "^3.1.0",
    "@react-native-firebase/app": "^18.6.1",
    "@react-native-firebase/analytics": "^18.6.1"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@types/react": "~18.2.14",
    "@types/react-native": "^0.72.2",
    "jest": "^29.2.1",
    "jest-expo": "~49.0.0",
    "react-test-renderer": "18.2.0",
    "typescript": "~4.7.4",
    "@types/set-cookie-parser": "^2.4.4",
    "@types/react-native-svg-charts": "^5.0.13",
    "@types/react-native-svg-animated-linear-gradient": "^0.4.2"
  },

Ok thanks, i can reproduce this now. Seems this error doesn't occur in iOS simulators. I also get it on Android.
Will let you guys know once this is fixed 👍

This PR fixes the problem 🚀

thanks for your help guys!

This PR fixes the problem 🚀

it was fast, really nice.

Fixed in 2.11.0! ❤💪

That was fast!! @chrispader @mrousavy thank you! ❤

@chrispader Thank you so much for fixing this issue!

Those who have problem in that just remove path from it and it works.

It still fails if you define any custom config though...

in simulator it works fine, but when i tested in real device, the value is failing to set

For us new MMKV() works, but if you put anything into the config object it fails on the Android emulator and on live devices.

I'm looking into this now!

I cannot neither reproduce this on Expo version 51.0.14 nor 49.0.16 with expo-dev-client, neither on iOS (physical devices) nor Android (physical/emulator). I tried all variations, and i don't have any problems with hot reload or any crashes.
If somebody can give me clear reproduction steps or provide me a link to a ready-to-use repo, i can continue investigating this. For now, i'm gonna keep this issue closed, as it seems to be fixed for most other users of the library.
Thank you still for raising this issue!

Thanks for investigating this @chrispader!
I'm under the impression react-native-mmkv required a custom development build to work. Did you build a custom dev-client via EAS to do the testing?
Did you pass a config to the new MMKV() function? Specifically I was unable to make it work when defining a path, eg:
const storage = new MMKV({ path: `$(Documents)/storage/mmkv/` })

Yes i used a custom development build, but i built it locally, not in EAS. Can you check if you also experience this when building locally?
I also passed a config with path

Strange. I'm not in a position to build locally unfortunately.
I tested today with this code in our EAS build (a newer one than when I'd last tried):
import * as FileSystem from 'expo-file-system';
window.storage = new MMKV({
  id: 'Test',
  path: `${FileSystem.documentDirectory}/storage`,
});

Unfortunately it errors:
Error: Exception in HostFunction: Failed to create MMKV instance!, js engine: hermes
I wonder if maybe Hermes is required to reproduce this? But I do think that's the default now anyway?


When I change N_OUTLIERS from default 1700 to 170,the teaser_cpp_ply example executing time became much slower(more than 30 seconds),I am confused why when the num of outliers is large the program runs fast while extemely slow when setting N_OUTLIERS small?

In short: max clique solver we used is optimized for sparse graphs, and when number of outliers is large, it's not a sparse graph anymore.


feature request: add dependency resolving for serialization order

We have several unicorn project for one website,
now we are sync projects in particular order manually
we would like to have automatic or at least manually specified in config dependencies between projects
to run just Sync without parameters

ooo, i'm forgot about pull requests, looks like it already on approving stage

Correct. Once @Eldblom fixes up the formatting I'll get that merged.

Sorry. Been pretty busy with Habitat - will get it done this week.


Dependencies: add mypy boto3 s3

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
~* [ ] Reset the build number to 0 (if the version changed)~
~* [ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)~
[x] Ensured the license file is being packaged.

attempting to fix #2 and #1 🤞🏽


remove bastion host

remove AWS bastion host as this is no longer needed.

Note, I have run this as make plan only. I was thinking to apply it once merged.


http scaling rule doesn't work in combination with keda scaling rules

Please provide us with the following information:

This issue is a: (mark with an x)

[X] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
HTTP-request based scaling works if it's used alone. However when there are also Keda scalers like CPU-scaling in the same application it's not scaling based on concurrentRequests anymore. While the Keda scalers still work, so if there are enough requests that CPU load is high enough for the CPU scaler it will still scale.
Steps to reproduce

Create a container app with HTTP-request based scaling and CPU-scaling (it's more simple to reproduce with quite low concurrentRequests to ensure that it's not scaling because of the CPU rule)
Hit the application with more concurrent requests than configured in the HTTP-request based scaling, but with less than required to put enough CPU load onto the replica to scale based on the CPU-scaling rule.

Expected behavior [What you expected to happen.]
The application should scale and spin up more replicas.
Actual behavior [What actually happened.]
The HTTP-request based scaling configuration is ignored and no additional replicas are created. (As said, the CPU-scaling still works, also if there is only HTTP- without CPU-scaling configured, it works as expected).

also one related question, but not necessarily a bug. it seems as there is no way to use more than 80% of the configured CPU. so for exmaple an application that is configured to use 0.5 CPU it seems impossible to use more than 400 mcores. also for cpu scaling if it's configured to 75% and there are 375 mcores in use it's still not scaling, it needs always quite some more load. which causes CPU scaling to fail for percentages above or around 80% for sure. however 70% might work when it's under full load, but seems to work better for applications that use bigger instances (like 1 CPU oder 2 CPUs), but for small instances like 0.25 or or 0.5 CPUs even 70% seems impossible to scale. with a safety margin using 60% it's scaling perfectly reliable.
don't know if that is the expected behaviour, an explanation why it's behaving like that and how the math behind it exactly works would be nice (so for both, why only 80% of the CPU is usable and why CPU scaling works as it does) in that case. we guess it's something regarding internal sidecars like for the console that have reserved resources and are somehow in the calculation for the scaling, but counldn't completely explain it. and we couldn't find anything in the documentation regarding it.
if it's not the expected behaviour I would open a separate issue.

And one more question regarding this issue. Is it somehow possible to use the Keda http scaling with container apps (https://keda.sh/blog/2021-06-24-announcing-http-add-on/) to work around that issue?

I've created an issue so that someone will investigate your report re: the scaling behavior. In terms of the CPU utilization, let me do some digging and get back to you. If we need to update the docs we will do so with details as well.
We do not use the HTTP add-on for KEDA so that is not an option today.


Serverless ebook

Final PR to make the serverless eBook live.
/cc @JeremyLikness

I'm doing one quick last edit pass directly on the branch and will push the commit soon. But I'll post some questions here.


wrong links

Sorry for short description but it's pretty easy to check or I'm wrong : )
Links in main page in section "Case Studies" are wrong. One of them is 404.

@b10s, could you please specify which link is broken?

@b10s workiva has been removed from the case studies, and a PR for that has been merged on Aug 14, 2018.
https://github.com/kubernetes/website/pull/9826/files
I think this issue is good to close.  @nikhita

Fixed in https://github.com/kubernetes/website/pull/9826. Thanks for pointing that out, @daminisatya! :)
/close


Sometimes bot doesn't do anything for a while

17:23:46 CommandHandler | Command Executed after 0/0.008/1.152s
User: Danny Grey#7835 [155839057648156672]
Server: The Dark Side [312300914201460736]
Channel: the_first_ember [312426680570347531]
Message: .ping
17:24:43 LogCommandService | System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Rest.DefaultRestClient.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Rest.DefaultRestClient.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.JsonRestRequest.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestBucket.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestQueue.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__62.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__59`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__77.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Rest.ChannelHelper.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.WebSocket.SocketTextChannel.d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.Modules.Administration.Services.LogCommandService.<>c__DisplayClass32_0.<<_client_MessageDeleted>b__0>d.MoveNext() in /home/dannehbot/NadekoBot/src/NadekoBot/Modules/Administration/Services/LogCommandService.cs:line 822
17:24:49 CommandHandler | Command Executed after 0/0.008/0.724s
User: Danny Grey#7835 [155839057648156672]
Server: The Dark Side [312300914201460736]
Channel: the_first_ember [312426680570347531]
Message: .send<PHONE_NUMBER>01460736|c:312300914201460736 test message
17:29:00 CommandHandler | User [Danny Grey#7835] executed [Hey] in [CustomReactionsService]
18:26:46 CommandHandler | Discord.Net.RateLimitedException: You are being rate limited.
at Discord.Net.Queue.RequestBucket.d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestBucket.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestQueue.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__62.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__59`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__77.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Rest.ChannelHelper.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.WebSocket.SocketTextChannel.d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.Modules.Utility.Utility.d__32.MoveNext() in /home/dannehbot/NadekoBot/src/NadekoBot/Modules/Utility/Utility.cs:line 360
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.ModuleClassBuilder.<>c__DisplayClass6_1.<g__ExecuteCallback1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__40.MoveNext()
18:26:46 CommandHandler | Command Executed after 0/0.004/14.557s
User: Danny Grey#7835 [155839057648156672]
Server: The Dark Side [312300914201460736]
Channel: the_first_ember [312426680570347531]
Message: .ping
18:27:35 CommandHandler | Discord.Net.RateLimitedException: You are being rate limited.
at Discord.Net.Queue.RequestBucket.d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestBucket.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestQueue.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__62.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__59`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__77.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Rest.ChannelHelper.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.WebSocket.SocketTextChannel.d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.Modules.Utility.Utility.d__32.MoveNext() in /home/dannehbot/NadekoBot/src/NadekoBot/Modules/Utility/Utility.cs:line 360
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.ModuleClassBuilder.<>c__DisplayClass6_1.<g__ExecuteCallback1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__40.MoveNext()
18:27:35 CommandHandler | Command Executed after 0/0.004/14.577s
User: Danny Grey#7835 [155839057648156672]
Server: The Dark Side [312300914201460736]
Channel: the_first_ember [312426680570347531]
Message: .ping
18:28:01 CommandHandler | System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Rest.DefaultRestClient.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Rest.DefaultRestClient.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.JsonRestRequest.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestBucket.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Net.Queue.RequestQueue.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__62.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__59`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.API.DiscordRestApiClient.d__77.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Rest.ChannelHelper.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.WebSocket.SocketTextChannel.d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NadekoBot.Modules.Administration.Administration.LogCommands.d__5.MoveNext() in /home/dannehbot/NadekoBot/src/NadekoBot/Modules/Administration/LogCommands.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.ModuleClassBuilder.<>c__DisplayClass6_1.<g__ExecuteCallback1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Discord.Commands.CommandInfo.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Discord.Commands.CommandInfo.d__40.MoveNext()
18:28:01 CommandHandler | Command Executed after 0/0.004/100.11s
User: Danny Grey#7835 [155839057648156672]
Server: The Dark Side [312300914201460736]
Channel: the_first_ember [312426680570347531]
Message: .logevents
18:28:02 CommandHandler | User [Darkflamewolf#2382] executed [hello taylor] in [CustomReactionsService]

Running it on Ubuntu GNOME 16.04.3

Just curious, which version of Nadeko your using? 1.8.2? I think we need a @kyousei for this one 👀

This is on your side. You either edited something and it's spamming really hard, or you have internet connection issues.

@DannyGrey7 bump~

Got it. Transferred it to a different server with stable internet and now the bot's always active. Thanks for the response! ^^


jsonschemas: redefine using definitions

requires https://github.com/inveniosoftware/invenio-records-resources/pull/262
closes #48
open questions

The initial model contains name and no descriptions. However, the issue mentions it. Should, name be description and therefore use the definition? The main difference would be localization (i.e. the first has not, the second does)

name (string)
acronym (list) should be there
descriptions should be removed
titles stays for search purposes but there is no localization, UI will use the name
identifiers should allow a list, but we only take a RoR from the dump (use uniqueItems). Set allowing multiple RoR but not twice the same RoR value.

There are no jsonschemas in invenio-records-resources, but it might make sense to have basic fields ($schemas, id) as a definition. I'm checking if we can resolve from other modules. Did not find it possible with the .refresolver_store() since the schemas seem to be extension binded.

Discussed IRL, move to jsonschemas/definitions-v1.0.0.json to invenio-records-resources (then change also rdm-records to use said definitions)

Merging... lowerst takes ages to resolve deps


Is 'broadcat' part of the API?

With the latest versions broadcat function is no longer available to import; however, projects like tortoise depend on this import. Should this import have been private, and not part of the public API?

@rsxdalv oh oops! no idea it was being used, and in such a high profile project!
in a later commit, i discovered broadcast_tensors and that function got reduced down to 3 loc
from torch import broadcast_tensors

def broadcat(tensors, dim = -1):
    broadcasted_tensors = broadcast_tensors(*tensors)
    return torch.cat(broadcasted_tensors, dim = dim)

Actually I discovered that it's being imported but not being used; I didn't realize this at first as I'm a downstream project from tortoise.
Thank you for the quick response.

So, in the scope of tortoise project, this issue can be closed.

@rsxdalv got it, yea, i brought it back just to save you the trouble

Thank you, that will fix my project's installation!


TITANIC SURVIVAL PREDICTION

Aim
Here, my goal is to build a predictive model that can give a solution to the question, “What types of people were more likely to survive?”
Details
The sinking of the Titanic is one of the most infamous wrecks in history. On April 15, 1912, during her maiden voyage, the RMS Titanic, widely considered “unsinkable”, sank after hitting an iceberg. Here, my challenge is to build a predictive model that can give a solution to the question, “What types of people were more likely to survive?” using passenger data (i.e. name, age, sex, socio-economic class, etc.).
Record

[X]  I agree to follow this project's Code of Conduct
[X]  I'm a GSSoC'23 contributor
[X]  I want to work on this issue

Can i do this @ruchspatil ?


[HELP] Running new releases

Hi @autophagy and @chaudum,
we would like to run new releases for crate_ruby [1] and activerecord-crate-adapter [2]. Can I humbly ask you to assign me [3] as a co-owner for both projects on RubyGems.org?
With kind regards,
Andreas.
/cc @hammerhead
[1] https://rubygems.org/gems/crate_ruby
[2] https://rubygems.org/gems/activerecord-crate-adapter
[3] https://rubygems.org/profiles/amotl

Hey @amotl I have added you as owner to both projects. Feel free to remove me from these projects afterwards.

Hi @chaudum. Thanks a stack for the quick response. I've accepted your invitation, and also added @hammerhead (https://rubygems.org/profiles/dv_ns).


The Docs is not working "Secure Connection Failed"

when i  open url https://docs.jiosaavn.rajputhemant.me/ the docs is not working

hi @Kampita,
i apologize for the incomplete documentation; ill be updating it whenever i get the time.
in the meantime, you can check out this, you can review the routes and implementation here.


Getting walker paths and interaction with Unreal Blueprints

Hello!
I generated a small custom map and populated it with walkers that are controlled by the WalkerAIController. However, to make the pedestrian behavior a little more realistic, I am currently trying to trigger animations based on future behaviour, such as triggering a Look-Left-and-Right animation, right before the pedestrian is crossing the street.
To do so, I need to know when a pedestrian is going to cross, so I am trying to get the path the Navigation has planned for it.  If I read the Code correctly the pedestrian paths are generated in the Navigation.cpp, but while the WalkerAIController has a go_to_location() method it is lacking an equivalent get function. Can you tell me if there is a possibility already to retrieve the pedestrian path or would I have to write a get function myself?
Also, to trigger anmiations in Unreal from the PythonAPI I am currently using a workaround of sending a jump command and playing a custom animation instead of a jump animation. Can you tell me if there is a better way to do this? Is it possible to trigger events or adjust variables in Unreal blueprints from within the PythonAPI? I'd be grateful for any hint here.
The use case here is to generate a diverse dataset of realistic pedestrian behavior at various positions in the map, captured from a camera attached to a car - Do you think using the ScenarioRunner would be a better approach in general here or is it's main purpose to play the same scenarios over and over again?
Thanks a lot for any help and hints!

I added a custom get_path method for the WalkerAIController and a play_animation method for Walkers that uses Unreals PlayAnimMontage() function. Closed the issue.

Hi @mfahrl i trying to do the same as you. Would you like to discuss about the solution? Would you share your play_animation fucntion?

Hi @LucasFKobernic to add the functions I followed the procedure described in issues #2143 and #1615. I basically checked how the  walker function "apply_control" is called and followed the function calls from client to server and added a play_animation function in each file that just passes on a string. The string is meant to be the path to the animation to be played.
Then, in the WalkerController.cpp I overloaded the ControlTickVisitor, to load and play the animation:
void AWalkerController::ControlTickVisitor::operator()(const std::string &AnimPath) { 	FString Path(AnimPath.c_str()); 	auto *Character = Controller->GetCharacter(); 	if (Character != nullptr) 	{ 		UAnimMontage * AnimMontage = LoadObject<UAnimMontage>(NULL, *Path); 		if (AnimMontage != nullptr) { 			Character->PlayAnimMontage(AnimMontage); 		} 		else { 			GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Blue, TEXT("Failed to Load AnimMontage")); 		} 	} }

Hi @mfahrl,
thanks for the answer, i will try it!

@mfahrl Hello, I trying to get the walker paths as you. Would you like to talk about the solution? Would you share your get_path fucntion, thank you


Already Visible collapse gets closed when .collapse('show') is called

I have a panel-collapse in a dropdown menu that I want to to open up if the panel contains a link with the ".active" css class.  To make this work I close all collapses and then open up the one I want to open when the dropdown is hidden (note, all of the collapses start open by default):
$('#dropdown').on('hide.bs.dropdown', function (event) {
      $('.panel-collapse.in').not(":has(.active)").collapse('hide');
      $("#dropdown .active").parent("ul").parent(".panel-collapse").collapse('show');
    });

However this doesn't work.  The .collapse('show') is actually closing the open panel for some reason.  However if I use more specific css and don't explicitly show the panel I want to have open unless it is closed, it works:
$('#dropdown').on('hide.bs.dropdown', function (event) {
      $('.panel-collapse.in').not(":has(.active)").collapse('hide');
      $("#dropdown .active").parent("ul").parent(".panel-collapse:not(.in)").collapse('show');
    });

I have this behavior with 3.3.1
This fiddle tries to show a collapse but all get opened
Manually disabling toggle on all collapse seems to remove the behavior
$('.collapse').collapse({'toggle': false})

But this workaround (suggested in old #5859) does not work programmatically with 3.2.0, seeming like a race condition here.
Is there an explanation somewhere of why this toggle event fired first ?

Hi @Glideh!
You appear to have posted a live example (http://s.bootply.com/render/3dBY2KSn8y), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 9, column 9: W013: Bootstrap version might be outdated. Latest version is at least 3.3.2 ; saw what appears to be usage of Bootstrap 3.3.1
line 87, column 9: W013: Bootstrap version might be outdated. Latest version is at least 3.3.2 ; saw what appears to be usage of Bootstrap 3.3.1

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

@Glideh Please file a new issue. Thanks!


Fix border color problem

makeBorderColor implementation may have some problems with fromvalue

Thank you... dont know how that happened haha


pass environment variables and command line arguments to runner

When launching Gauge, if user sets environment variables via command line or command line arguments, Gauge should pass it all to the language runners.
I.e. any command line argument that gauge does not understand should be passed on to the runner.

@sriv @mahendrakariya Can we please prioritise this? I've come across another scenario where this would really useful.
For example, the reports directory... when running on CI, I need to be able to dynamically set the reports directory depending on what's being run.

@haroon-sheikh Can you please install yesterday's Gauge nightly build and try out your use case?
Usage:
gauge_reports_dir=newReportsDir mvn gauge:execute

Tested. This works for me.

For more details, please refer the Precedence of Environments section in the environment documentation.


naming consistency/clarity within src/rail/estimation

Change Description
This PR (and other concurrent PRs in the other repos) include renamings of modules and stages within src/rail/estimation for consistency and transparency to users as outlined in LSSTDESC/rail#37. (Expect a few more PRs to address the smaller set of necessary consistency/clarity changes outside src/rail/estimation using the same branch.)

[x] My PR includes a link to the issue that I am addressing

I request that multiple reviewers please do not hesitate to suggest changes as needed! The goals are consistency, clarity, and longevity, so if something looks unclear, inconsistent, or insufficiently flexible to accommodate future development, now is the time to make adjustments.
Solution Description
The following changes were made across all the rail repos, along with updates to the contributing documentation (which should be propagated to the rail python project template so prompts regarding naming are included in future PR checklists).
files:
  delightPZ.py --> delight_hybrid.py
  GPz.py --> _gpz_util.py
  knnpz.py --> k_nearneigh.py
  naiveStack.py --> naive_stack.py
  NZDir.py --> nz_dir.py
  pointEstimateHist.py --> point_est_hist.py
  pzflow.py --> pzflow_nf.py
  randomPZ.py --> random_gauss.py
  simpleSOM.py --> minisom_som.py
  sklearn_nn.py --> skl_neurnet.py
  somocluSOM.py --> somoclu_som.py
  trainZ.py --> train_z.py
  varInference.py --> var_inf.py
classes:
  Inform_BPZ_lite --> BPZliteInformer
  BPZ_lite --> BPZliteEstimator
  Inform_CMNNPDF --> CMNNInformer
  CMNNPDF --> CMNNEstimator
  Inform_DelightPZ --> DelightInformer
  delightPZ --> DelightEstimator
  Inform_GPz_v1 --> GPzInformer
  GPz_v1 --> GPzEstimator
  Inform_FZBoost --> FlexZBoostInformer
  FZBoost --> FlexZBoostEstimator
  Inform_KNearNeighPDF --> KNearNeighInformer
  KNearNeighPDF --> KNearNeighEstimator
  NaiveStack --> NaiveStackSummarizer
  NZDir --> NZDirSummarizer
  Inform_NZDir --> NZDirInformer
  PointEstimateHist --> PointEstHistSummarizer
  Inform_PZFlowPDF --> PZFlowInformer
  PZFlowPDF --> PZFlowEstimator
  RandomPZ --> RandomGaussEstimator
  Inform_SimpleNN --> SklNeurNetInformer
  SimpleNN --> SklNeurNetEstimator
  Inform_SimpleSOMSummarizer --> MiniSOMInformer
  SimpleSOMSummarizer --> MiniSOMSummarizer
  Inform_somocluSOMSummarizer --> SOMocluInformer
  somocluSOMSummarizer --> SOMocluSummarizer
  Inform_trainZ --> TrainZInformer
  TrainZ --> TrainZEstimator
  VarInferenceStack --> VarInfStackSummarizer

Code Quality

[x] I have read the Contribution Guide
[x] My code follows the code style of this project
[x] My code builds (or compiles) cleanly without any errors or warnings
[x] My code contains relevant comments and necessary documentation

Bug Fix Checklist

[X] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

Given that we are still pre-v1, I have not explicitly included backward compatibility, but a block of import X as Y can be constructed from the above list of changes.
Other Change Checklist

[X] I have updated the tutorial to highlight my new feature (if appropriate)
[x] I have updated unit/End-to-End (E2E) test cases to cover any changes

I fixed some instances of outdated descriptions in the demo notebooks, but others require more substantial editing, e.g. when they describe code that has long since been removed from the demo in question or aspects of the API that have significantly changed since the descriptions were written. The demos require a thorough review before v1 that's out of scope for this series of PRs.

I think the test failure isn't related to anything I changed. @sschmidt23 Can you confirm whether that's true?

I wasn't sure what caused the test failure, looks like it's not finding h5py for some reason, so the pyproject.toml made need updating, given the big reorganization.

Oh, it's because there's an outstanding PR that should be merged in first, but I was having some trouble getting the coverage to work for some reason.  I asked @eacharles to have a look at that coverage issue, once we get that PR merged we'll need to rebase this PR with that one, then everything should work.

Thanks @sschmidt23 for looking into it! Should I take this to mean I should hold off on merging all these PRs and making the releases until that's resolved?

Delight is pretty self-contained (it's not used in any demos or anything), and it's not actively being used by anyone currently.  If this repo is the only holdout then I think it would be fine to merge everything else and we can track this down next week or at the RAIL-fest the following week.

Okay, thanks, that makes sense! I'm going to hit all the buttons and try not to break anything. . .

Thank you @sschmidt23 for taking care of this!


Introduce CxxReactPackage

Summary:
CxxReactPackage is supposed to be the way apps register C++-only turbo modules with React Native.
Applications are meant to subclass this jni::HybridObject.
Since this is a jni::HybridObject, applications are meant to create this CxxReactPackage in java, and initialize it with java dependencies.
React Native will reach into its c++ part, and use it create C++-only turbo modules.
NOTE: This is a temporary abstraction meant to unblock the stable API effort of removing the turbomodulemanagerdelegate builder from ReactHostDelegate:
https://www.internalfb.com/code/fbsource/[e7efced3018f6178b7187a2358f3b76d40e2b43c]/xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostDelegate.kt?lines=50-51
Changelog: [Internal]
Differential Revision: D51166523

a2558d15abe7331aa1dfba56c4e9b8f79d80faca


Case insensitive matching

I'm trying to write a parser for the Factorio changelog format, which is very particular and easy to get wrong. For example, the date field is optional, and must be captialized as Date. However, it's easy to make a mistake and use the wrong capitalization, e.g. date or DATE.
I'd like to be able to use Parsus to capture the values leniently, so that I can later do validation.
Literal tokens
Adding an ignoreCase parameter to LiteralToken would be helpful, and easy to implement.
class LiteralToken(
  private val string: String,
  private val ignoreCase: Boolean = false,
  name: String? = null,
  ignored: Boolean = false
) : Token(name, ignored) {

  override fun match(input: CharSequence, fromIndex: Int): Int =
    when {
      input.startsWith(string, fromIndex, ignoreCase = ignoreCase) -> string.length
      else                                                         -> 0
    }
}

Regex token
Kotlin's Regex has an option to ignore the case
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex-option/-i-g-n-o-r-e_-c-a-s-e.html
What do you think about adding a parameter to set the regex options in the regexToken() function? For example:
private val datePrefix by regexToken("""date:\s*""", options = setOf(RegexOption.IGNORE_CASE))

Although perhaps implementing a custom builder might be more succinct:
private val datePrefix by regexToken("""date:\s*""") {
 options += RegexOption.IGNORE_CASE
}

Or maybe just a boolean flag, for simplicity
private val datePrefix by regexToken("""date:\s*""", ignoreCase = true)

It makes sense to extend the functionality of string literals. I created a PR for it:

#13

As for regexes, you can already do that, because there is an overload that takes a constructed Regex as a value:
val datePrefix by regexToken("""\s*""".toRegex(RegexOption.IGNORE_CASE))

If that's something you want to write often, you can always create another overload for regexToken function that takes options, or directly something like regexTokenIgnoreCase(...)


Ssh changes

I have fixed the connectivity part and added an attribute to track a usable address instead of querying each time.
I also modified task to now return string and error to support returning stdout/any output and an error.
Before diverging much further I think we should do a review.

@varunturlapati  The travis build failed.

Please go over all review comments.

Updated the PR after resolving conflicts and pegging down the ssh package version in glide

This PR has changes already in master.
Rebase using git rebase -i origin/master to isolate changes only in this PR.

Instead of merging branches. It would be easier if you rebase your private branch with master.
This PR now has 40 or so commits and 13000 changed files. It becomes very hard to isolate your changes and review them.

// Merge changes from master
// On branch <new_private_branch>

$ git rebase origin/master
// This will rebase all your commits on top of master commits. You might have to resolve conflicts here. After resolving conflicts

$ git push -f <new_private_branch>

Rebase privately hasn't helped. I went through the cycle 2 times resolving each intermediate commit.  I just declined this PR. I'll create a new one with a new branch name.


Add xdrip-js as a CGM system option for oref0-setup

Adds xdrip-js as a CGM system target.

When the CGM option is set to xdrip-js, during installation all of the xdrip stuff gets executed as well.
Added xdrip-js to the list of valid CGM targets
Causes BlueZ to be installed
-dtx= or --dexcom_tx_sn= assigns $DEXCOM_CGM_TX_ID using the command line
Asks for the Dexcom transmitter serial during interactive setup only if xdrip-js is the CGM system
Clones Logger (https://github.com/xdrip-js/Logger) into ~/src/ and install only when xdrip-js is the CGM system
Adds Logger directly to cron to execute each minute
To clarify Dexcom receiver vs. transmitter IDs in the setup script, $DEXCOM_CGM_ID is renamed to $DEXCOM_CGM_RECV_ID (which still maps to $BLE_SERIAL), all of which is split out from $DEXCOM_CGM_TX_ID

Sample command line to use xdrip-js as the CGM system with a Pi HAT:
oref0-setup --dir=/root/myopenaps --serial=###### --cgm=xdrip-js --ns-host=http://nightscout.com --api-secret=xxxx --tty=/dev/spidev0.0 --enable=' autosens meal autotune ' --radio_locale='US' --dexcom_tx_sn=12A34B
When changing to a new transmitter the easiest way would be for users to rerun setup but with the new transmitter ID, otherwise they could edit preferences.json and their crontab.
When attempting to upgrade Node 8 using https://github.com/openaps/oref0/commit/9006a6d831095beddeb0774cdc074ce37573ec98 the following error is produced:
## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js 4 and later.
To get around this openaps-packages.sh was modified to check whether an Explorer HAT was present, indicating that installation is on a Pi, and to install via manual download:
#if ! sudo apt-get install -y npm; then
# install/upgrade to node 8
if ! nodejs --version | grep 'v8.'; then
    if grep -qa "Explorer HAT" /proc/device-tree/hat/product &>/dev/null ; then
        mkdir $HOME/src/node && cd $HOME/src/node
        wget https://nodejs.org/dist/v8.10.0/node-v8.10.0-linux-armv6l.tar.xz
        tar -xf node-v8.10.0-linux-armv6l.tar.xz
        cd *6l
        sudo cp -R * /usr/local/
    else
        sudo bash -c "curl -sL https://deb.nodesource.com/setup_8.x | bash -" || die "Couldn't setup node 8"
        sudo apt-get install -y nodejs || die "Couldn't install nodejs"
    fi
fi

Lookout is primarily geared to using the official calibrated values and
provides GUI-based transmitter status and control.
Logger is primarily geared to using expired transmitters, though I believe
it now supports unexpired usage now, and provides command line status
control.
On Fri, Jun 29, 2018 at 9:24 PM jaylagorio<EMAIL_ADDRESS>wrote:

@jaylagorio commented on this pull request.
In bin/oref0-setup.sh
https://github.com/openaps/oref0/pull/1042#discussion_r199310502:

@@ -18,7 +18,7 @@ source $(dirname $0)/oref0-bash-common-functions.sh || (echo "ERROR: Failed to r

TODO: deprecate g4-upload and g4-local-only
usage "$@" <<EOT
-Usage: $self <--dir=directory> <--serial=pump_serial_#> [--tty=/dev/ttySOMETHING] [--max_iob=0] [--ns-host=https://mynightscout.herokuapp.com] [--api-secret=[myplaintextapisecret|token=subjectname-plaintexthashsecret] [--cgm=(G4-upload|G4-local-only|G4-go|G5|MDT|xdrip)] [--bleserial=SM123456] [--blemac=FE:DC:BA:98:76:54] [--btmac=AB:CD:EF:01:23:45] [--enable='autotune'] [--radio_locale=(WW|US)] [--ww_ti_usb_reset=(yes|no)]
+Usage: $self <--dir=directory> <--serial=pump_serial_#> [--tty=/dev/ttySOMETHING] [--max_iob=0] [--ns-host=https://mynightscout.herokuapp.com] [--api-secret=[myplaintextapisecret|token=subjectname-plaintexthashsecret] [--cgm=(G4-upload|G4-local-only|G4-go|G5|MDT|xdrip|xdrip-js)] [--bleserial=SM123456] [--blemac=FE:DC:BA:98:76:54] [--dexcom_tx_sn=12A34B] [--btmac=AB:CD:EF:01:23:45] [--enable='autotune'] [--radio_locale=(WW|US)] [--ww_ti_usb_reset=(yes|no)]
These changes don't incorporate Lookout, but they could. My only question
is - what does that add that you don't already get from either Nightscout
or the local web app OpenAPS runs? Is it a duplication of functionality
with the start sensor/calibrate buttons that might turn into a battery hit?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/openaps/oref0/pull/1042#discussion_r199310502, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ag8XaJU401fqLDsetoliO5DKh7sTl7Nnks5uBuFogaJpZM4U1NHK
.

Ah, I didn't understand that difference! Maybe I should have been focussing on Lookout all along anyway. Let me poke around, but the troubled transmitter I'm working through is definitely going to hold things up until I figure out why it's being weird.

Let us know when you've decided whether to use xdrip-js Lookout and/or xdrip-js Logger, and are ready for code review and testing.  Looks like there's also now a merge conflict: let us know if you need help resolving that.

I think for this first go around I'd like to stick with Logger over Lookout, but in a next iteration I would be open to adding Lookout. I haven't had a chance to work on Lookout like I did with Logger and would want to test at least as rigerously.
As for the conflict, it looks like I can't resolve it myself. But these lines:
        if validate_g4share_serial $BLE_SERIAL; then
            (crontab -l; crontab -l | grep -q "DEXCOM_CGM_ID=" || echo DEXCOM_CGM_ID=$BLE_SERIAL) | crontab -
        fi
        (crontab -l; crontab -l | grep -q "PATH=" || echo "PATH=$PATH" ) | crontab -

Should be this:
        if validate_g4share_serial; then
            (crontab -l; crontab -l | grep -q "DEXCOM_CGM_RECV_ID=" || echo DEXCOM_CGM_RECV_ID=$BLE_SERIAL) | crontab -
        fi
        if validate_g5transmitter_serial; then
            (crontab -l; crontab -l | grep -q "DEXCOM_CGM_TX_ID=" || echo DEXCOM_CGM_TX_ID=$DEXCOM_CGM_TX_ID) | crontab -
        fi

Rebasing this PR to misc-stuff to hopefully make it easier to merge. It looks like openaps-packages.sh and oref0-setup.sh have 1 conflict each now, but both can be resolved by choosing the patch-1 branch.

@jaylagorio you want to resolve the comments above and the merge conflicts?  Or do you need assistance with that?

Can you see my comments under your comment about the openaps-packages.sh changes? I can see my comments when I'm logged in but not when I'm not logged in...

Nope: https://www.dropbox.com/s/j9tlnodd3jiexnb/Screenshot 2018-08-01 14.57.34.png?dl=0

Huh, not sure I understand what's going on. But since I identified which changes in the setup script should be prefered in the conflict in that file (and Github won't let me resolve the conflict myself or it isn't clear to me how to get around the un-gray the button) I asked was if this was an acceptable alternative to the originally proposed additions to openaps-packages.sh:
( mkdir $HOME/src/node && cd $HOME/src/node && \
( ( wget https://nodejs.org/dist/v8.10.0/node-v8.10.0-linux-armv6l.tar.xz && echo "Extracting Node..."  && tar -xf node-v8.10.0-linux-armv6l.tar.xz ) || die "Couldn't download and extract Node" ) && \
( ( cd *6l && sudo cp -R * /usr/local/ ) || die "Couldn't copy Node to /usr/local" ) )

What do you think?

Yeah, that approach looks good.  I just resolved the merge conflicts, added (a slightly simplified version) of the && and || die stuff, and applied a validation fix to the new validate_g5transmitter_serial function like we did with validate_g4share_serial.  See git show c05916ee5c4e0315e126ea91797f0f04e9f3938d for details.

Thank you for those mods!


Update documentation

Update access token doc
Add example using workflow cli from container

Tested using mkdocs serve locally. Attached screenshot

.

@asimhon DCO please

Completed. Both DCO & Semantic.


Introduce ESP32 ADC driver

This set of changes adds support for the ESP32 ADC peripheral, with documentation and examples.
Closes #250
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

After these changes are merged atomvm/exatomvm#26 should also be merged to enable Elixir use.