[Feature request]: subtitle automatically appears in the view

Feature request
Description
When I scroll markdown content, I need to swipe sidebar to see the corresponding subtitle if the current subtitle is too far behind：

Proposed Solution
I want the subtitle to automatically appear in the view：

I have implemented this feature in my vuepress theme and can submit PR for this feature if needed.

update issue status


Right click on code block crashes Discord

Right clicking anywhere on a message with a code block causes Discord to crash. Disabling this plugin resolves this issue, so I know it has to do with this plugin.
Canary 97971 (b2a656c) Host 0.0.277 OS X 10.15.7 (21.1.0)
Powercord v2 [49d2cae]
Plugin v2.0.0

That’s an unusual issue, I’ll try to reproduce it later tonight to see how
I can go around fixing it.
On Sun, Sep 19, 2021 at 5:02 PM Albert Portnoy @.***>
wrote:

Right clicking anywhere on a message with a code block causes Discord to
crash. Disabling this plugin resolves this issue, so I know it has to do
with this plugin.
Canary 97971 (b2a656c) Host 0.0.277 OS X 10.15.7 (21.1.0)
Powercord v2 [49d2cae]
Plugin v2.0.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lorencerri/powercord-reverse-image-search/issues/8,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUR6O5VBSZDVFNHXVJ3DSLUCZFVLANCNFSM5EKW655Q
.

I've pushed an update that solved the issue in my testing (dfc952f). If it persists for you, please let me know so I can reopen this. Thank you!

Hi, I updated to dfc952f40c895409c8640e00641cfb08ee90a12a and unfortunately the issue persists. I would send console logs for the issue but when Discord crashes it closes the console so I am unable to see them.

Found a fix! On: https://github.com/lorencerri/powercord-reverse-image-search/blob/dfc952f40c895409c8640e00641cfb08ee90a12a/index.js#L47
// BEFORE
let target = props[0].target;

// AFTER
let target = props[0]?.target;

(Note the ?)

Pushed, thank you!

So apparently I was wrong about the previous fix. It worked before but now it doesn't. After more investigating it looks like the issue is with the while loop that finds an image element. Perhaps it is getting overloaded? I don't know. However, I replaced it with target.querySelector and that did work.
// Recursively select target image
let target = props[0]?.target;
if (!target) return res;
if (target.tagName.toLowerCase() !== 'img') target = target.querySelector('img');

// If target isn't an image, return
if (!target || target.tagName.toLowerCase() !== 'img') return res;

I confirmed that this approach shows the context menu on messages/elements with images but not those without.

Is this being worked on? I'm currently experiencing the same issue, an update with a fix would be nice

Is this being worked on? I'm currently experiencing the same issue, an update with a fix would be nice

Pushed a temporary fix that should resolve the crashing (b4af950), I'll look for a permanent solution to remedy the issue.

I posted some code above that i've been using with no issues.

I posted some code above that i've been using with no issues.

Oh I'm not sure how I missed that, pushed the update, appreciate it!


How to install Kubeflow cli?

I am playing with kubeflow containerized python components. As per the below doc, we can push a component to the container registry by using "target_image" flag in definition and run the following command "kfp component build .................".
https://www.kubeflow.org/docs/components/pipelines/v2/components/containerized-python-components/#3-build-the-component
I am having a hard time to figure out how to install kubeflow cli. I would really appreciate if someone can point me to the documentation or alternative way to build the component.
The below link refers to how to use kubeflow cli but there is no mention of how to install it.
https://kubeflow-pipelines.readthedocs.io/en/2.0.0b16/source/cli.html#kfp
KFP version: Running on Vertex
KFP SDK version: 2.0.1

Clarified by https://github.com/kubeflow/website/pull/3575


Update #view help for np-api-server

I noticed the example for np-api-server -h was out of date. I am using this in a tutorial I am writing.

Coverage remained the same at 80.273% when pulling 7f15f81c54935e65b6221d01cc9145da7bdaff0d on jseagrave21:patch-1 into b1cf31abb51ed957ebe9efc4f30186755bf5a048 on CityOfZion:development.

💯


[FEATURE REQUEST] GitHub Repository license_template

It is possible to specify a license_template when creating a repository.  It would be nice to add support for this.

Please see https://developer.github.com/v3/repos/#create

Closed via #24


Add timeout option for MX DNS record lookup

Add optional second parameter opts, an object that can contain the properties timeout and checkMx. The checkMx property of the opts object overrides the checkMx function parameter. The timeout property, in ms module format, specifies the timeout for the DNS MX record lookup, the default is 10 seconds.
Add test, example and update the API documentation.

@jesselpalmer can you take a look please?

Hi @rkitover! Thank you so much for the PR. I love the idea! I am trying to beef up the tests to ensure everything is covered. I'll update this thread when I'm done.

@jesselpalmer Hi, sorry to bother you, but any luck with your tests? I need this for a PR I'm doing for another node module.

Hey @rkitover, you definitely aren't bothering me! I appreciate the nudge 😄 This has been on my to-do list; I just haven't gotten around to it. I'll take a look this weekend.

Thank you!

@rkitover Ok, I created a PR for your PR 😅 :
https://github.com/rkitover/node-email-verifier/pull/1
Let me know what you think!
Apologies for the delay. It's been a particularly busy last month 😊

@jesselpalmer
Nice work, your node is much better than mine, I don't use it much.
I didn't know that you can assign variables in object form, that's very cool.
I would recommend strengthening your Git commit discipline.
This is my favorite general explanation of how to format Git commits:
. Every project has its own practice, so when you patch other projects you want to try to match them to some degree.
Some are very strict about having a commit for every specific change, others are fine with one or a few commits for a feature and related work.
There are a few different guidelines, find one that you like for your projects.
You also want to try to have a clean commit history, you can do this with:
git fetch --all --prune
git rebase -i origin/main

. This will open up your editor with instructions on how to edit/order your history for a branch.
Anyway this is all for future reference, it doesn't matter here.
I'd appreciate it if you can do a release, then I will rework my link-check PR.

@rkitover Nice! Thank you so much for the resource and the tips!
Looks like I have a test acting up, so I'll fix that and then I'll do a release.
I'll update this thread after I put out the release.

Awesome, thank you!

@rkitover I just released 2.0.0, which included these changes!

Awesome, thank you!


fix some broken links

The general suggestion is to avoid committing PRs spanning more than one language. However, this one is pretty easy and clean.
/lgtm
/approve


how to close FloatingActionsMenu when outside touchable

I need to close the floating action menu when I touch any place outside the menu like popup window dismissing, help please

I had the same idea. What I did was create a RelativeLayout. Then inside that layout create an ImageView and the icon image (that the radial menu will be attached to).
layout.addView(menuOverlay, 0);  <-- menuOverlay is the ImageView
layout.addView(icon, 1);
When I want to display the FloatingActionMenu, I also set the visibility of the menuOverlay to be visible. I set the onClickListener on that menuOverlay so that when I click it, it calls the FloatingActionMenu.close() or whatever you want to do to dismiss the menu. If you understand what I'm trying to do :)

no this is a false solution, the solution is
override  @Override this function and check when use clicked, if user clicked outside the menu then close menu
public boolean dispatchTouchEvent(MotionEvent ev) {
if (HomeMenu.isOpen()) {
//set close homemenu when toutch outside it
Rect circlesiconhitBox = new Rect();
circlesicon.getGlobalVisibleRect(circlesiconhitBox);
Rect eventsIconhitBox = new Rect();
eventsIcon.getGlobalVisibleRect(eventsIconhitBox);
Rect neighborIconshitBox = new Rect();
neighborIcons.getGlobalVisibleRect(neighborIconshitBox);
if (!(neighborIconshitBox.contains((int) ev.getX(), (int) ev.getY())
|| eventsIconhitBox.contains((int) ev.getX(), (int) ev.getY())
|| circlesiconhitBox.contains((int) ev.getX(), (int) ev.getY()))) {
HomeMenu.close(true);
return true;
}
}
return super.dispatchTouchEvent(ev);
}

@mostafahashim its work great tnks
but do you have any idea how to hide whole of menu with another button click?


Consistently getting NULL results while streaming

Admittedly I have a weird implementation.
I am using the AudioStream class from your other package as a stream splitter
I have two 3rd parties at play.   One handles the Wake Word and Silence Detection
The other handles translating the audio to text for further processing.
When I hear the wake word, I begin writing to the stream that I feed to Bing:
//this houses the streams, fliping this flag will start copying data to the   audioInputProvider.SttStream
audioInputProvider.CaptureSttAudio = true;
//task that stops the STT
var triggerTask = Task.Run(() =>
{
while (_audioInputProvider.CaptureSttAudio)
{
Task.Delay(30);
}
_logManager.Debug(nameof(SensorySpeechCaptureManager), "STT Trigger Task Has Finished");
});
_sttStreamingTask = _bingSpeechApiClient.SpeechToTextSimple(_audioInputProvider.SttStream, SensorySettings.SampleRate, triggerTask);
This all works, except when  I await the _sttStreamingTask, it always returns null.  Or worse it hangs.
Is there any way get some more logging or peek into why the result is null.  My usual suspects (output window & Android Device Monitor)  are not showing me any errors.
UPDATE:
I am seeing these errors in the logcat:
09-24 17:42:54.365 E/AudioRecord-JNI(20755): Error -4 during AudioRecord native read
[0:] AudioStream.Record(): readResult returned error code: -1
Any thoughts you may have would be greatly appreciated.
P.S. - I have a simple test app that uses your package and it really fast.  I really just need to know how to step into the package and find the issue.  So I can get the same performance as the sample app.
Thanks,
BeanStalka

Hi,
you might be having the same problem I'm facing in issue #11 which wasn't solved by the fix. To debug this you have to download the project and add it to your solution and reference it instead of the nuget package.
I'm debugging on my side but not understanding much at the moment...

Nexxuno,
I seems like it.  I have pulled down the latest and am debugging now.
I will report her with my findings
wish me luck
Bean

Re: the service unavailable error:
Assume this is Android... change your Android project to use the Android HttpClient/Handler.  This now seems to be required to successfully make calls to the speech api and I need to update the readme to reflect that.
Re: the initial reported issue here:
That error seems to be coming from here.  -1 is a generic 'Error' state, but interesting that a -4 is also being logged from the native code - I'm not sure what error -4 corresponds to.
If you look at that code, I try to handle the case where we have > 1 bad reads and just auto stop the recording.  I'm not sure this has ever truly been tested since I have no way to simulate bad reads... I'd be interested to know what you find in your debugging.

Also, re: null results, the only way to really get a null response back now is if SendRequest were to return null.  This should happen far less than it used to since we now propagate any exceptions and throw a few of our own.  Let me know what you find.

Great find! it finally works, thanks.
For further reading: https://docs.microsoft.com/it-it/xamarin/android/app-fundamentals/http-stack?tabs=windows
"April, 2018 – Due to increased security requirements, including PCI compliance, major cloud providers and web servers are expected to stop supporting TLS versions older than 1.2. Xamarin projects created in previous versions of Visual Studio default to use older versions of TLS.
In order to ensure your apps continue to work with these servers and services, you should update your Xamarin projects with the Android HttpClient and Native TLS 1.2 settings shown below, then re-build and re-deploy your apps to your users."

Nate,
"Assume this is Android... change your Android project to use the Android HttpClient/Handler. "
That was it alright.
I still get the task hanging once in a blue moon (1/100).  When this happens my app is dead in the water.
When you throw the errors in the BingSpeechApiClient, they defiintely show up in the output, but I am left waiting indefinitely on the task i.e.
var recoResult  = await _bingSttTask;<-- if an error occurs here, I am waiting forever.
Any chance we could return a Faulted status or anything really.  So I  can handle that and restart my wake word listening task?
Also, If you want me to put in a new issue, I will.  Just let me know
Thanks,
Bean

After more testing I have 100% good results while on wifi, and 100% errors while on 4G / LTE. I'll look further into it tomorrow (hopefully).

From: BeanStalka<EMAIL_ADDRESS>Sent: Tuesday, September 25, 2018 10:00:05 PM
To: NateRickard/Xamarin.Cognitive.BingSpeech
Cc: Paolo Ferrazza; Comment
Subject: Re: [NateRickard/Xamarin.Cognitive.BingSpeech] Consistently getting NULL results while streaming (#14)
Nate,
"Assume this is Android... change your Android project to use the Android HttpClient/Handler. "
That was it alright.
I still get the task hanging once in a blue moon (1/100). When this happens my app is dead in the water.
When you throw the errors in the BingSpeechApiClient, they defiintely show up in the output, but I am left waiting indefinitely on the task i.e.
var recoResult = await _bingSttTask;<-- if an error occurs here, I am waiting forever.
Any chance we could return a Faulted status or anything really. So I can handle that and restart my wake word listening task?
Also, If you want me to put in a new issue, I will. Just let me know
Thanks,
Bean
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNateRickard%2FXamarin.Cognitive.BingSpeech%2Fissues%2F14%23issuecomment-424480842&data=02|01||bfc875b1c09f424e563c08d623217d2c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636735024065737360&sdata=4FMNoW%2FqRy%2BElYovENBeMh%2FewvwcyJj1ApIJCNE35eE%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOxBAM_vnxHkpRP65-RKMre2W58Nlx6bks5ueotFgaJpZM4W3fHN&data=02|01||bfc875b1c09f424e563c08d623217d2c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636735024065737360&sdata=20ZnRVrEpZt7Q76P3%2Ba6oYuBtJtlSdVOHs0G2AtTuC4%3D&reserved=0.

Spoke too soon it's very hit or miss on wifi too.

From: BeanStalka<EMAIL_ADDRESS>Sent: Tuesday, September 25, 2018 10:00:05 PM
To: NateRickard/Xamarin.Cognitive.BingSpeech
Cc: Paolo Ferrazza; Comment
Subject: Re: [NateRickard/Xamarin.Cognitive.BingSpeech] Consistently getting NULL results while streaming (#14)
Nate,
"Assume this is Android... change your Android project to use the Android HttpClient/Handler. "
That was it alright.
I still get the task hanging once in a blue moon (1/100). When this happens my app is dead in the water.
When you throw the errors in the BingSpeechApiClient, they defiintely show up in the output, but I am left waiting indefinitely on the task i.e.
var recoResult = await _bingSttTask;<-- if an error occurs here, I am waiting forever.
Any chance we could return a Faulted status or anything really. So I can handle that and restart my wake word listening task?
Also, If you want me to put in a new issue, I will. Just let me know
Thanks,
Bean
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNateRickard%2FXamarin.Cognitive.BingSpeech%2Fissues%2F14%23issuecomment-424480842&data=02|01||bfc875b1c09f424e563c08d623217d2c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636735024065737360&sdata=4FMNoW%2FqRy%2BElYovENBeMh%2FewvwcyJj1ApIJCNE35eE%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOxBAM_vnxHkpRP65-RKMre2W58Nlx6bks5ueotFgaJpZM4W3fHN&data=02|01||bfc875b1c09f424e563c08d623217d2c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636735024065737360&sdata=20ZnRVrEpZt7Q76P3%2Ba6oYuBtJtlSdVOHs0G2AtTuC4%3D&reserved=0.

Had the time to test this on iOS too with the usual code you can find in #11 , I think the problem is deeper than changing the httpclient, I get the same error on iOS:
SendRequest: Non-success status received :: Status Code: ServiceUnavailable; Reason: Service Unavailable; Content: BingBing services aren't available right nowWe're working to restore all services as soon as possible.We know you want to get back to searching. Please check back soon.Ref A: C1DE93E158A444CBB1A9B232F7B8181A Ref B: MIL30EDGE0115 Ref C: 2018-09-26T16:06:53Z
Main thread
Xamarin.Cognitive.BingSpeech
BingSpeechApiClient+<SendRequest>d__42.MoveNext ()
System.Runtime.CompilerServices
TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)
System.Runtime.CompilerServices
TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)
System.Runtime.CompilerServices
TaskAwaiter`1[TResult].GetResult ()
Xamarin.Cognitive.BingSpeech
BingSpeechApiClient+<SpeechToTextDetailed>d__53.MoveNext ()
System.Runtime.CompilerServices
TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)
System.Runtime.CompilerServices
TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)
System.Runtime.CompilerServices
TaskAwaiter`1[TResult].GetResult ()
BeltMap.Services
BingSpeechToText+<AcquireAsync>d__7.MoveNext ()

@BeanStalka re: awaiting that Task... any exception throw in the client should get surfaced, and if you're awaiting the Task returned from the SpeechToText call, it should fail and drop you into any catch block you have surrounding the call.
If I synthesize an exception in the client, the sample app has no issues completing the await and jumping to the catch block.  Faulted Tasks should also raise exceptions when you await them so I'm not really sure why the code you pasted is needed, even if you keep a reference to the Task and await it later as you're doing.
The Task should be faulted strictly via the magic of using async/await and having an exception occur during the awaited code. i.e. returning a faulted status should not be a manual thing but just happen when the runtime sets the exception to the Task.
Any other info you can provide to help reproduce this?  Is it possible that the triggerTask is not completing and that's causing it to never complete?  Looking at the code I can see there may be an issue if your recording task never completes.  Probably need to add in a timeout that matches the speech api's limit.  My recording plugin auto completes after a timeout but your custom implementation may not?

And re: ServiceUnavailable error, let's keep all discussion on that in #15

Nate,
I updated my code to use a try catch around the await of that task.
I am able to capture the error and respond accordingly.
Thanks,
Bean

I am closing this issue since my reaming issues are around the 'Service Unavailable'


Event times are incorrect for past events

Describe the bug
Events created prior to the 2.8.1 release have their start/end times offset by 5 hours, such that they sometimes appear to have happened on the wrong day. This causes links to some events to be broken, because the event URL uses the month and day, and if the day is different the URL will change.
This appears to be related to this issue with pgloader, and if so would indicate that all of the datetimes in the mysql database were loaded as though they were GMT.
To reproduce
Steps to reproduce the behavior:

Visit the event page for this panel discussion and observe the listed time of 8pm-9:20pm
Visit the corresponding PUL registration page for the same event and observe that the event actually starts at 3pm

Affected events that are 404ing:

https://cdh.princeton.edu/events/2016/12/workshop-intro-to-command-line/
https://cdh.princeton.edu/events/2018/03/network-analysis/

Expected behavior
Events should be listed under the time they actually took place, in the CDH's timezone (Eastern Time).
Additional context
Events created after the 2.8.1 release are unaffected.

postgresql evidently stores datetimes in the database in UTC, so the trick was to tell the database to cast the values to EST, then convert them back to UTC, effectively "rewinding" them 5hrs to make up the difference. the sql used was:
update events_event set start_time = (start_time at time zone 'est') at time zone 'utc',
                                         end_time = (end_time at time zone 'est') at time zone 'utc',
                                         publish_date = (publish_date at time zone 'est') at time zone 'utc';
update blog_blogpost set publish_date = (publish_date at time zone 'est') at time zone 'utc';
update pages_page set publish_date = (publish_date at time zone 'est') at time zone 'utc';
update people_profile set publish_date = (publish_date at time zone 'utc') at time zone 'est';

the only fields affected were datetimes (not dates), so the publish_date field on page models and the start_time and end_time on events.

postgresql evidently stores datetimes in the database in UTC, so the trick was to tell the database to cast the values to EST, then convert them back to UTC, effectively "rewinding" them 5hrs to make up the difference. the sql used was:
update events_event set start_time = (start_time at time zone 'est') at time zone 'utc',
                                         end_time = (end_time at time zone 'est') at time zone 'utc',
                                         publish_date = (publish_date at time zone 'est') at time zone 'utc';
update blog_blogpost set publish_date = (publish_date at time zone 'est') at time zone 'utc';
update pages_page set publish_date = (publish_date at time zone 'est') at time zone 'utc';
update people_profile set publish_date = (publish_date at time zone 'utc') at time zone 'est';

the only fields affected were datetimes (not dates), so the publish_date field on page models and the start_time and end_time on events.


xyz.xyz is a valid URL ?

Why don't you try?

It might be. See https://github.com/chriso/validator.js/issues/623#issuecomment-278857682 for more info.


[Java][Flight] Flight SQL tests are flaky

Describe the bug, including details regarding any error messages, version, and platform.
Several test failures in flight-sql module have been observed in multiple job executions:

https://github.com/apache/arrow/actions/runs/9185953424/job/25260768750
https://github.com/apache/arrow/actions/runs/9185714602/job/25260156899?pr=41772

The reported issue is
Error:  Errors:
Error:    TestFlightSqlStreams.tearDown:224 » IllegalState Memory was leaked by query. Memory leaked: (250384)
Allocator(ROOT) 0/250384/250896/2147483647 (res/actual/peak/limit)

Note that there are also multiple messages about unclosed ManagedChannels in flight-core module:

org.apache.arrow.flight.auth2.TestBasicAuth2
org.apache.arrow.flight.core/org.apache.arrow.flight.TestFlightGrpcUtils.testMultipleGrpcServices
org.apache.arrow.flight.core/org.apache.arrow.flight.TestDoExchange.setUp
org.apache.arrow.flight.core/org.apache.arrow.flight.TestServerOptions.addHealthCheckService

May 22, 2024 5:50:41 AM io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference cleanQueue
SEVERE: *~*~*~ Previous channel ManagedChannelImpl{logId=505, target=directaddress:///localhost/<IP_ADDRESS>:5555} was garbage collected without being shut down! ~*~*~*
    Make sure to call shutdown()/shutdownNow()
java.lang.RuntimeException: ManagedChannel allocation site
	at io.grpc.internal@1.63.0/io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.<init>(ManagedChannelOrphanWrapper.java:102)
	at io.grpc.internal@1.63.0/io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:60)
	at io.grpc.internal@1.63.0/io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:51)
	at io.grpc.internal@1.63.0/io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:672)
	at io.grpc@1.63.0/io.grpc.ForwardingChannelBuilder2.build(ForwardingChannelBuilder2.java:260)
	at org.apache.arrow.flight.core/org.apache.arrow.flight.TestServerOptions.addHealthCheckService(TestServerOptions.java:191)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

but those seems to only cause warnings, not errors
Component(s)
FlightRPC, Java

cc @lidavidm

Can anyone reproduce it locally?

I cannot for TestFlightSqlStreams

I think we need to do two things:

tearDown needs to run after each test to narrow down the scope of the leaked memory.
We need to properly add debug information to print out the leaked buffer's retain/release history and where it was allocated. We optionally track this info and it should be enabled in CI and the error message should be enhanced.

@vibhatha

I will take a look. But need sometime, probably earliest next week.

We optionally track this info and it should be enabled in CI and the error message should be enhanced.

@lidavidm could I get a pointer in how to enable this in CIs?

You'll have to look. We neutered it after performance complaints.

Hard thing is replicating this locally. I tried a few times yesterday, no luck. Need to enable what @lidavidm mentioned in the CIs. I need to look into that.


feat(GUI): use new design blue and spacing

We use the new design blue, spacing, and order of step buttons.
Change-Type: patch

@Shou what's with the missing "Change" in the first screenshot?

@jhermsmeier that's with the autoselection enabled


Refs #19527 -- Allowed bulk_create() to set primary keys for PostgreSQL

Postgres supports RETURNING id when doing a bulk create. With this,
we can set the primary keys on the newly saved objects from the keys
that the database supplied.
Addresses #19527

Note: SQLInsertCompiler has heavy, conflicting changes pending in #5099 / Ticket 24509.

@adamchainz Do you have suggestions on how I should proceed, given #5099 (which is still pending, AFAICT)?

Tomorrow I'm planning on doing the #5099 docs in the Pycon UK sprints. I'll also take a look at a rebase of this :)

It was done yesterday in #5324, you can follow that plus the commetns on the ticket

@acrefoot, you can now rebase this and target it for 1.10.

@acrefoot have you had a chance to rebase this yet?

Hi guys, any progress with this issue?

Does this work ?

@daniel1943 yes it works, we use this patch series for the Zulip open source project; it's been in use in production for almost 3 years and I've never had issues with it.  However changes have been landed in Django master that this merge conflicts with; it'd be totally awesome if someone were to rebase the patch series so it can be merged for Django 1.10.

I'll close this for now due to lack of follow-up. If someone can update it for master, please send a new pull request. Thanks!


Selecting resolution

Can the user of this plugin choose the resolution of the resulting mp4?
Ideally one could even set the size of the slides and the size of the webcams...

In v1.0.4 now you can call the script with --slides-width int and --webcams-width int. Defaults are 1280 and 640, resulting in either 1280 (only slides/deskshare), 1920 (slides & webcams) or 640 (webcams only). However, you can set any odd resultion like slides 100, webcams 1000, if you like. Height of the overall video is derived from whatever part is higher.
Have fun.

If that suits your needs please close the issue :-) You're welcome.

Thanks!


CommandException should not always lead to the Usage being displayed

According to its javadoc, the CommandException class is intended for propagating an error to the CommandSource. It will print an error message supplied followed by the commands usage message.
Since there are plenty of use cases where a command was used correctly but the execution failed due to circumstances other than the supplied arguments. In those cases displaying the usage would be at best useless and at worst misleading.
In order to retain CommandExceptions as a preferable way to inform command users of errors and failures, I propose introducing a boolean flag shouldDisplayUsage defaulting to false.

Or only display the usage string if the exception was an instance of argumentParseException

component of #548

being combined into #548


fix: use didChangeDependencies when init with async function.

Plz read Life Cycle of StatefulWidget carefully....

Now ok? I am tired.

too complicated, I am going to restart.


Changing the 449 retry policy to force back-off even on initial retry and start with shorter back-offs

/azp run java - cosmos - tests

read-my-writes and split tests all passed.

/check-enforcer override
Test failures not caused by changes of this PR

/check-enforcer override


https

not working:
https://mattdesl.github.io/spins/

perhaps a DNS issue? I know https only started working for https://yoshuawuyts.com/ once I let cloudflare handle my DNS.


the external file cannot be joined?

I use this python script from https://github.com/tableau/hyper-api-samples/pull/78
query the single file is ok.
> select count(*) from external('./t17.csv',COLUMNS => DESCRIPTOR(id int, owner int));
"count"
1499001

> select count(*) from external('./t17_2.csv',COLUMNS => DESCRIPTOR(id int, owner int));
"count"
5001

query the two files failed
> select a.owner, count(*) from external('./t17.csv',COLUMNS => DESCRIPTOR(id int, owner int)) as a,external('./t17_2.csv',COLUMNS => DESCRIPTOR(id int, owner i
nt)) as b where a.id=b.id group by a.owner ;
Error executing SQL: invalid input syntax for integer: file: './t17_2.csv' line:1 column:1

You are correct, the header is the problem. The single file queries did not fail because count(*) will just count the number of lines in the CSV file. It does not type-check the values for all the columns. So, in your example Hyper does not check that the values for id and owner are valid integers. Since you did not specify header the count should also be off by one.
The following query will also fail for a single file since now Hyper checks that the values for owner are valid integers:
select owner, count(*) from external('./t17.csv',COLUMNS => DESCRIPTOR(id int, owner int)) group by owner;

thanks @wolfroediger


Request to data source is outdated. Results in KeyError: 'flightSummaryList'`

I have used the following on my script with Anaconda, since April but since 24/06/2020 whenever I try to run the library it returns the following:
`---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
 in
1 # Save Arrivals CSV
----> 2 FlightTables.arrivals_csv("2020-07-01")
3
4 # Save Departures CSV
5 FlightTables.departures_csv("2020-07-01")
~\Anaconda3\lib\site-packages\flight_tables\flight_tables.py in arrivals_csv(self, iso_date_str)
10     @classmethod
11     def arrivals_csv(self, iso_date_str):
---> 12         self.date_to_csv(iso_date_str, "arrivals")
13
14     @classmethod
~\Anaconda3\lib\site-packages\flight_tables\flight_tables.py in date_to_csv(iso_date_str, direction)
30         heathrow_raw_dict = fetch_heathrow_data(iso_date_str, direction)
31
---> 32         batch_info = extract_batch_heathrow(heathrow_raw_dict)
33
34         parsed_flights = ParsedFlights(batch_info)
~\Anaconda3\lib\site-packages\flight_tables\heathrow_parsing.py in extract_batch_heathrow(response)
113     batch_info = [] # List with flight_info from multiple flights
114
--> 115     raw_flights = response['flightSummaryList']['flight']
116
117     for flight in raw_flights:
KeyError: 'flightSummaryList'`
I am not sure how to resolve this though.

Hi, thanks for raising the issue.
tldr: The data source has changed. The get request now needs a header.
Quick Fix:

Old line 35:
r = requests.get(url_to_scrape)
New lines:headers={"origin": "https://www.heathrow.com"}
r = requests.get(url_to_scrape, headers = headers)

For context:

Line 30 in flight_tables.py is unsuccessful fetching the data.
Ideally there should be error handling to catch this event more cleanly.
I'm not sure when I'll get around to fixing. Ideally will add tests, error catching and an update to PyPi package.

Let me know if you have any other feedback about the documentation or context about your use case.
All the best

Hi there, thank you for your quick feedback. As I am only a moderate user I am not quite certain how to go ahead and modify your script from my notebook? I have tried running the different scripts flight_tables.py, heathrow_parsing.py etc and I substituted the line you mentioned, however I keep receiving the same error message.

I've saved a fix to the develop branch for a start.
It should work if you save the develop branch locally and do command line execution (see README.md).
I'm planning to pull to master and update PyPi. Once that's done pip upgrade will work.

Thanks @FergM for your help.

December 2020 Update:

Heathrow updated the website a second time, so the first fix no longer works.
The website is now much harder to scrape from.
Pull requests welcome, particularly with parsing for other airports (which might be easier to access).


Business Central Reverse employee ledger entry

You'll receive the following error message when trying to reverse an employee ledger entry transaction.

to reproduce:
post a general journal with account type as "employee"
navigate to the employee ledger entry then click Actions > Functions > Reverse transaction.

Thank you for your request. We are currently setting up the process around handling of issues in this new GitHub repository and you should hence expect a short delay in the processing of this request. But we will be on your case shortly!

This GitHub repository is dedicated to handling issues with published apps and extensibility requests for the latest release of Business Central. If you run into an issue, please open a support case. You can open a Support Request to CSS through PartnerSource portal or by contacting your Service Account Manager (SAM) in the local subsidiary, to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company.
Another option would be to file this bug in Collaborate and include details on your Business Central build number and country. Quick link: https://developer.microsoft.com/en-us/dashboard/collaborate/engagements/1173/feedback/wits/Bugs/create.


feat: generate changelog and tag

Fixes #76
Proposed Changes

generate changelog
create release with changelog

Screenshots

This is great, I can't believe the number of times I've gone to set up the CI to do this only for it to end up at the bottom of the list and never get done.... this action needs to be available to everyone on GitHub ;)


Read-PnPTenantTemplate

I am new into this pnp coding and sharepoint starterkit. I an learning how to develop and was trying to edit the starter.xml and run the read-pnptenanttemplate cmdl and I get the following error messages:
Read-PnPTenantTemplate: The 'key' attribute is not declared.
Read-PnPTenantTemplate: The required attribute 'Key' is missing.
I cant figure out where to look to solve this problem. What I did on the xml file was change the company name where it say contoso electronics to my company and added lines to add more sites on top of Marketing and HR

Hi, would you confirm what version of PnP PowerShell you are using?


English fix

As per https://github.com/orionjs/orion/issues/178

Thanks

I'll do a PR next time. I was looking at the main /README.md and didn't realize I needed to go deeper.


Bluetooth Beacon Interactor crashes on discovery of estimote dev kit beacons

it starts listing , then crashes while its doing that. what input would you need to debug ?

Do you know which type of beacon is nearby? Is it Eddystone or something else? Do you have access to an Android phone or an iPhone with a Beacon scanner app that shows the raw data that the beacon transmits?

In crash reports of the live app, I've seen that it can happen that the received beacon advertisement is null and the app was therefore crashing. I've fixed that in the source code on GitHub and will push an update to the store app during the next few days. The library will now ignore beacon updates that are actually null.
I guess that should fix the issue you've discovered, otherwise please comment with more details! Thanks for reporting!


refactor: unsubscribe tokens in KiteTickerSubscriber

This commit refactors the unsubscribe_tokens method in the KiteTickerSubscriber struct. Instead of directly unsubscribing the tokens and updating the subscribed_tokens field, it now uses a match statement to handle the result of the unsubscribe_cmd method. If the unsubscribe is successful, the tokens are removed from the subscribed_tokens using the retain method. If there is an error, it is returned.
The code changes in this commit ensure that the subscribed_tokens field is updated correctly when unsubscribing tokens.
Co-authored-by: Kaushik Chakraborty<EMAIL_ADDRESS>Note: Commit message is generated by AI. Please use with caution.

This closes #8


add resources directory to test compile options

Unfortunately, sbt puts test resources on the classpath in test:test but not test:compile. Compiler plugins and macros that access resources will therefore fail without this fix:
    compileOptions in (Test, compile) := {
      val oldOptions = (compileOptions in (Test, compile)).value
      val resDir     = (resourceDirectory in Test).value
      oldOptions.withClasspath(oldOptions.classpath :+ resDir)
    }

are main resources on the classpath of compile?

It does appear so.

Actually it looks like main resources are not on the classpath of compile:compile either so it boils down to if this is a palatable change or not. Maybe a bit niche?

To clarify, I think the Compile,compile one is niche.
But I think Test,compile should definitely have the Compile,resources on the compiler classpath as this is much more realistic compared to depending on a jar.

as this is much more realistic like depending on a jar

I agree. we should definitely explore this.

This might be a false positive. I can see the target directory on the classpath and it has the resources.
The issue I'm facing might be that I want the test resources on the test compiler classpath, and that's perhaps a bit niche.

oh! I see the issue. The resources are copied to the classes directory AFTER the compilation!
The real bug here is that resources should be copied over before compilation.

@dwijnand I found the real cause of this and changed the initial report accordingly. It's an sbt bug hopefully with an easy fix.

cool, I can actually tell you exactly where this happens (AFAIK). what a rare occurrence.
https://github.com/sbt/sbt/blob/v1.1.1/main/src/main/scala/sbt/Defaults.scala#L2544-L2548
for any potential contributor: you need to make the compile task depends on the completion of the copyResources task.

Currently the compilation and resource (potentially generation in case of web apps etc) copying are two independent tasks (i.e. "concurrent" in Lamport sense). That is by current design.
Simply making compile task depend on copyResources introduces extra step to compile that were not previously there, and therefore might incur expensive performance penalty. (Think Windows machine copying 100MB etc) If someone need resource during compilation, it probably should be an opt-in process, not a default behavior.

I was only changing the definition of products such that it copied before compiling, not of compile in general.
however, in reviewing my suggestion, I don't think this would be a great solution anyways because I can easily see that not every invocation of compile is via products (e.g does test use products?)

note that this is another area where bloop makes the assumption that the resources are copied over by the build tool before doing any compilation, therefore departing from what the build is doing. // @jvican

testing is specialized running so I am guessing that resource would be available one way or the other.
It should also follow suit of bgRun so it can run without blocking the shell.

@fommil In this case, this doesn't matter to us, we practically replace all sbt defaults and hand-roll our own implementations for them. In our case, managed sources and resources are copied over when we bloopInstall.

dupe


added api

📝 Changed routes:

/api
/

(view full size)
(view full size)

And 2 other routes:

/api/about
/api/hello

Commit c599215408db45772858903bb46fad95afd3f6c4 (https://portfolio-82274lpgq-paakofiaidoo17.vercel.app).


Return Results instead of panicking

Resolves #37. All of the functions that involve parsing a MavMessage will now return a Result<Message, MessageReadError> instead of panicking upon encountering invalid data.

@laptou can you pls fix the build error? Otherwise I am not opposed to changing the return type. Also, you might want to update the version to 0.8.2

Sorry, it took me a while to figure out that the reason the build failed was because of formatting errors.


i click on the "close" option in the actionable push, but the ticket is instead extended

Fixed it


Eating consumes 2 items and you need to mark the correct dependency | 1.18.1

MC version: 1.18.1
Fabric version: 0.12.12
Mods used (ignoring dependencies)
Guard Villager fabric v1.0.2
Issue: So there's two issues here, the simple one is the fact that Cloth Config API (Fabric) is not marked as a dependency in the mod meaning there's crashes until the user installs that. Please update that to prevent people from being confused on why it fails. Second is that upon eating any food item, instead of only one being eaten, 2 items get used. This occurs with only your mod installed.

    public static final Event<OnConsumed> ON_CONSUMED_EVENT = createArrayBacked(OnConsumed.class, listeners -> (livingEntity, itemStack, i, finish) -> {         for (OnConsumed listener : listeners) {             listener.onConsumed(livingEntity, itemStack, i , finish);         }         return finish;     });     @FunctionalInterface     public interface OnConsumed {         ItemStack onConsumed(LivingEntity livingEntity, ItemStack itemStack, int i, ItemStack finish);     }
This is the offending code within GuardVillagersEvents.java that needs to be changed.

Fixed in latest release


⚠ ClamAV has degraded performance

In 33e89f9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 78 ms

Resolved: ClamAV performance has improved in 82dd070 after 537 days, 10 hours, 35 minutes.


[Question]: What is pseudo service?

Sorry guys, but I didn't understand if you really need this file: [service/pseudo/pseudo.go](https://github.com/nikoksr/notify/blob/main/service/pseudo/pseudo.go)

I'm largely in agreement here - the avoiding of nil reference errors is better handled directly rather than having this "pseudo"

I'm largely in agreement here - the avoiding of nil reference errors is better handled directly rather than having this "pseudo"

Hey @renanbastos93 and @KrishanBhalla, appreciate your efforts and I totally agree with both of you. The pseudo service is a relic of the past and we have even implemented a regular nil check. So you are right, the service is completely obsolete.
I will look over #13 and close this issue afterwards!

Hey @renanbastos93 and @KrishanBhalla, appreciate your efforts and I totally agree with both of you. The pseudo service is a relic of the past and we have even implemented a regular nil check. So you are right, the service is completely obsolete.
I will look over #13 and close this issue afterwards!

Closed in #13

Closed in #13


[Bug] Cannot find element only be attribute name

It should be possible to find tags only by attribute name: [attr-name]
Right now it's impossible because:
if ($rule['key'] != 'plaintext' && is_null($child->getAttribute($rule['key']))) {
  $pass = false;
}

Is forcing that have an value

Actual problem: you can't find tag by attribute if this attribute does not have value.
<any-tag attribute>something</any-tag>

merged PR


Allow keyword args

Catches cases where AbstractMCMC versions above 3.0 require a callback of the form
callback(rng, model, sampler, sample, state, iteration; kwargs...)

Thanks man!


apk: Fix sendWiFiCredentials()

Problem
Unlike other methods, sendWiFiCredentials() was not acquiring a mutex. This resulted in an incomplete BLE transmission. Only the first packet fragment was received by the device and the whole flow was interrupted by a timeout on the device side.
Summary of Changes
Add a missing ScopedPthreadLock. This fixes the Wi-Fi provisioning flow. The device is able to reassemble the whole packet since it receives all the fragments now.
Fixes: #114

Pushed the fix upstream. See https://github.com/project-chip/connectedhomeip/pull/5644.


Log where we loaded the config file from

Description
$ make run
uvicorn ols.app.main:app --reload --port 8080
INFO:     Will watch for changes in these directories: ['/home/bparees/git/gocode/src/github.com/openshift/lightspeed-service']
INFO:     Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
INFO:     Started reloader process [1009276] using StatReload
2024-01-31 14:48:40,144 [ols.app.main:main.py:24] INFO: Config loaded from olsconfig.yaml
2024-01-31 14:48:40,144 [ols.app.main:main.py:30] INFO: Embedded Gradio UI is disabled. To enable set enable_dev_ui: true in the dev section of the configuration file
INFO:     Started server process [1009278]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/assign @thoraxe

@thoraxe we already throw an exception if the config.yaml can't be loaded/found:
$ make run
uvicorn ols.app.main:app --reload --port 8080
INFO:     Will watch for changes in these directories: ['/home/bparees/git/gocode/src/github.com/openshift/lightspeed-service']
INFO:     Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
INFO:     Started reloader process [1009677] using StatReload
Failed to load config file olsconfig.yaml: expected a single document in the stream
  in "olsconfig.yaml", line 1, column 1
but found another document
  in "olsconfig.yaml", line 2, column 1

$ make run
uvicorn ols.app.main:app --reload --port 8080
INFO:     Will watch for changes in these directories: ['/home/bparees/git/gocode/src/github.com/openshift/lightspeed-service']
INFO:     Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
INFO:     Started reloader process [1009791] using StatReload
Failed to load config file olsconfig.yaml: [Errno 2] No such file or directory: 'olsconfig.yaml'

/lgtm

/hold

/hold cancel
@tisnik updated to print full path
$ make run
uvicorn ols.app.main:app --reload --port 8080
INFO:     Will watch for changes in these directories: ['/home/bparees/git/gocode/src/github.com/openshift/lightspeed-service']
INFO:     Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
INFO:     Started reloader process [1010803] using StatReload
2024-01-31 15:04:45,631 [ols.app.main:main.py:25] INFO: Config loaded from /home/bparees/git/gocode/src/github.com/openshift/lightspeed-service/olsconfig.yaml

/lgtm


Repeated Code Execution Issue in OJS - "RuntimeError: x is defined more than once"

Encountering problem with repeated code execution. Initially, running code block with "x = 10" works, but running it again leads to "RuntimeError: x is defined more than once" error.

What file type are you using?

im using .ojsnb

Seems to happen with a new file, once you save and reopen it works as expected (is that what your seeing)?

Yes, that's exactly what happens to me. Should I handle it that way? Or is there a way to fix it?


Add source maps to gulp css when --nomin is provided

When CSS is not minified it should apply helpful inline source maps. At first glance it appears that all the necessary packages are already dependencies .

Added in https://github.com/uncleSoWise/gulp-khup/pull/17.


UCF6

Key
Value

View
https://database.shabados.com/line/UCF6

Source
Sri Dasam Granth

Page
6

ID
UCF6

Line
cqR ck® pwly ]

c`qR c`k®
Nitnem Gutka - May 2017 - SGPC, Sri Amritsar

#95


leftToRightJoined: getting childCurrent from generateRoute(...)

Hi, is there a way to get hold of the current page widget (for childCurrent) from generateRoute(RouteSettings) ?
If so it would be great to maybe add that to the example in the readme for the package?

I'm having the same question, currently there is no clear way to find childCurrent when using predefined routes. So the transitions that require it won't work with go_router or AutoRoute

Upon further research, I have found that SharedAxisTransition of https://pub.dev/packages/animations can animate both the before and after page/screen without the need to use 'childCurrent'. Maybe we should look at how it is implemented

This has been fixed added new transitions methods


Why are you using FNF assets?

Please remove them as it just complicates everything, just make it a plain black background with a thing to customize it.

ok

done!


Download qcow2 CaaSP image with wilcard

Small explanation, to this change:

wget will download CaaSP image, which match with pattern SUSE-CaaS-Platform-1.0-KVM-and-Xen.x86_64*qcow2 to /tmp
find will get this image and move it to $IMAGE_PATH and rename it to generic name SUSE-CaaS-Platform-1.0-KVM-and-Xen.x86_64.qcow2

The only problem I see is that there is no way to "freeze" the version, not even for a while. As soon as a new build is out the script will try to download it blocking the development in the meantime. I hope it won't be too big of a problem.
👍

and don't worry about the e2e-tests for now, as they are broken for another reason


A note of thank you and concern

I will start with saying 'sorry' because this is not a feature request but a thank you for what has been developed into Ludwig and a concern about its slow updates(commits) over the last month.
There are scantly any day which I don't refresh Ludwig Github to see if there is any new updates. Hence me noticing the commits had become less and less frequent.
When I found out about Ludwig I was ecstatic. This is exactly what is needed and already being done in other respects with stable baselines for RL and Optuna bayesian optimization libraries.
Please continue developing this treasure. I am not being able to contribute as such a thing I feel is beyond me at this point technically. Having said that I have no doubt that Ludwig will capture more attention as it progresses.
Thank you again and best of luck with continued development!
(Feel free to delete this as it is really not about a feature request)

I think it's a good idea for donations. I may contribute too, but have no free time

If there was a way to donate, I would for sure.

@w4nderlust so can you open github donations for this repo?

@theodor38 Thanks for raising this. Rest assured, we are actively working on Ludwig. We have been busy with conferences and internal deadlines.

@msaisumanth I want to contribute this repo, do you have any roadmap about this repo.

@pingsutw Yes, we welcome contributions from everyone. But we currently don't have a public agenda. I will provide an update on it after a team discussion.
In the meantime, please take a look at the open issues, enhancements and see if anything interests you. Also, you're welcome to propose new ideas too!

@msaisumanth Thanks for the reply, I will find some work in open issues first. I'm glad to heard any update about this repo after your discussion

Dear @theodor38 ,
thank you very much for this post and for your kind words. It may be difficult to perceive, but working on an open source project like this can be overwhelming, and most of the communications we receive are about errors or bugs to be solved, words of appreciation like yours are rare, but very much appreciated and help substantially in keeping us motivated!
Be sure that Ludwig is not going anywhere and we are really much commited to work on it and improve it. The recent slow down in terms of commits is due, as @msaisumanth already explained, to an alignment of deadlines and travels (I've personally attended more than 6 conferences in 4 different conferences in the second half of this year). At the same time, we are working a lot behind the scenes on a major change in the preprocessing which will make it possible to train Ludwig models on many more different data formats, and in particular to train on datasets beyond memory / disk size. As this change is not a small incremental change, but a quite substantial change, it doesn't make a lot of sense to release pieces of it, we prefer to release the finalized change, so the maount of work that is going into it is not entirely visible to the community.
Finally, we have big plans for 2020, this change in the preprocessing is the first of a number of improvements that you will see, which will include porting to TensorFlow 2 which will enable much more pre-trained model and flexibility in adding new models. we are also going to support hyperparameter optimization, something we are also working on behind the scenes. Any help from the community will be more than welcome, and it will probably have to start from us to begin with, with sharing our plans to open up development even more.
I'd like to thank @ifokeev too for proposing donations. We deeply appreciate it, but there is no need for it as it would not change our development process. We will reorganize our work in early 2020 to be able to spend more time on Ludwig than we have been able to the last couple months of 2019.
Thank you again for your continued support.

Piero

@w4nderlust @msaisumanth
Thank you much for the update. I wish you a great new year and best of luck with continued development with Ludwig.
In time I will try to contribute as well as I get better myself technically speaking.
Kind regards
Memo

@w4nderlust by the way, what is the ETA to say thank you for TF 2? ;)

It's the second big thing we will be focusing on after we are done with preprocessing. Hopefully we will be done with preprocessing by the end of January and work on TF2 in February. Can't be 100% sure we'll finish by the end of February, bu that's what we are shooting for.

I have a quick question.
Does Ludwig team have any plans to integrate any multimodel learning?
Is multimodel learning a practical reality as of yet? I know Google had published the "one model to learn them all" paper in 2017 but has it been integrated into TensoFlow and what not?
I had been really curious about multimodel learning. What are your opinions on it?
Memo

Thank you for the Reply!
Once with Ludwig I tried multimodality such that I created a dataset of  rows of two numbers from 1 to 1000 and an output as their addition(simple arithmetic) and whether the result would be odd or even. So in this case the multimodality was classification and regression at the same time.
However, I felt like there were two separate networks being trained and I was receiving two sequential answers one for continuous number and other for classification.
This lead me to believe that it wasn't a single network doing the regression and classification at the same time but two separate ones.
Maybe I did it no the right way or misinterpreted the "verbose" visual cues. I should have tried to save the models to see if there were more than one.
In any case, it is my uderstanding that with multimodality all different types of inputs are given to a single network and that single network predicting the results.
Like I said this could all be due to my inexperience. Now that I think about it, there wasn't any multimodality in my input space but I was expecting two different answers from the same network.

If you specify multiple inputs and multiple outputs Ludwig has a separate encoder for each input and a separate decoder for each output and has a central piece called combiner that combines information from each input encoder and provides it to all output decoders. So it is one single model, some pieces of it are specific to the each input and outputs and some pieces of it are in common. How much of the model is in common and how much of it is separate depends on the hyperparameters of the different components. I should probably make this more clear in the documentation, but if you look both at the blogpost or the paper or the slides it may become more clear :)

Piero,
Thank you very much for your explanation. It makes a lot of sense
I will go through the links you have sent also.
All the best

I spent some time coming up with a project Kanban here in the project tab on GitHub: https://github.com/uber/ludwig/projects/1
Hopefully this will give more visibility on what we are working on, on priorities and encourage contribution by collaborating in the open.

In these times in which we don't hear too many good news, I wanted to congratulate the Ludwig team and all who had contributed on the new version!.
Be safe and thank you for all the hard work!

This is heartwarming @theodor38 , thank you so much!
There's a lot work that is also being put in the next version (you can look at the various TF2 related PRs) coming fomr several contributors, in particular @jimthompson5802 . Brace your self, many things will be changed and improved, and it will be the best version of Ludwig yet!


Video_player and audio tracks in video

Video_player needs a possibility to change audio tracks in video, like TrackSelector in Exoplayer do.

i have actually done some work in this. I have worked on the android part . Only ios part is remaining. I will create a PR When i m done.

i have actually done some work in this. I have worked on the android part . Only ios part is remaining. I will create a PR When i m done.

I look forward for it!

https://www.youtube.com/watch?v=96sFGuuAQxU&feature=youtu.be
works on flutter web too :D

https://www.youtube.com/watch?v=96sFGuuAQxU&feature=youtu.be
works on flutter web too :D

i have actually done some work in this. I have worked on the android part . Only ios part is remaining. I will create a PR When i m done.

how's it going?

you can use my fork
in pubspec.yaml
for getting my fork
copy this
video_player:
git:
url: https://github.com/balvinderz/plugins
ref: features/change_audio
path: packages/video_player/video_player
call getAudios() after initialize() and call setAudio to set the audio.
To make it work on web
add
 <script src="https://cdn.jsdelivr.net/npm/hls.js@latest"  type="application/javascript"></script>
in index.html above
 <script src="main.dart.js" type="application/javascript"></script>
.
I have also uploaded a demo app if you want to see a demo
https://github.com/balvinderz/change_audio_demo

oh, great! thank you very much! I'll try it!)

ok

Hello!  So, video has 3 audio tracks with name 'Stereo, 0.19 Mbps'. And when I setAudio ('Stereo, 0.19 Mbps') it works always for one track.

send me the link that you are trying to play

sorry, I'm in closed project with api and access token(

ok

i will make a function called setAudioByIndex . you can use that function to set the audio

it's great!

run pub upgrade and try the setAudioByIndex function

Thank you, it's working perfect!

run pub upgrade and try the setAudioByIndex function

how do you think, is' it possible to use your fork and chewie together? chewie is more user-friendly, has a better video progress indicator, full screen, sound and so on. When I try to use it I get an error  'Because chewie >=0.9.6 depends on video_player from hosted and MyApp depends on video_player from git, chewie >=0.9.6 is forbidden.'

check the demo's app pubspec.yaml

chewie: any also gives an error..
Because chewie <0.4.0 requires SDK version <2.0.0 and chewie ^0.4.0 depends on video_player ^0.4.0, chewie <0.5.0 requires video_player ^0.4.0.
And because chewie ^0.5.0 depends on video_player ^0.5.0 and chewie >=0.6.0 <0.8.0 depends on video_player ^0.6.0, chewie <0.8.0 requires video_player ^0.4.0 or ^0.5.0 or ^0.6.0.
And because chewie ^0.8.0 depends on video_player ^0.7.0 and chewie >=0.9.0 <0.9.4 depends on video_player >=0.7.0 <0.9.0, chewie <0.9.4 requires video_player ^0.4.0 or ^0.5.0 or ^0.6.0 or >=0.7.0 <0.9.0.
And because chewie >=0.9.4 <0.9.6 depends on video_player >=0.7.0 <0.10.0 and chewie >=0.9.6 depends on video_player >=0.7.0 <0.11.0, every version of chewie requires video_player from hosted.
So, because MyApp depends on both video_player from git and chewie any, version solving failed.
pub get failed (1; So, because avideo depends on both video_player from git and chewie any, version solving failed.)

thank you, you saved me)

For better user experience, is there anyway to get the initially selected audio track? just in case I can show user with tick mark.

Currently , it is not possible but maybe i can add that function

is it working with HLS source?

@gumilar1995  yes this works with hls source . you can check the demo app to see how to use it.
https://github.com/balvinderz/change_audio_demo

have you created a PR for this? I think it's gonna really helpful for some people

@gumilar1995  This uses external library on web so i don't think they will accept this PR.

Hello @balvinderz
sometimes this error occured on android
E/flutter (13096): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/services/message_codec.dart': Failed assertion: line 111 pos 15: 'code != null': is not true.
E/flutter (13096): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (13096): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (13096): #2      new PlatformException (package:flutter/src/services/message_codec.dart:111:15)
E/flutter (13096): #3      VideoPlayerApi.getAudios (package:video_player_platform_interface/messages.dart:378:13)
E/flutter (13096):
E/flutter (13096): #4      MethodChannelVideoPlayer.getAudios (package:video_player_platform_interface/method_channel_video_player.dart:63:45)
E/flutter (13096): #5      VideoPlayerController.getAudios (package:video_player/video_player.dart:354:33)
E/flutter (13096): #6      PlayVideoState._setVideoController (package:stro/ui/player/player.dart:443:34)
E/flutter (13096): #7      PlayVideoState._getVideo. (package:stro/ui/player/player.dart:343:7)
E/flutter (13096): #8      _rootRunUnary (dart:async/zone.dart:1198:47)
E/flutter (13096): #9      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter (13096): #10     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
E/flutter (13096): #11     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
E/flutter (13096): #12     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
E/flutter (13096): #13     Future._chainCoreFuture (dart:async/future_impl.dart:496:7)
E/flutter (13096): #14     Future._chainFuture (dart:async/future_impl.dart:580:9)
E/flutter (13096): #15     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:37:15)
E/flutter (13096): #16     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
E/flutter (13096): #17     compute (package:flutter/src/foundation/_isolates_io.dart)
E/flutter (13096): #18     _rootRunUnary (dart:async/zone.dart:1198:47)
E/flutter (13096): #19     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter (13096): #20     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
E/flutter (13096): #21     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
E/flutter (13096): #22     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
E/flutter (13096): #23     Future._completeWithValue (dart:async/future_impl.dart:529:5)
E/flutter (13096): #24     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
E/flutter (13096): #25     _rootRun (dart:async/zone.dart:1190:13)
E/flutter (13096): #26     _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (13096): #27     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (13096): #28     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (13096): #29     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (13096): #30     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
is it because the source doesn't have audio tracks?

@gumilar1995 can you give me link that you are trying to play

sorry i can't, i'm in closed project.
all i can provide that the source doesn't have an audio tracks like this :
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="english",FORCED=NO,AUTOSELECT=YES,URI="",LANGUAGE="eng"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="indonesia",FORCED=NO,AUTOSELECT=YES,URI="",LANGUAGE="ind"
#EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360
#EXT-X-STREAM-INF:BANDWIDTH=1400000,RESOLUTION=854x480
#EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720
#EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080

@balvinderz  the issue is in my code, solved now
thank you for your responses, and sorry for taking your time :)

Is there a way to save video after changing its audio

Is there a way to save video after changing its audio and also I tried setAudio function with remote audio url in your demo project but it's not changing it's audio

@urvashi-godumalani  you dont need to pause audio url . you need to pass the name of the audio( which you can get from getAudios function) .

@balvinderz Oh okay but I wanted to use remote url. The task was to record video from camera and overwrite it's audio from remote audio url

@urvashi-godumalani  that is not possible with this.

@balvinderz oh alright. Thanks for your time

badly in need of this feature. Why hasn't yet this been merged? Can you clearly give the pubspec.yaml guideline to install your fork. Not working the previous answer.

badly in need of this feature. Why hasn't yet this been merged? Can you clearly give the pubspec.yaml guideline to install your fork. Not working the previous answer.

you can checkout the demo app's pubspec.yaml to see how you can integrate this in your app
https://github.com/balvinderz/change_audio_demo/blob/master/pubspec.yaml

thank you so much

You can fork my repo and add that

Please AvPlayer (IOS)?

Please AvPlayer (IOS)?

works on ios too @lavara123

works on ios too @lavara123

in my case i have url to video source and 2 url to 2 audio source ,
how can manage change between this 2 audio source .

I made a better issue mentioned above. Feel free to track this feature there.

Can  we change subtitles also?

@balvinderz
the fork you provided doesn't support null safety and so I am not able to use it.
I don't want to disable null safety for obvious reasons.
what should I do?

complete error message is
`Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

package:video_player
package:video_player_platform_interface

For solutions, see https://dart.dev/go/unsound-null-safety
3
FAILURE: Build failed with an exception.

Where:
Script '/home/tejas/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1052

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/tejas/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 14s
Exception: Gradle task assembleDebug failed with exit code 1
`

@balvinderz
the fork you provided doesn't support null safety and so I am not able to use it.
I don't want to disable null safety for obvious reasons.
what should I do?

Use flutter vlc player...it supports null safety and also has many options

complete error message is
`Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

package:video_player
package:video_player_platform_interface

For solutions, see https://dart.dev/go/unsound-null-safety
3
FAILURE: Build failed with an exception.

Where:
Script '/home/tejas/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1052
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/tejas/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org

BUILD FAILED in 1m 14s
Exception: Gradle task assembleDebug failed with exit code 1
`

You can use my fork, I've migrated this feature to nulllsafety
video_player:
git:
url: https://github.com/gumilar1995/plugins-1
ref: agumi
path: packages/video_player/video_player

complete error message is
`Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

package:video_player
package:video_player_platform_interface

For solutions, see https://dart.dev/go/unsound-null-safety
3
FAILURE: Build failed with an exception.

Where:
Script '/home/tejas/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1052
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/tejas/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org

BUILD FAILED in 1m 14s
Exception: Gradle task assembleDebug failed with exit code 1
`

You can use my fork, I've migrated this feature to nullsafety
video_player:
git:
url: https://github.com/gumilar1995/plugins-1
ref: agumi
path: packages/video_player/video_player

Does it supports fetching subtitles  and audio tracks from video?

complete error message is
`Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

package:video_player
package:video_player_platform_interface

For solutions, see https://dart.dev/go/unsound-null-safety
3
FAILURE: Build failed with an exception.

Where:
Script '/home/tejas/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1052
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/tejas/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org

BUILD FAILED in 1m 14s
Exception: Gradle task assembleDebug failed with exit code 1
`

You can use my fork, I've migrated this feature to nullsafety
video_player:
git:
url: https://github.com/gumilar1995/plugins-1
ref: agumi
path: packages/video_player/video_player

Does it supports fetching subtitles  and audio tracks from video?

Currently only supports audio tracks

any update?

We are preparing a PR but it was tested only with Android, I don't know if it will be accepted !!

any update?


Add Scylla Manager and Scylla Monitoring to the CF tempalte

Scylla deployment often comes with Scylla Manager and Scylla Monitoring in place
It would be useful to run them by default from CF

Monitor should be quite easy, but manager is a bit of a pain, since you need one more scylla configured.
We can configure both on one node like we are doing in SCT

We can add them one by one
Starting with Monitoring make sense since its Open Source project
We can use AMI for each, as we do in Scylla Cloud

@tzach I wonder how many actually use our CF template and if is it worth the time to investigate it?
/cc @mykaul

I agree this become less relevant, as we are focusing on Scylla Cloud


Use new setting name

Description
Refactor to use new setting named AZURE_B2CSECRETS_KEYVAULT_URL
References
https://app.zenhub.com/workspaces/the-outlaws-6193fe815d79fc0011e741b1/issues/gh/energinet-datahub/the-outlaws/720

Codecov Report

Merging #189 (ecfa610) into main (db3648c) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #189      +/-   ##
==========================================
- Coverage   69.38%   69.32%   -0.06%
==========================================
  Files         179      179
  Lines        3247     3244       -3
  Branches      412      411       -1
==========================================
- Hits         2253     2249       -4
- Misses        861      863       +2
+ Partials      133      132       -1

Flag
Coverage Δ

testcommon
72.80% <100.00%> (-0.14%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...Configuration/B2C/B2CAuthorizationConfiguration.cs
90.38% <100.00%> (+1.29%)
:arrow_up:

...mmon/EventHub/ListenerMock/EventHubListenerMock.cs
86.91% <0.00%> (-1.87%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


allow for uploading stl files

add the necessary bits to allow of uploading stl files

Looks like this might not be necessary as your plugin isn't registering as a slicer within OctoPrint? This came up during a discussion on Discord and this was my first thought of why you couldn't upload a stl file to OctoPrint, but even with this change, it seems the plugin isn't responding and no way to select files.

Maybe the plugin is crashing when it starts?  Is there anything interesting in the log files?

nothing of interest in either the developer tools of the browser or the octoprint.log. does the plugin assume a specific slicer is installed in a specific location to function? I notice the slicer pull down list is empty. I guess the larger question is how do you import an stl file into the tab?


Update Ansible queries

Closes #2159
Proposed Changes

Make all queries check both the modules simple name and the full path (e.g. elb_application_lb and community.aws.elb_application_lb)
Make all queries check the state field with the checkState generic function (some queries don't use this function because their tasks either don't have a state field or can have different values beyond absent and present)
Remove tasks with absent state from the test cases
Simplify the keyExpectedValue and keyActualValue to be easier to read
Fix bug on query s3_bucket_rules_with_master_key_id_null
Create checkPortIsOpen generic function to simplify remote_desktop_port_open, http_port_open, sql_analysis_services_port_2383_is_publicly_accessible queries and eliminate duplicate results
Some refactorings
Fix wrong issueType's

I submit this contribution under Apache-2.0 license.

Great work on this refactor @jorge-cruz


python-tools was unable to find your machine's python executable.

although my python executable is regularly setting up, i get this error....
my python path is /usr/bin/python3

Same here with Atom 1.54.0 on Debian testing/bullseye.


How to achieve the pre-training datasets of TTM?

Thank you for sharing this amazing project!
Since the proposed Diversity Resolution Sampling (DRS) has been applied to generate new datasets, is there any guidance on where to access or download the entire pre-training datasets?

the steps of the pretraining data sampling are mentioned in the paper. appendix. We do not have plans to release the pretraining data as of now. you can follow the steps mentioned in the paper appendix to create more sample augmentations..


debug problem with multiple runs

Hellweg sometimes will crash if you try to open a new input file.

I tried to catch this bug multiple times but didn't observe it. The problem might be resolved due to #87 fix. However, if persists, please, provide more details on the crash conditions.


No way to easily open blame in GitHub

When I look for 'blame' in quick settings, there should be a link to open the blame line in GitHub. I'm using the 'Open in Github' extension (sysoev.vscode-open-in-github) just for this option to appear.
Also useful to confirm the branch I want to view the blame in.
See images:

Sounds like a good idea. Would you mind opening a PR to add it or get it started? I'd be happy to help point in the right direction, etc.


Fix broken link

Proposed changes
Fix broken link
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit a4003b5e12c2a7ae9b8062dc29e38c0ae0f1f6be
https://deploy-preview-9880--docsdocker.netlify.com

@rupakg @lena-larionova - I believe the link should point to the Support article - https://success.docker.com/article/how-to-resolve-kubernetes-errors-after-upgrading-ucp instead of the github page on kbase. WDYT?

@usha-mandya I was not even aware that the page existed in success. Yes, you are right - it should point there.


Crash on google pixel and IOs

Hi,
I'm really sorry to open a bug without specific details.
I'm using the latest version of the library
"victory-native": "^0.16.1"
"react-native-svg"<EMAIL_ADDRESS>
And trying to use a candlestick chart.
The library works correctly in the simulator and with the attached device, but when deployed to the store (beta release) it crash on google pixel (so 8.0).
I tried on a nexus 5 with no issue.
I have no idea how to debug any further or what to try, I'm not an Android developer so there might be an easy way to do so I'm not aware about.
Any suggestion?

Found the log from google play
Report 1
com.facebook.react.common.JavascriptException: ReferenceError: Can't find variable: a45937
This error is located at:
in VictoryChart
in RCTView
in RCTView
in RCTView
in RCTView
in RCTModalHostView
in t
in t
in RCTView
in t
in Connect(t)
in t
in RCTView
in n
in t
in n
in RCTView
in RCTView
in t
in RCTView
in n
in r
in Unknown
in t
in a
in Unknown
in Connect(Component)
in RCTView
in t
in Connect(t)
in n
in t
in RCTView
in RCTView
in t, stack:
padDomain@820:4635
getDomain@950:1171
getDomain@949:1526
value@942:2767
value@942:4899
l@41:35689
@41:37374
beginWork@41:37385
u@41:51312
f@41:51928
p@41:53002
batchedUpdates@41:58674
a@41:603
batchedUpdates@41:21879
_receiveRootNodeIDEvent@41:70324
receiveTouches@41:70936
value@18:3177
@18:911
value@18:2606
value@18:883
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException (ExceptionsManagerModule.java:40)
at java.lang.reflect.Method.invoke (Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:374)
at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:162)
at com.facebook.react.bridge.queue.NativeRunnable.run (Native Method)
at android.os.Handler.handleCallback (Handler.java:789)
at android.os.Handler.dispatchMessage (Handler.java:98)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:31)
at android.os.Looper.loop (Looper.java:164)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run (MessageQueueThreadImpl.java:194)
at java.lang.Thread.run (Thread.java:764)

Same Here
React native 0.50 only on live devices and not simulators
ReferenceError: Can't find variable: a81197
This error is located at:
in VictoryChart
in RNSVGSvgView
in Svg
in RCTView
in t
in RCTView
in t
in RCTView
in RCTView
in RCTScrollView
in ScrollView
in RCTView
in t
in t
in RCTView
in Unknown
in AndroidViewPager
in n
in n
in RCTView
in ScrollableTabView
in RCTView
in t
in RCTView
in t
in RCTView
in RCTView
in t
in Connect(t)
in RCTView
in t
in r
in RCTView
in n
in r
in n
in n
in RCTView
in RCTView
in t
in n
in t
in e
in RCTView
in RCTView
in t
in RCTView
in t
in RCTView
in t
in r
in RCTView
in n
in r
in n
in n
in RCTView
in RCTView
in t
in n
in t
in e
in r
in t
in Provider
in RCTView
in r
in RCTView
in RCTView
in t

works on react-native 49, broken on 50 and 51

IOs crash also on simulator
2017-12-10 12:30:16.756761+0000 CryptoViewer[35996:4093596] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: ReferenceError: Can't find variable: a40691
This error is located at:
in VictoryChart
in RCTView
in RCTView
in RCTView
in RCTView
in RCTModalHostView
in t
in t
in RCTView
in t
in Connect(t)
in t
in RCTView
in n
in t
in n
in RCTView
in RCTView
in t
in RCTView
in n
in r
in Unknown
in t
in a
in Unknown
in Connect(Component)
in RCTView
in t
in Connect(t)
in n
in t
in RCTView
in RCTView
in t', reason: 'Unhandled JS Exception: ReferenceError: Can't find variable: a40691
This e..., stack:
padDomain@823:4635
getDomain@953:1171
getDomain@952:1526
value@945:2294
value@945:4426
l@46:35668
u@46:51291
f@46:51907
p@46:52981
batchedUpdates@46:58653
batchedUpdates@46:21858
_receiveRootNodeIDEvent@46:70303
receiveTouches@46:70915
value@18:3078
@18:812
value@18:2507
value@18:784
'
*** First throw call stack:
(
0   CoreFoundation                      0x00000001036a61ab _exceptionPreprocess + 171
1   libobjc.A.dylib                     0x0000000102009f41 objc_exception_throw + 48
2   CoreFoundation                      0x000000010371acb5 +[NSException raise:format:] + 197
3   CryptoViewer                        0x0000000101317ad7 RCTFatal + 393
4   CryptoViewer                        0x00000001013148d4 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 507
5   CoreFoundation                      0x000000010362a49c invoking + 140
6   CoreFoundation                      0x000000010362a370 -[NSInvocation invoke] + 320
7   CoreFoundation                      0x0000000103642d56 -[NSInvocation invokeWithTarget:] + 54
8   CryptoViewer                        0x0000000101328551 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 602
9   CryptoViewer                        0x0000000101369bbd _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 269
10  CryptoViewer                        0x0000000101369934 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78
11  libdispatch.dylib                   0x00000001085103f7 _dispatch_call_block_and_release + 12
12  libdispatch.dylib                   0x000000010851143c _dispatch_client_callout + 8
13  libdispatch.dylib                   0x000000010851995b _dispatch_queue_serial_drain + 1162
14  libdispatch.dylib                   0x000000010851a2df _dispatch_queue_invoke + 336
15  libdispatch.dylib                   0x000000010851607d _dispatch_queue_override_invoke + 733
16  libdispatch.dylib                   0x000000010851d1f9 _dispatch_root_queue_drain + 772
17  libdispatch.dylib                   0x000000010851ce97 _dispatch_worker_thread3 + 132
18  libsystem_pthread.dylib             0x00000001089d91ca _pthread_wqthread + 1387
19  libsystem_pthread.dylib             0x00000001089d8c4d start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

This appears to be a problem caused by minification, but I've not been able to track down the underlying cause.

Duplicate of #197 (?)

It seems using the latest version of react and victory the problem isn't there anymore

@obsidianart
Doesnt work for me with RN 0.51.0
What versions do you use?

"react-native": "0.51.0"
"react-native-svg": "6.0.1-rc.1"
"victory-native": "0.16.5"

Unfortunately Still crashing for me (when minified on release) with all libraries updated.
"react-native": "0.51.0"
"react-native-svg": "6.0.1-rc.1"
"victory-native": "0.16.5"
ReferenceError: ReferenceError: Can't find variable: a55973
This error is located at:
in VictoryChart
in RCTView
in t
in RCTView
in RCTView
in RCTView
in n
in RCTView
in RCTView
in RCTView
in RCTModalHostView
in t
in ModalBox
in RCTView
in t
in RCTView
in e
in Connect(e)
in t
in RCTView
in Unknown
in AndroidViewPager
in n
in n
in RCTView
in ScrollableTabView
in RCTView
in RCTView
in t
in Connect(t)
in RCTView
in t
in r
in RCTView
in n
in r
in n
in n
in RCTView
in RCTView
in t
in n
in t
in e
in RCTView
in RCTView
in t
in RCTView
in t
in RCTView
in t
in r
in RCTView
in n
in r
in n
in n
in RCTView
in RCTView
in t
in n
in t
in e
in r
in t
in Provider
in RCTView
in r
in RCTView
in RCTView
in t
at victory-core/lib/victory-util/domain.padDomain(domain.js:371)
min: domainMin >= 0 && domainMin - initialPadding.left <= 0 ? 0 : domainMin.valueOf() - initialPadding.left,
at victory-core/lib/victory-util/domain.getDomain(domain.js:52)
return this.padDomain(propsDomain, props, axis);
at victory-chart/src/helpers/wrapper.getDomainFromChildren(wrapper.js:154)
const childDomain = child.props && child.type.getDomain(sharedProps, currentAxis);
at victory-chart/src/helpers/wrapper.getDomain(wrapper.js:46)
const childDomain = this.getDomainFromChildren(props, axis, childComponents);
at victory-chart/src/components/victory-chart/helper-methods.default(helper-methods.js:67)
const domain = Wrapper.getDomain(props, axis, childComponents);
...
(17 additional frame(s) were not displayed)

Same ask as on #197 -- can anyone experiencing this minification issue please get us either:

a minimal repository with install + error reproduction steps so we can see what's up?
at least the minified code encompassing the function or method surrounding the bad variable copied and pasted in a comment here or linked in a gist so we can reconstitute it and see what's up with the minification? Thanks.

I tried to make a clean version of RN and just this plugin and SVG as @ryan-roemer suggested but everything worked fine, so for a new project it runs with no problems.
For me, on an existing project (50+ plugins and other libraries) it still crashes.
I updated svg, victory and others, deleted them all and reinstalling them.
I don't know what more to do.
some more errors that i got:
ReferenceErrorgetAxisOffset(victory-chart/src/components/victory-chart/helper-methods)
ReferenceErrorgetAxisOffset(validator/lib/unescape)


fix: failing tests

Problem
Tests seem to be failing, we need to fix them.

Steps to reproduce
See the README badge.
Expected behavior
Should be green not red!

Closed by rerunning test action. kek


Add personfield interface

Closes #140

Interfaces will have following methods :

getValue for all fields
getListString for all fields that are to be viewed in the small list view
getDetailString for all fields that are to be viewed in detail view (which as of last discussion was every one of them)

Note that only some interfaces guarantee some methods, i.e : PersonField will guarantee getValue, PersonListField will guarantee getListString, PersonDetailField will guarantee getDetailString, PersonListDetailField will guarantee both getListString, getDetailString

List of changes in code made :

Creation of PersonField interface & children
Refactoring of all references in UI to use getListView
Refactoring of all references in storage code to use toString
Refactoring of all references in non-UI, non-storage code to use getValue
Refactoring of old test cases to use getValue where they referenced the values directly from the class (PersonUtil, ModelManagerTest, CommandTestUtil`)
Addition of new test cases for new methods (getValue, getListString, getDetailString

Test coverage missing is :

Entirety of PersonCard. Was previously uncovered. Will open issue regarding lack of coverage
Small cosmetic change in TagContainsKeywordPredicate. No actual change in test coverage, it just thinks that we have less coverage because of weird newline placement.


js code added to head.script with innerhtml is always encoded

According to the vue-meta documentation it should be possible to add javascript to a script tag with innerHTML. But when I try this in the index.js of a plugin, the resulted js code is always encoded:
let config_js = '_paq.push(["setTrackerUrl", "' + (options.trackerUrl || options.piwikUrl+'piwik.php') + '"]);'
config_js += '_paq.push(["setSiteId", "' + options.siteId + '"])'
this.options.head.script.push({
  innerHTML: config_js, type: 'text/javascript'
})

results in:
<script data-n-head="true" type="text/javascript">_paq.push(["setTrackerUrl", "//piwik.example.com/piwik.php"]);_paq.push(["setSiteId", "1"])</script>

See #1330 for a use case

Ok never mind, even looking at the vue-meta ssr example which showed the solution can be quite a challenge it seems.
Adding
this.options.head.__dangerouslyDisableSanitizers = ['script']

works


resource creation too soon error

I am experimenting with the pubsublite api, and I had to delete the subscription resource for some reason. However, when I tried to recreate it, I encountered this error
google.api_core.exceptions.FailedPrecondition: 400 Resource projects/107422863028/locations/us-central1/subscriptions/bookings of type SUBSCRIPTION was deleted at 2024-01-16T11:05:56.130483-08:00 which is less than 1h ago, it cannot yet be recreated. [reason: "RESOURCE_RECREATION_TOO_SOON"
domain: "pubsublite.googleapis.com"
metadata {
  key: "resource_type"
  value: "SUBSCRIPTION"
}
metadata {
  key: "resource_identifier"
  value: "projects/107422863028/locations/us-central1/subscriptions/bookings"
}
metadata {
  key: "min_allowed_delay"
  value: "1h"
}
metadata {
  key: "deletion_time"
  value: "2024-01-16T11:05:56.130483-08:00"
}
]

Is there a way to turn it off or alter the time limit?

Hello! Unfortunately, this recreation delay is set by the Pub/Sub Lite service and cannot be modified using the API. This delay applies specifically to resources with the same name, so any new resource created within an hour of the deletion of another resource must have a different name.

oh ok. Thanks!


Remove Stderr redirect from Cert Fetch

This hides any errors that occur on this step.
The redirect is removed so that errors will be shown in future builds.

This PR isn't actually required to solve the problem, but it did give information that lead to the solution. Leaving it in to make future debugging easier.


README fix syntax highlighting

Coverage remained the same at 96.721% when pulling 252bbfcf4a6de02903d1d045191cd402cc06b4f8 on szTheory:patch-1 into 1d0dc9e2b5158e3948d03951f08f62e4a511b6ad on Nebo15:master.


docs(introduction) Fix one click per second example

The rate limited example in plain JS is wrong.
I've updated it to work, see https://jsbin.com/dowoto/1/edit?js,console,output

Coverage remained the same at 96.707% when pulling 6fdffed99e2eca02ace4d098508994d09b8b9fc5 on rxfork:razor-x-lastclick into 9b8afb8cd37962d80c0906445a6f351242eeb0fd on ReactiveX:master.

LGTM

Thanks @razor-x !


Correlation and dot product

in the function pca_feature_correlation you have the following line
        # Get correlation between original features (X) and PCs (X_pca)
        dot_matrix = np.dot(X.T, X_pca)

shouldn't it be divided by X.shape[0]-1 to get the true correlation (and scaled)?

My mistake - I missread your explanation in your article


UofT-DSI | Applying Statistical Concepts - Assignment 2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Complete ASC assignment 2 by filling out assignment-2.ipynb file
What did you learn from the changes you have made?
I learned how to split data into training and testing sets, build Linear Regression model using sklearn library, evaluate model by calculating metrics.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
N/A
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Classes Notebooks are very detailed.
How were these changes tested?
Changes were run locally.
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

A2: Complete
Good work


manifest does not work on acl 8.2, modern mode

Hi Peter,
I tried manifest with acl8.2 in modern mode on Linux - It does not work.  The index page with the systems displays properly, but the systems themselves respond with a 404 page.  Can you suggest anything to help me diagnose the problem?
Thanks,
Hans

Use Common Lisp. ;-) (Probably the issue is that I take the name from
the url (which is lower case) and upcase it. I suppose I could try the
downcased name if it doesn't find a package under the upcased name.
Depends on whether I feel like being charitable to modern mode.
-Peter
On Thu, Dec 8, 2011 at 11:37 PM, Hans Hübner
<EMAIL_ADDRESS>wrote:

Hi Peter,
I tried manifest with acl8.2 in modern mode on Linux - It does not work.  The index page with the systems displays properly, but the systems themselves respond with a 404 page.  Can you suggest anything to help me diagnose the problem?
Thanks,
Hans

Reply to this email directly or view it on GitHub:
https://github.com/gigamonkey/manifest/issues/1

--
Peter Seibel
http://www.gigamonkeys.com/

Should work now. Let me know if it doesn't.


sha/keccak1600.c: subscribe more platforms for "complementing" optimization.

E.g. on MIPS64 it gives >20% improvement...

Merged.
7dec815ecde29c1eabed6b5832c7025c4eafad19 sha/keccak1600.c: subscribe more platforms for "complementing" optimization.


Almost compliant macro processor

Sorry for the big diff.
This is an almost compliant library implementation of the standalone part of DDOC.
It parses all of dlang.org and can store it in memory (I'm trying to move dlang.org to Vibe.d, example here, demo code here).
I end up with a refactor because the previous version did not take into account recursives macros, a la RECUR = $1 $(RECUR $+).
What's left to do:

handle ESCAPE
syntactic coloration: complete parseEmbedded
matching of ', " and


Add install with Vim-plug documentation and a requirments.txt

By adding requirements.txt and a quick line in the read me one could make sure that pynvim was installed.

Hm...  You can create the PR for it.

I can :) and did.

Close this issue since #46 is merged


Cargo build fails

Just git cloning the master branch and cargo build is failing.
log:
[I] > cargo build
   Compiling hammersbald v2.4.0
error[E0603]: module `export` is private
   --> /home/calvin/.cargo/registry/src/github.com-1ecc6299db9ec823/hammersbald-2.4.0/src/bitcoin_adaptor.rs:34:12
    |
34  | use serde::export::PhantomData;
    |            ^^^^^^ private module
    |
note: the module `export` is defined here
   --> /home/calvin/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.123/src/lib.rs:275:5
    |
275 | use self::__private as export;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0603`.
error: could not compile `hammersbald`

To learn more, run the command again with --verbose.

Murmel isn't that well maintained. The error you see is clearly a mishap in hammersbald (probably by IntelliJ Rust, which can auto-import stuff and accidentally took PhantomData from serde::export instead of std::markers). I guess a recent serde update fixed the std re-export and broke the build that way.
Version 3 of hammersbald already has a fix for it (relevant commit). You could try to migrate murmel to the new hammersbald version or just fix the import and use your patched version locally.

https://github.com/rust-bitcoin/murmel/pull/47 fixes this issue, @kcalvinalvin could you verify that it works for you?

#47 fixes this issue, @kcalvinalvin could you verify that it works for you?

Yes it works for me on commit hash 8b93a33884956970c8c87bde2d00c934d8bca440

Can confirm that master was broken as described above, and https://github.com/stevenroose/murmel/tree/bitcoin-0.26 fixes it


Use kernel_value when polling gitbuilders

http://tracker.ceph.com/issues/11645
Signed-off-by: Zack Cerza<EMAIL_ADDRESS>

This is tested, but we may want to hold off on merging until Monday

This all looks pretty sane to me.  Waiting until Monday is fine as well.

I think I'm happy with this, but I should probably test it via a scheduled run. Not sure this moment how that should best be done.

So this should be ready to go.
I observed an issue where it wasn't doing what I wanted here:
http://qa-proxy.ceph.com/teuthology/zack-2015-05-20_15:39:30-fs:verify-master---basic-vps/902151/teuthology.log
But! That's only happening because of the weird vps-specific distro defaults in misc.get_distro_version(). I want to fix that and probably consolidate it with suite.get_distro_defaults(), but I think that's outside the (already large) scope of this PR.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1459/
Tests failed for this pull request.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1460/
Tests failed for this pull request.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1461/
Tests failed for this pull request.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1462/
Tests failed for this pull request.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1463/
Tests failed for this pull request.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1464/
Tests failed for this pull request.