helm operator not updating release from chart stored in git

I've released a chart using flux/helm-operator to my cluster from a chart in my enonic-xp git repo (pointing  at master). Upon updating the chart itself, however, the helm operator does not pick up on my update.
The logs from helm-operator don't seem to notice that the chart source has diverged from what's running in the cluster.
ts=2019-02-11T08:44:31.69388553Z caller=release.go:139 component=release info="processing release bc-minside-test-temp" action=CREATE options="{DryRun:true ReuseName:false}" timeout=300s
As I understand, the operator is meant to keep up with the ref of any charts coming from git repos. My HelmRelease is below.
apiVersion: flux.weave.works/v1beta1
kind: HelmRelease
metadata:
  name: mysite
  annotations:
    flux.weave.works/automated: "true"
    flux.weave.works/tag.chart-image: glob:*
spec:
  releaseName: mysite
  chart:
    git: https://github.com/j18e/enonic-xp.git
    ref: master
    path: charts/enonic-xp
  values:
    image: j18e/enonic-xp:8bba580

The sync runs every 3 minutes, have you waited this long? Also can you post here what have you changed in the chart?

My mistake, my git push failed


Plugins break with android:plugin 2.0.0

Dupe #99.

@JakeWharton  sorry found the solution thanks 👍


Is there a download or source available for the luau runtime/compiler?

I'm also interested in see it and probably try apply the same changes I did in standard Lua to create https://github.com/mingodad/ljs

not yet, but coming soon

@AtomicOperation Will this follow the normal recap schedule (two months from now, maybe four)?

Any update on this?

Any update on this?

If we haven't heard about it then the answer is most likely 'no'. Roblox still needs to get the source code ready for public release AND figure out a strategy to prevent benefitting exploits too much.

We will update this thread when we have updates to share; until then pinging this thread isn't going to accelerate the process :) We don't have an ETA as of now.

Fixed!


How to setup the DB to store the config and tweets as well?

I'm little confused.
What should be the table name and its columns to store the configs and tweets?
I mean the structure of the schema.
And do I need to reauthorize if I've already authorized using Yml file and now I want to move to db??
Do I have to put this in the yml file or else where?
:chatterbot_config: mysql://localhost/my_bot?user=root

The schema should be generated for you once you specify a db_uri. I have a 'global.yml' file which looks something like this:

:db_uri: mysql://localhost/my_bot?user=root
That config file is in the same folder as my bots, and it is loaded each time they run.  The framework should handle everything else.

@muffinista I got it working. The config settings are saved properly in the database.
But the tweets are not stored, though the table is created.
Do I've to persist these or is it supposed to be saved dynamically?

The library only stores the outgoing tweets -- are you trying to store incoming tweets?

Yup, I'm trying to store the incoming and only unique tweets.

Hi,
I thought about this a bit, and I think storing tweets that you find in a search is a different task than what I am looking to accomplish with the bot framework, so I don't want to make this part of the codebase itself.  That said, I just pushed some changes that will allow you to log tweets pretty easily.  If you check out:
https://github.com/muffinista/chatterbot/blob/master/examples/tweet_logger.rb
That's a pretty basic script that will create a db table, run a search, and store the results in the table. Should do the trick.

Thanks for sotring the searched tweets.
@muffinista How can I add option to chatterbot-register binary not to generate the skeleton code?
I tried but I couldn't understand the option-parser.
What I mean is:

  skel_dest = File.join(Dir.getwd<EMAIL_ADDRESS>  if File.exist?(skel_dest)
    puts "#{skel_dest} exists already, not doing anything"
  else
    puts "writing skeleton to #{skel_dest}"

    f = File.new(skel_dest, "w")
    f.write(skeleton)
    f.close

    File.chmod(0740, skel_dest)
  end

to not run if I pass an option something like chatterbot-register --no-skeleton ?

Sorry for the delay on this.  I've just pushed a new gem that will take care of this.  You can skip skeleton creation by passing --skip-skeleton

Great! I'll look into it.


Compose Map InteractionOptions

Related issue: #2964
Description
PR to accept MapViewInteractionOptions as a parameter to the compose Map
Testing
val arcGISMap by remember { mutableStateOf(ArcGISMap(BasemapStyle.ArcGISStreets)) }
val interactionOptions by remember { mutableStateOf(MapViewInteractionOptions()) }

Map(
    modifier = Modifier.fillMaxSize(),
    arcGISMap = arcGISMap,
    mapViewInteractionOptions = interactionOptions
)

Button(onClick = {
    interactionOptions.isPanEnabled = false
}) {
    Text(text = "Disable pan")
}

@gunt0001 Added PR feedback changes, ready for review.

Thanks @gunt0001, I've added the missing doc and updated this branch with the base branch. Ready for review @puneet-pdx


feat: add compiler to the binding api

Explanation
Add compiler to the binding api.

/cherry-pick release-0.2


idrin new failed in  windows subsystem for linux

The command
idrin new hello
failed with this message
idrin: readCreateProcess: git "config" "--global" "--get" "user.name" (exit 1): failed
Ubuntu 18.04 windows subsystem
Idris 1.32
Idringen  <IP_ADDRESS>

You can probably fix this by doing:
git config --global user.name "Your Name"

However, I personally dislike setting this since I may want to use different nicknames for different projects, so idrin should not rely on this existing.


Aligned permissions examples with rule 255

Please check if the PR https://github.com/zalando/restful-api-guidelines/pull/586 introduces changes which are relevant to the Zally project.

No changes are required.


Protect against overwriting IAM Policies

SetIamPolicy will override the resource's policy if setting without an etag value. This is a fundamentally dangerous operation. Make this much safer by providing a mechanism to get, modify, and set a policy in one operation. Perhaps similar to how DNS Zone#update works when called with a block.

This was implemented in the 0.11.0 release. A policy object with tag value is yielded in a block and it is much easier to not override settings accidentally.


Switch to lockless data structures

The current code uses a mutex to essentially make commit() and rollback() and other operations atomic. Let's switch to lockless data structures like Hekaton.

AFAICT, Hekaton uses a Bw-Tree for its index. However, the "Building a Bw-Tree Takes More Than Just Buzz Words" paper by Wang et al (SIGMOD’18) claims that skip list, adaptive radix tree, and masstree performs better, so maybe let's look into those. For example, https://docs.rs/crossbeam-skiplist/latest/crossbeam_skiplist/ might be a good candidate.


sliderView.setCurrentPagePosition() does not work correctly

Describe the bug
When I use sliderView.setCurrentPagePosition(index) the Slider doesn't set the correct item.
I debugged until SliderPager::setCurrentItem().
if (mAdapter instanceof InfinitePagerAdapter) {             item = ((InfinitePagerAdapter) mAdapter).getMiddlePosition(item);         }
This line delivers a number beyond 9000 (I only have 7 items in the list.)
When I skip the code, the item is set correctly.
How can I avoid the adapter to be InfinitePagerAdapter or else how to fix the wrong number?
Cheers,
Bastian

can u tell me how to implement it its very confusing
i am beginner help me? or else send ur xml code and java code with implementation

@BastiBach any success in getting this worked? I have the same issue of sliderView.setCurrentPagePosition(index) does not set slider at correct index
@smarteist, please help


add fuxi and fengwu

TBA

Something is off with the Fengwu model when rolled out with its initial conditions. We need to check the results with CDS initial conditions.

lgtm

Also, CDS API has changed.
https://cds.climate.copernicus.eu/how-to-api


Garbled characters when using pycharm on windows 11/10

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[ ] I'm not able to find an open issue that reports the same bug
[ ] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:win
- Continue:v0.0.
- IDE:pycharm

Description

ctrl + i, then enter chinese charater,it displays a rectangle.
To reproduce
No response
Log output
No response

Thanks for sharing this. It looks like the problem is Windows-specific. I will debug this when I get to my Windows machine and hopefully have a fix for the next release

Looking forward to it.
I'm a programming beginner, and Continue is a fantastic plugin!!!

Also mentioned here https://github.com/continuedev/continue/issues/1300


network: investigate sending back rich errors

The old networking stack would send back rich errors by serializing the actual SuiError in the response. During the migration to grpc this was eliminated, although it can be added back by serializing this error information into the details field of a grpc status.

How comes tests did not break as a result of this? I thought some of the gateway logic depends on the type of error returned to function correctly.

🤷🏼 I guess there weren't tests that checked for this

@bmwill I assume this is outdated by now, so will close it; feel free to re-open if it's still needed.


Search not working

Subject: Search not working
Description:
Try to search a destination
Results:
On the mobile version I am unable to search for a destination, and I can’t access a menu either
Backend version: develop-948446a4
Frontend version:
User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1
Page: https://couchers.org/search?#loc=5.98/3.36/102.021
User: robynl (20877)

can't reproduce


Connect status history page to status bucket

needs: create swagger definition and confirm before implementing.
get check history for all checks, or get check history for check ID should be possible to implement. Needs to accept time period, checkID, tag key/value pairs as parameters. (perhaps it should just accept a flux query?)
get check history page will use this API
Also "preview using historical data" will use this API

I think we'll want to supply the following parameters to the status API endpoint:

limit
offset
sortBy (time, status, checkID, message)
timeRange (absolute start/stop as unix times)

In addition I think we will want to be able to filter results, either by status, checkID, message, or by the additional user tags written to the status. For any of these tags, we will want to be able to filter using ==, !=, =~, or !~ as the operator.
Since this is complicated and we can already do this in Flux, I think we should deprioritize implementing this endpoint for now.

Since user has unrestricted access to data system buckets, we may no longer need this endpoint.
In that case this issue should change to UI generating the appropriate flux query to power status page.

I tested out powering the the alert history viewer with Flux, using syslog data as a substitute. Here's the query I used:
// Utils
import {runQuery} from 'src/shared/apis/query'

// Types
import {LoadRowsOptions} from 'src/eventViewer/types'

export const runSyslogQuery = ({offset, limit, since}: LoadRowsOptions) => {
  const query = `
from(bucket: "telegraf")
  |> range(start: -30d, stop: ${Math.round(since / 1000)})
  |> filter(fn: (r) => r._measurement == "syslog" and r._field == "message")
  |> group()
  |> keep(columns: ["_time", "_value", "appname", "facility", "host", "severity"])
  |> rename(columns: {"_time": "time", "_value": "message"})
  |> limit(n: ${limit}, offset: ${offset})
`

  return runQuery(ORG_ID, query)
}

It worked well. I think the important parts are:

Query should return a single table
The definition of now() needs to be pinned to a specific time, so that the meaning of the limit + offset pair doesn't change each time the query is run

Left out is support for the LoadRowsOptions['filter'] argument (searching support), but I think that should straightforward.

There are also some questions I have for the Flux team around performance.
Mainly I want to know if:

Query one gazillion rows
Regex
Limit to 10 rows

Is as fast as:

Query one gazillion rows
Limit to 10 rows
Regex

This affects what we sort of search feature we support.

Currently blocked on the existence of a system status bucket.

Status bucket exists, but there's no statuses in it. Might be most efficient to wait until there is before hooking the bucket to the UI.

Also came across another issue. Here's the status history page:

It contains a column of all the user-written tags for each status:

We do not want to load all the statuses at once for this page, so we use the limit function in Flux to implement pagination. A simplified version of the Flux query we use looks like:
from(bucket: "000000000000000b")
  |> range(start: -60d, stop: t1)
  |> filter(fn: (r) => r._measurement == "statuses")
  |> keep(columns: ["_time", "_check_id", "_check_name", "_level", "_message"])
  |> group()
  |> limit(n: n, offset: k)

(n, k, and t1 are parameters supplied by the UI.)
This query works well. However, it doesn't return the user tags on a status. If we omit the keep call to get the user tags, then the ungrouping operation may break (|> group()), since it could combine multiple conflicting schemas and panic. The ungrouping operation is necessary for the limit + offset pagination to make sense.
Here are the solutions I can think of:

Remove the tags column from the status histoy
Provide a Flux solution to the conflicting schema issue

We have had a similar issue in the past, and solved it client-side by spreading multiple schemas into a single table in a safe way. But we need to do that processing in Flux now, so that we can have pagination

Just discussed this issue with @pauldix and @nathanielc. For the immediate issue at hand, we will remove the tags column from the status history page. Since the message for each status will likely include relevant tag data, we think this is a good compromise for the alerting MVP.
Long term, we are looking into changes to Flux which will allow combining heterogeneous groups into a single table, which will enable the limit function to work for us. See https://github.com/influxdata/flux/issues/439.
The remaining blocker for completing this issue is having real statuses in the system status bucket to query + verify with.


[SPARK] SparkContextFunctions.esRDD parameters

Add an overload with all the three parameters available with
EsSpark.esRDD(..., resource, query, cfg).
Likewise for esJsonRDD.
This change makes SparkContextFunctions.esRDD more consistent with SQLContextFunctions.esDF which already has an overload taking all 3 parameters.
Implements #592.

@randallwhitman I was about to push a commit fixing the issue. Can you please sign the CLA so I can use your PR instead?
Thanks,

Probably, but if you already have a commit prepared, wouldn't that be easier than processing a CLA?

The CLA should be processed automatically. As for the commit, you already went through the process of providing a fix, plus reporting the bug and I think it would be a good way to recognize your efforts by including your work in the project.
Let me know what option you prefer.
Cheers,

Thanks Costin - that makes sense, and I appreciate it.
Because I made the patch while working for my employer on integration with Elasticsearch, the CLA would have to go through some corporate process.
In this case it may be in our mutual interest to close the PR without merging, and use your independent commit.


Virus, use Bloxshade instead

this detects as a virus, so use bloxshade instead

its open source and i don't update it anymore.


Image support

It would be awesome if the Bridge could also copy the image to Obsidian.
Since MarginNote allows to extract areas it would be super nice to enhance the functionality for images.

Currently, only notes (with excerpt) are supported, not selections due to API restriction, so you need to make selection notes first, then tap on note to get picture imported.

Sorry but I dont understand the workflow.. might sharing a simple example?

https://user-images.githubusercontent.com/31102694/133354949-7ab4d0bd-e11b-4ce7-b1bd-bbd54a59956c.mp4

Thanks but this dont work for me on the iPad. I selected an Image and Inserted the MarginNote-Data via the Command-Palette but nothing happens.

update to v0.6.1 should fix the issue of notes with pictures not getting imported


Timeline for 2.22.0 release

Given that the existing 2.22.0 GitHub milestone is 20+ days behind schedule, is there any planned release date for this version that can be shared?
This is mostly in regards to a fix for a licensing issue - https://github.com/microsoft/ApplicationInsights-dotnet/issues/2670
As mentioned in the issue above, the project is used in .NET source-code and having a proprietary license would mean that .NET is not allowed to use it. The fix is currently present in a beta release of the project, but .NET would not take a dependency on a beta package, thus the need for a full release to be publicly available for us to be able to consume the fix.

Hi @oleksandr-didyk, I will follow up on this.
Can you help me understand why this is a blocker for your team?
We're discussing this fix here: https://github.com/microsoft/ApplicationInsights-dotnet/pull/2671
The affected file is only used in unit tests, and not in the shipped sdk.

Not to mention the fix for CVE-2021-24112 that sits in 2.22 as well.

Hey @TimothyMothra, thank you for taking care of this!

The affected file is only used in unit tests, and not in the shipped sdk.

Currently the package is part of the VMR -> https://github.com/dotnet/dotnet
VMR is intended for open-source use and everything included in it should be open-source compatible
Due to source-build limitations we are carrying a submodule of Application.Insights, pointing to the version that repositories in .NET utilize - https://github.com/dotnet/dotnet/tree/main/src/source-build-externals/src. We can only point to the version that is used by the repos & the repos would only use a release version. As such, we would need the fix in question to be released for it to take effect in the VMR

@TimothyMothra - Any update on this?

@mthalman
@oleksandr-didyk
No ETA at the moment.

Not to mention the fix for CVE-2021-24112 that sits in 2.22 as well.

This is released now (PR #2832). New version is at: https://www.nuget.org/packages/Microsoft.ApplicationInsights/2.22.0.
The fix for CVE-2021-24112 in System.Drawing.Common (#2707) is also included.


Wrong labels in Chrome 48 OS X

It does not happen using Chrome 48 on Windows. Strange:

I feel like this might be a chrome internal error :/

Probably. In fact it does not longer happen in Chrome 49 so feel free to close the issue.
Thanks.

Thanks for coming back to let us know.


The mathjax could not recognize this code “$\mathcal{L}{12}=S{1}$“.

When I typed those codes,
.
the results were

The mathjax could not recognize this code “$\mathcal{L}{12}=S{1}$“.

When I typed those codes,
.
the results were

The mathjax could not recognize this code “$\mathcal{L}{12}=S{1}$“.


Configuration support

RabbitMQ connection information and select command line options should be configurable via environment variables and / or configuration file.
Env vars supersede config file. Command line options supersede all.
Command line options to include:
-s, --store
-x, --exchange
Add a command line option to specify the configuration to load, with a default value of something like .taskrabbit.

Added in 85aeca50944f9cb09cb0f15c98879ac5b67d9325


Support for $not filter operation

Hello,
I am using Mongo DB as storage, but not rest-layer-mongo.
I want to implement Contains and Does Not Contain filters. For Contains I can use the $regex operation. However, for Does Not Contain I cannot use $regex, since Go does not support lookarounds and regexes are currently validated with Go's standard library. Using $not seems to me like the obvious alternative.
Per #272 I know that there is not active development on this library, so this issue is to ask if a reason exist for this feature to be missing. If there is no such reason, I will implement it myself (including support for $not-ing a regex and $not-ing a whole expression).
#237 looks like an appropriate PR to model after

I don't see any reason why this feature could not be added. Also, please do feel free to create a PR for it.

I am using Mongo DB as storage, but not rest-layer-mongo.

Want to share what you are using? Is it in a state in which other could use it, or it's written more specifically for the purpose at hand.

I've opened #274 with the initial implementation of the $not operator with regex, functioning as an opposite to $regex.
I'll add a second PR with the implementation of $not-ing a whole expression since that seems a bit trickier

Want to share what you are using? Is it in a state in which other could use it, or it's written more specifically for the purpose at hand?

Unfortunately, it's written for the purpose at hand. One of the main blocker would have been the support for mgo over mongo.
Regardless, I'll open a PR in rest-layer-mongo after I'm finished here, to add support for $not

$not-ing a whole expression since that seems a b

To be honest, I am not sure how useful it is to be able to not the whole expression. The docs does state that
{price: {$not: {$gt: 12}}} is not equivalent to{price: {$lte: 12}}, since the prior would match any documents where the price is not set while the latter would not. If this is really the query you want, you could just do {$or: [{price: {$lte: 12}}, {price:{$exists: false}]}, which would be more explicit anyways.

So at least I am not against only implement $not as an oposite to $regex. An yviews from you @rs?
For reference: https://docs.mongodb.com/manual/reference/operator/query/not/


BUG: Fixed bounds checking

closes #14
Ideally a release might be a good idea following this, enabling https://github.com/SciTools/iris/pull/2532 to be merged also.

FYI @hdyson @jkettleb

@pelson @bjlittle I hope I'm not treading on your toes here - @cpelley has asked me to take a look at this to ease the review process.
I've four comments, of which the last is pretty trivial:

I think the logic in the second half of the conditional may be wrong: shouldn't axis > fz_src.ndim be axis >= fz_src.ndim?
The error message could be clearer.  It reports that the user-supplied axis is out of range (which is good), but could explain what the allowed range is.  Something like "Axis {} out of range for source of dimension {}".format(axis, z_src.ndim), perhaps?
The absence of a test that fails without the code change is worth remarking on.  I'm not sure the extra test is justified, so it's your call, I just wanted to draw your attention to it.
Do the brackets in the conditional make it any easier to read?  Adding an extra set may make the operator stand out more, e.g.  (not 0 <= zp_axis < z_src.ndim) or (axis > fz_src.ndim), but it's a personal taste thing really.  I'd be inclined to drop the brackets entirely.

Thanks @hdyson
All done except the exception message.  The context of the exception relates not necessarily to just z_src but also to fz_src and z_target.  This means splitting up the constraint into two to raise two different messages, one of which can only cause further confusion by explaining the relative axis number and how that relates to the axis the user provides...  I think in this case, it might be easier for the user to look at the docstring to understand their folly with their axis provided.  Are you happy with this?

Are you happy with this?

Yes, of course.  You're right about having to split the conditional to yield better error messages.  It may still be a path to consider if people trip over it in future - but it makes sense to me to wait and see if anyone does fall over and needs to raise an issue rather than solve the problem themselves.

Thanks @hdyson

@pelson @bjlittle I hope I'm not treading on your toes here - @cpelley has asked me to take a look at this to ease the review process.

Definitely not. Steel toe-caps 😄. Seriously though, it is awesome to have somebody review the change objectively in the way you have. It builds confidence in the quality of the PR, and ultimately makes it easier to merge, so please keep contributing in this way! 👍

Thanks @hdyson @pelson


Sippy b2bua rtpengine compatibility

Trying to replace rtpproxy with more modern sipwise/rtpengine
According to their documentation:
rtpengine can be used as a drop-in replacement for any other compatible RTP proxy
But it seems that Sippy is sending some commands, that are not understood by rtpengine
Any fixes possible? Or maybe suggestions how to get b2bua working with rtpengine?

We are not rtp engine users ourselves, so I don't think we can help you with this any time soon. Patch would be welcome if course, either on our end or at theirs. The interaction with the media relay is well abstracted under Rtp_proxy_session.py, so it should not be too difficult to modify to make offending commands/options optional.


[imm_rom_ext] Add immutable ROM_EXT ePMP reconfiguration

This is a child PR of #25294.

The immutable ROM_EXT data segment is also covered in ROM_EXT code region due to ROM limitation,
This PR let immutable ROM_EXT reconfigure ePMP first to remove executable permission on the data segment.
Jumping from IMM_ROM_EXT -> ROM / mutable ROM_EXT
We propose to use the following new ePMP layout before jumping to the mutable ROM_EXT:
 *    0: ROM      ----- ----
 *    1: ROM        TOR LX-R
 *    2: ROM      NAPOT L--R
 *    3: -------  ----- ----
 *    4: -------  ----- ----
 *    5: -------  ----- ----
 *    6: IM_EXT   ----- ----
 *    7: IM_EXT     TOR LX-R
 *    8: MU_EXT   ----- ----
 *    9: MU_EXT     TOR LX-R
 *   10: VIRTUAL  NAPOT L--R
 *   11: STACK      NA4 L---
 *   12: RvDM     NAPOT LXWR
 *   13: FLASH    NAPOT L--R
 *   14: MMIO     NAPOT L-WR
 *   15: RAM      NAPOT L-WR

MU_EXT stands for mutable part of rom_ext text segment, and IM_EXT is the immutable part.
Slot 10 will be empty if address translation is not enabled, and stack guard
is added back to slot 11.

Jumping from ROM_EXT -> Owner SW
Before jumping to Owner SW, all lock bits will be cleared, so all entries can
be reclaimed by Owner SW. Entries 8 ~ 11 can be safely reconfigure by Owner SW.
 *    0: -------  ----- ----
 *    1: -------  ----- ----
 *    2: OWNER    ----- ----
 *    3: OWNER      TOR -X-R
 *    4: OWNER_V  NAPOT ---R
 *    5: -------  ----- ----
 *    6: -------  ----- ----
 *    7: -------  ----- ----
 *    8: MU_EXT   ----- ----
 *    9: MU_EXT     TOR -X-R
 *   10: VIRTUAL  NAPOT ---R
 *   11: STACK      NA4 ----
 *   12: RvDM     NAPOT -XWR
 *   13: FLASH    NAPOT ---R
 *   14: MMIO     NAPOT --WR
 *   15: RAM      NAPOT --WR

Owner SW ePMP will be placed at the entries 2, 3 and 4 same as before.

When the rom_ext is linked directly to the immutable lib instead of prebuilt immutable section, the IM_EXT region (6 & 7) will covers whole ROM_EXT text section. This is the current behavior since prebuilt section is not ready yet.

@sasdf I think this can be re-based now and marked ready for review


Feature/#73 gateway still works temporarily when admin goes down

Instructions to test this feature

Build the project using the root pom.xml and performing "mvn package". Building a gateway locally with lead to errors.
Start a local admin server.
Work through the tutorial to create a gateway and an API key.
Run the new gateway and wait until the startup process is finished. In the meantime, the gateway requested all information it needs from the admin server to perform this feature.
Shutdown the admin server.
Perform a service call. The gateway should still direct you to the expected service API.

closes coatrack#73

I started the admin, and accessed it, and when I click on the services Table, there seems to have a element that should be hidden.
I refer here to the "message" on top of the page

Regarding the logs, I really found it good, as it is a step by step of the gateway regarding the aquiring and validating the API Key list and the API Keys. However, when there is no connection to the admin, the Gateway tries a lot of times to contact it (I also liked te log), but I think we should use a define number of retries, and this can fill up easily the logs with connection errors.
So for example, a max of 3 retries to call admin.

I could not reproduce that irregular logging behavior. My gateway tries every 5 minutes to connect to admin. Can you tell me, what you did to achieve that? Could it be that your PC went to sleep mode while the gateway was running?
However, I forgot to add "@EnableAsync" to the class which does not make a difference for my gateways logging behavior but it might have some effect on yours.

@ChristophBaierATB I edited your comment because it seems that by mistake you end up mentioning a GitHub user called EnableAsync. Please be careful that in Spring the symbol @ is used for a annotation, but on Github is used to mention someone.

Ok, so I tried again and now the calls are made continuously, so it is working well.
I think that probably I clicked on the CMD windows or it was in sleep mode on my first comment regarding this issue.

@ChristophBaierATB I was now testing the branch by executing it and creating a service and gateway on the admin, and I am always getting a 403 access denied.
Can you please test it,

Start admin,
Create a gateway via the tutorial
Run the gateway
Call the gateway.
And then please check if you are also getting a 403 access denied.

Hm, that is strange. My setup is working. Did you use the root pom.xml to build the project? It would not work if you just start CoatRack admin via IntelliJ.

* Build the project using the root pom.xml and performing "mvn package". Building a gateway locally with lead to errors.

@ChristophBaierATB Good point, I will check it now

We should discuss this.
However as you opened a PR in the main repo, this PR should be closed

I would suggest to close this PR, as it is now under review in the main repository

This branch is going to be merged directly to the CoatRack main repository. Therefore this PR is no longer required.


feat: allow deployer action to not import first

Make it so the deployer action can do pulls without a build/import first.

Deployer action is being semi-replaced with Helm, so this is being dropped.


Add SingleStore connector

Is your feature request related to a problem? Please describe.
It would be great to have single store connector.  SingleStore has
sqlalchemy support https://docs.singlestore.com/managed-service/en/developer-resources/connect-with-application-development-tools/connect-with-python/connect-with-sqlalchemy.html

@harshach, SQLAlchemy support for SingleStore is actually mysql SQLAlchemy package, I tried to ingest SingleStore cluster with metadata mysql connector and It works fine

@ulixius9 lets copy the mysql code into another file called singlestore and make a separate package for it. Similarly add a doc for it a well


maps name service endpoint's not found error to the rfc 1035 specification's associated one

Closes #242

Fixing the coverage issue

Trying to fix coverage issues.
Meanwhile, @robdefeo you could have a look on the changes.
I am not sure that they are totally aligned to your previous comments.
Please, let me know if further changes are needed or if I took the wrong way anyway :)

Thanks @nikosk686 🍾 for your work on this issue and in your patience in working through the problem to good solution. Really enjoyed that you were able to remove code while adding extra functionality.


Indendation sensitivity

Hi there :)
I am new to Racket, Haskell and programming at all. :D
I found that both, the macro system of Racket and the ML syntax of Haskell please me a lot.
I found some syntax changes to Racket like Sweet, which goes into the direction of traditional "indentation for building blocks" philosophy, while they are not going far enough for me personally.
This is a proposal for an alternative syntax, like fsharp does it:
They released their language initially with the OCaml like in end method and provided additionally the so-called light syntax which uses indentation instead. Their community adopted the latter one extremely well and quick, so it is their standard today.
I honestly think that members from both communities might prefer a very similar approach here, since Hackett builds a bridge between Haskell and Racket.
I for myself discovered, that ML languages with an indentation-sensitive syntax are by far the most readable and least scary programming languages.
Thanks a lot for reading :)

This is a duplicate of #22.


Add extensible log handler

Redirect logs to a file in the user's project directory and send to stdout/stderr in cli.
Add tests for log module.
This addresses #151

@tcdent i merged in telemetry and consolidated main.py. review and merge if it looks good :)

@bboynton97 wanted to make sure this was working functionally before we pulled the trigger on merge. I honestly havent' used the CLI enough with this enabled to know that everything we were printing before is displaying correctly.
will spend more time with it this week; hopefully you can, too


Radio Buttons in Menu not working on iOS

Bug, feature request, or proposal:
BUG
What is the expected behavior?
Opening the menu and tapping a radio button should select it
What is the current behavior?
Radio button flashes as if it will be selected but is not actually set
What are the steps to reproduce?
https://plnkr.co/edit/s0xTZ0R2XLjyIELYhQ81?p=preview
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Tested on Chrome and Safari on iOS and seeing issue on both.
Android devices worked as expected

The only supported API for menus right now is to contain menu items; they're not meant to hold arbitrary user content. You can use something like cdkConnectedOverlay to create a pop-up with arbitrary content


recommend lrcput

I love lrcget but I'll admit I really want to embed the lyrics. So I created this handy python script that people can benefit from until lrcget gets the feature

Thank you for sharing this! Developing embed lyrics for lrcget should take a while, so in the meantime I'd love to suggest people some alternative methods.


[WIP] added files required for builds in app-interface

Signed-off-by: Stephen Adams<EMAIL_ADDRESS>## Secure Coding Practices Checklist GitHub Link
- https://github.com/RedHatInsights/secure-coding-checklist

## Secure Coding Checklist
- [ ] Input Validation
- [ ] Output Encoding
- [ ] Authentication and Password Management
- [ ] Session Management
- [ ] Access Control
- [ ] Cryptographic Practices
- [ ] Error Handling and Logging
- [ ] Data Protection
- [ ] Communication Security
- [ ] System Configuration
- [ ] Database Security
- [ ] File Management
- [ ] Memory Management
- [ ] General Coding Practices

/retest

/retest

/retest


Fix REST invocation in TckContextTests

Fix TCK errors introduced in #198 with regards to correct REST HTTP methods.
Signed-off-by: xstefank<EMAIL_ADDRESS>

This is a bug fix so I think it is okay to merge without a review from @rdebusscher


B 19892 add columns to tac and loa tables int

B-19892
Summary
Need to store and send 2 flags to Advana. Advana gets an export of our tables so adding new columns to store these flags should be sufficient.
One column called valid_loa_for_tac to store the value for the lookup of a LOA for a given TAC:
     - this column will be added to the transporation_accounting_codes table
One column called valid_hhg_code_for_loa to store the value for the lookup of an HHG program code based on the constructed LOA:
    - this column will be added to the lines_of_accouting table
Main branch that is merged into this int branch: https://github.com/transcom/mymove/compare/main...B-19892-add-columns-to-tac-and-loa-tables

All of the extra commits in here are a result of merging the latest main into integration.

Could you add IF NOT EXISTS to those column additions?

Could you add IF NOT EXISTS to those column additions?

Done, good call!

Conflicts, btw

conflicts


Updated screen-tracking.md

Fixed wrong method name in redux example of screen-tracking to match the above example!
Changed from: getCurrentRouteName to getActiveRouteName at L#68 and L#70

thanks!


dockertest: add how to use docs

Give example based on testing *Container.Status() with dockertest

Removing this issue because dockertest will be replaced by docker mock


Establish New Data Structure that is easier to maintain.

Countries list should be only Code + Translated Names
Sub directory of countries one yml file per country
These sub files would include all data associated with a given country including subregions.
countries.yml
countries
-us.yml
-gb.yml

See #211

It'd be cool if the gem handled the duplicated name in the names field.
Let me explain: the fields in the yaml files could be :name and :alternate_names (or :other_names perhaps). If a country/subdivision doesn't have more than one :name, then :alternate_names could be blank.
But the API should remain backwards compatible, so someone could still call :names and get an array of :name and :alternate_names concat'd together.

Yea, names certainly feels "redundant" as I consider it more of slang terms, certainly not derogatory slang but, things like "States" for the US or "UK" for great britain.
The question is though, if we end up pulling data like in #211 do we even need a "name"?  Should name simple default to the english name translation?

Would alternate_names be a dictionary of ISO 639-1 language codes, or an array? Right now they're just an array, but we have no way of knowing what language they're in.
Another idea: what if the data files only had English in them, and the translations were dealt with in specific translation files? This also seems like it'd be easier to get contributors to translate country/subdivision names. They just need to add/edit one file, rather than 250+

So do a quick read over #133 basically the intent is to pull the dictionary out of this gem, and depend on i1l8n_data has it pulls from debian.  Basically all the work is done.   I think alternate_names basically servers the purpose of doing lookups of a col in a database.   So I think an array is appropriate, only the official names should be translated I think,

Ooh, that does look good.
Yea, then it does seem like it'd make sense to get rid of name. The only reason I could think of keeping a name is for developers looking at files. Since I'm sure few people have the alpha2 codes memorized.
But maybe we could keep this as a comment on the first line, rather than structured data? This name wouldn't matter much, just give developers an idea of what country they're looking at.

Yup that is the idea,  I think we just leave it be, as I want to encourage the ability to reparse the yaml to ensure we keep things clean in commits, and I am not totally sure how comments are handled in that process.

see #211


add link to plugin-optimize

Changes
Added a link to https://www.skypack.dev/view/@snowpack/plugin-optimize for the Tip mentioning plugin-optimize.
Before:

After:

Testing
No tests added. Afaict there are not tests for www.
Docs

This is an update to the docs.

Thanks for the contribution! We actually just updated this to documentation to mention the new built-in optimizations that were are officially announcing today, which is based on that original plugin-optimize plugin.


Update README doc.

Typos corrected
Actual env var names used
ClickHouse added to supported databases list

Codecov Report

Merging #38 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   61.91%   61.91%
=======================================
  Files          60       60
  Lines        2610     2610
=======================================
  Hits         1616     1616
  Misses        984      984
  Partials       10       10

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 1a51f69...a92a541. Read the comment docs.

Actually can you add this commit to your Clickhouse PR? Seems to fit nicely in there.

Actually can you add this commit to your Clickhouse PR? Seems to fit nicely in there.

Ok, changes merged into ClickHouse PR
Updated, PR closed


Flutter Widget test cannot emulate different screen size properly

Steps to Reproduce

Before deploying my Flutter app, I wanted to test it on multiple screen sizes to check if there is any Renderflex overflow for smaller screens.
But I when first modified the screen size during widget testing to match the device I was using during the development, I realized that the widget test is throwing Render overflow errors already, even though it did not have such errors on the real device. So I asked this questions https://stackoverflow.com/questions/62444634/how-to-fix-a-renderflex-overflowed-by-72-pixels-on-the-right-in-flutter
But I after further investigation and using Flutter golden feature test which snaps png out of widget tests, I narrowed down the problem to a discrepancy in text size.
You can see clearly in the reproducible step below that the text during the widget text is WAY BIGGER (on the right) than the actual text in the real device (on the left).
The bigger text size during Widget test causes the RenderFlex error in my app.
#Steps to reproduce:

Now connect a real device and run this code with flutter run

lib/main.dart
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      home: TextScaleComparaison(),
    ),
  );
}

class TextScaleComparaison extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final widget = Scaffold(
      body: LayoutBuilder(
        builder: (BuildContext context, BoxConstraints constraints) {
          final width = MediaQuery.of(context).size.width;
          final height = MediaQuery.of(context).size.height;
          final dpr = MediaQuery.of(context).devicePixelRatio;
          final textScale = MediaQuery.of(context).textScaleFactor;
          final vi = MediaQuery.of(context).viewInsets;
          final vip = MediaQuery.of(context).viewPadding;
          final font = DefaultTextStyle.of(context).style.fontFamily;
          print("width is $width and height is $height and dpi is $dpr txtScale is $textScale vi is $vi vip is $vip font is $font");
          return Center(child: Text("This cannot be that long!!"));
        },
      ),
    );
    return widget;
  }
}

Check the logs and you should see device screen info:

For me I got :
I/flutter (27450): width is<PHONE_NUMBER>2857144 and height is<PHONE_NUMBER>142857 and dpi is 2.625 txtScale is 1.1 vi is EdgeInsets.zero vip is EdgeInsets(0.0, 24.0, 0.0, 0.0) font is Roboto
Copy the screen width and height to and textScale and devicePixelRatio to the next step in the code below.

Edit the code below to add the above setting because we want to simulate this exact screensize in the test.

test/test.dart
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:my_app/main.dart';
void main() {

  testWidgets(
    "Emulate real screen size",
    (WidgetTester tester) async {
      // Adjust these to match your actual device screen specs
      final width = 414;
      final height = 846;
      tester.binding.window.devicePixelRatioTestValue = (2.625);
      tester.binding.window.textScaleFactorTestValue = (1.1);
      final dpi = tester.binding.window.devicePixelRatio;
      tester.binding.window.physicalSizeTestValue = Size(width * dpi, height * dpi);
      await tester.pumpWidget(
        MediaQuery(
          data: MediaQueryData(),
          child: MaterialApp(
            home: TextScaleComparaison(),
          ),
        ),
      );
      await expectLater(
        find.byType(TextScaleComparaison),
        matchesGoldenFile("text.png"),
      );
    },
  );
}

Run test.dart with flutter test --update-goldens test/test.dart
This will create a png file at test/text.png
Check the logs: For me it printed:
width is 414.0 and height is 846.0 and dpi is 2.625 txtScale is 1.1 vi is EdgeInsets.zero vip is EdgeInsets.zero font is Roboto
What I am missing ? Why can't the text show exactly the same as the real device?
Expected results:
Actual results:
The text size should show exactly the same as the real device.

Logs

Hi @tolotrasamuel
Thanks for very well explained issue, i can reproduce the issue

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-GB)
    • Flutter version 1.20.0-0.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision d9653445f4 (9 days ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.5.1
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.5 19F101
    • Web Server    • web-server                • web-javascript • Flutter Tools
    • Chrome        • chrome                    • web-javascript • Google Chrome
      83.0.4103.106

• No issues found!

Solved https://stackoverflow.com/a/62460566/6727914


BUG:

Issue Description
just in newest numpy version, the np.bool is replaced by np.bool_, np.int is replaced by np.int_, this question is very easy to fix, but I post it here to recommend shap to update, thank you.
Minimal Reproducible Example
np.int_

Expected Behavior
fixed
Bug report checklist

[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest release of shap.
[X] I have confirmed this bug exists on the master branch of shap.
[ ] I'd be interested in making a PR to fix this bug

Installed Versions
newest

Use the master branch. This was addressed in #2943. A PyPI release is coming soon.


Cloud Service wording update

Change the cloud service section to say "Cloud Service" instead of "VM"

@kwill-MSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@kwill-MSFT : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

@kwill-MSFT Thanks for your submission. I made some additional updates to your update and submitted a PR to your PR. If you're OK with my changes, please merge them and I'll merge this PR.  Thanks.

@kwill-MSFT If I don't hear from you by tomorrow, I'll make the changes to the article and close this PR.  --Thanks

Haven't heard back on my proposed update to the PR, so #please-close. @kwill-MSFT I've made your changes plus my updates through this PR.


sf1xx/lightware: use new protocol for LW20/c over I2C

benefits:

read & validate product name
sensor configuration with the output we want (raw distance data)
get signal quality
handle sensor replugging

Protocol description: http://support.lightware.co.za/sf20/#/commands
Other Lightware sensors can easily be moved over to that as well after a quick test (recent sensors support that protocol).
So far data looks considerably better compared to a Garmin lidar lite v3:

This is great !
I wanted that but didn't had time to do it! Thank you !


How to remove all files from v4

I have upgraded from v4 to v5 on the same server and then received protocol errors.  After deleting files I was able to get it to work again.
Is there a list of v4 files to remove?
I also cannot import a v4 config into v5 without protocol errors being displayed.

Close due to inactivity.


Bold output similar to xxd

In xxd version 2024-05-10 (and probably beginning from an earlier version), the bytes are shown in bold and 00 are duller, making content stand out.
EDIT: Colour in xxd output probably came with vim 9.1 -> https://www.vim.org/vim-9.1-released.php
Can you please add similar differentiation to hexyl.
Details here.

Sounds good. Let's maybe add this as a --emphasize or --bold option that takes a value. --emphasize=nothing would be the current setting. --emphasize=non-zero would be what you are suggesting. But other options could be added later.


HADOOP-16867. [thirdparty] Add shaded JaegerTracer

Add artifact hadoop-shaded-jaeger to hadoop-thirdparty for OpenTracing work (HADOOP-15566).
With this commit in thirdparty, Hadoop trunk with HADOOP-15566 can pass the enforcer check.

Thanks @jojochuang and @vinayakumarb for reviewing and committing this!


Make use of style for ConnectDialog fill suggestion

Changes for https://github.com/mumble-voip/mumble/pull/3182

This change should be done in the scss files, not in the generated qss files.

(But the generated qss files should also be included.)

Was missing in this PR and commit, fixed later in 212f8e336d3c2b385c10a7462ceedb88919edd00.


[Bug] Import of modules containing "-" fails

Hi there, I've bumped into inability to use hosted modules from artifactshub in case if they contain dash "-" character.
1. Minimal reproduce step (Required)
Let's suppose the following directory structure:
├── appsops
│   └── rules
│       ├── dev
│       │   ├── kcl.yaml
│       │   ├── main.k
│       └── iaas-prod
├── kcl.mod
├── kcl.mod.lock
├── pkg
│   ├── rules.k

Namely the import statement is located in the rule.k file which is in turn imported from main.k triggered by kcl.yaml.
Sample rules.k contents:
# import victoria_metrics_operator.v1beta1.operator_victoriametrics_com_v1beta1_vm_rule as vmrule
import k8s.apimachinery.pkg.apis.meta.v1

# k = vmrule.OperatorVictoriametricsComV1beta1VMRuleSpecGroupsItems0RulesItems0 {alert = "hello"}
v = v1.ObjectMeta {name = "hello"}

In case a module doesn't have any dashes such as k8s everything works smooth whereas importing  victoria_metrics_operator doesn't work. Error message:
8 | k = vmrule.OperatorVictoriametricsComV1beta1VMRuleSpecGroupsItems0RulesItems0 {alert = "hello"}
  |     ^ Invalid schema type 'any'

It's odd, but if we place the same dashed import on the level with kcl.mod into say it a.k file, and simply invoke kcl a.k this scenario is operable.
4. What is your KCL components version? (Required)
"0.8.6"

Hello. Thanks for the feedback. Could you please show me the content of kcl.mod? I will double check it.

Yep, sure @Peefy
[package]
name = "some-test"
edition = "v0.8.0"
version = "0.0.1"

[dependencies]
k8s = { oci = "oci://ghcr.io/kcl-lang/k8s", tag = "1.28" }
victoria-metrics-operator = { oci = "oci://ghcr.io/kcl-lang/victoria-metrics-operator", tag = "0.0.1" }

Thank you! I will fix it and release a new version today.

Also just an idea which seems pretty much as another issue... To brush up modules import behavior. By this I mean, even if there's no dependency in kcl.mod, the module if available in cache (~/.kcl/kpm) is silently imported which sees not unambiguous.

Thank you too! It's a pleasure to work with KCL language.

Also just an idea which seems pretty much as another issue... To brush up modules import behavior. By this I mean, even if there's no dependency in kcl.mod, the module if available in cache (~/.kcl/kpm) is silently imported which seems not unambiguous.

Thank you, I will fix it together.

Closed by https://github.com/kcl-lang/cli/pull/73 and https://github.com/kcl-lang/kpm/pull/309


add users email or username to feedback automatically

Suggestion from @mdoering and @MattBlissett
add users email or username to feedback automatically. Unless the user removes the info actively. We already do so for github usernames.
see https://github.com/gbif/portal-feedback/issues/811#issuecomment-363049504

We now always add it, but only registry users can see it https://github.com/gbif/portal16/commit/9847b919f42ad846c8476b9aacf4cf62f74ed2ca


add plan column to runtime. output also make it a filtering flag

…runtime cmd flag

Description
Changes proposed in this pull request:

add coloumn PLAN to KCP CLI runtime cmd output
add plan as KCP CLI runtime cmd flag

Related issue(s)

This PR has a dependency on below PR to unblock pre-master-kcp-cli  job
https://github.com/kyma-project/control-plane/pull/394

/retest

/retest

/retest

It's  downloading old version of control-plane, interesting...
go: downloading github.com/kyma-project/control-plane v0.0.0-20201211152036-9bdabffd55fb

/retest

@klaudiagrz  Please help review when you are back :)


Abandoned dependency

You use an abandoned dependency:
https://github.com/Codeception/module-rest/blob/master/composer.json#L16
See https://github.com/FlowCommunications/JSONPath/pull/51 and successor https://github.com/SoftCreatR/JSONPath

This fork however requires php > 7.2, so we cannot use it yet.

I hope we drop support for < 7.4 instead ;-)

the flow/jsonpath package also uses psr-0 autoloading, this blocks the composer upgrade to version 2.0
Maybe temporarily move the code of the flow/jsonpath library to this package?

jsonpath is optional here - not everyone needs it
so we can probably remove it from the dependencies.
but actually yes, we can release module-rest 2.0 with this library replaced.

For PHP 5.4 - 7.0:
https://github.com/SoftCreatR/JSONPath/tree/oldphp
For PHP 7.1 - 8.0:
https://github.com/SoftCreatR/JSONPath
Just in case, that you need a solution. I've also just released v0.5.1, so migrating shouldn't be a problem. Simply replace
"flow/jsonpath": "^0.5", with "softcreatr/jsonpath": "^0.5 || ^0.7"
This should install v0.5.1 or v0.7.2, depending on the installed PHP version (5.4+).

Released as 1.2.6

Hi.
I'm using JSONPath in my tests in the REST module and still get this annoying error, that "data()" is deprecated.
The warning is raised (via softcreatr/jsonpath) in
src/Codeception/Util/JsonArray.php
line 90
return (new JSONPath($this->jsonArray))->find($jsonPath)->data();
The solution would be
return (new JSONPath($this->jsonArray))->find($jsonPath)->getData();
Changing dependencies just don't help here.

Please raise a pull request or a new issue.


Add missing configuration values to docs

Hi,
In src/main/java/org/embulk/output/PluginTask.java, it seems sequence_format, max_connection_retry are configurable value.
Add documents so that users can know that.

Thanks!
CI failure is another problem. Merged.


english please

I know that there is not much strings in blah blah - but would be nice to have them in english :)

ok


Accounting for precision and possible null results for DateTime/Time included in evaluator

@brynrhodes - Please verify the logic conforms to the spec. I am returning null if the DateTime/Time comparisons return null, but perhaps it should return false?

The spec (p54) says: "Each of these operators [including IncludedIn] returns true if the intervals X and Y are in the given relationship to each other. If either or both arguments are null, the result is null. Otherwise, the result is false.".

Turns out I have only the 1.1 spec. Could you email me the 1.2?
In my example, the DateTimes looked to be equal but were actually of different precision. So I still believe that the left argument of IncludedIn should have been null and the result also.

I sent that.
From your example:
X = Interval [ 2017-09-01T00:00:00, 2017-09-01T00:00:00 ]
Y = Interval [ 2017-09-01T00:00:00.000, 2017-12-30T23:59:59.999 ]

The call is IncludedIn(X, Y). The arguments X and Y are clearly not null.
However, the call LessOrEqualEvaluator.lessOrEqual(Y.start(), X.start()) results in null because of the difference in precision, which is the reason for the NPE you're getting. I believe the result in that case should be false (although I did code it as you suggested).

When a date/time comparison involving date/times of varying precision returns null, it means "I don't know", so the interval operators that are performing comparisons should propagate that and return null themselves, but using 3VL semantics. In other words, the following two CQL expressions should give us the same answer:
IntervalA during IntervalB

start of IntervalA >= start of IntervalB and end of IntervalA <= end of IntervalB

So I think the way it's coded in this fix is correct, but we should probably reuse the LogicalAnd execution logic.

Yeah, my bad. I was returning null if either of the comparisons were null, which isn't how the AndEvaluator works. However, like the equivalent expressions you outlined above, if one is false and the other is null, we should return false.


Automated Containerd version update 1.4.6

Automated changes by the cron-containerd-update GitHub action

We need to fix the name detection here 😆


Add more libraries

Add libraries for Ruby, Lua, node.js, and Python

Hey @xmulligan, can I work on this issue?

Sure go for it if you think you can figure it out :)


Facebook page clone in html and css

Describe the project
A clear and concise description of the project you are going to add to this repository.
Cloning Facebook and adding my profile name to it in html and css.It looks similar to Facebook.
Issue Type

[x] New Project

Describe the project
A clear and concise description of the project you are going to add to this repository. Cloning Facebook and adding my profile name to it in html and css.It looks similar to Facebook.
Issue Type

[x]  New Project

Assign me this issue @TusharKesarwani @zugzwang03 @Arun9739


Tbt update

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--mammotome--hlxsites.hlx.page/us/en/

After: https://tbt-update--mammotome--sselvara.hlx.live/us/en/

Before: https://main--mammotome--sselvara.hlx.live/us/en/about-us/our-history

After: https://tbt-update--mammotome--sselvara.hlx.live/us/en/about-us/our-history

Closing this PR and raise a PR for optimization of history script includes separately


Update HubHandle::get_node_connection_info on Windows

For getting more precise speed info.

Cleaned up and improved to detect SuperSpeedPlus as well in https://github.com/kevinmehall/nusb/pull/56. Thanks!


Redesign document page

The current document page is very unorganized missing proper layout.

I'll work on this.


FIX: update anatomical connections with smriprep

relies on https://github.com/nipreps/niworkflows/pull/498 and https://github.com/poldracklab/smriprep/pull/174

once we cut a new version of smriprep / niworkflows, this can go in

Let's cut a new RC, can you take on that?

BTW, are you positive a new release of niworkflows is necessary? Is smriprep pinning a particular commit of niworkflows right now?

i'm fairly sure, since https://github.com/nipreps/niworkflows/commit/50fec8b8873cd76cbdbd7c39305e676c9990ce99 isn't in rc3

Then this line https://github.com/poldracklab/smriprep/blob/master/setup.cfg#L28 should be something like
smriprep @ git+https://github.com/nipreps/niworkflows.git@master

isn't it?

What I mean, forcing ourselves to have linked dependencies would preempt messing up with releases. If I look at smriprep now, I would think it does not require a niworkflows release. Does it make sense? Should we update our contribution procedures to make this more salient?


No execution permissions

After updating yotta on Linux, I always have to manually add execution permissions to
/usr/local/bin/yt and /usr/local/bin/yotta

Thanks for reporting – can I ask which linux distribution are you using, and what version of pip do you have (presuming you used pip to install the upgrade?)

$ pip --version
pip 7.1.2 from /usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg (python 2.7)
$ uname -a
Linux agr011510 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Thanks – which ubuntu release is that?

Ubuntu 15.10

This should have been fixed in the two most recent yotta releases – could you confirm?

This morning I have upgraded to v0.11.0 but I still had to add execution permissions to yt & yotta.

Hmm, ok. Thanks for checking!

Still not resolved for yotta-0.12.0 :-(
Collecting yotta
  Downloading yotta-0.12.0.tar.gz (107kB)
    100% |████████████████████████████████| 110kB 163kB/s

...

Building wheels for collected packages: yotta
  Running setup.py bdist_wheel for yotta
  Stored in directory: /root/.cache/pip/wheels/68/93/c9/34cbf5bd17ba1e399cd024f9f447e392b3814b373798fcd0ca
Successfully built yotta
Installing collected packages: yotta
  Found existing installation: yotta 0.11.0
    Uninstalling yotta-0.11.0:
      Successfully uninstalled yotta-0.11.0
Successfully installed yotta-0.12.0
betzw@agr011510:~$ yt --version
bash: /usr/local/bin/yt: Permission denied

:cry:
The scripts in the archive on PyPI definitely have the +x bit set correctly. Could you try maybe cloning the source, chmod +x ./bin/*, and then pip install . – and check if the local pip install sets the permissions correctly?

This works.
I am just wondering which files you were referring to when talking about "The scripts in the archive on PyPI definitely have the +x bit set correctly"?

Hmm OK, that's really strange.
The two scripts are in the ./bin folder of the source (https://github.com/ARMmbed/yotta/tree/master/bin) / the corresponding tarball which pip downloads when it installs yotta is here: https://pypi.python.org/packages/source/y/yotta/yotta-0.12.0.tar.gz#md5=cadf95ab334c4d824bf55af785e4edc9

Well, on the local installation I did the scripts (i.e. yt & yotta) in ./bin - even having the right permissions - are not exactly the same as the ones in ./usr/local/bin/ and the ones /usr/local/bin. While the scripts in the latter two directories are the same.
Here is the diff for yotta:
betzw@agr011510:~/spielwiese/mbed/yotta$ diff ./bin/yotta ./usr/local/bin/yotta
1c1
< #! /usr/bin/env python
---
> #!/usr/bin/python

Any idea, why is that?

It's getting even more weird:
Launching  sudo -EH pip install . from my local source copy installs the scripts with execution permissions in /usr/local/bin/.
Seems as if cloning 'https://github.com/ARMmbed/yotta.gitand runningsudo -EH pip install .in the clone produces a different results from just runningsudo -EH pip install -U yotta` from somewhere.

The #! line is modified by pip when it installs the scripts, so that's normal.
I'm completely out of explanations though, can only suggest reporting as an issue on pip!
Possibly we should just go back to using entry_points instead of custom scripts (on windows entry_points is used still anyway): there is a significant startup-time hit to that, but only in python environments with lots of modules installed, which is probably not typical for users.

I do not know what exactly made the trick, but after a generic Ubuntu SW update and a forced re-install of pip, my latest upgrade of yotta (to version 0.12.1) didn't require me anymore to manually add the execution permissions.
Anyway, as you stated before, most likely my issue is more related to pip than to yotta and therefore I apologize having you bothered with it.
Regarding the question about entry_points vs custom scripts I prefer not to comment not being at all competent on the matter.
Ciao Wolfgang

OK, well it's good to have a record of the issue here in case anyone else does come across the same problem :)
I will close for now!


DataView - delete button not visible

Hi,
I used meteor-kitchen in 2 project, in both of them delete button not visible on any of my collection. Please give me some instruction or step by step guide to active delete button on my DataView if it needs spacial steps.
Thanks for your attention

@cyclops24 if you have "insert" in your dataview - then delete button is generated. No insert - no delete. Maybe that's not best solution (it would be better if I add some property like { "delete": true } ...

(btw, which "frontend" are you using? Currently, only "bootstrap3" (default) is properly generated).

@perak spacial thanks for your attention. It's the key note that help me find the issue:
"No insert - no delete."
I used one form to create and set submit route to another page with DataView to show the result. I added menu link for insert page and didn't set insert route for my DataView.
I think it's a little confusing (no insert - no delete) and add new property like { "delete": true } would be better approach.
Thanks for your attention man.

:+1:

@perak I now check User Accounts example.
Insert route set for admin/users but delete button not visible.
What do you think?

@cyclops24 "Users" collection have special treatment by "kitchen", so user list is not a good example.
BTW, are you dealing with users in your dataviews where you don't have "delete" button?

I have several collection and based on your help I add insert route and delete button issue fixed now but I also want to add delete button to user list. Because some of users send spam message and other illegal activity.
Is it possible with kitchen?

My solution was to set user's role to "blocked" - and that user cannot login anymore. I think you cannot delete user from client-side, but you can server-side (in a method). However, this is not implemented by meteor-kitchen.

@perak  Thanks man. "blocked" roles also good but when too many blocked users available in user list it make user list dirty but worked man :wink:.
Thanks again


Updating headers

• Replaced Quick Hits image with dark mode compatible header image
• removed Natalie image link to CM+P newsletter (this should be re-filled in the near future).

 PR #85


docs: fix xDS RPC variant list

Commit Message:
In restructured text, nested lists need a blank line separator to make them render as lists rather than as paragraph content.
Additional Description: N/A
Risk Level: Low.
Testing: Local docs build.
Docs Changes: Yes.
Release Notes: N/A
Platform Specific Features: N/A
Before:

After:

removed api assignment as its docs-only and quite clearly an improvement


Add device to Home Assistant auto-discovery

This PR adds a unique_id to the discovery payload so that sensors are persisted in the Entity Registry. In addition, this adds Device information so that you can see all of the entities associated with each physical MiFlora device.
@ChristianKuehnel , I have assumed that the only devices recognised are Xiaomi (Line 304). Is that correct or does the gateway also detect other manufacturers ? Also, I see in the library that MiFloraPoller.name() does not retrieve from cache but makes an additional bluetooth connection. Would it be worth caching name in the same way that firmware_version is cached ?

@PeteBa To respond to your question regarding other manufacturers: I'm pretty sure a lot of the other brands on Amazon at least (for example, OLLIVAN) use the exact same internals as the Xiaomi products. I was able to connect my OLLIVAN sensors without any difficulty.


[Enhancement] Document only a specifc method from a class

Another use case that I could see myself using is if we only want to display the bloc regarding a specific method from a class. So for example using: ![mkapi](numpy_style.ExampleClass.message)
It seems at the moment it is not possible, or at least it created an error on my machine.
And not sure if there is another way to achieve this, but that would be interesting to have the possibility to do so.
Thanks!

Good point. Thanks to your indication, I found several bugs in my code. Now you can use ![mkapi](numpy_style.ExampleClass.message) in version 0.5.2 or later.
I updated the documentation.

Thanks for fixing this issue!


Example ICEES+ KG Queries

ICEES+ KG Query #1: What chemical substances are African Americans with asthma exacerbations exposed to greater than chance?
curl -X POST -k "https://icees.renci.org:16339/knowledge_graph" -H "accept: application/json" -H "Content-Type: application/json" -d '{
"query_options": {
"table": "patient",
"year": 2016,
"cohort_features": {
"TotalEDInpatientVisits": {
"operator": ">",
"value": 1
}
},
"feature": {
"Race": {
"operator": "=",
"value": "African American"
}
},
"maximum_p_value":0.5
},
"machine_question": {
"nodes": [
{
"id": "n00",
"type": "population_of_individual_organisms"
},
{
"id": "n01",
"type": "chemical_substance"
}
],
"edges": [
{
"id": "e00",
"type": "association",
"source_id": "n00",
"target_id": "n01"
}
]
}
}' -o output.txt

ICEES+ KG Query #2: What chemical substances are low-income African Americans exposed
to greater than chance?
curl -X POST -k "https://icees.renci.org:16339/knowledge_graph" -H "accept: application/json" -H "Content-Type: application/json" -d '
{
"query_options": {
"table": "patient",
"year": 2016,
"cohort_features": {
"Race": {
"operator": "=",
"value": "African American"
}
},
"feature": {
"EstHouseholdIncome": {
"operator": "<",
"value": 2
}
},
"maximum_p_value":0.5
},
"machine_question": {
"nodes": [
{
"id": "n00",
"type": "population_of_individual_organisms"
},
{
"id": "n01",
"type": "chemical_substance"
}
],
"edges": [
{
"id": "e00",
"type": "association",
"source_id": "n00",
"target_id": "n01"
}
]
}
}
' -o output.txt

Comments:

The first output includes "TotalEDInpatientVisits>1" as a primary outcome measure or y, if you will.
Both queries should return a bunch of chemical substances. From there, you might want to construct paths such as chemical substance -> gene -> biological pathway -> disease_or_phenotypic_feature (what diseases/phenotypes are associated with those chemicals) OR chemical substance -> gene -> disease_or_phenotypic_feature -> gene -> chemical substance (what chemicals might target diseases/phenotypes associated with those chemicals).
Note that we haven’t yet figured out how to address ‘dimensionality’ in query responses, so the natural language questions above aren’t exactly accurate. For instance, in the first query, ICEES+ will return all chemical substances in which African Americans and non-African Americans differ in terms of frequency, but users are unable to determine which group is exposed more frequently (or which group is exposed less frequently).


lateinit property requestPermission has not been initialized

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Minimal Reproducible
Link to minimal reproducible code. It would be much easier for us to investigate the issue!
Environment:

Health Connect Version: 2.1.0
React Native Version: 0.73.6
New architecture enabled: Yes/No
Using Expo: No/Go/Prebuild(Dev Client)

Hi,
Please fill out the template so that I can investigate. Please also follow the documentation carefully and make sure you have setup everything properly.

Here is my package.json
{
"name": "albahar-3",
"version": "1.0.0",
"main": "expo-router/entry",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"build:android": "eas build -p android --profile preview"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.21.0",
"@react-native-community/datetimepicker": "7.7.0",
"@react-native-community/netinfo": "^11.1.0",
"@react-native-community/toolbar-android": "^0.2.1",
"@react-native-masked-view/masked-view": "^0.3.0",
"@react-native-picker/picker": "^2.6.1",
"@react-native-segmented-control/segmented-control": "2.4.1",
"@react-navigation/native": "^6.1.17",
"ahooks": "^3.8.0",
"amazon-cognito-identity-js": "^6.3.13",
"aws-amplify": "^5.3.19",
"aws-sdk": "^2.1651.0",
"expo": "~50.0.19",
"expo-constants": "~15.4.6",
"expo-contacts": "~12.8.2",
"expo-image": "~1.10.6",
"expo-linear-gradient": "~12.7.2",
"expo-linking": "~6.2.2",
"expo-permissions": "^14.4.0",
"expo-router": "~3.4.10",
"expo-secure-store": "~12.8.1",
"expo-sensors": "~12.9.1",
"expo-status-bar": "~1.11.1",
"install": "^0.13.0",
"nativewind": "^2.0.11",
"npm": "^10.8.1",
"react": "18.2.0",
"react-native": "^0.73.6",
"react-native-health-connect": "^2.1.0",
"react-native-pager-view": "^6.2.3",
"react-native-phone-input": "^1.3.7",
"react-native-reanimated-carousel": "^3.5.1",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"react-native-select-dropdown": "^4.0.1",
"react-native-svg": "14.1.0",
"usehooks-ts": "^3.1.0",
"zustand": "^4.5.2"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"expo-build-properties": "^0.12.3",
"expo-health-connect": "^0.1.0",
"tailwindcss": "3.3.2"
},
"private": true
}
app.json
{
"expo": {
"name": "Engage",
"slug": "engage",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/logo.png",
"scheme": "albahar3",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/logo.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": ["/*"],
"ios": {
"infoPlist": {
"LSApplicationQueriesSchemes": ["tel"],
"NSContactsUsageDescription": "Allow ACT to access your contacts."
},
"supportsTablet": true,
"bundleIdentifier": "com.mohsinlisoomro.AlBahar3"
},
"android": {
"permissions": [
"android.permission.READ_CONTACTS",
"android.permission.WRITE_CONTACTS",
"android.permission.ACTIVITY_RECOGNITION",
"android.permission.health.READ_STEPS",
"android.permission.health.WRITE_STEPS",
"android.permission.ACTIVITY_RECOGNITION",
"PHONE_CALL"
],
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.user.AlBahar3"
},
"web": {
"favicon": "./assets/favicon.png",
"bundler": "metro"
},
"plugins": [
[
"expo-sensors",
{
"motionPermission": "Allow $(PRODUCT_NAME) to access your device motion"
}
],
"expo-router",
[
"expo-contacts",
{
"contactsPermission": "Allow ACT to access your contacts."
}
],
"expo-secure-store",
"expo-health-connect",
[
"expo-build-properties",
{
"android": {
"extraProguardRules": "-keep class com.amazonaws. { *; }",
"compileSdkVersion": 34,
"targetSdkVersion": 34,
"buildToolsVersion": "34.0.0",
"minSdkVersion": 26
}
}
]
],
"extra": {
"router": {
"origin": false
},
"eas": {
"projectId": "projectid"
}
},
"owner": "act1"
}
}
const readData = async () => {
console.log("CALLING...");
try {
const isInitialized = await initialize();
console.log({ isInitialized });
getGrantedPermissions().then((permissions) => {
console.log("Granted permissions ", { permissions });
});
//request permissions
if (isInitialized) {
// Here is getting error on permission
const grantedPermissions = await requestPermission([
{ accessType: "READ", recordType: "Steps" },
{ accessType: "WRITE", recordType: "Steps" },
]);
console.log({ grantedPermissions });
}
//
} catch (error) {
console.log({ error });
}
};
useEffect(() => {
readData();
});

Are you using expo prebuild? Did you run expo prebuild -c?

And can you also move expo-health-connect to dependencies instead if devDependencies?

Yes. I am using expo
Prebuild is working. It stuck on permissions

Can you move expo-health-connect to dependencies instead of devDependencies?

I can't understand what you mean. Did you try what I mentioned earlier?

Hi, I'm also having this problem with permissions.
Error message:
kotlin.UninitializedPropertyAccessException: lateinit property requestPermission has not been initialized
dev.matinzd.healthconnect.permissions.HealthConnectPermissionDelegate.launch(HealthConnectPermissionDelegate.kt:32)
dev.matinzd.healthconnect.HealthConnectManager$requestPermission$1$1.invokeSuspend(HealthConnectManager.kt:64)
...
I have beed able to build successfully using the following config:
app.json:
"expo": {
...
"plugins": [
...
["expo-health-connect"],
[
"expo-build-properties",
{
"android": {
"compileSdkVersion": 34,
"targetSdkVersion": 34,
"minSdkVersion": 26
}
}
],
package.json:
"dependencies":{
"expo-health-connect": "^0.1.0",
"react-native-health-connect": "^2.1.0",
...
"devDependencies": {
"expo-build-properties": "^0.12.3",
I have been testing the methods at
https://matinzd.github.io/react-native-health-connect/docs/category/methods
initialize and getSdkStatus work as expected,
but trying to call request permission as per the example here:
requestPermission
results in the app crashing with the error message above

Hi, Yeah if you don't mind sharing that would be great to see them. I am use expo router so that might match up with my problem.

Working project (Without expo) : https://drive.proton.me/urls/8F31TXYXQ0#0VdhI4ACnEmR
Not working (with expo) : https://drive.proton.me/urls/MJPCZZ5KMG#iO0SCay1o8RU
I've removed firebase file in second project you might need to remove the callings if you want to compile it

Can you move expo-health-connect to dependencies instead of devDependencies?

yes but it is not working

I can't understand what you mean. Did you try what I mentioned earlier?

It means, my an android version is 14 my phone. and earlier solution is not working at all

I’m getting this error, too. Literally just created a new React Native Expo app based on the “Get started” tutorial on the React Native website. This happens on both a real device, and in a virtual device running Android 14 (API 34).
I’m new to React Native, so do let me know what information I can provide to help diagnose.

Can everyone try this example here and see if it works?
https://github.com/matinzd/expo-health-connect/tree/main/example
This is example using Expo Prebuild. I have tested it on most Android versions and it's working.

Hello, I have the same problem when using it in a project using expo router. On another project without router it worked. I can share the two projects if you need.

I can't relate why this would not work on expo router app. Are you using expo prebuild or Expo Go?

Can everyone try this example here and see if it works?
https://github.com/matinzd/expo-health-connect/tree/main/example
This example is using Expo Prebuild. I have tested it on most Android versions and it's working.

please also confirm it is built on expo.dev as well right?

What do you mean? Yes the example project is basically an Expo project that has prebuild functionality.
Note: You cannot use this library with Expo Go.
Clone the repo. Install the dependencies and run the example. Are you all new to Expo/RN?

Can everyone try this example here and see if it works?
https://github.com/matinzd/expo-health-connect/tree/main/example
This example is using Expo Prebuild. I have tested it on most Android versions and it's working.

I just tried a build with this example app and encountered the same problem.

Can everyone try this example here and see if it works?
https://github.com/matinzd/expo-health-connect/tree/main/example
This example is using Expo Prebuild. I have tested it on most Android versions and it's working.

I just tried a build with this example app and encountered the same problem.

What Android version?

Here is the example working with Expo Prebuild:

Hi, I have the same issue. The example you provided works fine.
Does the example use the config-plugin in the src/withHealthConnect.ts instead of the module folder?
I also noticed some extra configuration in the example webpack.config.js (dangerouslyAddModulePathsToTranspile),  metro.config.js (blockList and extraNodeModules) and tsconfig.json (paths) in example/* is this required for the module to work properly?
Thanks

No.
JavaScript configurations should not affect native modules usually.
Webpack configuration is mostly for the web and that should not affect the android module.
Try cleaning your prebuild and see if it works, although not cleaning it should not cause an issue.

I have the same problem. Basic Expo project SDK 51, apk built with "eas build --profile development --platform android --output dist/dev-stepper.apk --local". Also tried prebuilding locally first, same result.
The dev build installs fine, but pressing REQUEST SAMPLE PERMISSIONS results in the error below :

I found a simple solution, I hope it works for you too.
In my app.json, I had the plugins in the following order :
"plugins": [
  "expo-router",
  "expo-health-connect",
  [
    "expo-build-properties",
    {
      "android": {
        "compileSdkVersion": 34,
        "targetSdkVersion": 34,
        "minSdkVersion": 26
      }
    }
  ],
  "react-native-health-connect"
]

I re-ordered them placing react-native-health-connect BEFORE expo-build-properties, and bam, problem gone.
"plugins": [
  "expo-router",
  "expo-health-connect",
  "react-native-health-connect",
  [
    "expo-build-properties",
    {
      "android": {
        "compileSdkVersion": 34,
        "targetSdkVersion": 34,
        "minSdkVersion": 26
      }
    }
  ]
]

Also, I saved the state of the initialization and added some error handling to grantedPermissions() :
export default function App() {
  const [isInitialized, setIsInitialized] = useState(false);

  useEffect(() => {
    initializeHealthConnect();
  }, []);

  const initializeHealthConnect = async () => {
    try {
      await initialize();
      setIsInitialized(true);
      console.log('Health Connect initialized successfully');
    } catch (error) {
      console.error('Failed to initialize Health Connect:', error);
    }
  };

  const grantedPermissions = async () => {
    try {
      if (!isInitialized) {
        console.warn('Health Connect is not initialized yet');
        return;
      }
      const permissions = await getGrantedPermissions();
      console.log("Granted permissions ", { permissions });
    } catch (error) {
      console.error("Error getting granted permissions:", error);
      if (error instanceof Error) {
        console.error("Error name:", error.name);
        console.error("Error message:", error.message);
        console.error("Error stack:", error.stack);
      }
    }
  };
}

Hi @lsandini,
Have you tried calling requestPermission()? This is where there error is occurring for me.
I was using expo-stack (expo-router, firebase, tamagui, tabs + drawer set-up) and could not figure out why it would not work.
However I started a new project using a more basic set up 'tamagui@latest --template expo-router' and it works.
I will manually add in the rest of the modules and hopefully not hit the same issue.

You're right @VinceReid,
While getGrantedPermissions() now works for me, requestPermissions() and of course any function calling requestPermissions() still trigger the error  :/
Next, I think I'll try the plugin in a project without expo-router.

@lsandini Please move expo-health-connect to dependencies in both projects.
{
  "name": "stepper-n",
  "version": "1.0.0",
  "main": "expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "expo": "~51.0.22",
    "expo-status-bar": "~1.12.1",
    "react": "18.2.0",
    "react-native": "0.74.3",
    "react-native-health-connect": "^2.1.0",
+   "expo-health-connect": "^0.1.0"
    "expo-dev-client": "~4.0.20"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "expo-build-properties": "^0.12.3",
-    "expo-health-connect": "^0.1.0"
  },
  "private": true
}

Also you are using Expo Go instead of Expo Prebuild. Your scripts are expo start --android and expo start --ios. You need to use development build. Hope that helps.

Thanks for your input.
I did the modifications mentionned above, and I am running a development build, not Expo Go.
Prebuild creates the android folder without problems. I can run "./gradlew :app:assembleDebug" in there or create my development build with eas, the result is identical unfortunately. Stuck here I am afraid  :/

I think the issue is potentially a conflict with 'expo-dev-client'
I removed 'expo-dev-client' and related 'expo-dev-launcher' from my 'package.json' and removed 'expo-dev-launcher' plugin from 'app.json'. Cleaned pre-build, removed and re-installed all modules, then 'expo run:android' and it worked.

Excellent, works for me too.  😃
But now I am wondering how I'll be making a dev build APK file without expo-dev-client...

Glad to hear that it works for you too @lsandini
It was trial and error.
Might be worth trying it in dev dependencies just to check.
I'm not 100% sure if I'm correct in saying this as I'm fairly new to expo - you should be able to generate APK files without expo-dev-client by using the EAS CLI, but you'll have reduced debugging capabilities for local builds.

Removing expo-dev-client dependency fixed the issue for me too

I understand EDC is stripped from preview/production builds, and probably the problem doesn't exist outside dev builds (?).
But I wonder @matinzd, have you tried compiling a dev build as an .apk file, and are you seeing the same error when running a development server and a dev build on a physical device ?
I am quite depending on a physical device for other functionalities of my app. Although this is not a huge issue, it would be interesting to get to the bottom of it.

Please try expo-health-connect v0.1.1 and let me know if the issue is fixed with the presence of expo-dev-client.

@matinzd : yes, the issue is fixed for me ! That was way out of my league, thanks for your very prompt support !  :)

Nice! I am gonna close this issue ✌

Thanks so much @matinzd 👍


update 	xf86-video-dummy-0.4.0.tar.gz in target xiwi

patching fails
Patching Xorg dummy driver (xrandr 1.2 support)...
patching file src/dummy_driver.c
Hunk #1 succeeded at 31 with fuzz 2 (offset -3 lines).
Hunk #2 succeeded at 439 (offset 262 lines).
Hunk #3 succeeded at 656 (offset 265 lines).
Hunk #4 succeeded at 722 (offset 266 lines).
Hunk #5 succeeded at 751 (offset 266 lines).
Hunk #6 succeeded at 891 (offset 267 lines).
Hunk #7 succeeded at 977 (offset 313 lines).
Hunk #8 FAILED at 690.
1 out of 8 hunks FAILED -- saving rejects to file src/dummy_driver.c.rej
Failed to complete chroot setup.
xf86-video-dummy-0.4.0.tar.gz | 2022-04-05 17:16 | 371K |
-- | -- | -- | --
xf86-video-dummy-0.4.0.tar.gz	2022-04-05 17:16	371K

patch need work  for new 2022 driver

https://xorg.freedesktop.org/releases/individual/driver/
many new drivers

Whoa!  First release from xf86-video-dummy in 4 years!  Diff here.
The only change of any substance is their own implementation of randr which is probably why that last hunk is failing, and the rest of the patches are probably now irrelevant. @drinkcat not sure why you never upstreamed your patches ( :P ) but can you do a sanity check to make sure we could get rid of all of the baggage the xiwi target is carrying?
As a bonus, looks like we could also skip installing x11proto-xf86dga-dev.
@TomTravis while bumping the xf86-video-dummy revision would be nice for minimizing the amount of custom patching that crouton has to do, I don't see this as actually improving compatibility with anything you're working on.  Regardless, if you'd like to contribute the version bump, please clean up your branch to limit it only to the changes surrounding dummy.  I think the needed changes are to (1) bump the url (as you've done), (2) remove the entire patch blob, and (3) get rid of x11proto-xf86dga-dev from the install.  Not sure if anything else is needed.

yes i will help bullseye and sid also Kali may install diff Debootstrap
Kali patches the kernel with KMS this take like 10min
it does not use the dummy best i call tell

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=1.86803) |[1][GFX1-]: glxtest: process failed (received signal 11) (t=1.86915) [GFX1-]: glxtest: process failed (received signal 11)

new proposed changes for wrapper and release and version
not need for forked repos the over writes local edits

https://github.com/dnschneid/crouton/pull/3500

hello
I have update my local repo and will be updating my git repo
the dev env for crouton is such the make clean and make all give errors
I was able to update files after crouton.build is made
the make has compile errors and the install process show the same errors

the chroot works just fine
my dev env is back

ok this is a bit to busy i will close and submit again
via new release


index: Remove Loading... text from the app loading overlay.

The new loading spinner animation conveys the message well that the app is loading and this text is no longer required.

Merged, thanks @amanagr!


Allows dco to process CRs in other namespaces

This does not require the application to be re-deployed but does allow us the ability the move the DCO into a different namespace. I think that operationally this design makes more sense since DCO is more of a cluster component.

https://github.com/dominodatalab/distributed-compute-operator/pull/53#pullrequestreview-731054682
@saahildhulla DCO will now watch ALL namespaces without any extra specifications. As an example, if DCO was running in and created a spark cluster in ns-a, after moving it to ns-b, then it will still monitor/reconcile those clusters in ns-a.
I decided to add https://github.com/dominodatalab/distributed-compute-operator/pull/53/commits/77b53fdbc5da6cf153a1eba47187a3717f5ea1c0 so that one could limit the watched namespaces.


libreswan: Upgrade to 4.14

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Upgrade libreswan from 4.7 to 4.14 to fix CVE-2024-2357. Backport/patch is not possible because the patched function itself is not present in current version(4.7).
Change Log

libreswan: Upgrade to 4.14

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-2357

Test Methodology

Github PR Check
Local build and test

Closing this PR in favour of adding the changes to main branch. Main branch PR is here: https://github.com/microsoft/azurelinux/pull/8630


Bug Alert: Site isn't responsive in mobile phone

hey can i work on this?

Yes you can

What breakpoint should i use?

Hey it seems like i would need to rework Almost the whole desktop code since tailwind only supports min width media queries. Would that be a problem?

Yes please work on it

so i will be using basic css if you dont mind

Is this good for the pet cards?

Is this Good?

Yes it is


pep517.build warns about missing author_email field

I ported a very old package to Python 3, of which I know the author, but not his email address. Also, I'd think he does not want to get involved any more with this 16 year old package.
In order to create a package I followed Hynek's guide at
https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
My setup.py contains an author, but no author_email field and me as maintainer.
When I do a python -m pep517.build . I get the following warning:
warning: Check: missing meta-data: if 'author' supplied, 'author_email' must be supplied too

There was a quick discussion over at
https://discuss.python.org/t/which-fields-are-required-for-a-setup-py-especially-is-author-required/2705/2
with different proposed solutions.
I created a test package and uploaded it at test.pypi.org with the author field, but without an author_email field - looks totally valid to me:
https://test.pypi.org/project/Products.ZopeTree/2.0.2.dev0/
Where is the information coming from that author_email must be supplied - while it need not as it seems.
Is it possible to drop this warning? Or change its wording to "should be provided"?
If it is a "must" requirement I'd expect the build to fail.

I think maybe we should migrate this to the setuptools repo, because it seems like this warning is being generated by setuptools or distutils.
Presumably we can solve it by adjusting the wording, since I see no such requirement in the specification.

Paul, thank you for your feedback. I dug a bit deeper and the warning comes from distutils which is located in the cpython repository.
https://github.com/python/cpython/blob/d5a5a33f12b60129d57f9b423b77d2fcba506834/Lib/distutils/command/check.py#L97-L100
I was not sure whether it is necessary to create an issue for this minor wording adjustment, but I did it anyway:
https://bugs.python.org/issue38914
I'll also prepare a pr.

Closing here as it seems like it's not related to pep517. :-)


Add server object

Coverage remained the same at 100.0% when pulling 1b909370b2d1fe6c8d7fa87bb82ae4b0183e63c1 on feature/add-server-class into 64f4f20fdc7b2eb7c25c291172d0d7aaa26d5508 on master.


Public API

Hi, I would like to integrate this project into my program. Could you make lib.rs file with public API and publish on crates.io?

That's sort of my plan once I figure out the details of what this could look like. The use of fork() makes this quite tricky to wrap safely. Additionally it does not have windows support yet.

This will land in the next release.


Support for multiple subnets with VARP

Enhancement summary
EOS supports the following configuration with secondary addresses and multiple VARP gateways:
interface Vlan100
ip address <IP_ADDRESS>/24
ip address <IP_ADDRESS>/24 secondary
ip address <IP_ADDRESS>/24 secondary
ip virtual-router address <IP_ADDRESS>
ip virtual-router address <IP_ADDRESS>
ip virtual-router address <IP_ADDRESS>

This is not supported today in AVD under the network services, although we can use raw_eos_cli commants to generate this configuration, ideally we should support this config when defining tenants:
https://avd.sh/en/releases-v3.x.x/roles/eos_designs/doc/l3ls-evpn/network-services.html
Which component of AVD is impacted
eos_designs
Use case example
Customer runs vlans with multiple subnets due to running out of subnet space in the primary.
Describe the solution you would like
Support for this configuration via eos_designs.
Describe alternatives you have considered
Raw_eos_cli commands.
Additional context
No response
Contributing Guide

[X] I agree to follow this project's Code of Conduct

This would be a config for two nodes running multiple subnets with multiple VARP subnets:
swA
interface Vlan100
ip address <IP_ADDRESS>/24
ip address <IP_ADDRESS>/24 secondary
ip address <IP_ADDRESS>/24 secondary
ip virtual-router address <IP_ADDRESS>
ip virtual-router address <IP_ADDRESS>
ip virtual-router address <IP_ADDRESS>

swB
interface Vlan100
ip address <IP_ADDRESS>/24
ip address <IP_ADDRESS>/24 secondary
ip address <IP_ADDRESS>/24 secondary
ip virtual-router address <IP_ADDRESS>
ip virtual-router address <IP_ADDRESS>
ip virtual-router address <IP_ADDRESS>


⚠ Bofrost.lu has degraded performance

In 43da3f9, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 931 ms

Resolved: Bofrost.lu performance has improved in b271012.


Spigot 1.14.1-R0.1-SNAPSHOT breaks the plugin?

It seems that no matter what builds I try, I get "Could not pass event PlayerPortalEvent to Multiverse-Core" errors. The plugin's commands work, and I don't have any issue running the commands or linking the worlds. However, the portals A) don't go to the correct worlds (they just link back to the regular world_nether), and B) don't spawn you in a safe area as well as do not generate a portal on the other side. I try using dev builds of MVCore and MVNP.
Any pointers?

Im having the same issue on the latest dev build and latest paper version of 1.14.2
ERROR Could not pass event PlayerPortalEvent to Multiverse-NetherPortals v3.0.0-SNAPSHOT-b749

Fixed in Pull #143
Download a working version on
https://jenkins.addstar.com.au/job/MultiVerse-NetherPortals/

Fixed in Pull #143
Download a working version on
https://jenkins.addstar.com.au/job/MultiVerse-NetherPortals/

Thank you! I loaded it in and will give it a try

@MrPistachios this is now fixed in mainstream and I have removed that build