How to use this wrapper.

There is no information regarding how to use this wrapper. Could you update the readme please as I'd love to use this.

There is an example project, but sure I'll do so once I'm back from the holidays :)

Since it's after the holidays, could you elaborate on this project use? :)

@benehmb how would I be able to use this in a .NET Library? or would I ONLY be able to use this in a console application?

@WTFBlaze I am not sure, if i understand you right, but if I do so: You can just make your own solution with whatever project you want. Then right click on your solution add > add existing project. Then you need to select the "WindowsMediaControlle"-Project in your explorer.
After it is in your solution, you need to add a reference: Right click on references (inside of your Project) > add reference... > Projects > Solution. Then check the Checkbox for "WindowsMediaController" and you can use it in your Project.
I used in a WPF-Application (MediaControllUI) and it worked fine.

I appreciate the response. I'll give it a shot.

I know this is well close to a year, and I'm sorry for the delay, but I have done an overhaul with the project which includes a quick start in the ReadMe and includes a new sample to better see usage.


community partner page added

Added the community partner page and also added the route in the nav bar also

@Shu12388y, You wrote Community partner twice, one by text and another by the image.
and there is one more thing once I click on Community partners in the navbar, and later click any other thing, It's not functioning. Please work on that and then we will be good to go.

@yashpreet2707 Thanks for reviewing my code I will be working on the issue you mention


Server side check return false

Hi @alanning
I'm using this on react ssr
I do this check
Roles.userIsInRole(Meteor.user(), 'admin')
This returns true on clientside but false on server side.. Any thoughts ?

I'm having a similar issue, it seems? When the server does a hot reload a check fails on a page, but if I manually visit it the check succeeds. It's the exact same query (I've checked), but it returns no results in one case and returns the correct result in another? Could it have something to do with the state of the database while a hot code reload is happening?

I can't think of a case where client-side would give a positive result but server-side would fail.  Usually its the opposite due to the time it takes for data to get to the client.
What are the contents of the user record's roles field in the database?
Can you post a reproduction somewhere for me to dig in further?

I’m new to Meteor, but I will try to produce a reproduction for you. Thanks!

On Dec 13, 2015, at 9:23 PM, Adrian Lanning<EMAIL_ADDRESS>wrote:
I can't think of a case where client-side would give a positive result but server-side would fail. Usually its the opposite due to the time it takes for data to get to the client.
What are the contents of the user record's roles field in the database?
Can you post a reproduction somewhere for me to dig in further?
—
Reply to this email directly or view it on GitHub https://github.com/alanning/meteor-roles/issues/154#issuecomment-164237389.

Here’s a question — is this the wrong way of going about redirecting people if they shouldn’t have access to a certain template?
Router.route("/private", {
onBeforeAction: function() {
if (!Roles.userIsInRole(Meteor.userId(), "admin")) {
Router.go("/public");
} else {
this.next();
}
},
action: function () {
this.render("private");
}
});

On Dec 13, 2015, at 9:23 PM, Adrian Lanning<EMAIL_ADDRESS>wrote:
I can't think of a case where client-side would give a positive result but server-side would fail. Usually its the opposite due to the time it takes for data to get to the client.
What are the contents of the user record's roles field in the database?
Can you post a reproduction somewhere for me to dig in further?
—
Reply to this email directly or view it on GitHub https://github.com/alanning/meteor-roles/issues/154#issuecomment-164237389.

Is this the wrong way to go about redirecting users who try to access an invalid route with Iron Router? Perhaps this is the source of my problem?
Router.route("/private", {
  onBeforeAction: function() {
    if (!Roles.userIsInRole(Meteor.userId(), "admin")) {
      Router.go("/public");
    } else {
      this.next();
    }
  },
  action: function () {
    this.render("private");
  }
});

I think that should work if onBeforeAction is reactive but I haven't used that specific syntax before.  You can check out how I did it in this iron-router example:
https://github.com/alanning/meteor-roles/blob/master/examples/iron-router/client/routing.js
Better yet, you can avoid doing it in the routes entirely if you implement it like this example:
https://github.com/alanning/meteor-roles/tree/master/examples/flow-router-advanced
The neat thing about this pattern is that you can do it the same way whether you use IronRouter or FlowRouter.  It should make your app a lot easier to work with and refactor.

I think in my case it's some kind of race condition issue between client and server. It's funny: I was able to recreate it last night but not this morning. Then I added a delay function in the routing to the server and now it seems to display the odd behaviour again. I'll paste code below for you to try. What happens is that you're effectively unable to access the the "private" page. You get redirected to the public page even if you're supposed to have access. Try going to /private even when logged in as the admin user and it doesn't work.
My best guess is that the client attempts to process the routing first, but since the roles aren't published it redirects itself back to the public page. The server (assuming it runs later, which is why I added the manual delay) somehow doesn't redirect the client back to the private page even though it should have access. Does that make sense? Does it sound like what's happening?
repro.html
<body>
{{> loginButtons}}
</body>

public.html
<template name="public">
You're on a public page
</template>

private.html
<template name="private">
You're on a private page
</template>

repro.js
if (Meteor.isServer) {
  if (Meteor.users.find().count() <= 0) {
    Accounts.createUser({
      username: "nonadmin",
      email<EMAIL_ADDRESS>      password: "password"
    });
    var adminId = Accounts.createUser({
      username: "admin",
      email<EMAIL_ADDRESS>      password: "verysecret"
    });
    Roles.addUsersToRoles(adminId, "admin");
  }
}

Router.route("/public", function() {
  this.render("public");
});

Router.route("/private", {
  onBeforeAction: function() {

    // wait
    if (Meteor.isServer) {
      var Future = Npm.require('fibers/future');
      var future = new Future();
      Meteor.setTimeout(function() {
        future.return();
      }, 1000);
      future.wait();
    }

    if (!Roles.userIsInRole(Meteor.userId(), "admin")) {
      Router.go("/public");
    } else {
      this.next();
    }
  },
  action: function () {
    this.render("private");
  }
});

@aardvarkk Yes, it sounds like a race condition, not sure why its not re-running for you.
This is not the same thing as what @sahanDissanayake was reporting.  Please see my reply to your other posting which includes links to a presentation explaining what is happening and examples of how to avoid it: https://github.com/alanning/meteor-roles/issues/152#issuecomment-164235804
@sahanDissanayake I'm closing this issue for now but feel free to reopen if you can post a public repro or more info on the scenario you were seeing.

To follow up on this, my talk on FlowRouter Auth is now up on the Meteor YouTube channel:  https://www.youtube.com/watch?v=KK_ua6vxkP4


bayesdb-demo dies with "Missing application_id"

From Kevin Riggle:
I pip installed it and after a bit of fiddling making sure boost was
installed now have the kernel running.  Now bayesdb-demo dies on the
call to bayeslite.bayesdb_open with 'EnvironmentError: Missing
application_id in sqlite3' at line 125 in
~/bayeslite-virtualenv/lib/python2.7/site-packages/bayeslite/schema.py
This is Python 2.7.5 on OS X Mavericks.
(Full trace from the iPython Notebook below.)

Kevin

/Users/kriggle/bayeslite-virtualenv/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
EnvironmentError                          Traceback (most recent call last)
 in ()
6 # Load the satellites snapshot into a local instance of bayeslite
7
----> 8 satellites_bdb = bayeslite.bayesdb_open(pathname='satellites.bdb')
9
10 # Define a utility procedure to conveniently query satellites_bdb
/Users/kriggle/bayeslite-virtualenv/lib/python2.7/site-packages/bayeslite/bayesdb.pyc in bayesdb_open(pathname, builtin_metamodels, seed, version, compatible)
54         builtin_metamodels = True
55     bdb = BayesDB(bayesdb_open_cookie, pathname=pathname, seed=seed,
---> 56         version=version, compatible=compatible)
57     if builtin_metamodels:
58         metamodel.bayesdb_register_builtin_metamodels(bdb)
/Users/kriggle/bayeslite-virtualenv/lib/python2.7/site-packages/bayeslite/bayesdb.pyc in init(self, cookie, pathname, seed, version, compatible)
96         self._np_prng = numpy.random.RandomState(nprseed)
97         schema.bayesdb_install_schema(self.sqlite3, version=version,
---> 98             compatible=compatible)
99         bqlfn.bayesdb_install_bql(self.sqlite3, self)
100
/Users/kriggle/bayeslite-virtualenv/lib/python2.7/site-packages/bayeslite/schema.pyc in bayesdb_install_schema(db, version, compatible)
123         row = cursor.next()
124     except StopIteration:
--> 125         raise EnvironmentError('Missing application_id in sqlite3.')
126     else:
127         application_id = row[0]
EnvironmentError: Missing application_id in sqlite3.

Sounds like the version of sqlite3 on Mavericks is too old -- pre-3.7.17.  That's frustrating.
Aside: it sounds like we also can't rely on TLS via Python on that platform.

Another reason to switch to apsw (#92): I think it uses its own copy of sqlite3, so it may not rely on whatever OS X already has installed.

Yup.  Looks like:
$ sqlite3 --version
3.7.13 2012-07-17 17:46:21<PHONE_NUMBER>4e3acbced5a3e16793327f0a2f17bb
Excerpts from riastradh-probcomp's message of 2015-11-18 09:25:15 -0800:

Sounds like the version of sqlite3 on Mavericks is too old -- pre-3.7.17.  That's frustrating.
Aside: it sounds like we also can't rely on TLS via Python on that platform.

Reply to this email directly or view it on GitHub:
https://github.com/probcomp/bayeslite/issues/314#issuecomment-157786446

Blocked on #92.

This should be fixed now once we build a new OS X .app.

Confirmed that this worked in an 0.1.4 alpha build; closing unless we find out otherwise.


How to use Series Operations?

Hi Team,
For the doc:

If you combine two seriesSets with an operator (i.e. q(..) + q(..)), then operations are applied for each point in the series if there is a corresponding datapoint on the right hand side (RH). A corresponding datapoint is one which has the same timestamp (and normal group subset rules apply). If there is no corresponding datapoint on the left side, then the datapoint is dropped. This is a new feature as of 0.5.0.

So I'm wondering where can I test this feature? I try to put the expression

q("sum:rate{counter,,1}:web.nginx.feed.503", "1h", "")+q("sum:rate{counter,,1}:web.nginx.feed.499", "1h", "")

in the Expression tab of bosun web, but it says

expr: parse: type error in q("sum:rate{counter,,1}:web.nginx.feed.503", "1h", "") + q("sum:rate{counter,,1}:web.nginx.feed.499", "1h", ""): at least one side must be a number

Thanks for your great work!

First, make sure you are using 0.5.0 or greater version.

Actually only on master currently I think
On May 12, 2016 07:41, "Dima Medvedev"<EMAIL_ADDRESS>wrote:

First, make sure you are using 0.5.0 or greater version.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/bosun-monitor/bosun/issues/1730#issuecomment-218733084

Thanks! I build the master branch and it worked!
Will resolve this issue.


XGBoost in Spark "stops" for a couple hours, then continues

Spark version 2.2.0.
XGBoost version: 0.80-SNAPSHOT
Cluster with CentOS, 3 workers, 90 GB RAM.
Apparently, when training under Spark (Scala), I can see the Spark logs when each tree is fit, something like:
[14:20:03] /home/myuser/xgboost/src/tree/updater_prune.cc:74: tree pruning end, 1 roots, 38122 extra nodes, 0 pruned nodes, max_depth=15
I can see a new tree after every few seconds but at some point, sometimes after one hour or two, I see no new messages when refreshing the log. Then after two or three hours "in pause", the process continues and I can see new trees again added to the log. This does not always happen but it does happen quite often.
Is there any explanation for this?
Thanks
EDIT: I thought it could be related to memory space but it seems it is not as there's much free memory right now:

38122 extra nodes

This is a pretty huge decision tree are you sure that is what you want?

most of memory usage in training set is in native memory space, so it will not be displayed in Spark UI
if you are using YARN and you are sure that your on-heap space is lightly used, you can try to set spark.executor.memoryOverhead larger to allocate more for XGBoost

Hi all,
Thank for your answers. I am using Mesos actually. Following your suggestions, I just moved to a different configuration with just max depth 5 and a larger number of trees. Apparently it is now working well in one of the clusters, but I am getting an error in another cluster just at the beginning of the training,
java.lang.InterruptedException: ExecutorLost during XGBoost Training: ExecutorLostFailure (executor 0 exited caused by one of the running tasks) Reason: Remote RPC client disassociated
which is quite misterious but I guess is caused by some issue of bad configuration of number or workers or something like that.

could you take a thread dump for the container node which having active tasks to see whats going on?

any update on this?

any update on this? I have the same problem when I followed the tutorial https://xgboost.readthedocs.io/en/latest/jvm/xgboost4j_spark_tutorial.html

As I said, I fixed it by fitting 5-depth trees.
Later I also discovered that, when Mesos does not give my job the exact number of executors I want (despite setting SPARK_CORES_MAX and SPARK_EXECUTOR_CORES explicitly), the training part never starts because in those situations I get less executors than the number I passed as the N_WORKERS option. If both do not match, it remains running but doing nothing without showing a warning.
Moreover, the InterruptedException was caused (I think, it was some time ago already) by not setting the locale env variables to "en_US" in all the workers, which is something I have suffered from the beginning. Since I am using Spark Job Dispatcher in a production env, it was a bit tricky until I found out how to set them. I had already solved it in my devel environment without Mesos and Job Dispatcher, just plain spark-submit.

(Sorry for my double identity haha)
As I said, I fixed it by fitting 5-depth trees.
Later I also discovered that, when Mesos does not give my job the exact number of executors I want (despite setting SPARK_CORES_MAX and SPARK_EXECUTOR_CORES explicitly), the training part never starts because in those situations I get less executors than the number I passed as the N_WORKERS option. If both do not match, it remains running but doing nothing without showing a warning.
Moreover, the InterruptedException was caused (I think, it was some time ago already) by not setting the locale env variables to "en_US" in all the workers, which is something I have suffered from the beginning. Since I am using Spark Job Dispatcher in a production env, it was a bit tricky until I found out how to set them. I had already solved it in my devel environment without Mesos and Job Dispatcher, just plain spark-submit

I think the behavior @pvillacorta-stratio  mentioned is consistent in a YARN cluster: If a user requests more containers than are available the job will stall. I'm not sure if that should be considered a bug, since it's up to the YARN scheduler to find more containers, but it's sometimes unexpected behavior from the user perspective: They try to launch a job with X workers on a cluster that has less than X workers (common when first trying out distributed training on a test cluster) and the job never starts.
Ideally we'd like to have message of some kind to inform that not enough workers are available, but that is probably on the dmlc-core side.

please read https://xgboost.readthedocs.io/en/latest/jvm/xgboost4j_spark_tutorial.html#gang-scheduling

Thank you all for your answers. It was Mesos, not YARN, but yes that's the point. The job starts but there is a foreachPartition in which all tasks complete successfully except for the last K tasks, where K is the number of workers. It is in those last K tasks where the trees are fit to the data. Those K tasks never complete (never start) but no error is given.


CASMINST-3943: Update CSM health check troubleshooting information, specifically for issues related to unconfigured CLI

(cherry picked from commit 6c47c1ae81fd8f9028293e564442dafbd9e909ee)
Backport of https://github.com/Cray-HPE/docs-csm/pull/3205

/backport release/1.3


Files crash after selecting theme

Explain the bug
When selecting a theme, whatever it is, Files crashes.
To reproduce

Go to Settings
Click on Custom themes
Click on any theme
See the error

Expected behavior
Normally I should select the theme and Files won't crash.
Logfile
debug.log
debug_fulltrust.log
Screenshots
https://user-images.githubusercontent.com/78214358/126800136-8abf7e65-48e3-46f6-b49b-75cce814efb0.mp4
System Information

OS Version: Windows 10 Home
21H1
19043.1110
Windows Feature Experience Pack 120.2212.3530.0

App version: v<IP_ADDRESS>

I think one of the themes is broken. Could you try to remove all themes except for e.g. Acrylic and see if the app still crashes when you select it?

@gave92 Could you indicate where the themes are located? It's just that I can't find...

%localappdata%\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState\Themes

Well... it's just that I don't have any in this folder... Is it normal not to have any?

@yaichenbaum what folder are themes in?

Themes from the optional themes package won't show up in the normal folder. The themes in that package are located here.

So @esibruti could try to uninstall the optional package and manually add one of those themes to the folder right?

@gave92 I installed the extension that is available in the Store. But I will do this, I will install one of them manually like you said

@gave92 I just now put a theme to choose from and no longer the problem. After all, is the problem of extension?

I think it may be just one or some of the themes which causes the issue, what happens if you put all themes listed there in the themes folder?

Happens the same to me. Maybe I should reinstall the extension?
Using Windows 11.

I think it may be just one or some of the themes which causes the issue, what happens if you put all themes listed there in the themes folder?

@gave92 I put all the themes and what happens? Crash Files

Black Pixel.xaml

@gave92 do you know which value in the theme is causing the issue?

<<Color x:Key="SolidBackgroundFillColorBase">#181818</Color>
See the double "<"

And Middle Blue

@gave92 @yaichenbaum It´s Black Pixel.xaml and Middle Blue.xaml

Funny, Middle Blue.xaml works ok for me (after removing Black Pixel.xaml )

Funny that I didn't have Black Pixel.xaml in the folder and Middle Blue.xaml didn't work

I updated the theme extension to fix the issue.

Is the update available now?

It'll be available in around an hour.

I selected the Acrylic one and it crashed, but the theme was correctly applied after opening it again.

I selected the Acrylic one and it crashed, but the theme was correctly applied after opening it again.
Same with other themes...

Don't worry, in a few hours, there will be an update for the extension of themes that will solve these problems.

I had to uninstall the plugin, since now the app doesn't open after a theme change.

I had to uninstall the plugin, since now the app doesn't open after a theme change.

@edge261 Have you tried reinstalling Files?

I had to uninstall the plugin, since now the app doesn't open after a theme change.

I have also recently encountered the same issue, deleting the Black Pixel.xaml file helps me solve this issue.

I had to uninstall the plugin, since now the app doesn't open after a theme change.

@edge261 Have you tried reinstalling Files?

I did. Happens the same...


ExampleData class: get model-specialized example records

Summary of new feature
Currentry, ExampleData class returns JHU-type records (Confirmed, Infected, Recovered, Fatal) and non-dimensional reords (x, y, z...). It will helpful if we can get ODE model-specialized records.
eg. Susceptible, Infected, Recovered, Fatal and Vaccinated for SIR-FV model.
Solution
Prepare ExampleData.specialized() method to return model-specialized records.

New method ExampleData.specialized() will be included in version 2.6.0-kappa.
Documentation will be in https://lisphilar.github.io/covid19-sir/usage_theoretical.html


texturemipmapgen: using a non-uniform descriptor set indexing, not checking if supported

From shaders/glsl/texturemipmapgen:
#version 450

layout (set = 0, binding = 1) uniform texture2D textureColor;
layout (set = 0, binding = 2) uniform sampler samplers[3];

layout (location = 0) in vec2 inUV;
layout (location = 1) in float inLodBias;
layout (location = 2) flat in int inSamplerIndex;
layout (location = 3) in vec3 inNormal;
layout (location = 4) in vec3 inViewVec;
layout (location = 5) in vec3 inLightVec;

layout (location = 0) out vec4 outFragColor;

void main()
{
	vec4 color = texture(sampler2D(textureColor, samplers[inSamplerIndex]), inUV, inLodBias);

	vec3 N = normalize(inNormal);
	vec3 L = normalize(inLightVec);
	vec3 V = normalize(inViewVec);
	vec3 R = reflect(L, N);
	vec3 diffuse = max(dot(N, L), 0.65) * vec3(1.0);
	float specular = pow(max(dot(R, V), 0.0), 16.0) * color.a;
	outFragColor = vec4(diffuse * color.rgb + specular, 1.0);
}

Specifically this line:
	vec4 color = texture(sampler2D(textureColor, samplers[inSamplerIndex]), inUV, inLodBias);
Being inSamplerIndex:
layout (location = 2) flat in int inSamplerIndex;
This descriptor indexing requires the feature shaderSampledImageArrayNonUniformIndexing. But the test is not checking for this feature, so this causes crashes on drivers not supporting the feature, like the Mesa Vulkan driver for the rpi4 (v3dv).

Instead of passing the samplerIndex from the VS to the FS, the FS now reads it from the ubo, making it dynamically uniform.

Instead of passing the samplerIndex from the VS to the FS, the FS now reads it from the ubo, making it dynamically uniform

Just tested, and now texturemipmapgen works fine with rpi4 and v3dv. Thanks!


[FLINK-12928][docs] Remove old Flink ML docs

What is the purpose of the change
The old Flink ML library has been removed so we should also remove the documentation. Existing users can use documentation from a prior version.
Brief change log

Remove Old FlinkML docs and set up proper redirects

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.

cc @rmetzger

The old flink-ml library totally still exists: https://github.com/apache/flink/tree/master/flink-libraries/flink-ml, #8526 has not been merged yet.

Well this is embarrassing, closing.

@sjwiesman #8526 is closed, let us move onto this PR. @c4emmmm please also take some time to review this PR. Thanks.

@shaoxuan-wang +1
I did a quick grep and believe I've removed all remnants of FlinkML from the docs.

The changes look good to me. @shaoxuan-wang

If there aren't any issues it would be great to have this merged into the 1.9 branch so that the docs reflect the state of that release.

@shaoxuan-wang @fhueske If there aren't any issues I believe it is really important to get this merged in and backported to the release-1.9 branch

Thanks, @sjwiesman will merge this...


https not installed

Checklist

[x] I've searched for similar issues.
[x] I'm using the latest version of HTTPie.

Minimal reproduction code and steps

WSL on windows 11 (Ubuntu 20.04)
sudo apt install httpie
3 httpie.io/hello (as per example)

Current result
Command 'https' not found, did you mean:

  command 'http' from deb httpie (1.0.3-2)

Try: sudo apt install <deb name>

Expected result
works

Debug output
Please re-run the command with --debug, then copy the entire command & output and paste both below:
$ http --debug <COMPLETE ARGUMENT LIST THAT TRIGGERS THE ERROR>
<COMPLETE OUTPUT>

Additional information, screenshots, or code examples
…

Unfortunately the current version in the APT is pretty old. We are currently working on the debian packages, but in the meanwhile I can offer our experimental packages:
$ curl -SsL https://packages.httpie.io/deb/KEY.gpg | apt-key add -
$ curl -SsL -o /etc/apt/sources.list.d/httpie.list https://packages.httpie.io/deb/httpie.list
$ apt update
$ apt install httpie

We'll update the official instructions before the next release.

Thank you for the fast response.
It's interesting that that single example uses https, and before it is mentioned.


remove duplicate of PATH environment variable on Windows

What:
Issue #216

Why:
On Windows operating systems, environment variables are case-insensitive.
However, if when you spawn a new process and pass the env with two variables (PATH and Path), in this new process process.env will contains both variables, and this breaks the subsequent logic.
Npm has logic to set both Path and PATH (if exist) variables on Windows, and by default used Path on Windows.
But if I use cgwin terminal on Windows for example, process.env contains PATH.

How:
I add patchPathEnv.js
function patchPathEnv(env) {
  if (isWindows() && env.Path && env.PATH) {
    delete env.Path
  }
}

remove duplicate variable if both exists.

Checklist:

[N/A] Documentation
[ x] Tests
[ x] Ready to be merged

https://github.com/kentcdodds/cross-env/issues/257


w-dialog not closing sometimes and gets stuck in open mode

I'm kinda in a weird situation currently. The w-dialog does not close sometimes. If you click a certain amount or click at a certain speed it won't emit a close event.
I'm not sure if this is in vue 2. but it's definitely in vue 3. i've also noticed the issue on the documentation page. especially the first 'open dialog' button.
https://antoniandre.github.io/wave-ui/w-dialog
The gif i've attached, I spammed actually outside when it got stuck and it didn't emit any close event.

I've had the same issue when rapidly opening and closing a dialog programmatically. It seems to get confused and be half open, half closed.

Hi @welpie21, @luc122c,
Thanks for reporting. This is now fixed in version 2.36.0 and 1.53.0 (legacy).
Please reopen if not solved :)


Remove unnecessary error message when cocopods is not available

ref: https://github.com/flutter/flutter/issues/12557
As the original issue says, I thought the error message is not necessary in the case.
I thought it's okay to remove because this test case assures. But if it's better to change the error message instead of removing, please tell me.

Thanks for your contribution!
Ya, I think it's safe. We had it there originally in case it somehow built without the cocoapods dependencies but the way it's wired up currently, it should never be possible to successfully build at all without cocoapods so this error is superfluous.

Thanks for review!


[BugFix] fix Column::element_memory_usage

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[x] 2.4
[x] 2.3
[x] 2.2

run starrocks_admit_test

run starrocks_be_unittest

run starrocks_admit_test

run starrocks_admit_test

run starrocks_be_unittest

run starrocks_be_unittest

run starrocks_admit_test

@Mergifyio backport branch-2.3

@Mergifyio backport branch-2.2

run starrocks_admit_test


Use token-endpoint instead of issuer for oauth2 authorization

Checklist

[X] I agree to the terms within the OpenFGA Code of Conduct.

Describe the problem you'd like to have solved
Some IdPs do not use /oauth/token as a suffix for an oauth2 (not oauth!) token exchange.
Entra-id for example uses /oauth2/v2.0/token even though the old /oauth/token endpoint is still supported for backwards compatibility.
We currently cannot specify these endpoint as the suffix is hard coded:
https://github.com/openfga/python-sdk/blob/41d5c1b07afd405d00d1c6155a9e8e2906b65bf0/openfga_sdk/oauth2.py#L73
Describe the ideal solution
Use either a /.well-known/openid-configuration to determine the token endpoint, or, maybe easier, allow users to specify the token endpoint directly (without suffixing it in the code snippet above).
Alternatives and current workarounds
Switch IdP - bad idea :)
References
No response
Additional context
No response

We have an issue tracking this here: https://github.com/openfga/sdk-generator/issues/238
If the plan described there is appropriate for you, let us know so that we can update the issue here

Hey @rhamzeh @c-thiel , could this issue be assigned to me? I am thinking of implementing dynamic discovery

The only way this can be properly solved is to use the well known endpoint of the IDP in question, to correctly discover endpoints for the issuer and token, etc. The current implementation doesn't work for Entra ID, nor Amazon Cognito for example, for different reasons.
Additionally, the reliance on audience for OIDC client credentials auth doesn't work for Amazon Cognito (as far as I can tell) as it doesn't appear to support audience and there is no claim for it an access token.


Filter out eol versions when running scheduled-jobs

To mark a version eol we have 2 places, one is our group.yml config and another
is ocp4Versions constant in this repo. We have marking version as eol in config, but
jobs still run for all versions in ocp4Versions. This is so that we filter these eol versions
out.
Test:
https://art-jenkins.apps.prod-stable-spoke1-dc-iad2.itup.redhat.com/job/hack/job/sidsharm-aos-cd-jobs/job/build%252Focp4_scan/17/console

https://github.com/openshift-eng/art-docs/pull/173


Only store the TaskRun.Status for Tekton payload types.

This prevents infinite cycles - storing the metadata can mutate the payload itself.

/lgtm

/approve


error in response_body for s3 uploads using json encoder

I'm following https://github.com/tensorlakeai/indexify/blob/main/examples/readme/readme_example.py excpet that I'm I set encoder="json" in ever function .
When I run it I get
{"timestamp":"2024-11-18T07:57:14.465179Z","level":"INFO","message":"Checking for error in response_body: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<CompleteMultipartUploadResult xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"><Location>https://s3.us-east-1.amazonaws.com/indexify_bucket/afa2c059-7e42-4f3a-8e62-</Location><Bucket>indexify_bucket</Bucket><Key>afa2c059-7e42-4f3a</Key><ETag>\"a11d6ef96cf2fa93a2d521b31d1ce2c8-1\"</ETag></CompleteMultipartUploadResult>","target":"object_store::client::retry","span":{"matched_path":"/namespaces/:namespace/compute_graphs/:compute_graph/invoke_object","method":"POST","uri":"/namespaces/default/compute_graphs/sequence_summer/invoke_object?block_until_finish=true","name":"request"}}

And the task is hanged up there .
My environment
I used k8s to deploy the indexify-server and executor with values.yaml
blobStore:
  allowHTTP: true
    #endpoint: http://blob-store:9000
  credentialSecret: blob-creds
  config:
    backend: s3
    path: s3://indexify_bucket
    dynamodb_table: graph_ctx
    s3:
      bucket: indexify_bucket
      region: us-east-1
      accessKey: 123
      secretKey: 123

And used indexify version
Version: 0.2.29

/assign

The uploads to s3 increases latency and I was running into timeouts . Increasing timeouts was the workaround

Thanks for reporting this.
More info:
When uploading large fields or lots of different function outcomes, the executor's Task Report can be stuck in a retry loop that will never succeed.
Error seen:
task-reporter failed to report task outcome timed out.

╭──────────────────────────────────── Reporting Error ─────────────────────────────────────╮
│ Failed to report task 902492df-006e-4c63-8c2d-660101f7f12e                               │
│ Exception:timed out   Retrying...                                                        │
╰──────────────────────────────────────────────────────────────────────────────────────────╯

Reopening to also track the invocation aspect that this ticket mentioned.


Corrections to timestamps of various videos

Since issue Mistakes and typos in Julia YT video's timestamps #106 is already very long, I believe that opening another with proposition of corrections of miscellaneous timestamps is a good idea. Hopeful I'm not wrong.
Package development: improving engineering quality & latency | Workshop | JuliaCon 2021, https://www.youtube.com/watch?v=wXRMwJdEjX4
Division of progress bar (?) in chapter doesn't work. I believe changing

0:20 Julia internals: compiler specialization, dispatch, backedges, invalidation, precompilation
31:50 Catching errors and inference failures with JET

to

00:00 Welcome!
00:20 Julia internals: compiler specialization, dispatch, backedges, invalidation, precompilation
31:50 Catching errors and inference failures with JET

will solve the problem.

Fixed this, thanks!


HTTP 500 is thrown when documentation markdown is > 8000 characters

Go to a package you own
Edit package
Provide a URL to a GitHub markdown document that is longer than 8000

example: https://raw.githubusercontent.com/adam-p/markdown-here/master/README.md

Submit

@joelverhagen Customer reported this issue... if you have suggestion for upper limit, maybe comment on the other thread?
see: https://github.com/NuGet/NuGetGallery/issues/5682

Returns 400 now.


Pressing tab key to select suggestion and continue with more suggestions doesn't work anymore

Before #212, the Tab key could be used to select a partial suggestion and then continue with more suggestions.
Now it just does the same thing as Enter (select suggestion and close menu) instead of showing a new menu with sub-suggestions.
How can I get back the old behavior?
Thanks.

It is intended behavior. If you need old behavior, revert d5e5aea4c3113a036d5e1069b96a3c13ce992ff2 by yourself


feat: eneble parallel testing on a custom collection

Enable running tests in a single custom collection in parallel.

I realize that this will brake current implementations where people run custom collections in sequence.
I can edit the code to have that behavior set as default.

@meziantou thanks for the suggestion. I've renamed as you requested.


updated code new conditions/limits

Added if then statement to show if new detection condition names or detection quantitation limit types are identified from merged_results and detquantlim.

I'm getting numeric factor levels printed when new combinations are present. Looks to be due to cbind (lines 88 & 116) which coerces to matrix.
Is that what you were trying to account for by setting stringsAsFactors=F? I think just using data.frame instead of cbind would do the trick. I don't think stringsAsFactors should matter either way in this case (since we're using merge to add levels instead of manually adding).

Ahh... I modeled it after the "WARNING: New site type(s) encountered" code in autoValidateWQPsites function. Yes, I did add the stringsAsFactors=F to try to deal with the numeric issue.

Looks good. Nice work.

Yay! I'm glad it was a simple fix.


I'm having a similar issue, but it only seems to happen when I have a ListBox bound to to a collection of ObservableCollection<string>, and I add strings with identical content.

I'm having a similar issue, but it only seems to happen when I have a ListBox bound to to a collection of ObservableCollection<string>, and I add strings with identical content.
            <ListBox AutoScrollToSelectedItem="True"
                   Grid.Row="1"
                   ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                   SelectedIndex="{Binding SIndex}"
                   Items="{Binding LogItems}">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding .}" TextWrapping="Wrap" />
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>

        private ObservableCollection<string> LogItems { get; } = new ObservableCollection<string>();

        private int _sIndex;
        public int SIndex {
            get { return _sIndex; }
            set { this.RaiseAndSetIfChanged(ref _sIndex, value); }
        }

        public void Log(string s) {
            var lines = s.Split('\n');
            foreach (var line in lines) {
                if (!string.IsNullOrWhiteSpace(line)) {
                    LogItems.Add($"{DateTime.Now.ToString("HH:mm tt")}: {line}");
                    SIndex = LogItems.Count - 1;
                }
            }
        }

Originally posted by @lenonk in https://github.com/AvaloniaUI/Avalonia/issues/2569#issuecomment-560158377

This was fixed. Otherwise, can you provide MCVE?

Closing as should be fixed, and no update.


Update to forceLogin

Simply put as me and @schmavery have found the forceLogin is out of date. I'll look into any possible fixes as accepting login checks automatically is a great benefit

Just a note that we're not interested in trying to automate any mechanisms facebook is using to attempt to detect whether a human is logging in.  Defeating captchas and the like is an explicit non-goal of the api at this time.

It doesn't involve capachas

How are folks currently authenticating if they have two-factor enabled?
I'm getting
{ error: 'Error retrieving userID. This can be caused by a lot of things, including getting blocked by Facebook for logging in from an unknown location. Try logging in with a browser to verify.' }

with pulling a new AppState with the code below
var login = require("facebook-chat-api");
var fs = require('fs');
var prompt = require('prompt');
var readline = require("readline");

prompt.start();
prompt.get([{name: 'email', required: true}, { name:'password', hidden: true, required: true}], function (err, result) {
  var email = result.email;
  var password = result.password;
  var appStateFile = '/appstate.json'

  console.log('generating new appstate')

  var rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
  });

  login({email: email, password: password}, {forceLogin: true}, function callback (err, api) {
    if(err) {
      switch (err.error) {
        case 'login-approval':
          console.log('Enter code > ');
          rl.on('line', (line) => {
            err.continue(line);
            rl.close();
          });
          break;
        default:
          console.error(err);
      }
        return;
      }
      fs.writeFileSync(appStateFile, JSON.stringify(api.getAppState()));
  });
});

@RandallKent I don't think this is related to forceLogin.  The 2fa system can be a little flaky so there may be some new issue that needs to be diagnosed.
The original issue tracking this, https://github.com/Schmavery/facebook-chat-api/issues/139, had someone say it was working for them, but that wasn't confirmed by anyone else.  If you want to give a detailed description of your experience with this there, that would be helpful.  Thanks! :)

I'm going to close this to avoid confusing people.  I will accept any PR that is an extremely simple bypass of a login confirmation page or an update to the docs explaining that force_login will explicitly not handle all cases.


ardour_7: fix build with Python 3.12

Description of changes
This kept breaking in my FFmpeg 4 upgrade reviews and it annoyed me.
@ctem @magnetophon This has been broken for two months now and nobody seems to have noticed enough to complain. Ardour 8 has been the default for two releases now, and Ardour 7 is still around in 24.05, so users that value stability have some four more months for Ardour 8 to bake before they’ll have to migrate to the 24.11 stable release. Do you still want to keep this package around or do you think Ardour 8 has proven its stability by now? The burden of a copy‐pasted package with no upstream maintenance is not ideal in my opinion, so given that it seems that nobody on unstable was actually using this version I’d personally prefer to drop it instead.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Sure, that seems reasonable to me. If Ardour releases are buggy enough for long enough that the plan is to ship multiple major versions long‐term, I would suggest deduplicating the expressions into one file with versionAtLeast/versionOlder conditionals to make them easier to maintain, as a substantial portion of the expressions are shared. That will help avoid drift and keep both of them building (although in this case the backport would still have been required). (Feel free to tag me for review if you do that, but no pressure if you don’t have the time or inclination!)

P.S. Your studio looks beautiful!

Thank you!


Math Operations with Multi-value References is Not Correctly Calculated

Is your feature request related to a problem? Please describe.
Using operations with multi-value references does not work as expected. In the following used-case, it is displayed as resolved but when applied in Figma, the padding values are the same as the user's global size global.fontSize - 14.

The following: "{global.fontSize}*1.25 {global.fontSize}*1.25" does pick up the reference, but does not perform the calculations, and instead sticks to 14 (which is my global.fontSize).

Describe the solution you'd like
Allow for the correct calculation when using operations with multi-value references.
Does not work:

Singular works:

Experiencing the same issue; it limits the the use of more complex tokens.

@surfinzap we could potentially fix this by modifying the delimiter to treat spaces as delimiters, but this could potentially disrupt existing user code, which will break functionality for users who rely on the current behavior. The workaround available for users is to create a separate token for each. We will conclude this as a limitation.

@keeganedwin, that's a rather big limitation, making large projects less maintainable. Since I cannot use complex calculations, I need to maintain moat variables just for the sake of calculation. Is there any other solution? e.g. adopting brackets as delimiters?

@keeganedwin, that's a rather big limitation, making large projects less maintainable. Since I cannot use complex calculations, I need to maintain moat variables just for the sake of calculation. Is there any other solution? e.g. adopting brackets as delimiters?

@six7

@keeganedwin, that's a rather big limitation, making large projects less maintainable. Since I cannot use complex calculations, I need to maintain moat variables just for the sake of calculation. Is there any other solution? e.g. adopting brackets as delimiters?

Not alternative so far, no. We don't have it on our roadmap, but we'll add it to featurebase and see if there's much desire for it - @keeganedwin will link that one here

Migrated to Featurebase


Fix duplicate fetch requests in collections view more button

Description
An oversight in the logic determining whether or not there are more collections to be fetched was leading to more network requests than were needed. This fixes the logic and causes only one request per view-more click to be fired, as well as firing only a single request on the load of the collection form.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Load the collection form page and view the network tab to ensure only a single request is sent to the "list collections" endpoint. Click the view more button multiple times, and ensure that each click only results in a single request.

Current dependencies on/for this PR:

master

PR #3868   👈

This comment was auto-generated by Graphite.

/retest-required


Hypothetical Design

I'll start w/ just iOS ARKit face tracking with blendshapes and maybe transforms.
I refuse to touch a mesh at any point, I just want to input a few frames of a consistent character emotions and implement some interpolation between the frames - most likely movement based on some emotion predictor + audio.
I'm surprised more people don't focus on implementing an expressive idle state (real people sitting on a chair are never doing anything interesting)

Trying out WebGPU, I think it can actually be a valid option because then you get an outlet for websockets for free, OBS browser media source (gets around the frozen backgrounded app problem)

New idea: training personalized blendshape vectors -> expression model
(i.e. attach png drawings of expressions to some vectors in latent space + search)


Numbers in JSON result in reboot

␛[0;32mI (70039) MQTT: MQTT_EVENT_DATA␛[0m
assertion "IsString()" failed: file "/Users/sierenmusic/Development/HomeControl/main/libraries/rapidjson/include/rapidjson/document.h", line 1773, function: const Ch* rapidjson::GenericValue<Encoding, Allocator>::GetString() const [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericValue<Encoding, Allocator>::Ch = char]
abort() was called at PC 0x40189b03 on core 0

ELF file SHA256: 18faed4d03d75adc

Backtrace: 0x4008685c:0x3ffd2460 0x40086c35:0x3ffd2480 0x40189b03:0x3ffd24a0 0x400ddaa0:0x3ffd24d0 0x400e008f:0x3ffd24f0 0x400e016d:0x3ffd2690 0x400e0279:0x3ffd2720 0x400e02f7:0x3ffd2790 0x400dda7d:0x3ffd27c0 0x400ddc51:0x3ffd27f0 0x400ddc89:0x3ffd2810 0x4011a1ea:0x3ffd2830 0x4011aac8:0x3ffd2850

Rebooting...

config:
    "name": "Temperatur b",
    "type": "Sensor",
    "icon": "door",
    "devices": [{
      "name": "Temp b",
      "type": "singleValue",
      "jsondata": true,
      "firstIcon": "temperature_small",
      "firstKey": "val",
      "getTopic": "hm/status/Wandthermostat:2/ACTUAL_TEMPERATURE"
    },

mqtt-payload:
{
  "val":3.1,
   "ts":1608319032692,
  "lc":1608306604934
}

Thanks, that should not happen / it should accept all types in JSON.
I'll fix this soon.

Thanks, that should not happen / it should accept all types in JSON.
I'll fix this soon.

Which version were you running? And if so, can you give these binaries a try?
homepoint_release.zip

Which version were you running? And if so, can you give these binaries a try?
homepoint_release.zip

Sorry I do not have the hardware anymore to run the tests

Sorry I do not have the hardware anymore to run the tests

Hi' @sieren
I have (out of curiosity) tested with a text string as JSON attribute (ON or OFF) to be read.
This also crashes and force Homepoint to reboot.
Probably identical issue.
I run the 'September special' m5stack_full.bin version.
Ciao !

Hi' @sieren
Just downloaded and retested with Hp v0.05 (ESP_generic) and no crashes now reading non numerical JSON attributes 🙂🎉👍
Can read the state for eg. a light entity or whatever and it turns up nicely on the display.
One issue though:
In one of my tests I wanted to read the state of a light entity.
state attribute is returned, but its not the correct state attribute that is shown on the display.
Displayed state attribute is found one level down in JSON string.
The returned attribute is the state for update key which is idle.
The expected state attribute shown is ON
{"brightness":251,
"color":{"x":0.491,"y":0.39},
"linkquality":110,
"state":"ON",
"update":{"state":"idle"},
"update_available":false}

{
    "name": "Test json data",
    "type": "Sensor",
    "icon": "door",
    "devices": [{
      "name": "test",
      "type": "singleValue",
      "firstIcon":"wattage_small",
      "jsondata": true,
      "firstKey": "state",
      "getTopic": "zigbee2mqtt/Office desk lamp"
    }]
  }

Also tested with a boolean attribute returned.
Homepoint didn't crash but just shows 0.0 for both true and false attributes.
{"battery":100,
"illuminance":24,
"illuminance_lux":24,
"linkquality":55,
"occupancy":true,
"voltage":3005}

{
    "name": "Test json data boolean attribute",
    "type": "Sensor",
    "icon": "door",
    "devices": [{
      "name": "test",
      "type": "singleValue",
      "firstIcon":"wattage_small",
      "jsondata": true,
      "firstKey": "occupancy",
      "getTopic": "zigbee2mqtt/Office"
    }]
  }

Ciao !

Hi' @sieren
Just downloaded and retested with Hp v0.05 (ESP_generic) and no crashes now reading non numerical JSON attributes 🙂🎉👍
Can read the state for eg. a light entity or whatever and it turns up nicely on the display.
One issue though:
In one of my tests I wanted to read the state of a light entity.
state attribute is returned, but its not the correct state attribute that is shown on the display.
Displayed state attribute is found one level down in JSON string.
The returned attribute is the state for update key which is idle.
The expected state attribute shown is ON
{"brightness":251,
"color":{"x":0.491,"y":0.39},
"linkquality":110,
"state":"ON",
"update":{"state":"idle"},
"update_available":false}

{
    "name": "Test json data",
    "type": "Sensor",
    "icon": "door",
    "devices": [{
      "name": "test",
      "type": "singleValue",
      "firstIcon":"wattage_small",
      "jsondata": true,
      "firstKey": "state",
      "getTopic": "zigbee2mqtt/Office desk lamp"
    }]
  }

Also tested with a boolean attribute returned.
Homepoint didn't crash but just shows 0.0 for both true and false attributes.
{"battery":100,
"illuminance":24,
"illuminance_lux":24,
"linkquality":55,
"occupancy":true,
"voltage":3005}

{
    "name": "Test json data boolean attribute",
    "type": "Sensor",
    "icon": "door",
    "devices": [{
      "name": "test",
      "type": "singleValue",
      "firstIcon":"wattage_small",
      "jsondata": true,
      "firstKey": "occupancy",
      "getTopic": "zigbee2mqtt/Office"
    }]
  }

Ciao !

I'll look into it :)

I'll look into it :)

I think you've found a bug. Can you verify by updating your firmware with the OTA part (or flash from the ground up) ?
Attached a build to test.
homepoint_release.zip

I think you've found a bug. Can you verify by updating your firmware with the OTA part (or flash from the ground up) ?
Attached a build to test.
homepoint_release.zip

Hi' @sieren
Just made a quick test on the M5stack using OTA file.(last tests was made with the ESP_generic files)
Didn't know what to check for - so I tested for both issues reported :-)
Still crashes reading a true or false boolean value from occupancy json key.
If i send a non valid boolean [truuuuue or falllse] or whatever it does crash. So json key is parsed by HomePoint for sure.
Retested on 'standard' v0.05 and found that it also crashed on M5_stack_OTA ?
It didn't crash yesterday testing with ESP32_generic v0.0.5.  Very strange...
state attribute read is also unchanged. Still shows idle attribute from update: {"state":} json key and not the expected ON attribute.
MQTT publish: topic 'zigbee2mqtt/Office desk lamp', payload '{"brightness":227,"color_temp":370,"linkquality":92,"state":"ON","update":{"state":"idle"},"update_available":false}'
Should I retest using the ESP32_generic files or are you confident that outcome should be identical ?
Ciao !

Hi' @sieren
Just made a quick test on the M5stack using OTA file.(last tests was made with the ESP_generic files)
Didn't know what to check for - so I tested for both issues reported :-)
Still crashes reading a true or false boolean value from occupancy json key.
If i send a non valid boolean [truuuuue or falllse] or whatever it does crash. So json key is parsed by HomePoint for sure.
Retested on 'standard' v0.05 and found that it also crashed on M5_stack_OTA ?
It didn't crash yesterday testing with ESP32_generic v0.0.5.  Very strange...
state attribute read is also unchanged. Still shows idle attribute from update: {"state":} json key and not the expected ON attribute.
MQTT publish: topic 'zigbee2mqtt/Office desk lamp', payload '{"brightness":227,"color_temp":370,"linkquality":92,"state":"ON","update":{"state":"idle"},"update_available":false}'
Should I retest using the ESP32_generic files or are you confident that outcome should be identical ?
Ciao !

Oh boy, yeah, apparently the M5Stack build failed after the build script refactoring in https://github.com/sieren/Homepoint/pull/132
Here's another build, this time specifically test for these two issues:
a) Should display "true" or "false" instead of crashing when a bool value is retrieved
b) Top level "state" key should be displayed
homepoint_release.zip

Oh boy, yeah, apparently the M5Stack build failed after the build script refactoring in https://github.com/sieren/Homepoint/pull/132
Here's another build, this time specifically test for these two issues:
a) Should display "true" or "false" instead of crashing when a bool value is retrieved
b) Top level "state" key should be displayed
homepoint_release.zip

Hi' @sieren
That was a quick fix ! 😁
Nothing much to say than both issues are now solved 👍
Issue a)
true or false displayed ✔
Issue b)
Top level JSON key is displayed (ON or OFF for that specific state) ✔
Regarding issue b)
It could be nice  to be able to specify a nested JSON key attribute to be retrieved by adding the full path.
I have some sensors that provide nested JSON attributes with identical key names.
It's quite typical for combines temp/hum/pres sensors I believe.
I've no idea about what the syntax should be or what parsing capabilities you actually have in HomePoint ?
(Not really into nested JSON's 😉)
e.g.
{
    "name": "Test json data",
    "type": "Sensor",
    "icon": "door",
    "devices": [{
      "name": "test",
      "type": "singleValue",
      "firstIcon":"wattage_small",
      "jsondata": true,
      "firstKey":  "\"update\":{\"state\"}",
      "getTopic": "zigbee2mqtt/Office desk lamp"
    }]
  }

Thank you, Matt.
Much appreciated 🙋♂
Ciao !

Hi' @sieren
That was a quick fix ! 😁
Nothing much to say than both issues are now solved 👍
Issue a)
true or false displayed ✔
Issue b)
Top level JSON key is displayed (ON or OFF for that specific state) ✔
Regarding issue b)
It could be nice  to be able to specify a nested JSON key attribute to be retrieved by adding the full path.
I have some sensors that provide nested JSON attributes with identical key names.
It's quite typical for combines temp/hum/pres sensors I believe.
I've no idea about what the syntax should be or what parsing capabilities you actually have in HomePoint ?
(Not really into nested JSON's 😉)
e.g.
{
    "name": "Test json data",
    "type": "Sensor",
    "icon": "door",
    "devices": [{
      "name": "test",
      "type": "singleValue",
      "firstIcon":"wattage_small",
      "jsondata": true,
      "firstKey":  "\"update\":{\"state\"}",
      "getTopic": "zigbee2mqtt/Office desk lamp"
    }]
  }

Thank you, Matt.
Much appreciated 🙋♂
Ciao !

Can you provide me an example of the JSON Data there?

Can you provide me an example of the JSON Data there?

Hi' @sieren
Sure thing 👍
I have several sensors that use nested JSON's. I'm afraid that it's quite common.
Outdoor lux sensor:
{"Time":"2021-01-13T14:39:33","BH1750":{"Illuminance":421}}

Greenhouse temp/hum/press. sensor:
{"Time":"2021-01-13T14:37:30","SI7021":{"Temperature":3.4,"Humidity":96.8,"DewPoint":2.9},"BMP280":{"Temperature":4.1,"Pressure":996.3},"PressureUnit":"hPa","TempUnit":"C"}}

I have no issue with these at the moment.
I can always send the needed data from Home Assistant via MQTT if needed.
I agree that the Z2M /HA stuff is much more interesting for other users than me 😉👍
CIao !

Hi' @sieren
Sure thing 👍
I have several sensors that use nested JSON's. I'm afraid that it's quite common.
Outdoor lux sensor:
{"Time":"2021-01-13T14:39:33","BH1750":{"Illuminance":421}}

Greenhouse temp/hum/press. sensor:
{"Time":"2021-01-13T14:37:30","SI7021":{"Temperature":3.4,"Humidity":96.8,"DewPoint":2.9},"BMP280":{"Temperature":4.1,"Pressure":996.3},"PressureUnit":"hPa","TempUnit":"C"}}

I have no issue with these at the moment.
I can always send the needed data from Home Assistant via MQTT if needed.
I agree that the Z2M /HA stuff is much more interesting for other users than me 😉👍
CIao !


Sync Community Team to CODEOWNERS

Hi! You might want to update your CODEOWNERS file.

@zackkrida this removed you from the codeowners (the PR was a result of automation), you might want to add yourself back.

@zackkrida actually it didn't remove you, the CODEOWNERS file in this repo was in a non-standard location (the repo root). you probably want to delete that one and add yourself to codeowners here.

PR to fix issue here: https://github.com/creativecommons/cccatalog-frontend/pull/1158


Various simplifications to the parser

Refactor the parser:

some important simplifications: remove only_core_type trick, simpler treatment of record/object labels, remove let_binding wrapper
more cosmetic stuff: replace custom ast constructors (mkexp, mkclass, ...) by Ast_helper, replace /* comments by (* comments.

I can remove or adjust this last part if people don't feel comfortable with it (in particular it might conflict with other open PRs).
Using Ast_helper allows to reduce the number of definitions that one needs to know to work with the parser code. The current code has a lot of subtly different variants for constructing pieces of Ast (for instance with handling of ghost locations), this refactoring reduce the mental overhead a bit (however one still needs to know about Ast_helper) and provide at least as precise and sometime more precise locations.
Using (* make the comments more uniform (same rules at menhir level and at OCaml level, with the nice side effect of fixing the highlighting in vim).

Rebased on current master (and I dropped the patch that rewrote code to make use of Ast_helper, remaining ones are more self-contained).


fcntl ModuleNotFoundError

Machine=Windows 10
Pipenv file contents:
`[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
mypy = "*"

[packages]
alkali = "*"
fcntl = "*"
pytest = "*"

[requires]
python_version = "3.6"`

Script:
from alkali import Database, FileStorage, JSONStorage, Storage, Model, fields

class BaseErx(Model):
    id = fields.IntField(primary_key=True)
    cid = fields.StringField()
    prod_name=fields.StringField()
    pref_route=fields.ForeignKey(Route)

class Route(Model):
    route = fields.StringField()

if __name__ == "__main__":
    db = Database(models=[BaseErx, Route], storage = JSONStorage, save_on_exit=True)
    route=Route(route='PO')
    route.save()
    db.store()
    b = BaseErx(id=1, cid="C12345", prod_name="test", pref_route = route)
    b.save()
    db.store()`
```

Does it support Windows??

I'm not sure if it does or not, I've never tried. Since it's pure python I'd certainly hope so... But if anything was going to be unhappy it would be fcntl.
I'm not seeing any errors, did you have a copy paste problem?
ps. You don't have to run db.store() unless you want to flush to disk right then and there. save_on_exit makes sure state is saved to disk on program exit.

Also, you need to define a primary_key in Route.
from alkali import Database, FileStorage, JSONStorage, Storage, Model, fields

class Route(Model):
    route = fields.StringField(primary_key=True)

class BaseErx(Model):
    id         = fields.IntField(primary_key=True)
    cid        = fields.StringField()
    prod_name  = fields.StringField()
    pref_route = fields.ForeignKey(Route)

if __name__ == "__main__":
    db = Database(models=[BaseErx, Route], storage = JSONStorage, save_on_exit=True)
    route = Route(route='PO')
    route.save()
    db.store()
    b = BaseErx(id=1, cid="C12345", prod_name="test", pref_route = route)
    b.save()
    db.store()

    print(b)

works for me

Just found out that windows doesn't jive well with fcntl, or at all
https://stackoverflow.com/questions/38936259/importerror-no-module-named-fcntl-under-windows
I will try to look through your module to see which fcntl calls are being made so I can look up the win32api equivalent.

A quick "fix" would be make a storage class that doesn't call fcntl. I'll look into doing a conditional import.

So your module uses models as a schema def, storage class as an api and database to call said api to save/load?
Is that correct?

That's correct.
The "point" of alkali is to be able to make your own specialized storage classes for your specialized file formats. I've just included JSONStorage as a reasonable default. Unfortunately I didn't realize as I've written it, that it doesn't work on Windows.

This works on OSX and should work on Windows. Unfortunately I'm importing fcntl at the top of file.py so you'll have to comment that out.
class MyJSONStorage(Storage):
    """
    save models in json format
    """
    extension = 'json'

    def __init__(self, filename, *args, **kw ):
        self.filename = filename

    def read(self, model_class):
        with open(self.filename, 'r') as f:
            data = json.load(f)

        if not data:
            return

        for elem in json.loads(data):
            yield elem

    def write(self, model_class, iterator):

        if iterator is None:
            return False

        with open(self.filename, 'w') as f:
            f.write('[\n')

            _peek = Peekorator(iter(iterator))
            for e in _peek:
                data = json.dumps(e.dict, indent='  ')
                f.write(data)

                if not _peek.is_last():
                    f.write(',\n')

            f.write('\n]')

            # since the file may shrink (we've deleted records) then
            # we must truncate the file at our current position to avoid
            # stale data being present on the next load
            f.truncate()
            f.flush()

        return True

awesome ill add that in on my local install! dang that was fast, here i was like okay tonight i am going to go through everything.
thanks so much man!

No worries. In the past week two other GitHub people fixed my issues in their projects inside a day so I've got internet karma to pay back. ;) I'll so try to get a patch out to pypi today with a "real" (hacky) fix.

Thanks so much again man! You rock! 👍

Thanks for the kind words. In appreciation 0.7.2 is now on pypi so upgrade away. 😃

Btw do you mind if I submit code for a category list field?
On Tue, Mar 5, 2019, 1:44 PM Kurt Neufeld<EMAIL_ADDRESS>wrote:

Thanks for the kind words. In appreciation 0.7.2 is now on pypi so
upgrade away. 😃
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/kneufeld/alkali/issues/2#issuecomment-469869838, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AccLM8Tamcveiua_TwbmIFSBlm621BYmks5vTuVWgaJpZM4bfS7Y
.

Almost for surely not! Why don't you open another issue and describe what it does (how it's different than a SetField) and then we can discuss it.


Scroll to botom

Hi Gents,
Thank you for the great table which is very useful.
I implemented this table as I needed the fixed headers (row, column, and corner).
Since I have almost 800 rows in main table (or row header table), i want to scroll to end/bottom after the table is populated.
I tried several ways of doing it by setting the scrollTo(0,maintable.getBottom) and aso tried doing it in post runnable.
Could you please provide a working solution for me.
Edit: I just want the main table (with row header table) to scroll vertically to bottom.
Thanks,
Tony

This is something that probably needs adding as functionality.
The inherited scrollTo won't work because the FixedHeaderTableLayout view is not actually scrollable itself, it moves (and scales) it's 4 child views.
This is something I'll look at when I get time.
But as a quick hack you could directly call calculatePanScale(float distanceX, float distanceY, float centerX, float centerY, float newScaleFactor) as this is public and is actually what moves the views with a very large distanceY as the code won't allow you to scroll past the bottom.
e.g. something like might work (not tested)
myFixedHeaderTableLayout.calculatePanScale(0f,Float.MAX_VALUE,0f,0f,1f)

Hi Zardozz,
Thank you for your prompt response. Really appreciate your response.
As you said, to call the method calculatePanScale() method as below, did the trick. Yes the table scrolls to bottom. But the row table header and main table header is not visible untill i touch and swipe up/down/scroll. Only corner table and column header table are visible after calling that method.
fixedHeaderTableLayout.calculatePanScale(0f,Float.MAX_VALUE,0f,0f,1f);
I tried to pass motion events dispatch for every table as below. Which still did not worked.
 MotionEvent e = MotionEvent.obtain( SystemClock.uptimeMillis(),                     SystemClock.uptimeMillis()+200,                     MotionEvent.ACTION_DOWN,                     0.0f, 0.0f, 0);             mainTable.dispatchTouchEvent(e);
Also i tried calling requestFocus() on all tables, which did not worked too.
Lastly i treid to call method bringToFront() which is same, need to swipe, plus it overlaps on other table. Tried setVisibility() with no luck.
mainTable.setVisibility(View.VISIBLE);
rowHeaderTable.setVisibility(View.VISIBLE);

So, do you have any quick fix to make them visible after calling calculatePanScale()???
Thank you for your support.
Tony

The question is when do you call calculatePanScale?
I tried this in the sample App and everything worked as expected.
I added the following after the line https://github.com/Zardozz/FixedHeaderTableLayout/blob/master/app/src/main/java/com/github/zardozz/fixedheadertablelayoutsample/MainExampleActivity.java#L125
fixedHeaderTableLayout.calculatePanScale(0f,Float.MAX_VALUE,0f,0f,1f);
And it correctly scrolled to the bottom of the table and showed everything correctly.
This is a screen shot of the sample app with that change.

I think possibly you calling it too early before everything is drawn fully?
Without seeing your code or a fully working example of where it does not work then it is a bit difficult to help.

Hi Zardozz,
Thank you again.
I was calling calculatePanScale() method after the adding child tables( in Async postExec) as below:
fixedHeaderTableLayout.addViews(mainTable, columnHeaderTable, rowHeaderTable, cornerTable); pBar.setVisibility(View.GONE); fixedHeaderTableLayout.setVisibility(View.VISIBLE); fixedHeaderTableLayout.calculatePanScale(0f,Float.MAX_VALUE,0f,0f,1f);
Yes, its a huge list and so did not worked since the drawing was not completed, and my call ran in before.
It works now, after i changed it to below (calling calculatePanScale()  inside onLayoutChangeListener()) method:
fixedHeaderTableLayout.addViews(mainTable, columnHeaderTable, rowHeaderTable, cornerTable);             pBar.setVisibility(View.GONE);             fixedHeaderTableLayout.setVisibility(View.VISIBLE);             fixedHeaderTableLayout.addOnLayoutChangeListener(new View.OnLayoutChangeListener() {                 @Override                 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) {                     fixedHeaderTableLayout.calculatePanScale(0f,Float.MAX_VALUE,0f,0f,1f);                 }             });
Also worked in post runnable :
 fixedHeaderTableLayout.postDelayed(new Runnable() {                 @Override                 public void run() {                     fixedHeaderTableLayout.calculatePanScale(0f,Float.MAX_VALUE,0f,0f,1f);                 }             }, 1000);
Hope this is the  right way, I am not sure. If there is a better way let me know. I am keeping the call inside onLayoutChange.
Thanks,
Tony


Move & Modify: yelosan.PH-UKL.TglgQRTY version 2.0.1

Use actual version from tag, update license information and installer links

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

a

@wingetbot waivers Add Validation-Domain


Bowen/jenkins2.0

based on james/vanilla branch.

Rebased this branch against master

@nusnewob can you point me to the Jenkins instance?

@bmcorser it's only accssible via VPN https://jenkins.ci.ukti.io


[BEAM-10637] fix: test stream service start/stop

Fixed the start/stop logic so that a controller:

can only be started/stopped once;
can only be stopped when is started while never stopped before;
does not hang indefinitely but noop for redundant or invalid start/stop calls.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @aaltay


[Do Not Merge] Rewrote monitor.md

Added an introduction to metrics and why we need monitoring services.
Reorganized and sorted out the relationship between Prometheus, Prometheus Operator, Prometheus endpoint, and kube-prometheus.
Separate the prerequisites from deploying operations.
Added what's next for recommended reads

This PR closes issue #924


Implement high availability control plane

Maintenance tasks such as k8s upgrades, OS upgrades and re-configurations (disk, etc) can require k8s nodes to be offline for reconfiguration and rebooting.
Minimize k8s service disruptions when these maintenance tasks are performed by:

configuring a multi-master k8s configuration
implement high availability services where possible

currently one pod or service instance of these items is running at any time for metadig:

metadig-controller
rabbitmq
metadig-nginx-controller
metadig-scheduler
metadig Postgres server
metadig-scorer

use appropriate k8s management tools to aid this process, such as draining worker nodes to prepare them for maintenance

This issue supercedes https://github.com/NCEAS/metadig-engine/issues/287

Some approaches to implementing a high availability control plane are detailed here
This document discusses both external load balancers (e.g. HAproxy on external nodes) or software load balancing. For the later configuration, keepalive and haproxy run on the control plane nodes, so an external load balancer is not required to switch control to a new active cluster control node in case the current primary becomes unavailable.
With either configuration (external load balancing or internal) extra nodes would need to be added to the cluster that could act as the stand by control nodes.

BTW - the link shown above (https://github.com/kubernetes/kubeadm/blob/master/docs/ha-considerations.md) uses kubeadm to implement a 3 control-node HA k8s cluster, with a 'stacked' etcd cluster, or optionally with the etcd nodes external to the cluster.

Two VMs, k8s-ctrl-2 and k8s-ctrl-3 have been provisioned for K8s over in https://github.nceas.ucsb.edu/NCEAS/Computing/issues/98
The physical: virtual layout of the control plane VMs is:
host-ucsb-6: k8s-ctrl-1
host-ucsb-7: k8s-ctrl-2
host-ucsb-8: k8s-ctrl-3

In a Slack discussion we decided to setup backups for K8s and K8s-dev before converting our install to HA.
We may need to upgrade K8s before the HA changes, which in turn may require an OS upgrade on the existing controllers.

I'm starting a migration checklist to deploy HA on k8s-dev:

[ ] Deploy a load balancer on hosts k8s-dev-ctrl-1, k8s-dev-ctrl-2, and k8s-dev-ctrl-3

[ ] Choose between keepalived and haproxy vs kube-vip

[ ] keepalived and haproxy: Choose between services vs static pods
[ ] kube-vip: Choose between ARP vs BGP

[ ] Deploy $choices to ctrl hosts 1-3

[ ] Install kubeadm and kubelet to k8s-dev-ctrl-2 and k8s-dev-ctrl-3 (!)
[ ] Continue setting up $choices...
[ ] Change DNS for k8s-dev services from k8s-dev-ctrl-1 IP to load balancer IP

[ ] Migrate etcd to a cluster

[ ] Bootstrapping instructions
[ ] (Migration docs not yet found)

[ ] Migrate the Control Plane to a Stacked Control Plane

[ ] Bootstrapping instructions
[ ] (Migration docs not yet found)

Links:
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/
https://github.com/kubernetes/kubeadm/blob/main/docs/ha-considerations.md

I'm stuck on needing to install the same version of K8s on k8s-dev-ctrl-2 and k8s-dev-ctrl-3. I'm not able to find any 1.23.3 .deb packages hosted on official websites or repositories. The older repo which hosted 1.23.3 was apparently shut down, and the newer repo starts at version 1.24: https://kubernetes.io/blog/2023/08/31/legacy-package-repository-deprecation/
There are some ways around this, such as cloning k8s-dev-ctrl-1 RBD and running an kubeadm reset, installing binaries, etc. These have some tradeoffs, take time, etc. The best option is probably going to be upgrading K8s from 1.23 to 1.24 (or later), as we need to upgrade anyway, and then migrating to HA from there.
I'm moving over to the upgrade issue: #35


Navigation Links Always Point To Localhost

On Ghost Control Panel, when configuring Navigation Items Link, I can't change link to Github domain, they keep change back to localhost.
I Know this is happen on Ghost side, but are there any workaround to solve this?

Yes there is

@abhijithvijayan thank you. I managed to get them work.

@abhijithvijayan Can you make a PR with this code, please? I'll accept it, since it is helping regular users from this repo.

@abhijithvijayan Can you make a PR with this code, please? I'll accept it, since it is helping regular users from this repo.

#14


Is there any way to run VSS example in P4-16 spec chatper 5?

I'm trying figure out how to compile very_simple_model.p4 and vss-example.p4.
I've found those two files in p4c/testdata/p4_16_samples directory. Trying to compile like exercises in P4D2_2018_East/exercise/ do but doesn't work.
I'm new to P4-16 and hope to get some help. Thank you.

The open source P4_16 compiler in https://github.com/p4lang/p4c can currently compile P4_16 programs using the architecture defined in the file v1model.p4 here: https://github.com/p4lang/p4c/blob/master/p4include/v1model.p4 and the open source simple_switch software switch can then forward packets from those compiled results.
There is work started recently to enhance p4c and behavioral-model so that they can use the recently-published PSA architecture specification, but that will likely not be ready for several more months.
I am not aware of anyone who has gone to the effort to modify p4c and behavioral-model to use the VSS architecture.  It was a simple architecture created to have a small specific architecture for the P4_16 language specification, but it does not have enough features to provide a strong motivation for implementing it.

Since vss is a strict subset of v1model, one could probably quite easily implement a source-to-source translator from vss to v1model based on the existing p4c compiler. The one can use bmv2 as an emulator of vss. This would be a nice simple project to learn p4c.

I don't think this is a spec issue, so I will close it.


Number of Features

Hi Guha
I want to use wrapper feature selection methods. My data  consists of 200 features and I want to select the best 20 features. Is it available to select the max feature number in your code?

No. Wrapper based methods select the optimal feature subset using a learning algorithm in its crux. They don't give scores/ranks to assert feature importance. You can use the filter methods to select a specified number of features, but wrapper algorithms cannot do that.


let BufTabLine.Go function support more than 10

Thank you for the patch. I have refactored the code a little and amended the commit; it’s pushed as 7851d717621163a232204022afaf4150e5f8f780.
I don’t like just dumping 99 mappings in every user’s lap, though… that’s a lot of clutter when you’re looking at the :map output. And for users who don’t need them, there’s no benefit to it. So I’ve also added cc55a8b28d7df6382241039235f300af514e1057, which makes the number configurable and sets the default at 10, like it has been so far. For you, that means you’ll need to set the new setting to 99 in your Vim configuration.
Share and enjoy. 😊


Swift3

Previous one was little bit behind the latest swift 3. This one is latest

Thank you for sending this PR.
We have landing swift3 support in master branch.
Feel free to give it a go.
🍻


should tornado be listed as dependency?

Hi
I am wondering if tornado should be listed in setup.py or requirements,txt?
As we can see, tornado is used in dask/base.py  and dask/tests/test_distributed.py as must. But when I use "pip install dask", it seems that tornado will not be installed automatically. So should tornado be listed as dependency? Or maybe it should be introduced as an extra dependnecy for the project?

No, tornado is not a required dependency for Dask.
That line comes after an import of distributed, which requires tornado. You shouldn't be in a situation where you have distributed but not tornado.

Thanks for your reply.

I am wondering if these dependencies are used but not documented properly.

tiledb
https://github.com/dask/dask/blob/d06339b1ff6379637d0d100f88fee97d35a65db8/conftest.py#L43

bcolz
https://github.com/dask/dask/blob/3a552fbd3aef6a6815543a8054f8e2be6b2181b0/dask/dataframe/io/io.py#L260

numba
https://github.com/dask/dask/blob/3a552fbd3aef6a6815543a8054f8e2be6b2181b0/dask/sizeof.py#L105

h5py
https://github.com/dask/dask/blob/182a6ebd2de4a95d9d451b6cf1379702d2f10ee7/dask/array/core.py#L5143

fastavro
https://github.com/dask/dask/blob/80a82008d5b02a08f6ff59d802defcc43247eb1a/dask/bag/avro.py#L143

These are all optional packages. They can be used with dask, but there is plenty of functionality in dask that works without them.

also for cx_Freeze?

also for cx_Freeze?

That's only used by versioneer, which is not a runtime dependency.


k8s: decrease the log level of some messages

Some messages are not usefull in production environments so we can
downgrade those to debug level.
Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

Coverage increased (+0.06%) to 42.391% when pulling b8806777d8022a1b743f4051ed8859b1c75f036a on pr/ignore-info-messages into 80912fc6cb2b2dd6ef92cec3080c66d33d36a925 on master.

test-me-please


Use find + sort to ensure we list CRD files consistently across multiple dev environments

What this PR does / why we need it:
When adding new resources we found inconsistencies in how bash expanded and for looped over dir/*.
This should keep things consistent and passing CI.
NONE

/assign @munnerz

/lgtm
/approve


Enable toggle for Sound Notifications

Purpose
Address user complaints about sound notifications in large meetings by allowing toggle to disable
It closes #251
Proposal
https://github.com/user-attachments/assets/f3f9e6aa-8d66-4449-8f4c-9d65bfa8886b

To avoid triggering notifications for reconnecting participants, you could store participant identities in the app state and check against this list when a new participant joins.
Pros:

Prevents unnecessary notifications for reconnects.
Improves user experience by reducing distractions.

Cons:

State complexity: The list should be initialized with participants already in the room, adding complexity to managing and updating the state when participants join, leave, or reconnect.

Anonymous users: They will have a new identity each time they connect, which may lead to incorrect assumptions about whether a participant is reconnecting or joining for the first time.

Performance overhead: Maintaining participant identities for large rooms or frequent reconnections could introduce performance concerns.

Edge cases: Participants changing identities (e.g., due to network issues or device changes) may not be detected properly, affecting the logic.

When being activated the switch circle is not quite sticked to the right edge.


Add database support

It should support the same database engines as Shlink, as people will host dashboard together with it, and they should be able to use the same database if desired.
The only ORM in JS that I feel comfortable with and supports those engines is TypeORM.
The database schema should include at least users, settings, servers and tags (to persist their colors). Every user should have instances for the rest.
For settings, maybe it's better to store everything in JSON, letting ShlinkWebComponent define the schema moving forward.

erDiagram
    users ||--|{ settings : has
    users ||--|{ tags : has
    users }|--o{ servers : has
    users {
        string username
        string password
        string role "admin, user"
    }
    servers {
        string name
        string base_url
        string api_key
        string public_id "generated hash or UUID to use in URL"
    }
    tags {
        bigint user_id
        string tag
        string color
    }
    settings {
        bigint user_id
        json settings
    }


Bug 1893417 - split the zip archive when it gets too big

@gabrielesvelto @lissyx This is untested, but I figured I'd ask if something like this would make sense

This is very similar to the code I used locally, it should work fine.

Tested in https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&revision=8116bed61159a22c3e4bd9c9ffa1e63ef49c7ff5
The first upload attempt failed (hit the 5min timeout), but it worked on retry.


Use raw length instead of escaped length when traversing string parts

Easy fix but I don't have time for it at the moment. Just need to remember to do it at some point, or allow someone else to do it at some point.
https://github.com/chalk/chalk-template/blob/6e63a466ba254b779587b0ca0ad5570588a4c238/index.js#L164
Instead of firstString.length it needs to be firstString.raw.length.
In fact, firstString is a misnomer here, dunno if I wrote that or if that got changed but it's not right. Template functions are weird and take an array as the first parameter, which itself has a property called .raw that is also an array (of the same arity) with the unescaped strings. The latter is what chalk-template uses.
Therefore, the entire thing can just be summarized as const rawStrings = strings.raw and use rawStrings for everything. Feel free to make that change.
Also change arguments_ back to args. If XO complains, ping me. There is no reason to use a _ postfix here to appease the builtin check. Alternatively, just call it values.
PR welcome, would be swiftly merged. Great beginner fix!

hey @Qix- was looking for an issue and put in a PR -

Thank you ^^


$containsNone

Didn't find a $not function and required a way to find only entries that don't contain something.

Thanks!


Cannot read properties of null (reading 'popupTitle')

Code is pretty straightforward:
import 'package:hss_okta_flutter/hss_okta_flutter.dart'

Future<void> login() async {
  final oktaWeb = HssOktaFlutterWeb();
  await oktaWeb.initializeClient(
      oktaConfig: OktaConfig(
      issuer: '...',    // removed
      clientId: '...', // removed
      redirectUri: Uri.base.toString(),
    ),
  );

  // readme says to use await oktaWeb.token.startPopUpAuthentication,
  // but the compiler complains about "token" not existing in object oktaWeb,
  // so I'm using this instead
  await oktaWeb.startPopUpAuthentication();
}

This is the error I get:
browser.ts:43 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'popupTitle')
    at t.loadPopup (browser.ts:43:23)
    at t.getWithPopup (getWithPopup.ts:27:23)
    at e.value (PromiseQueue.ts:78:32)
    at PromiseQueue.ts:64:12
    at new Promise (<anonymous>)
    at e.value (PromiseQueue.ts:46:12)
    at hss_okta_flutter_web.HssOktaFlutterWeb.new.startPopUpAuthentication (hss_okta_flutter_web.dart:58:57)
    at startPopUpAuthentication.next (<anonymous>)
    at runBody (async_patch.dart:84:54)
    at Object._async [as async] (async_patch.dart:127:5)
    at hss_okta_flutter_web.HssOktaFlutterWeb.new.startPopUpAuthentication (hss_okta_flutter_web.dart:55:49)
    at login_service.LoginService.new.login (login_service.dart:54:19)
    at login.next (<anonymous>)
    at async_patch.dart:45:50
    at _RootZone.runUnary (zone.dart:1661:54)
    at _FutureListener.thenAwait.handleValue (future_impl.dart:162:18)
    at handleValueCallback (future_impl.dart:846:44)
    at _Future._propagateToListeners (future_impl.dart:875:13)
    at [_completeWithValue] (future_impl.dart:647:5)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:721:7)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:181:7

I did insert the okta script in the header block of index.html as the readme suggests and the okta library loads successfully.
Using startRedirectAuthentication() works as expected.

flutter --version

Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (2 weeks ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4

+1

Hello @alessandroderomawep. Can you add AuthorizeOptions inside the oktaWeb.startPopUpAuthentication?
await oktaWeb.startPopUpAuthentication(
  options: AuthorizeOptions(
    responseType: ['token', 'id_token'],
    scopes: ['openid', 'email', 'profile'],
  ),
);

Will be closing this due to inactivity

Works with the provided example


Add fallback search for extra-underscore-suffixed symbols

MKL v2024 has ILP64-suffixed symbols, but the suffix applied to FORTRAN symbols (64, mapping dgemm_ to dgemm_64) is different from the suffix applied to non-FORTRAN symbols (_64, mapping cblas_dgemm to cblas_dgemm_64).  This wreaks havoc with LBT, which assumes that all symbols undergo the same name transformation.  To work around this, we add a fallback path to our symbol forwarding routine; if a symbol does not exist in a library, we look for the same symbol but with an underscore in front of the symbol name. Because this all happens only after we have already found isamax_ and dpotrf_ in autodetect_symbol_suffix(), we have some measure of assurance that we will not be blindly guessing ridiculous symbol names.

We'll need this version of LBT backported to 1.11 and 1.10. cc @KristofferC

This isn't in Kristoffer's court yet; I need to finish this LBT release, push it through Yggdrasil, open a PR to Julia master, then tag it for backporting.  :)

Yes, perhaps tagging him was premature - but it would be nice to get this into 1.11 and hence the heads up.


DRILL-4152: Add trace logging to  Parquet reader for performance tuning.

Added trace level logging to track time taken by the Parquet reader.

I left some comments that should be easy fixes, other than that LGTM
+1


build: ship mojo v8 proxy resolver

@jkleinsc It looks like we have a Windows CI machines misconfiguration here.

Exception: Visual Studio Version 2015 (from GYP_MSVS_VERSION) not found.


Adds Estiam

http://www.estiam.com/

@madcorp206 Sorry for the delay - we've been launching rebranding and I hadn't time to check the repo for a while. Regarding the request - could you please provide the link to the page, describing long-term educational programs that the school provides? thank you!

Pull request merged. According the document at http://www.estiam.com/wp-content/uploads/ÉSTIAM-Brochure-cursus-5-ans-4-pages-A4-cp.pdf there are at least two-years-long courses at ESTIAM. Thank you, and sorry for the delay with the merge.


MNOWFREE Meia Cassandra Viral Leaks Video On Social Media X Twitter[1180K]

1 minute ago Meia Cassandra, MNOWFREE Meia Cassandra Viral Leaks Video On Social Media X Twitter[1180K]

Meia Cassandra's latest video has rapidly gained traction across various social media platforms, captivating audiences and igniting extensive discussions. This talented digital creator has garnered significant attention for her engaging content, particularly her recent Spiderman-themed video, which has gone viral. Viewers are actively seeking out where to watch the full video, with many turning to platforms like Instagram, Twitter (X), and Discord for access.
As the excitement surrounding Meia Cassandra continues to build, fans are sharing their reactions and enthusiasm online. The viral success of her video underscores the influential role social media plays in elevating creators to prominence. With her distinctive style and innovative approach, Katherinne has quickly established herself as a noteworthy figure in the digital arena, leaving audiences eager to learn more about her upcoming projects and content.

FG

vf

xcvxcvcxv


Handle click on URL's?

Hey there,
does someone know how to handle clicks on links inserted to the editor? There does not seem to be a public API for this right now. Thanks in advance!

@hansemannn Take a look at this: https://medium.com/@KentaKodashima/ios-wkwebview-tutorial-b7f8cf1bffe0
I think, with the RichEditorDelegate's shouldInteractWith url: URL function, you can instead 1) add a subview of a navigation controller, 2) use the tutorial from above to add goBack (web view's back button) and add a goForward (don't know its actual name) button, 3) set the AutoLayout constraints for the toolbar (if necessary; I dunno), then 4) add a back to actual app button with navigationController?.backBarButton.
With that function, you should always just return false... I guess?
I'm planning on making this sometime in December or January, but the above is what I have planned so maybe you can get a head start.

https://github.com/coffellas-cto/GDWebViewController This might also work since it uses WKWebView rather than UIWebView, but it hasn't been updated to Swift 5 and doesn't seem to be maintained. Worth a try though.

WARNING as of 11/23/2019: I did this on my phone, so it is NOT tested.
@hansemannn
Finally had the time to rework the RichEditorView to Swift 5 while keeping a little bit of the functionality from cjwirth's repo and getting more, like dark mode and wkwebview, from cbess's repo (dark mode in assets/editor. Check commits). I didn't customize the editing link at all, so it is just a plain UIAlertController. Here's the basics of what I've got:
extension ViewController: RichEditorToolbarDelegate {
    func richEditorToolbarInsertLink(_ toolbar: RichEditorToolbar) {
        let alertController = UIAlertController(title: "Enter link and text", message: "You can leave the text empty to just show a clickable link", preferredStyle: .alert)
        let confirmAction = UIAlertAction(title: "Enter", style: .default) { (_) in
            let link = alertController.textFields?[0].text
            let text = alertController.textFields?[1].text
            toolbar.editor?.insertLink(link!, title: text ?? link!)
        }
        let cancelAction = UIAlertAction(title: "Cancel", style: .cancel) { (_) in }
        alertController.addAction(confirmAction)
        alertController.addAction(cancelAction)
        self.present(alertController, animated: true, completion: nil)
        toolbar.editor?.hasRangeSelection(handler: { r in
            if r == true {
                alertController.addTextField { (textField) in
                    textField.placeholder = "Link"
                    self.editorView.getSelectedHref(handler: {alink in
                        textField.text = alink
                    })
                }
                alertController.addTextField { (textField) in
                    textField.placeholder = "Text (Shows a clickable text that leads to link)"
                    self.editorView.runJS("document.getSelection().getRangeAt(0).toString()") { text in
                        textField.text = text
                    }
                }
            } else {
                alertController.addTextField { (textField) in
                    textField.placeholder = "Link"
                }
                alertController.addTextField { (textField) in
                    textField.placeholder = "Text (Shows a clickable text that leads to link)"
                }
            }
        })
    }
}

I added a method for being able to insert a link without anything selected, unlike the sample. I also added functionality for editing links IF a range was selected.
I also added functionality for the UIMenuController, which is the menu that pops up if you want to press the "Select" or "Select All" button. If you go into your view controller, which we'll call ViewController, add this to the viewDidLoad func:
let editLink = UIMenuItem(title: "Edit Link", action: #selector(menuEditLinkPressed))
UIMenuController.shared.menuItems = [editLink]
UIMenuController.shared.update()

Here's the objc func:
    @objc func menuEditLinkPressed() {
        if editorView.isFocused == false { editorView.focus() }
        richEditorToolbarInsertLink(toolbar)
    }

This is assuming that the content is editable and you already set a property toolbar because you still need some kind of accessory view. You can still hide the toolbar by simply making the frame be zero if you're doing something like Google Docs which has some options in its navigation bar.

not working to me


Better CLI debug

When doing a parse error, the debug does not tell which line from the mjml file is concerned :
➜  mjmltest  mjml -r test.mjml
Warning: validateDOMNesting(...): <tr> cannot appear as a child of <td>. See Section > td > MJMLElement > MJMLColumnElement > tr.

Hello !
At this point, MJML markup doesn't have any validation.

Hello there!
MJML doesn't provide any validation at this point. We're working to provide some on attributes & markup validation but at the moment we have nothing ready to be shown.
The cuurrent warning you have is from React, could you provide your MJML maybe I can help with that ?

Hey Maxime,
in my case, i remember that i forgot to put a mj-column in my mj-section. Only that.
But i had to search few minutes before finding my error. Old school debugging :)
I'm just suggesting error as SCSS procesor do ("at ligne XX"… :))

Closing atm, a proper issue with validation concern will be open soon


optimization: subscription statistic 接口缓存不生效的问题 (close #634)

Codecov Report

Merging #635 (3f269dd) into V2.2.9-rc (5fc101c) will increase coverage by 0.04%.
The diff coverage is 60.00%.

@@              Coverage Diff              @@
##           V2.2.9-rc     #635      +/-   ##
=============================================
+ Coverage      71.08%   71.13%   +0.04%
=============================================
  Files            292      292
  Lines          21227    21230       +3
=============================================
+ Hits           15090    15101      +11
+ Misses          6137     6129       -8

Impacted Files
Coverage Δ

apps/backend/plugin/views.py
36.80% <ø> (ø)

apps/node_man/urls.py
100.00% <ø> (ø)

urls.py
100.00% <ø> (ø)

apps/backend/subscription/tools.py
56.15% <50.00%> (+1.44%)
:arrow_up:

apps/node_man/views/__init__.py
80.00% <66.66%> (-3.34%)
:arrow_down:

apps/backend/subscription/steps/plugin.py
50.59% <0.00%> (-0.60%)
:arrow_down:

...nents/collections/agent_new/choose_access_point.py
96.50% <0.00%> (+0.50%)
:arrow_up:

apps/utils/cache.py
97.29% <0.00%> (+2.70%)
:arrow_up:

apps/utils/batch_request.py
67.16% <0.00%> (+2.98%)
: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 5e5d4fe...3f269dd. Read the comment docs.


Training Duration HeadPose

How long should the HeadPose training take?

it started very fast but is as slow as one step per second now...
i followed your guide

It took 1,5 days :)
Also, resulting files are very large:

Did i miss some kind of prefiltering?

same with me.. i am using age training but its not using gpu, its using cpu only, how can i use gpu ? i build dll using cuda and cudnn but age training tool is not using gpu. how can i enable it for age traning program ? can someone guide plz. thanks