Reanimate the project?

Hi @ds300,
thanks for this great extension, it's really helpfull. You are still intrested in maintaining it? Alternativ what do you think about giving more people commit/merge rights on the project?
Best martin

Hey @ds300,
since a few months are gone now, what do you think about giving more people commit/merge rights on the project? And moving it to an organization?
Best martin

Hey @ds300,
since a few months are gone now, what do you think about giving more people commit/merge rights on the project? And moving it to an organization?
Best martin

Moving it to an organization would be nice. I'd like to have merge rights too if possible.

Moving it to an organization would be nice. I'd like to have merge rights too if possible.


Memory leak in crontab service

Rancher versions:
rancher/server: 1.6.4
rancher/agent: 1.2.5
Infrastructure Stack versions:
healthcheck: 0.3.0
ipsec: 0.1.0
network-services: 0.2.1
scheduler: 0.6.0
Docker version: (docker version,docker info preferred)
Client:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Tue Jan 10 20:38:45 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Tue Jan 10 20:38:45 2017
 OS/Arch:      linux/amd64

Containers: 31
 Running: 21
 Paused: 0
 Stopped: 10
Images: 29
Server Version: 1.12.6
Storage Driver: overlay2
 Backing Filesystem: extfs
Logging Driver: journald
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-1026-aws
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.795 GiB
Name: ip-10-200-1-50
ID: 2ZVE:43TC:OQRG:ZSIR:QZNQ:UOJE:WOJN:37EQ:5PRJ:BAMC:DW7T:ZV2P
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

4.4.0-1026-aws

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
AWS
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node, external DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Start a container with a cron.schedule = 0 * * * * * label
Results:
Memory for crontab containers goes up, reaching 500+MB after a week.

I wonder if this is caused by the robfig/cron library not allowing the removal of jobs from the crontab. Does your environment have a lot of updates to cron?

Cool, there is a v2 API of the cron lib. I'll start updating there.

The cron tasks don't really change, but they run often. For now, my workaround has been to schedule them @every 5 minutes so the oom is reached after one month instead of a week...

I think I found the issue, we were leaking go routines and file descriptors. In my testing it seems to have leveled off, and certainly not growing at the same rate.
PR rancher/container-crontab#5 has the fixes. Will come out as part of the catalog.

Great.

Rancher Server: v1.6-development
Tested the new catalog of crontab, the memory usage didn't increase for the crontab containers and the service works fine for both normal and Rancher mode.


Don't suggest builtins when the cursor is in a selector

Previously, completing fmt.| would suggest the builtins
This fixes #39

The extra is due to this being is split off of https://github.com/mdempsky/gocode/pull/40

Thanks. Can you add tests?

See https://github.com/mdempsky/gocode/tree/master/suggest/testdata/test.0064 for an example of how to write a test that uses custom Config settings.

@mdempsky Are these tests sufficient? Everyone watching Microsoft/vscode-go#1723 is chomping at the bit to get out the gates on this, so we're all enthusiastic to help if there are any other tests needed.

I committed the fix for builtin suggestions as 2300d13.
I'm a little confused about the IgnoreCase changes though. They seem fine, but they're not wired all the way into the gocode CLI. Are editors directly using the gocode/suggest API?

Are editors directly using the gocode/suggest API

@mdempsky Can you elaborate? I can answer for VS Code

@mdempsky Yes, I use the package directly i.e. not by calling the gocode binary - so I totally forgot about it.
I use it via a fork so as far as my use-case is concerned you don't need to worry about keeping a stable API; I will sort that out on my end if it ever becomes necessary.

@mdempsky In VS Code, we use the binary. From what I can see here, a new flag is being added which should be fine by us. As long as flags are not removed or their defaults are not changed, we can work with new flag additions.

@DisposaBoy I see. Thanks for clarifying. Is this for DisposaBoy/GoSublime or something else?
@ramya-rao-a Thanks. That's what I thought.

@mdempsky It's used by https://github.com/KurokuLabs/margo and then indirectly by GoSublime.

It worked well for me. Thanks! I'll merge it now.


Add d3-transition

Currently, .transition is not available on D3 selections created within reactive-vis. This needs to be added by importing d3-transition, which modifies the prototype of d3.selection.

Created https://github.com/curran/d3-transition-rollup-test to test the build process. selection.transition gets exposed in that project, but not this one. Still not sure why.
Maybe interference from rollup-plugin-commonjs? Need to test this hypothesis.


<EMAIL_ADDRESS>breaks client auth with edge functions

Bug report

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

Describe the bug
When I get the authorization header from the client in an edge function I'm unable to make a supabase client with the newest version of supabase-js (using deno edge functions). The behavior doesn't happen on 2.42.4 and below. I have rolled back but I wanted to bring this to your attention.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Go to '…'
Click on '…'
Scroll down to '…'
See error

Expected behavior
Able to get user auth details. See code snippet at bottom of how I typically do that.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: [e.g. macOS, Windows]
Browser (if applies) [e.g. chrome, safari]
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: [e.g. 10.10.0]

Additional context
`import { corsHeaders } from '../_shared/cors.ts'
import { createClient } from "supabase-js"
import { createSupabaseClient } from '../_shared/supabaseClient.ts'
Deno.serve(async (req) => {
if (req.method === 'OPTIONS') {
return new Response('ok', { headers: corsHeaders })
}
const authHeader = req.headers.get('Authorization')!
const supabaseClient = createSupabaseClient(authHeader)
// Get the session or user object
const { data } = await supabaseClient.auth.getUser()
const user = data.user
if (!user) {
throw new Error('User is null');
}
}`
and here is the definition for my client function:
`import { createClient, SupabaseClient } from "supabase-js"
export function createSupabaseClient(authHeader: string): SupabaseClient {
return createClient(
Deno.env.get('SUPABASE_URL') ?? '',
Deno.env.get('SUPABASE_ANON_KEY') ?? '',
{ global: { headers: { Authorization: authHeader } } }
);
}`

I ran into this today as well when I deployed a new version of an existing edge function and immediately started getting Auth errors.
AuthSessionMissingError: Auth session missing!
    at https://esm.sh/v135/@supabase/auth-js@2.63.1/deno/auth-js.mjs:2:29428
    at _._useSession (https://esm.sh/v135/@supabase/auth-js@2.63.1/deno/auth-js.mjs:2:27511)
    at eventLoopTick (ext:core/01_core.js:64:7)
    at async _._getUser (https://esm.sh/v135/@supabase/auth-js@2.63.1/deno/auth-js.mjs:2:29101)
    at async https://esm.sh/v135/@supabase/auth-js@2.63.1/deno/auth-js.mjs:2:28964
    at async https://esm.sh/v135/@supabase/auth-js@2.63.1/deno/auth-js.mjs:2:26791 {
  __isAuthError: true,
  name: "AuthSessionMissingError",
  status: 400,
  code: undefined
}

Looks like it's affecting me as well.
AuthSessionMissingError: Auth session missing!
    at https://esm.sh/v135/@supabase/auth-js@2.63.1/esnext/auth-js.mjs:2:29430
    at _._useSession (https://esm.sh/v135/@supabase/auth-js@2.63.1/esnext/auth-js.mjs:2:27513)
    at eventLoopTick (ext:core/01_core.js:64:7)
    at async _._getUser (https://esm.sh/v135/@supabase/auth-js@2.63.1/esnext/auth-js.mjs:2:29103)
    at async https://esm.sh/v135/@supabase/auth-js@2.63.1/esnext/auth-js.mjs:2:28966 {
  __isAuthError: true,
  name: "AuthSessionMissingError",
  status: 400,
  code: undefined
}

Wasted 4 hours debugging this... 🥲

Wasted 4 hours debugging this... 🥲

LMAO, you were not alone. I restarted the database, and I reset my jwt tokens lmao.

+1
Observations:

Authentication is working through the gateway, as the served code of the Edge Function executes
But using SupabaseJS 2.42.5 in the Edge Function, to createClient and then getUser, returns empty

I confirm I have the same issue

Here's the solution:

https://github.com/supabase/auth-js/pull/876

via Discord:

No
You have to strip the Bearer part out
You just want a jwt.
supabaseClient.auth.getUser(authHeader.split(' ')[1]);  Another user just posted this.  Not verified.

Here is my observation:
PR https://github.com/supabase/auth-js/pull/876 adds a check for data.session?.access_token inside of getUser(). If it doesn't exist, then processing stops and returns null - which is what devs are now seeing in edge functions, because there is no Supabase session at this point.
Previously, without the new PR code, it would have just made a fetch request to the auth backend using _request:
/* https://github.com/supabase/auth-js/blob/v2.63.1/src/GoTrueClient.ts#L1182-L1185 */
return await _request(this.fetch, 'GET', `${this.url}/user`, {
  headers: this.headers,
  jwt: data.session?.access_token ?? undefined,
  xform: _userResponse,
})

And if you look at _request, it's taking the jwt value, if it exists, and sets the Authorization header - which means the auth backend looks at that header to grab the JWT, lookup the user, and return a user response. And even if jwt is undefined, it still passes any Supabase client headers. So by setting the Authorization header in the edge function's Supabase client, we were bypassing the need to pass-in the JWT to getUser() in order for this to work without a session.
/* https://github.com/supabase/auth-js/blob/v2.63.1/src/lib/fetch.ts#L127-L143 */
export async function _request(
  fetcher: Fetch,
  method: RequestMethodType,
  url: string,
  options?: GotrueRequestOptions
) {
  const headers = {
    ...options?.headers,
  }

  if (!headers[API_VERSION_HEADER_NAME]) {
    headers[API_VERSION_HEADER_NAME] = API_VERSIONS['2024-01-01'].name
  }

  if (options?.jwt) {
    headers['Authorization'] = `Bearer ${options.jwt}`
  }
...

Seems like a pretty major change for such a minor version bump. This broke my app too.

+1 This broke my app too. I was deploying new edge functions in dev today and thought I was having the worst coding day ever for an hour or two.  Because my edge functions don't have a pinned supabase library version the new code was getting picked up whenever I would deploy a new version of an edge function.
I'm sure many people like me have used the supabase edge function auth docs as a starting point for how to get authenticated user data within an edge function.  This suggests that you can leave the getUser() function empty and indeed it has been working that way for months prior.
I ended up having to go through every edge function and patch it like this
const supabaseClient = createClient(
	Deno.env.get('SUPABASE_URL') ?? '',
	Deno.env.get('SUPABASE_ANON_KEY') ?? '',
	{ global: { headers: { Authorization: req.headers.get('Authorization')! } } }
);
const JWT = req.headers.get('Authorization')?.split(' ')[1] || '';
const userData = await supabaseClient.auth.getUser(JWT);

I'm confused why the supabase client needs the same JWT twice.  I don't know all of the intended uses of the getUser function, but surely there should be some convenience function within the supabase client that will grab the user data matching the authorization header passed in when creating the client.
I think my take away here is to not do this in my edge function code
import { createClient } from 'https://esm.sh/@supabase/supabase-js@2';

and instead do this
import { createClient } from 'https://esm.sh/<EMAIL_ADDRESS>
and then only upgrading when I explicitly intend to move to a new version.

I'm going to move this to the auth repository as it seems to be the underlying auth-js release is the issue.


Added F1Soft International

What kind of change does this PR introduce?

[x] Added new company

F1Soft International Company Information

Thank you for your contributions @asubodh :confetti_ball:
Join our Discord server to get your contributor role. :partying_face:


Steady camera, moving objects

What settings do you reccomend for a steady camera (like on tripods) in order to deblur moving objects?

The blurs caused by moving objects occur locally, resulting in some local blur patterns. Thus you can add some priors corresponding to the object shape or some local operations to help remove the blurs.


Linked contact href in footer to data catalogue slack

This is in line with the contact us link in the error pages

Do we want to direct people though the user guide for a basic slack link (2 clicks instead of 1)? I had a look at the current user guide and nothing is changed from the defaults. I assume we are going to put more time and thought into it before the prod push.

Ah yeah I see tickets to do with the user guide. I will take some.


world操作的XWPFDocument对象 write方法发生空引用异常。

doc.Write(outFile);
{System.NullReferenceException: Object reference not set to an instance of an object.
at NPOI.OpenXml4Net.Util.XmlHelper.EncodeXml(String xml)
at NPOI.OpenXmlFormats.Wordprocessing.CT_Text.Write(StreamWriter sw, String nodeName)
at NPOI.OpenXmlFormats.Wordprocessing.CT_R.Write(StreamWriter sw, String nodeName)
at NPOI.OpenXmlFormats.Wordprocessing.CT_P.Write(StreamWriter sw, String nodeName)
at NPOI.OpenXmlFormats.Wordprocessing.CT_Tc.Write(StreamWriter sw, String nodeName)
at NPOI.OpenXmlFormats.Wordprocessing.CT_Row.Write(StreamWriter sw, String nodeName)
at NPOI.OpenXmlFormats.Wordprocessing.CT_Tbl.Write(StreamWriter sw, String nodeName)
at NPOI.OpenXmlFormats.Wordprocessing.CT_Body.Write(StreamWriter sw, String nodeName)
at NPOI.OpenXmlFormats.Wordprocessing.CT_Document.Write(StreamWriter sw)
at NPOI.OpenXmlFormats.Wordprocessing.DocumentDocument.Save(Stream stream)
at NPOI.XWPF.UserModel.XWPFDocument.Commit()
at NPOI.POIXMLDocumentPart.OnSave(List`1 alreadySaved)
at NPOI.POIXMLDocument.Write(Stream stream)

I have the same problem. Could you solve it?
My code was working good, but I added a table at the beginning in the word template and now I get this error.

Please upload your word template to help reproduce the issue

Original Good.docx
Modify 1.docx
Modify 2.docx
Here are the files, the original (that worked well) and the others with the modification (I insert a table and in change the header).
And error:
Dim out As New FileStream(FileNameSaved, FileMode.Create, FileAccess.Write)
doc.Write(out)
out.Close()
doc.Close()

ModWordPOI.txt
And this are the functions that I create to wirte in a word document, maybe this can help to other people

@tonyqus, I found the error. In my function WriteCell the text was nothing, so when I call SetText(text) did not through an exception but yes when I try to save it, so that was the problem.
I update my function in the document attached.
ModWordPOI.txt


Deprecating IdentityPersistenceManager

New class is created for SAML SSO configs to replace IdentityPersistenceManager
Related PRs

https://github.com/wso2/carbon-identity-framework/pull/4727
https://github.com/wso2-extensions/identity-inbound-auth-saml/pull/395
https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/2099
https://github.com/wso2-extensions/identity-tool-samlsso-validator/pull/41

Related https://github.com/wso2/product-is/issues/16162


[Question] Can we use GradleTemplate instead of AndroidManifest with FirebaseCloudMessaging ?

[REQUIRED] Please fill in the following fields:

Unity editor version: Unity2020.3.10f1
Firebase Unity SDK version: 6.15.2 and 7.2.0
Source you installed the SDK:  Unity Package Manager
Problematic Firebase Component: CloudMessaging
Other Firebase Components in use: Auth, Crashlytics,
Additional SDKs you are using: FaceBook, Adjust,
Platform you are using the Unity editor on: Mac
Platform you are targeting: iOS, Android
Scripting Runtime: IL2CPP

[REQUIRED] Please describe the question here:
When we try to update Unity version from 2019LTS to 2020LTS (2020.3.10.f1), The error message  "Failed to read Firebase options from the app's resources. Either make sure google-services.json is included in your build or specify options explicitly." has happened and failed to Initialize Firebase SDK on runtime application like this issue
( https://github.com/firebase/quickstart-unity/issues/677 )
And we know that we have to use gradle template instead of Android Manifest for edit BuildSettings.
However, we cannot turn off Custom Main Manifest because of Firebase Cloud Message SDK.
Script in FCM SDK force to make it TURN ON
( we try to switch platform to iOS , then we can turn off this check box.
However when we switch platform to Android, that script works to force turning on Custom Main Manifest.
MoreOver, when we remove FCM package, we can turn off this checkbox :(
)

So, are there any plan to enable use gradle template with  FirebaseSDK including FCM ?
or, Are there anyway to avoid this error message without  using GradleTemplate ?

Hi @Cova8bitdots
I think the Custom Main Manifest is ON just because Assets/Plugins/Android/AndroidManifest.xm exists. There is actually no flag from Unity API to turn it ON or OFF.
Also, you are correct.  Assets/Firebase/Editor/Firebase.Messaging.Editor.dll automatically generate this file because we have custom implementation to forward message from Android service to Android activity (see this code).
Is there a reason why you have to turn it off? Are you trying to do so to avoid the error you saw? I think that error is an unrelated issue.
About the error message you mentioned:
Failed to read Firebase options from the app's resources. Either make sure google-services.json is included in your build or specify options explicitly.

This occurs when Firebase SDK was not able to locate google-services.json.  Quick question: does this occurs to you on Android only or on iOS as well?
For Android, Firebase.Editor.dll would generated an Android resource google-services.xml from google-services.json under Assets/Plugins/Android/FirebaseApp.androidlib.  Please check if that folder exists.
Lastly, could you confirm if the same issue is reproducible using Firebase quickstart?
Please let us know.
Shawn

I think the Custom Main Manifest is ON just because Assets/Plugins/Android/AndroidManifest.xml exists. There is actually no flag from Unity API to turn it ON or OFF.

I have few question.

Did your editor script call reflection method to force turning Custom Main Manifest ON ?
on Unity2020.3 (Unity2020LTS), it requires customGradleTemplate to build with other firebase plugins ( details are written in description, please check it). I want to know why FCM is only not support using custom GradleTemplate officially ?
Have you already confirmed working plugin  build with Unity2020.3 ?

Is there a reason why you have to eliminate this file? Are you trying to do so to avoid the error you saw? I think that error is an unrelated issue.

Because we try  to upgrade Unity Version from 2019.4 to 2020.3.
From 2020.3 other firebase plugins need to use customGradleTemplate for build Android app, however FCM use AndroidManifest, so we cant migrate CustomAndroidManifest to custom gradle template.

This occurs when Firebase SDK was not able to locate google-services.json. Quick question: does this occurs to you on Android only or on iOS as well?

This happens on Android device.

For Android, Firebase.Editor.dll would generated an Android resource google-services.xml from google-services.json under Assets/Plugins/Android/FirebaseApp.androidlib. Please check if that folder exists.

I know latest version changed folder name from Assets/Plugins/Android/FirebaseApp.android to Assets/Plugins/Android/FirebaseApp.androidlib.
However, with plugin v6.15.2, it does NOT generate folder Assets/Plugins/Android/FirebaseApp.androidlib but Assets/Plugins/Android/FirebaseApp.android.
We can rename folder temporally, but if UnityEditor try to re-import assets, Assets/Plugins/Android/FirebaseApp.android folder will re-generated.

Lastly, could you confirm if the same issue is reproducible using Firebase quickstart?
I have not enough time to check sample. so it takes long time to check sample again.

What I want to tell you is FCM with other firebase plugins on Unity2019LTS, Android build using CustomAndroidManifest works well, but FCM with other firebase plugins on Unity2020LTS, Android build using custom gradleTemplate does NOT work.

Did your editor script call reflection method to force turning Custom Main Manifest ON ?

Firebase.Messaging.Editor.dll generates Assets/Plugins/Android/AndroidManifest.xml. When the file exists, you will see Custom Main Manifest be turned on.  There is actually no Unity API to flip the switch AFAIK.
However, if Assets/Plugins/Android/AndroidManifest.xml exists in your project before you import Firebase SDK, Firebase.Messaging.Editor.dll will NOT override it.  That means you will need to add com.google.firebase.MessagingUnityPlayerActivity activity yourself.  We do not have a good way to merge it for you yet.  One possible way is to delete this AndroidManifest.xml from your project, let Firebase.Messaging.Editor.dll to generate one and use version-control diff tool to merge the change.

on Unity2020.3 (Unity2020LTS), it requires customGradleTemplate to build with other firebase plugins ( details are written in description, please check it). I want to know why FCM is only not support using custom GradleTemplate officially ?

By customGradleTemplate, do you mean Custom Main Gradle Template, which generates Assets/Plugins/Android/mainTemplate.gradle? If so, FCM should support this with no issue.  However, since Unity changed Gradle project structure, you will need to enable Custom Gradle Properties Template as well in order to enable Jetifier. If this is not enabled, you should see a log started with Resolution Failed with this piece of detail in it.

Have you already confirmed working plugin build with Unity2020.3 ?

Yes.  As a matter of fact, I just built FCM quickstart with Firebase Unity SDK 8.0.0 and Unity 2020.3.14f1, installed to my own phone and sent a message from Firebase console. It worked as intended.
You might encounter some obstacles to build it though.

As mentioned, you need to turn on Custom Gradle Properties Template if you want to use Custom Main Gradle Template.
You need to turn on Minify Unfortunately Unity did not update their doc to explain the new options.  Basically you need to check Release and Debug under Minify section. By default, Unity uses their in-house minification.  If you want to use Proguard from Google, check Use R8 as well.

Here is my Player Settings

Note that the generate Assets/Plugins/Android/AndroidManifest.xml is required to forward Intent from Android service to Android activity to make FirebaseMessaging.MessageReceived event works properly.  You can definitely implement your own way to handle Intent.  More details here.
Also, I would recommend you to upgrade to the latest Firebase SDK. We fixed a couple of issues for the breaking changes from Unity, ex. Assets/Plugins/Android/FirebaseApp without .androidlib simply won't work in Unity 2020.
I recommend you to try FCM quickstart and see if you can reproduce the issue with it.


internal/cuetest: sync with main CUE repo

If it's more than one repository that copies cuetest, perhaps we could have it as an internal module, e.g. cuelang.org/internal/cuetest.

It's just this repo for now. I'd suggest we revisit this later rather than tackle now.


Error in signif(nevergrad_hp_val[[co]][index], 6) when running robyn_run()

Input data has 208 weeks in total: 2015-11-23 to 2019-11-11
Initial model is built on rolling window of 163 week: 2015-11-23 to 2018-12-31
Fitting time series with all available data...
Using geometric adstocking with 17 hyperparameters (16 to iterate + 1 fixed) on 1 core (Windows fallback)

Starting 5 trials with 2000 iterations each using TwoPointsDE nevergrad algorithm...
Running trial 1 of 5
|                                                                                |   0%Cronometro fermo a: 0 0 0
Error in signif(nevergrad_hp_val[[co]][index], 6) :
non-numeric argument to mathematical function
In addition: Warning message:
In hyper_collector(InputCollect, hyper_in = InputCollect$hyperparameters,  :
Provided train_size but ts_validation = FALSE. Time series validation inactive.

Closing this task now. Feel free to reach back anytime.


Update readme

Add nuget link
Remove TOC

Why no coverage on PR to master? Is that what you can't get working?

Why no coverage on PR to master? Is that what you can't get working?

I noticed this PR (which is just a Readme change) is still sitting here.
The issue is that the Pull Request build is triggered by my account, which doesn't have permission to do the code coverage, so it fails.
I changed the repository to have two action workflows:

build-test-coverage.yml, which is the same as the original, and runs build, test, and the coverage report on local branches for master and feature/*

change build-test.yml, which runs on pull-requests to master (possibly from a forked repo), and that only runs build and test.

The reason why coverage doesn't run on a PR initiated from a forked repo is that any external person could do that, so you want to be careful about the resources used by external people.

If you want to run coverage internally, then you can always pull my feature branch into the repo, and then build that. Or maybe we can set up a way to manually run the action (by an authorised person).


Understanding interactions between DAG scheduling and sensors

Let's say I have a DAG scheduled with a one-hour schedule interval, and the first step in that DAG is a sensor that pokes once a minute.
What happens if the sensor never triggers during the hour after the first DAG "submission"? What state are tasks in the first DAG left in? What if the sensor's triggering event does occur at some point after the second DAG is scheduled? Does that "release" the remainder of both DAGs?
Or maybe the example I propose just doesn't make sense as a way to set things up. If so, could you explain why?
I'm sure this also somehow interacts with depends_on_past, but I feel like I'd be reaching too far to try and guess how. (This might be a candidate for documentation expansion.)

I'll attempt a self-answer based on some experimentation I've been doing, but please tell me I'm wrong if you know otherwise:
The various scheduled instances of a task X are always attempted serially; at the moment, no setting is available to change this. depends_on_past sounds like it might do it, but that setting only controls whether a later instance of the task can be scheduled if the prior one has been attempted but failed, not whether the task's instances can be run in parallel.
As such, my initial question doesn't make sense. Only one instance of a task will be scheduled to run at a time, and from there it's simply a matter of whether the sensor triggers or not. This does mean, though, that if you have a sensor that never triggers for some reason, your schedule will be totally blocked by that. So that may mean that airflow isn't really designed for passively waiting for something to happen so much as it is for actively checking for things to do on a schedule.
As a design consideration: if an early task in a DAG is able to determine that there's nothing to do when its schedule rolls around, it would be nice to be able to quickly mark the rest of that scheduled DAG as complete when it makes sense to do so. Perhaps this could be signaled by a "skipped" status, along with mechanisms for allowing downstream tasks to determine their own behavior based on the completion statuses of their upstreams. Food for future thought, unless that's something you guys have already considered and discarded, in which case I'd love to hear more about why.

You're right, as it is now the scheduler won't parallelize or fill in holes. Note that airflow backfill does though. The way the scheduler operates is documented here:
http://pythonhosted.org/airflow/scheduler.html
depends_on_past keeps from scheduling forward after a failure. And forces sequential execution for backfills (who do parallelize not depends_on_past tasks).
Adding a skipped or upstream_failed status as you suggested would allow for non depends_on_past tasks to move forward without changing the current scheduler logic much. I haven't done it yet because I may want this status to be virtual, but it requires more complexity in the scheduler and could affect the scheduler's weight on the metadata database and cycling time. We like for the scheduler to run every minute, even with 10k+ tasks which could grow 10x over the next few years.
The upstream_failed status is probably the way to go, though since the scheduler never moves back to fill in holes, it would require running backfill commands to fill in holes left behind. Maybe once we have a UI wizard to do that it won't matter much.
I also may want to trigger the current latest schedule regardless of what the DAG is up to, that brings back the problem around filling holes.


giphy: Fix giphy popover rendering on narrow screens.

We should render the giphy popover as a centered overlay for mobile-sized screens.

This might be a good candidate for a backport, given it's a pretty important regression?

@shameondev was the bug present in 7.0? That's the condition under which we might need to backport it.

This looks good, merged, thanks @shameondev!

Thanks, Tim!
Took off the backport candidate label. The bug showed up right after the 7.0 release.


Error 50001: DiscordRESTError [50001]: Missing Access

See attachment

Hey there! This means that the bot is missing access to the channel it created. Ensure that it has the correct permissions. If you are still having issues then feel free to find us on the support server.


Add URB function codes to GET STATUS request

URB function codes were removed in 1e8d1e599b8fc38d4b586c5c86533449accea7d5
This might not be the only thing that got removed in error. I didn't check the
whole commit.

Thanks, @desowin
@duncanmacmichael
Can you please verify and move forward?

Good eye @desowin, you're correct! It looks like those function codes got removed by accident during a content migration that we did on the back end. I've confirmed they were there in the initial commit for the file, so by all means let's add them back in. :) I'll go ahead and merge this, and it should be live later today. Congrats on your first contribution to the Windows driver reference, by the way, and thanks for helping to improve the docs!


Pre-train Model

Dear,
After running make.exe to compile the Makefile, this generates the magic.exe.
Next I try to run 'python prepare_pretrain_embedding.py' which recognizes the subprocess.call('magic -i ...) but calling
subprocess.call('python format_transform.py ...) gives me the below error. I realize that com-amazon_final.f.txt is not found but what is this file and how do I generate it? Is this the output of the subprocess.call('magic ...)?
Since I am trying to run CommunityGAN on different datasets I really hope to find a solution.
ERROR MESSAGE:
Traceback (most recent call last):
File "format_transform.py", line 13, in
with open(bigclam_out_filename) as fp, open(output_filename, 'w') as out_fp:
FileNotFoundError: [Errno 2] No such file or directory: '../src/PreTrain/community_detection/com-amazon_final.f.txt'
Sincerely,
Simon

Hi Simon,
The file '../src/PreTrain/community_detection/com-amazon_final.f.txt' should be generated by the pretrain model MAGIC, which is the trained embeeding file of MAGIC.
line 9 (subprocess.call('python format_transform.py ...)) will read the file and transform the format for communityGAN.
If you want to run on some different datasets, you should edit the prepare_pretrain_embedding.py and replace the corresponding filenames in line 8-9.
Moreover, you can comment line 10-13, which is the pretrain process for the given dataset youtube and dblp.
Best regards,
Yuting Jia

Dear Yuting,
Thanks for the fast reply!
The real problem is that when I run magic, the "..._final.f.txt" file is not generated! I made sure that I gave the right input AGM file. I have tried it with all three included datasets but I do not see any files being generated. Therefore format_transform.py is not really the problem, I just dont see magic generating that txt file.
I fear that it may have something to do with how the magic.exe file is generated. I installed MinGW as mentioned in the readme file. I opened the PreTrain directory in powershell and ran the "make" command which generated all the ".o" files as well as magic.exe. Next I return to python to run prepare_pretrain_embedding.py given the correct -i and -o arguments. The code runs but no "...final.f.txt" file is generated.
When I run subprocess.call(magic ...) I do not get any errors (exit code 0). I see the below post when running magic. Note for -o I tried to generate file directly in PreTrain directory and for -i I placed the agm file in the PreTrain directory as well.
Hopefully this makes my problem more concrete. Obviously making a minimum reproducible code sample is not really possible here.
Do you have any suggestions to get "...final.f.txt" to be generated?

PYTHON MESSAGE POST:
Read arguments doneMon Mar 22 08:26:54 2021
usage:bigclam.exe
Model initiate doneMon Mar 22 08:26:54 2021
-o:Output Graph data prefix(default: A:\Users\Sam\OneDrive - sjtu.edu.cn\Lab\AAAI2019\CDGAN\data\community_detection\com-amazon_pretrain_)=com-amazon_
-i:Input edgelist file name(default: A:\Users\Sam\OneDrive - sjtu.edu.cn\Lab\AAAI2019\CDGAN\data\community_detection\com-amazon_agm.txt)=com-amazon_agm.txt
-l:Input file name for node dates (Node ID, Node date) (default: none)=
-t:Input file name for node' text (Node ID, Node texts), 'none' means do not load text (default: none)=
-nt:Number of threads for parallelization(default: 8)=20
-c:The number of communities to detect (-1 detect automatically)(default: 500)=100
-mc:Minimum number of communities to try(default: 5)=
-xc:Maximum number of communities to try(default: 500)=
-nc:How many trials for the number of communities(default: 10)=
-sa:Alpha for backtracking line search(default: 0.05)=
-sb:Beta for backtracking line search(default: 0.1)=
-st:Allow reference between two same time node or not (0: don't allow, 1: allow)(default: 0)=
-woe:Disable Eta or not (0: enable eta, 1: disable eta, 2: symmetric eta)(default: 1)=
-se:same Eta or not (0: different eta, 1: same eta)(default: 1)=
-mi:Maximum number of update iteration(default: 500)=200
-si:How many iterations for once save(default: 5000)=
-rsi:How many iterations for once negative sampling(default: 10)=
-sa:Zero Threshold for F and eta(default: 0.0001)=
-lnf:Remain only largest how many elements for F(default: 0)=
Process finished with exit code 0

Thanks in advance,
Simon

UPDATE:
By running magic.exe directly into windows powershell, the code is fully executed.
There seems to be a problem with 'subprocess.call()' here where it does not fully execute magic.exe.
I do not know the exact issue but this resolved it for me and all .txt files were generated!
Hopefully this helpes anyone with a similar issue in the future!

@r0438930
Sir how do you download Magic.exe file?
Can you please provide me link. I can not find it anywhere


Fix golint issues in signal.go

Following file has a lint issue:
maya/pkg/signals/signal.go
The lint  issue is :
Line 1: warning: package comment should be of the form "Package signals ..." (golint)

Help Links :
Contributors guide

I am working on this

go ahead @bilal-mk . Let me know if you need any help.


Update README.md

Hi,
Spent quiet a few time to fail to announce non standard service.
Hope this may help someone else !

@mh-cbon did you try to announce an official service listen on the IANA list, but with a wrong port? Or did you want to make your own custom service name not listed on the IANA list?

Hi,
I tried to announce non sense custom service type on my router.
But it won t accept it at all (not a professional/open material).
Does the port number matters too ? I have not noticed that. I was playing around the service type only.

@mh-cbon I'm not sure what you mean by that you tried to advertise it on your router. Did you install this module on your router?
You network doesn't care about the name or the port number. Your router should happily broadcast whatever your send to it to everyone on the network. It's up to the clients whether or not they will accept it.
Say you create a new type of video server called - you call it "Foobar Videos" and you want to advertise it on the network under the name foobar. You just advertise the service name foobar with the port that it's listening on. As long as you also have a client that listens for that then you are ok. Of cause if your client have no idea what the foobar service type is, then it won't work. If your client is an AirPlay client, it will not understand foobar, only airplay and raop which is the two services the the AirPlay protocol expects. Does that make sense?

@mh-cbon in regards to weather or not the port is important, that will be up to the client. If the client is really picky about the port then it matters, but plenty of service types doesn't care. E.g. all the ipp clients I've worked with doesn't care about the port. They will just connect to whatever port you advertise

@mh-cbon btw, don't get me wrong here. I think it's good to mention the link you added to the readme :smiley: - it's a good resource for people to know about. I just don't think it should be required that they use one from the list... it should be optional I think. That's why I'm trying to figure out what problem you experienced :smiley:

Hi !
Yeah agreed, a simple mention is better.
See how i proceeded,
Terminal 1
$ bonjour
LIVEBOX [xx:xx:xx:xx:xx:xx]._workstation._tcp.local
LIVEBOX._http._tcp.local

Terminal 2
$ bonjour-publish -P 5060 -T some
Announce 'nop, no title set' on :5060 as some
Options {}

Terminal 1 won t show the new service. I guess it s because my router is picky about the service type.
Now if i announce an http service type, it works fine !
$ bonjour-publish -P 5060 -T http
Announce 'nop, no title set' on :5060 as http
Options {}

$ bonjour
LIVEBOX [xx:ss:ss:xx:xx:xx]._workstation._tcp.local
LIVEBOX._http._tcp.local
nop, no title set._http._tcp.local

That works fine for http and rfb (vnc stuff), but i can t announce stuff like ftp or smtp or non-sense.
Seems my router won t allow that.
In the end, it just mean i will rely on service name field to id my service type ;)

I tried an update, but my english is non standard too, you may want to refactor for clarity and correctness : )

Thanks for explaining :smiley: To me it seems extremely weird that your router should even care the slightest about this. Your router just passes on this sort of DNS packets. It doesn't validate it - it would have no idea how. Also, according to the RFC, it's perfectly ok to make up your own names, so your router would be in violation of the RFC if it did block. I think something else is going on here - maybe a bug in either bonjour-browser or bonjour.

@mh-cbon merged :smiley: Thanks for contributing to the project!

I think something else is going on here - maybe a bug in either bonjour-browser or bonjour.

I really believe the router does block it, found this tool on my box here which gives same results as your impl. of bonjour,
avahi-browse --all
+ wlp2s0 IPv4 kenshiro's remote desktop on pc14.home        VNC Remote Access    local
+ wlp2s0 IPv4 nop, no title set                             VNC Remote Access    local
+ wlp2s0 IPv4 nop, no title set                             Web Site             local
+ wlp2s0 IPv4 LIVEBOX                                       Web Site             local
+ wlp2s0 IPv4 LIVEBOX [xx:xx:xx:xx:xx:xx]                   Workstation          local

Thanks for contributing to the project!
Thanks for publishing it initially ! That s least i can do :)

Thnx, I'll see if I can reproduce it


Scheduler.error() signature declares only 2 arguments

Scheduler.error() signature is http://mesos.apache.org/api/latest/java/org/apache/mesos/Scheduler.html#error(org.apache.mesos.SchedulerDriver, java.lang.String)
First argument is the scheduler driver and second the message, at least since mesos 0.21.1
without this fix handling a framework error fails with:
ERROR:pymesos.process:error while call <function handle at 0x23411b8> (tried 1 times)
Traceback (most recent call last):
  File "pymesos/process.py", line 69, in run_jobs
    func(*args, **kw)
  File "pymesos/process.py", line 139, in handle
    f(*args)
  File "pymesos/scheduler.py", line 127, in onFrameworkErrorMessage
    self.sched.error(self, code, message)
TypeError: error() takes exactly 3 arguments (4 given)

just noticed you released it under 0.0.6. thanks!


Add save playback history in localstorage

Most recently played chapter and book is most important. Maybe it could auto open the app state to the next chapter.

perhaps make this a "Bookmark" button with an associated timestamp

perhaps make this a "Bookmark" button with an associated timestamp


Pipette with no assigned trash drops tip in the air instead of returning tip to tiprack

overview
When a pipette is not assigned to a trash container, it drop_tip should return the tip to the last empty space in the tiprack. This behavior existed in v2 but has dropped out in v3.
This is mostly useful for demos and tests.
behavior
Currently, when you explicitly assign no trash to a pipette with trash_container=None like this and call drop_tip:
from opentrons import robot, containers, instruments

tr = containers.load('tiprack-200ul', '2')
p = instruments.P300_Single(
    mount='right',
    tip_racks=[tr],
    trash_container=None
)
p.pick_up_tip()
p.drop_tip()

...the robot will drop the tip from wherever the pipette is at without moving to the tiprack. (Internally, it's because drop_tip's location arg is called with None)
steps to reproduce
The code snippet above should return the tip to the well in the tiprack that it was picked up from.

How recently did you see this behavior @IanLondon ? Was it after the fixed-trash as default PR was merged?

Still true in a30912ff5519af645e364b5db1c6c75c012f13c5
Though I don't know if we still care about that "return to to tiprack" API for demos

When a pipette is not assigned to a trash container, it drop_tip should return the tip to the last empty space in the tiprack

I may have missed it, but I don't see this behavior described in any documentation. We also have return_tip for returning tip to last location. Dropping tip where it is if it has no location to drop it at seems like correct behavior to me

Yeah it was an undocumented feature in OT1, used in demo protocols. Makes sense to use return_tip instead.


ENH build older clang with new tapi

Please merge to a branch

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin rerender

I suspect the older llvm won't work on osx-arm64. Shall we remove those builds or simply let them fail?

It's okay to fail

Alright. Then this is ready to merge @isuruf!

Shall I make a clang10 branch and merge to there?

sure.

can you send a PR to update the build number to 18 to master?

See #32


Using RelGAN for paraphrase generation

Hello! Thank you so much for your code. I wanted to try this model on the Quora Question Pair Dataset to see if it could generate reliable paraphrases/sentences. Do you think this is possible? Thanks!

First, let me try to understand: By training a model on the Quora Question Pair, your goal is to generate a rephrasing sentence conditioned on a given sentence. Is that correct? If this is the case, I think it’s worthy to have a try by adding an encoder to take a sentence as its input and modifying the current RelGAN correspondingly to be a conditional GAN.


Build --watch flag not working

It does work, I just wasn't passing the command correctly. If you're using the package script you need to so the following:
npm run build -- --watch


Setup returns "Unsupported Lat/Lon"

When clicking submit on the setup screen the error "Unsupported Lat/Lon" is returned

Was this ever resolved? Thanks

I was unable to reproduce this issue using the lat/lon you supplied:
Lat: -33.634836282856085
Lon:<PHONE_NUMBER>6834106
It completed the onboarding for Kenthurst successfully. Are you still having this issue?
Integration version 1.2.0 (commit f101761)
Home Assistant 2023.10.3

I had the same issue upgrading from HA 2023.5 to 2023.11 (big jump I know).
I then upgraded the bureau_of_meteorology component to version 1.1.21 via HACS and that fixed it.
This issue seems to have been resolved and can probably be closed now.

I found I had to also restart HA after updating the BOM integration for this to go away.

Stale.


Update extras

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
What might this PR break?
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

@onovotny,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Coverage remained the same at 69.487% when pulling b82a675919a41c3c4a2265f7053a88c9f281881f on update-extras into dac6f7db4177c5cc4a8c50e1edd624860d02d198 on develop.

Coverage remained the same at 69.487% when pulling 461dbed7be820aff26af4a7d00561de2ba08fe04 on update-extras into dac6f7db4177c5cc4a8c50e1edd624860d02d198 on develop.


SCSS only works when a file is changed

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
I try to use SCSS for my electron-forge project. I have included the SCSS file like this:
<link rel="stylesheet" type="text/scss" href="style.scss" />

(I could not find any documentation on this, but saw some examples from other people)
When I start the app no CSS is applied, I get a console warning that says:

Resource interpreted as Stylesheet but transferred with MIME type text/plain

If I modify my SCSS and refresh the window, the CSS is working. But only until I refresh or restart the application again.
There is no output in the terminal apart from HMR sent to all windows!.

Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
HMR sent to all windows!

What command line arguments are you passing?
DEBUG=electron-forge:* electron-forge start

What does your config.forge data in package.json look like?
"config": {
        "forge": {
            "make_targets": {
                "win32": [
                    "squirrel"
                ],
                "darwin": [
                    "zip"
                ],
                "linux": [
                    "deb",
                    "rpm"
                ]
            },
            "electronPackagerConfig": {},
            "electronWinstallerConfig": {
                "name": "patternlab_desktop"
            },
            "electronInstallerDebian": {},
            "electronInstallerRedhat": {},
            "github_repository": {
                "owner": "",
                "name": ""
            },
            "windowsStoreConfig": {
                "packageName": "",
                "name": "patternlabdesktop"
            }
        }
    },

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init is a good starting point, if that is not the
source of your problem.
I haven't changed any config, I only started out with the React template, and a SCSS file inside src. Then I just start the project with electron-forge start.

Remove your "type="text/scss" declaration

I still get Resource interpreted as Stylesheet but transferred with MIME type text/plain when removing the type.

Update:
I'm not sure if this is how it's supposed to be or not. But I noticed that I get an FS error inside the SCSS file when I try to import SCSS files with underscore at the beginning. If I import files without everything works.

so the problem is with partials? I think there is/was  bug related to that in electron-compile.

Yes, it seems so.

This issue appears to be the parials issue with electron-compile.
Follow https://github.com/electron/electron-compile/issues/162 for progress on this issue


Get cropped canvas problem with result of the picture size, 20% of last result is missing

hello, i have problem when i trying getting result as image in canvas. here're the screenshot

i'm use latest version of cropper
here're result so you can check it:
jsbin

You just draw the output cropped canvas into a smaller canvas!


is there import.meta' in cjs?

/Users/bing/Projects/xxxx/node_modules/clean-modules/dist/chunk-475NGVCH.cjs:113
fileDir(import.meta),
^^^^
SyntaxError: Cannot use 'import.meta' outside a module
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
vite can not get worked

Hey! Thanks for reporting this, I had forgotten to enable the shim injection for CJS builds and missed it since it was only present when using clean-modules programmatically. 🙈
Try again with v3.0.3, which should fix the issue!


Fixed some file path case in iOS source files declarations.

I wasn't able to install the plugin on my cordova project because I use case-sensitive system, so I fixed the problem.

Hi @Stending,
Just out of interest, what operating system are you using? We've only ever used OSX
We'll do a quick check our side to make sure it doesnt break for us then merge it :)
Thanks so much for your commit

Hi,
I use OS X El Capitan 10.11.4.
But you can easily see that the filenames weren't the same.
Thank you.
2016-05-18 18:31 GMT+02:00 Matt Rayner<EMAIL_ADDRESS>
Hi @Stending https://github.com/Stending,
Just out of interest, what operating system are you using? We've only ever
used OSX
We'll do a quick check our side to make sure it doesnt break for us then
merge it :)
Thanks so much for your commit
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/thisisbd/cordova-plugin-vuforia/pull/12#issuecomment-220083340

Hi Stending,
We've had a test and this all seems to work for us :+1:
Thanks for your PR 😄


Manual review of all pages to check for any untranslated text

This pr adds a bunch of missing extracted text for translations following a manual review of all pages (using the mirror backend).

thanks @urbanwide 🙏


Prevent closing of drop down upon selection or blur

Hi everyone,
Is it possible to disable the auto-closing feature of the suggestion drop down menu upon selection (click or keyed) or blur (loss of focus to the text box)?

It is, but there's not an easy boolean option that controls it. In v0.11, you can pass in the DOM element where results should be rendered, so you have full control over when it is visible and when it is hidden. This is currently undocumented FWIW. Until it's documented, you can poke around the source code to see how it works and I will try to answer any questions you have.

Oh, great! Thanks for your hard work on the project!


Library not importing

Not sure if that's the best title, but I'm trying to integrate this with my project. I put the following line into my project specific gradle dependencies:
compile 'fr.tvbarthel.blurdialogfragment:lib:2.1.2'
Then I sync gradle, wait for that to finish, and try to import BlurDialogFragment or SupportBlurDialogFragment with no luck. I haven't had any issues integrating with other open source libraries recently. Are there any other requirements/quirks I should be aware of when using this?
Thanks

Hi @spung (:
Since the library has been promoted to jcenter(), no other requirements are needed to use this project.
In your Project/build.gradle, are you using jcenter ? :
...
allprojects {
    repositories {
        jcenter()
    }
}
....

Then in your Project/appModule/build.gradle :
dependencies {
    ...
    compile 'fr.tvbarthel.blurdialogfragment:lib:2.1.4'
    ...
}

If gradle couldn't find the dependency, it must fail during sync.
I have no other idea for the moment (I presume you already tried a ./gradlew clean).
Which version of Android Studio are you using ?

It's working now @tbarthel-fr , looks like I was stuck in a weird state switching to jcenter from maven and a ./gradlew clean and cleaning the project did it. Thanks for your help!

Glad to read that it works now (:
Happy coding (= !

Thanks again, cheers :)


Added new message for vendor specific status

Added new message for PWM servo controlling hardware.
It has 2 power supplies, internal voltage regulator for servo and backup PWM input.
It reports input voltages, output voltage, temperature and error flags once per second.

Thank you Eugene.
I am concerned by the lack of generality in your proposed data type definition. The purpose of the multiple voltage and temperature fields can be served well by means of standard messages uavcan.equipment.power.CircuitStatus (you can set current to NaN if it is irrelevant) and uavcan.equipment.device.Temperature. The general status information can be equally well reported via the vendor_specific_status_code field of the NodeStatus message.
That said, I am beginning to see what caused such a misunderstanding. This PR and a couple of similar earlier discussions lead me to suspect that there might be a use case for fixed data type ID allocations for truly vendor-specific messages that lack generality. Similar to the ways of the USB consortium, we might explore the following idea: dedicating a fixed range of data type ID for purposes of non-general, truly vendor-specific messages, where said messages would be allocated within the vendor's specific namespaces, e.g. aerotech.smart_servo.Status in your specific case. The UAVCAN team would charge a small fee per every allocated data type ID that would guarantee that no dead and unused messages retain in the set.

The reason I made this type is to save number of packets over the bus. Of course, 3 CircuitStatus and temperature can be send, but it's several times the overhead.
I fully agree to you next point, however in regards to charging fee, I think that UAVCAN has not had such widespread use. However all will depend on the amount of this fee.

Never mind the number of packets. I trust you don't need to update temperature and voltage 100+ times per second, so the generic solution should work fine. Please close this ticket if the generic approach would work for you; if not, please elaborate on your concerns and we'll try to work out a better solution for you.
Re fee, its only purpose is to prevent appearance of unused definitions, rather than attempts at monetizing. We could offer riddles to solve instead, but that would be way too unorthodox perhaps.

Alright, I will use standard types for now.
Let me know when you come up with value of vendor type, I might be interested.


Lose pins and add constraints.txt

Description
Try loosening up requirements.

Admittedly I'm not an expert in diagnosing CI problems, but my hope was that we could have minimum version requirements as you say, but for the case of CI exactly pinning things, so that if problems arise we can create a virtualenv and reproduce exactly (ok not exactly, only up to the OS dependencies) the environment used. Perhaps that reproducible environment isn't really needed when the logs are good enough.

gt4py's requirements are a little stricter than they need to be, so that there's more assurance dependencies won't change behaviors in testing. This makes it difficult to merge its requirements with other projects (like ours) whose versions conflict.

I agree, and it's perfectly fine to loose up the version constraints of the requirements, but this PR basically removes all the constraints in setup.cfg.

If an update to a dependency does break something, it can take a very long time (in our experience) to tell that a dependency caused this, because the version will update silently and the error will show up on a PR where other work is done

Yes, this is also true, but I don't think we have found this kind of issues very often in the past, so it's probably less of a problem for us than for you, but I definitely see your point.
To sum up my opinion regarding the PR: I think it's completely fine to make the requirements versions less strict (provided that they still work with gt4py) but strongly disagree about removing all the constraints from the package definition. Adding pinned version numbers for CI could be ok if no one else has a strong opinion against it.

disagree about removing all the constraints from the package definition.

I agree with this, there should at least be minimum version requirements. Where we know newer versions break things, there should also be maximum requirements, but it sounds like this hasn't happened.

Would it resolve the concerns if the strict pins were changed to minimum versions, e.g. click~=7.1 to something like click>=7.1?

I wouldn't pin CI to a specific set of versions, unless, we add testing for at least minimum versions and latest versions separately (i.e. test the setup.cfg version ranges). At the current stage of the project (limited set of known users), I, personally, wouldn't bother with that now (but if someone is interested to contribute that, why not). I would just use what's picked by CI (latest, I guess?) and we will be forced to quickly do something in case of failure. To soften the problem that @mcgibbon mentions (random failures in PR), we can add a nightly run to the existing push to master actions (1 line change), such that PR failures can be compared to failures in the nightly runs.

Could I propose that we start by closing this PR for now and opening another that changes compatible releases ~= with >= instead? I recall a time when we had a version clash when fv3 was using pytest 6, but gt4py called for a 5.x version. We do run a slight risk of incompatible APIs by doing this, but it would avoid such a problem in the future.

Could I propose that we start by closing this PR for now and opening another that changes compatible releases ~= with >= instead? I recall a time when we had a version clash when fv3 was using pytest 6, but gt4py called for a 5.x version. We do run a slight risk of incompatible APIs by doing this, but it would avoid such a problem in the future.

Fine for me.


Update but still shows 1.0.2 (possible min ver issue)

Describe the bug
After updating, version still shows 1.0.2. Even after uninstalling/reinstalling the mod.
Screenshots

Additional context
After looking at the module.json file, I see the minimum Foundry version is listed as 0.85. I am still running 0.79 as there are mods I use that have not been updated yet.
Does current ver 1.1.4 of your mod work with 0.79? If it does, updating the "minimumCoreVersion" to drop it back to .079 should resolve the issue.
If it doesn't work with 0.79 you can close this out. Sucks though as I was the user that gave you feedback on the new Merchant Description feature and I can't use it! lol

Did a little testing. Downloaded the zip file for 1.1.4 and just changed the minimumversion to 0.7.9. All seems to be working OK except the description. I add a description and after hitting save, it disappears.
I would just write it off as the reason being incompatibility except for 1 oddity - it shows up for a second after saving and then disappears. See below for a better explanation.

So I'm not sure if it actually is just a compatibility issue with 0.7.9 or if something else is going on here.

Nevermind @whelan, I'm closing the issue. Seems there are also issues with player permissions when trying to open the shop that don't exist for me in 1.0.2.
Guess I'll have to wait until I upgrade Foundry to use the new features. :-(

@Shuggaloaf I'm sorry for you. But I'm also struggling a bit with some of the 0.8.x where they have changed some of the locations for actor data.


Upgrade typescript to 2.x and fix build issues

Upgrade TS to 2.x

Not right now.  We're re-engineering in a feature branch.

Let's hold for 108.  I want to make sure 107 stabilizes and we consciously move to 2.0.  I will send communications to teams inline with Trevor's mail

Any idea when this will be released? I work with a angular2 project that I am waiting to deploy.
Dependencies to typescript 2.0.3

Any idea when this will be released? I work with a angular2 project that I am waiting to deploy.
Dependencies to typescript 2.0.3


Informations about bridge development

Following the #201, we should get in touch with :

@tulir from beeper
@half-shot

To ask if :

[ ] a bridge can manipulate real user or to get more information about bridge development
[ ]

Maybe get a training (see if https://www.beeper.com/ can do it) ?
Definition of Done :

contact  with both done
Informations received about the training or the impossibility to get trained

Please add your planning poker estimate with Zenhub @ad2ien


Can't install on WSL

I've spent the last several hours trying to install Rust-CUDA on Windows 11 WSL, Ubuntu 20.04, in a Razer Blade 14 notebook, to no success. The install instructions seem to be outdated and/or unclear. I've installed everything following the GUIDE, which was particularly hard because 1. I'm on WSL, 2. it assumes I know what LLVM_CONFIG is, which I don't; 3. it assumes I know what is libnvvm, which I don't. Regardless, after a lot of struggle, I've managed to install nVidia's drivers and CUDA (on Windows side), and CUDA Toolkit (on WSL), following this guide. Right now, when I run cargo run --bin add on Rust-CUDA, I get the following error:
v@MaiaRazerBlade14:~/Rust-CUDA$ cargo run --bin add
   Compiling nvvm v0.1.1 (/home/v/Rust-CUDA/crates/nvvm)
   Compiling cust_raw v0.11.3 (/home/v/Rust-CUDA/crates/cust_raw)
   Compiling curl-sys v0.4.56+curl-7.83.1
   Compiling curl v0.4.44
   Compiling xz2 v0.1.7
error: failed to run custom build command for `nvvm v0.1.1 (/home/v/Rust-CUDA/crates/nvvm)`

Caused by:
  process didn't exit successfully: `/home/v/Rust-CUDA/target/debug/build/nvvm-f71aa668ff49a3a5/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'Failed to find CUDA ROOT, make sure the CUDA SDK is installed and CUDA_PATH or CUDA_ROOT are set!', crates/find_cuda_helper/src/lib.rs:198:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

After inspecting the code of find_cuda_helper, I've learned it is looking for the following file: /usr/local/cuda/lib/cuda.h. That file is not present. Instead, the contents of /usr/local/cuda-11.8 are:
v@MaiaRazerBlade14:/usr/local/cuda$ ls
cuda-keyring_1.0-1_all.deb  doc  gds  nsight-systems-2022.4.2  targets  version.json

There is a include directory on /usr/local/cuda/targets/x86_64-linux, but that directory does not have a cuda.h file. Instead, cuda.h can be found on /usr/include/cuda.h, but it isn't a cuda directory, just the file isolated. I also have no idea what libnvvm is, but the following file is present: ./usr/lib/x86_64-linux-gnu/libnvvm.so. Perhaps the way I installed the toolkit results in different from what Rust-CUDA expects? I've managed to get the demo working on WSL via Docker, which, in theory, implies I should be able to install it directly, but I'm not sure how to proceed.

I finally managed to make it run. Sadly I'm too tired to fully document the process, but where is what I did:

Installed Ubuntu 18.04 with wsl --install

Followed the WSL on CUDA guide:

wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin
sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-wsl-ubuntu-11-8-local_11.8.0-1_amd64.deb
sudo dpkg -i cuda-repo-wsl-ubuntu-11-8-local_11.8.0-1_amd64.deb
sudo cp /var/cuda-repo-wsl-ubuntu-11-8-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda

For some reason, now the contents of /usr/local/cuda are what I'd expected:
v@MaiaRazerBlade14:~/Rust-CUDA$ cd /usr/local/cuda
v@MaiaRazerBlade14:/usr/local/cuda$ ls
DOCS  EULA.txt  README  bin  compute-sanitizer  doc  extras  gds  include  lib64  libnvvp  nsightee_plugins  nvml  nvvm  share  src  targets  tools  version.json

Installed Rust with the command here, but changed the default options to install the nightly version instead.

Followed the Dockerfile commands to install LLVM, slightly modified:

curl -O https://releases.llvm.org/7.0.1/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04.tar.xz &&\
    xz -d clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04.tar.xz &&\
    tar xf clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04.tar &&\
    rm clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04.tar &&\
    mv clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04 ~/llvm

Edited my ~/.bashrc to export the env variables on the Dockerfile:

export LLVM_CONFIG=/root/llvm/bin/llvm-config
export CUDA_ROOT=/usr/local/cuda
export CUDA_PATH=$CUDA_ROOT
export LLVM_LINK_STATIC=1
export RUST_LOG=info
export PATH=$CUDA_ROOT/nvvm/lib64:/root/.cargo/bin:$PATH

Attempted to do this, also from the Dockerfile, but it didn't fully work. No idea what this is:

    echo $CUDA_ROOT/lib64 >> /etc/ld.so.conf &&\
    echo $CUDA_ROOT/compat >> /etc/ld.so.conf &&\
    echo $CUDA_ROOT/nvvm/lib64 >> /etc/ld.so.conf &&\
    ldconfig

I had to change it in a way that I do not remember to run it with sudo.

Attempted cargo run --bin add again, but it complained about OpenSSL. Googled the command to install it. It then complained about lz, something else I do not remember, and xml. Googled the command to install these. sudo apt-get something.

Attempted cargo run --bin add again and it worked.

I'll leave this thread open in case anyone else finds themselves in a similar situation, but we definitely need more ELI5-ish install instructions. Life as a programmer is hard. It is 4:18am now. Good night.

Hello, I am having a similar problem. So far I did everything on Windows 11, without WSL, and when doing cargo build on the GPU crate it works. The problem comes when doing cargo build on the CPU code. Specifically, I have llvm-config.exe and the whole lib, but when building, rust doesn't find it even if I add the path to the env variables. Can you please tell me what is inside the folders you set using export .... In particular I need LLVM_CONFIG now. Thank you very much


A DropZone component in a .tsx file is not correctly located by the page parser

I've checked in a fix for this - it will go out with the next release.


Non-standard UART baudrates doesn't work and breaks debug uart.

1. SDK version（SDK 版本）
V2129
{
}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
When non-standart integer value used as UART Speed for open UART1 (actually UART2 at the pins) all uarts became fail. Also HOST_TX/RX.
Reproduce:
open demo/uart project
change baudrate from UART_BAUD_RATE_115200 -> 25000
Build and flash
Expected behavior:
Uart1 works at 25000 baud, Host communication like tracker works
Actual:
Uart1 and 2 is free from data, Host communication recives a trash once then stop until reset the board. Reflashing board is possible only with way described for 'while(1) loops in the code' (i.e. start flashing in 1st second after reset.
}

UART_BAUD_RATE_25000 does not exist in the UART_Baud_Rate_t enum https://github.com/Ai-Thinker-Open/GPRS_C_SDK/blob/master/include/api_inc/api_inc_uart.h#L36
Building your project would have resulted with an error.

I know it. In embedded systems sometimes it needed to use non-usual baudrates. this is why enum you provided is actually set of consts. UART_BAUD_RATE_25000 is really absent, but try use integer constant 25000u instead. In ESP IDF I used this way successfully and reach real baudrate 25K. In the A9G SDK this fails. I guess this is bug in calculating dividers' values.

Upd: now I see that the UART_Baud_Rate_t really is a enum. Without equal signs (like UART_BAUD_RATE_115200 = 115200), but why?
Using this baudrates set is just agreement, not a requirement. Even usb-ttl converters sometimes allows to set free speed, why something soldered to a PCB surprisingly limits the baudrate with several values?


Flyout: make the selected version bold

I merged #86 to be able to deploy it today. However, we knew that the current version displayed in flyout should be in bold.

Duplicated of https://github.com/readthedocs/addons/issues/96
(I created it twice 😅 )


A user should be able to select h-clustered genes ordering

@signechambers1 I added P1 label to this instead of P0, because it doesn't seem as mission-critical as h-clustering by cell types? What do you think? Thank you!

Agreed, thanks @tihuan.

https://github.com/chanzuckerberg/single-cell-data-portal/pull/2531


pfc: Replace panic with Option

This changes PfcBlock::get and PfcList::get to return Option<String> to avoid using panic for out-of-range index arguments.
The low-level change trickles up through layer::base and layer::child, but the logic there is also simplified by removing a duplicate range check.
Fixes #28

Codecov Report

Merging #29 into master will increase coverage by 0.17%.
The diff coverage is 53.65%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   72.85%   73.03%   +0.17%
==========================================
  Files          21       21
  Lines        6787     6776      -11
  Branches      990      982       -8
==========================================
+ Hits         4945     4949       +4
+ Misses        876      867       -9
+ Partials      966      960       -6

Impacted Files
Coverage Δ

src/layer/layer.rs
58.54% <ø> (ø)
:arrow_up:

src/store/mod.rs
47.4% <0%> (ø)
:arrow_up:

src/store/sync.rs
34.49% <0%> (ø)
:arrow_up:

src/layer/child.rs
77.22% <100%> (+0.09%)
:arrow_up:

src/layer/base.rs
81.44% <100%> (+1.39%)
:arrow_up:

src/structure/pfc.rs
78.02% <38.09%> (+0.08%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks! This looks better. I'll merge.


chore(package): update vue-loader to version 15.0.5

Closes #31

:tada: This PR is included in version 1.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for Python 3.2 +

How to reproduce
Not able to install the library for python 3.2 +.
Error

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/fr/jtjjqpbs1sx0lxh6qbgzgdjw00gftq/T/pip-build-ghem6ueu/robotframework-jsonlibrary/

Assuming I'm seeing the same error (see below), adding the library directory to the import statement seems to fix it for me. I am then able to install the library to python 3. (Tested with Python 3.5.2 & 2.7 on linux).
If anyone else wants to try this workaround, download the library (from github or pypi) and edit the __init.py in the JSONLibrary directory so the imports on line 2 & 3 read as follow:
from JSONLibrary.JSONLibraryKeywords import JSONLibraryKeywords from JSONLibrary.version import VERSION
and also edit JSONLibraryKeywords.py line 4:
from JSONLibrary.version import VERSION
I was then able to do a pip install of the locally modified library (just run pip install /path/to/local/robotframework-jsonlibrary/). If that complains about dependencies try pip install -r /path/to/local/robotframework-jsonlibrary/requirements.txt first.
Error message I was seeing:
`Collecting robotframework-JSONLibrary
Downloading robotframework-jsonlibrary-0.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-3y4ea4qg/robotframework-JSONLibrary/setup.py", line 5, in
from JSONLibrary.version import VERSION
File "/tmp/pip-build-3y4ea4qg/robotframework-JSONLibrary/JSONLibrary/init.py", line 2, in
from JSONLibraryKeywords import JSONLibraryKeywords
ImportError: No module named 'JSONLibraryKeywords'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3y4ea4qg/robotframework-JSONLibrary/
`

@MarkJB Thank you for the workaround. I run my robot tests inside docker container and use python based alpine image. It would be better if it is fixed with pip.

Is there any ETA when this fix (commit: e0c3852) will be released to pip?

I am facing same issue
do we have any workaround to resolve this issue

Commit 0031c59b has been merged really recently which has python3 fixes.
@nottyo could you create release for that merge so pip could be fixed for python3

Hi @nyott,
When trying to install the package, I faced the following error.  I had to use workaround suggested by @MarkJB to make it work.
_**Collecting robotframework-jsonlibrary
Using cached https://files.pythonhosted.org/packages/e0/3c/609d90b967905c0b5c90f736666531e025756e71f3d538546cabff61ef3e/robotframework-jsonlibrary-0.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pycharm-packaging/robotframework-jsonlibrary/setup.py", line 5, in
from JSONLibrary.version import VERSION
File "/tmp/pycharm-packaging/robotframework-jsonlibrary/JSONLibrary/init.py", line 2, in
from JSONLibraryKeywords import JSONLibraryKeywords
ImportError: No module named 'JSONLibraryKeywords'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pycharm-packaging/robotframework-jsonlibrary/
You are using pip version 19.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.**_

Facing the same issue.
Collecting robotframework-jsonlibrary
Using cached https://files.pythonhosted.org/packages/e0/3c/609d90b967905c0b5c90f736666531e025756e71f3d538546cabff61ef3e/robotframework-jsonlibrary-0.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/1f/64bh46510zb0_lwr2b4b0nhr0000gn/T/pycharm-packaging/robotframework-jsonlibrary/setup.py", line 5, in
from JSONLibrary.version import VERSION
File "/private/var/folders/1f/64bh46510zb0_lwr2b4b0nhr0000gn/T/pycharm-packaging/robotframework-jsonlibrary/JSONLibrary/init.py", line 2, in
from JSONLibraryKeywords import JSONLibraryKeywords
ModuleNotFoundError: No module named 'JSONLibraryKeywords'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/1f/64bh46510zb0_lwr2b4b0nhr0000gn/T/pycharm-packaging/robotframework-jsonlibrary/

@Srihari88 This issue fixed in version 0.3.


Change wallet password

Resolves
Issue #58
What's new
This PR adds the ability change wallet passphrase.
It also moves the ability to modify wallet information to a dialogue.
Relevant screenshots or logs

Additional context
Add any other context about the problem here.

Use single line editor when changing wallet name so that this wont occur.

When changing wallet name and error occurs, you should show error thrown.

Out of scope of work.

Use single line editor when changing wallet name so that this wont occur.

When changing wallet name and error occurs, you should show error thrown.

Out of scope of work.

True. An issue should be created so we dont miss it later.


Feature issue 7 add delete on double click

suggested solution for https://github.com/cubiq/Mellon-client/issues/7

the double click should be only on the edge (pipeline) not on the node

Updated


Revert "feat(tree): enable top metrics"

Reverts bytedance/fedlearner#941

Close this PR as lint errors were fixed by https://github.com/bytedance/fedlearner/pull/992


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2682

Questions ?
Please refer to the Backport tool documentation


Improve Google Search by parsing answer box with the engine?

I've noticed that quite a few queries executed via the serpapi return a valid answer box, but the GoogleSearch boxcar returns a snippet from an organic result instead. If searching for realtime information (ex: weather, current time, financial info) this snippet result is usually incorrect.
For example, if I run the following:
engine = Boxcars::Openai.new
boxcar = Boxcars::GoogleSearch.new
boxcar.run("what is the current time in America/Denver")

The JSON response contains:
res.dig *[:answer_box]
{:type=>"local_time", :result=>"8:02 AM", :extensions=>["Sunday, May 7, 2023 (MDT)", "Time in Denver, CO"]}

...which is correct. However, none of the ANSWER_LOCATIONS with an answer_box will match this:
%i[answer_box answer],
 %i[answer_box snippet],
  [:answer_box, :snippet_highlighted_words, 0],

...so it instead grabs a snippet from an organic result (which is cached and incorrect):
res.dig *[:organic_results, 0, :snippet]
"Current Local Time in Denver, Colorado, USA ; Colorado (CO) · 39°45'N / 104°59'W · 1593 m · United States Dollar (USD) · English."

While trying out queries for different types of realtime information, I've found that the answer box format can very quite a bit. I've actually had my best results by passing the answer_box back to the engine and asking it to parse the JSON.
For example the results below are all correct but fail w/the GoogleSearch boxcar:
search_boxcar = Boxcars::GoogleSearch.new
engine = Boxcars::Openai.new
q = "What is the current time in fort collins?"
search = ::GoogleSearch.new(q: q)
rv = search.get_hash
engine.run("can you answer: #{q} given the JSON below? #{rv.dig(:answer_box).to_json[0..500]}")
 => "The current time in Fort Collins is 8:48 AM on Sunday, May 7, 2023 (MDT)."
search_boxcar.run(q)
Answer: {:snippet=>"Current Local Time in Fort Collins, Colorado, USA ; Colorado (CO) · 40°35'N / 105°05'W · 1522 m · United States Dollar (USD) · English.", :url=>"https://www.timeanddate.com/worldclock/usa/fort-collins"}

q = "What is the current value of the s & p 500?"
search = ::GoogleSearch.new(q: q)
rv = search.get_hash
engine.run("can you answer: #{q} given the JSON below? #{rv.dig(:answer_box).to_json[0..500]}")
 => "The current value of the S&P 500 is 4136.25."
search_boxcar.run(q)
=> "The Standard and Poor's 500, or simply the S&P 500, is a stock market index tracking the stock performance of 500 of the largest companies listed on stock exchanges in the United States. It is one of the most commonly followed equity indices."

q = "What is the current temp in fort collins?"
search = ::GoogleSearch.new(q: q)
rv = search.get_hash
engine.run("can you answer: #{q} given the JSON below? #{rv.dig(:answer_box).to_json[0..1000].gsub("%","%%")}")
 => "The current temperature in Fort Collins is 53 degrees Fahrenheit."
search_boxcar.run(q)
{:snippet=>"Fort Collins, CO Weather Conditionsstar_ratehome ; Temperature. High. 73 · F · 67 ; Rain/Snow Depth. Precipitation. 0 · in. 4.5 ; Temperature. High. 73 · F · 67 ...",
 :url=>"https://www.wunderground.com/weather/us/co/fort-collins/80521"}

q = "What is the weather tomorrow in fort collins?"
search = ::GoogleSearch.new(q: q)
rv = search.get_hash
engine.run("can you answer: #{q} given the JSON below? #{rv.dig(:answer_box).to_json[0..1000].gsub("%","%%")}")
 => "The weather tomorrow in Fort Collins is partly cloudy with a high of 73°F and a low of 43°F."
search_boxcar.run(q)
{:snippet=>"Partly cloudy skies. Low 42F. Winds N at 5 to 10 mph. Humidity55%.",
 :url=>"https://weather.com/weather/tenday/l/Fort+Collins+CO?canonicalCityId=58e8622d9026d4dc25f02c1f57faeb6ee86cc124642fb29098291a78a4062e0f"}

q = "what is rivian's market cap?"
search = ::GoogleSearch.new(q: q)
rv = search.get_hash
engine.run("can you answer: #{q} given the JSON below? #{rv.dig(:answer_box).to_json[0..1000].gsub("%","%%")}")
 => "Rivian's market cap is $12,430,000,000."
search_boxcar.run(q)
=> "Rivian Automotive, Inc., is an American electric vehicle manufacturer and automotive technology company founded in 2009. Rivian is building an electric sport utility vehicle and pickup truck on a \"skateboard\" platform that can support future vehicles or be adopted by other companies."

Curious if you have thoughts on this? I've thought of creating new Boxcar, for example, GoogleAnswerBox that is dedicated to just this function.

@itsderek23 - the logic for the Google Search is pretty simplistic. It is just looking for a key pair and then returns the first one present. Adding multiple to pick from and then having an LLM pick sounds like a good idea. Feel free to put up a PR, or leave this be and I will get to it eventually. It does sound more useful.

Sounds good - I'll play w/this a bit and share what I come up with.


rename testing/app.go

closes: #3158

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ec3196d) 80.10% compared to head (6946477) 80.07%.
 Consider uploading reports for the commit 8fb93bc to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #5402      +/-   ##
==========================================
- Coverage   80.10%   80.07%   -0.04%
==========================================
  Files         189      189
  Lines       13142    13106      -36
==========================================
- Hits        10528    10495      -33
+ Misses       2201     2199       -2
+ Partials      413      412       -1

see 3 files with indirect coverage changes


flesh out primitive diagrams

I would consider it a success if the renderer follows all principles outlined in this introductory video: https://youtu.be/j-M_z_7_Nkw?si=yFclwkKI0Nh0-pZp

Linked issue: https://github.com/PiotrJustyna/drakon-renderer/issues/82


[Benchmark] Invalid Register User

Related module
Benchmark
What happened
Wrong answer for RegisterUserReq(password=a5c221f6de374296, qq=146962499598741900, wechat=68290532#bfb5#, name=aaaa0b140, sex=MALE, birthday=2月6日, sign=dc67a346-879a-46): expected >= 0, got -1
What you expected to happen
I believe this request is illegal because the QQ number is obviously too long. Anyone would consider this data as an abnormal input in reality. I couldn't find any description of this field in the documentation, and I need a reasonable explanation.
How to reproduce
No response
Anything else
No response

I think there is no specific limitation on QQ or Wechat.

I think there is no specific limitation on QQ or Wechat.

According to the common sense of life, the content that is unclear should be judged in the most reasonable way, rather than going to the coffee shop to order 10000 Fried Rice.

I think there is no specific limitation on QQ or Wechat.

According to the common sense of life, the content that is unclear should be judged in the most reasonable way, rather than going to the coffee shop to order 10000 Fried Rice.

I agree what you said. I am also confused when I start doing my project. However I find it is difficult to comform all the restrictions to the fields(e.g. We do not know how bv is generated or how mid was generated or is there any restrictions on bv or mid). So I think what we need to do is to ignore these limitations.

I think there is no specific limitation on QQ or Wechat.

According to the common sense of life, the content that is unclear should be judged in the most reasonable way, rather than going to the coffee shop to order 10000 Fried Rice.

I agree what you said. I am also confused when I start doing my project. However I find it is difficult to comform all the restrictions to the fields(e.g. We do not know how bv is generated or how mid was generated or is there any restrictions on bv or mid). So I think what we need to do is to ignore these limitations.

There are numerous reasonable methods, including but not limited to any viable explanation. For fields like "bv" or "mid" where the algorithms are not publicly disclosed, you may adopt your own approach and explain it in your report. However, for fields such as QQ or Wechat, there are more explicit constraints, such as length or format, rather than entertaining the notion of compromise. For instance, it would be preposterous to allow a 1GB numerical string and consider it a valid QQ number.

@sses7757 @hezean I need a response.

All data are fictional, no special limit regarding this field is mentioned in the project guidelines. Feel free to modify your implementation.

All data are fictional, no special limit regarding this field is mentioned in the project guidelines. Feel free to modify your implementation.

6


Only Go rules evaluated if rules attribute set to null in config

While this certainly falls in the "why would you do that?" category, a config.yaml file like this:
rules:

Which would be {"rules": null} in JSON surprisingly has the Go rules (i.e. opa-fmt) evaluated but not the Rego rules. Not important but figured I'd note it down.

Can't reproduce this any more, so will close for now.


nmake gives error on apps\lib\apps.c(1818) : NMAKE : fatal error U1077 return code '0x2' Stop.

Hello, i'm trying to compile the latest soruces of openssl that i've downloaded from here.
I have MS Visual Studio 2017, ActivePerl and NASM installed
so i did commands as you instructed:
perl Configure VC-WIN32
nmake

and after command nmake compiling begins but stops with error:
        cl  /Zi /Fdossl_static.pdb /Gs0 /GF /Gy /MD /W3 /wd4090 /nologo /O2 /WX -I "." -I "include" -I "apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Program Files (x86)\\Common Files\\SSL\"" -D"ENGINESDIR=\"D:\\Program Files (x86)\\OpenSSL\\lib\\engines-3\"" -D"MODULESDIR=\"D:\\Program Files (x86)\\OpenSSL\\lib\\ossl-modules\"" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG"   -c /Foapps\lib\libapps-lib-apps.obj "apps\lib\apps.c"
apps.c
apps\lib\apps.c(1818): error C2220: warning treated as error - no 'object' file generated
apps\lib\apps.c(1818): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
apps\lib\apps.c(1989): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
apps\lib\apps.c(1994): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
NMAKE : fatal error U1077: 'd:\MSVisualStudio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'd:\MSVisualStudio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.exe' : return code '0x2'
Stop.

config20191028132431.zip

It is simply that /WX enables treating warnings as errors and stop compilation. Don't know why the option is there when for x64 build on Windows, for instance, there are still a lot of compiler warnings of C4244 and C4267. If you just want to compile, remove /WX from the generated makefile.

It is simply that /WX enables treating warnings as errors and stop compilation. Don't know why the option is there when for x64 build on Windows, for instance, there are still a lot of compiler warnings of C4244 and C4267. If you just want to compile, remove /WX from the generated makefile.

VC-WIN32 builds should be warning free so /WX should be ok there.
@barmaley997 - I see this is the master version of OpenSSL, so my guess is some newly introduced warning is causing the problem.
You are probably better off not using the master version and instead try OpenSSL 1.1.1

We shouldn't force /WX, just as we shouldn't (and don't) force -Werror

We shouldn't force /WX, just as we shouldn't (and don't) force -Werror

Good point..although perhaps we should for dev builds? At least for VC-WIN32 which (should be) warning free. It would be a shame to lose that.

So it should be possible to give /WX when configuring, is what you're saying. I totally agree.

So it should be possible to give /WX when configuring, is what you're saying.

Not, only should it be possible - but as developers we should do it. Certainly for AppVeyor builds. Remembering the particular incantation required for any particular platform isn't ideal. Perhaps amend --strict-warnings to do the right thing?

So, #10287

Ok - i removed /WX in CFLAGS in MAKEFILE and then all sources was copiled OK!


spotdl: command not found

System OS
Linux
Python Version
3.9 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v3.9.6
Expected Behavior vs Actual Behavior
hi i downloaded spotdl via pip using pip3 install spotdl. i tried to download my playlist using the command spotdl --playlist https://open.spotify.com/user/nocopyrightsounds/playlist/7sZbq8QGyMnhKPcLJvCUFD. but i got the error spotdl: command not found
Steps to reproduce - Ensure to include actual links!
umm idk
Traceback
spotdl: command not found

Other details
No response

Add sitepackages/python to PATH.
Adding to PATH for Bash terminal
Add export PATH=~/.local/bin:$PATH at the bottom of ~/.bashrc
Then run source ~/.bashrc


Vulnerability roundup 85: diamond-0.8.36: 1 advisory [7.5]

search, files

[ ] CVE-2018-19160 CVSSv3=7.5 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: a84b797b28e; nixos-unstable: 22c98819ccd. May contain false positives.

NVD entry is for a cryptocurrency.
Package is a bio-sequence aligner.
Closing as FP.


DragHandle could not be detected inside the component

here is my html struct:
 <div class="flex-1 flex-top cdk-drag-list" cdkDropList (cdkDropListDropped)="drop($event)">
          <div cdkDrag *ngFor="let item of content.child_contents, let i = index" class="flex cdk-drag=item">

                <dz-menu-group style="position:absolute;right: 0;top: -10px"
                           *ngIf="global_service.modal=='edit' && global_service.pc_editor &&
                           global_service.device_type == 'pc'">
                         <dz-menu-group-item>
                              <span #drag_trigger cdkDragHandle>
                                <at-icon [type]="'move'" class="move"></at-icon>
                                     </span>
                        </dz-menu-group-item>
                        <dz-menu-group-item>
                              <at-icon [type]="'x'" style="cursor: pointer;" (click)="deleteChildContent(i)"></at-icon>
                         </dz-menu-group-item>
            </dz-menu-group>
         </div>
</div>

DragHandle could not work
item still can be dragged and dropped by dom.

I think this will be fixed, once #13360 is released

@philmtd  got it, thanks.


Improve typing for sql.type_api classes

Description
Various fixes for sql.type_api typings:

Update copy() methods to return an instance of the self type
Give all methods a return type
Change TypeDecorator to inherit properly from TypeEngine so type information can be extracted by the plugin
Update Variant to property inherit from TypeDecorator so type information can be extracted by the plugin
Ensure methods match their implementation

Checklist

This pull request is:

[ ] A documentation / typographical error fix

Good to go, no issue or tests are needed

[x] A short code fix

please include the issue number, and create an issue if none exists, which
must include a complete example of the issue.  one line code fixes without an
issue and demonstration will not be accepted.
Please include: Fixes: #<issue number> in the commit message
please include tests.   one line code fixes without tests will not be accepted.

[ ] A new feature implementation

please include the issue number, and create an issue if none exists, which must
include a complete example of how the feature would look.
Please include: Fixes: #<issue number> in the commit message
please include tests.

Have a nice day!

still getting through other things, i hope to look at this soon..    I'm sort of needing a little bit of a break after the first 1.4 week, my apologies.

looks great!


Add link to Syntax in the Guide

Personally I think that having a link to Syntax in the Guide is very useful for people totally new to FP (or Haskell syntax)
Willing to do a PR if someone points me to the source for that :)

Found it under Evan's personal repositories


Speed Shot Beam Suggestions

Seeing the Speed Shot beam gives me these ideas:
Option 1 is to have it always be extended
Option 2 is to have it abruptly cut (like in vanilla 1/AR).
Option 3 is to have it be squished depending on how close the nearest sphere is (Zuma/Luxor 2).

Implemented in https://github.com/jakubg1/OpenSMCE/commit/1ba09621783ba2b41e5d6df92941fd249efcb0a7


None of the pipelines/README.md actually build the bike-rentals image

The Run the GitOps pipeline says
# Bike rentals app
cp pipelines/tekton/gitops-update-pipeline/example-pipelineruns/example-git-credentials-secret.yaml /tmp/gitea-edge-user-1-secret.yaml
$EDITOR /tmp/gitea-edge-user-1-secret.yaml # make changes for your specific environment
oc apply -f /tmp/gitea-edge-user-1-secret.yaml

oc create -f tekton/gitops-update-pipeline/example-pipelineruns/gitops-update-pipelinerun-bike-rentals.yaml

However, after (hopefully) carefully following that README, only the tensorflow-housing image got built and pushed to Quay.
This is potentially related to https://github.com/opendatahub-io/ai-edge/issues/92#issuecomment-1730352693 -- the gitops-update-pipelinerun-bike-rentals.yaml does not seem to be in no way dependent on the image existing and deployed, test-mlflow-rest-svc testing it, and this last pipeline using SHA256 of that tested container image.
Running that tekton/gitops-update-pipeline/example-pipelineruns/gitops-update-pipelinerun-bike-rentals.yaml should fail much sooner than in that open-pr task (https://github.com/opendatahub-io/ai-edge/issues/91) because there is nothing in this OCP / OpenDataHub / project that it should work on.

It seems that oc create -f tekton/azureml-container-pipeline/azureml-container-pipelinerun-bike-rentals.yaml need to be added to Deploy and run the build pipeline to also build the bike-rentals container.

It seems that oc create -f tekton/test-mlflow-image-pipeline/test-mlflow-image-pipelinerun-bike-rental.yaml need to be added to Deploy and run the test pipeline to also test and push the bike-rentals container image.

The README provides instructions using just the tensorflow-housing model for simplicity because the steps are the same for the bike-rentals model, this was how it was done in the original pipeline code README too: https://github.com/stefan-bergstein/azureml-model-to-edge/tree/dev#deploy-and-run-the-pipeline
The notes also mention "if using one of the provided PipelineRun files":
https://github.com/opendatahub-io/ai-edge/blob/d2972aba80644e750a28595524e20f86943f3912/pipelines/README.md?plain=1#L49-L50
This is also why the GitOps pipeline section mentions both models, since this is the only step where using multiple models might result in different steps for each one (in this case creating multiple different Git user files).
If you want, we can duplicate the oc commands in each of the sections to explicitly include the bike-rentals model or add a note at the top of the README e.g.

NOTE
The following instructions will assume you are using the tensorflow-housing model, the steps are the same for the bike-rental-auto-ml model (use the files ending in pipelinerun-bike-rentals.yaml).

Either will work.

https://github.com/opendatahub-io/ai-edge/pull/119 updates information about the test pipeline.


Improve Publishing docs

What
Ensure the high-level view of publishing is available in a more prominent place than the glossary.
Fix the section text in Manager/ManagerInterface (its a bit garbled and doesn't really tell the story very well)
Why
Its hard to understand "how publishing works" right now.

Duplicate of #1043