SLEEP dir usage

Hello y'all, this is a question about hyperdrive, the sdk and the .dat folder that we use to find after using the dat CLI create or share commands.
From my understanding the .dat folder contains SLEEP related files. The current sdk behavior is to create a .dat file containing the public key only. Is this desired behavior? I mean maybe the SLEEP format is not longer used anymore. Or maybe there is a module to handle SLEEP dir creation. I'm playing with dat-storage with no luck yet.
My use case involves something similar to dat-node but using latest hyperdrive mainly.
Thanks in advance for any info 👋

Hey! The SDK still uses SLEEP, it's just that instead of storing the data inside the .dat folder, it stores it in the user folder. The idea there was to have deduplication of data across applications using the SDK, and was adapted from what the hyperdrive daemon was doing.
It uses the env-paths module to determine what the proper directory should be per platform rather than polluting the user's home dir with another directory.
Do you need to have finer grained control over where the data is being stored?

Thanks for the quick response and clarification @RangerMauve.


Is it posible to find fixel with converToPixel() outside xdataindex or ydataindex?

I was trying to create annotatios in custom places along xaxis and y axis based on timestamp and price , but when i want to covert timestamp to pixel with  convertToPixel() it  only gives me the pixel that is in the center of the candle

The next version of the tag may be what you want.

I was warking with create tag but is not what i was looking for, I  use create Anotation to draw buy or sell events , and im using the type of Custom so i can dray a custom Shape  with shadows , and onother good looking stuff, this is how mi code looks.
Note: order  is an object comming from websockets, it has this strucutre {timesTamp:number, openPrice:number} , this openPrice is comming already calculated to be placen on ask or bid value , depending of operation type (buy, sell)
`const lastCandle=
this.kLineChart.getDataList()[
this.kLineChart.getDataList().length - 1
];
      this.kLineChart.createAnnotation({
        point: { timestamp: lastCandle.timestamp, price: lastCandle.close },
        styles: {
          symbol: {
            position: 'point',
            type: 'custom',
            offset: [0, 0],
          },
        },
        drawCustomSymbol: ({ ctx, coordinate }) => {
          const pxPoint: any = this.kLineChart.convertToPixel(
            {
               xAxisValue: order.timesTamp,
               yAxisValue: order.openPrice,
            },
            {}
          );
          ctx.beginPath();
          ctx.shadowColor = 'black';
          ctx.shadowBlur = 10;
          ctx.shadowOffsetX = 0;
          ctx.shadowOffsetY = 0;
          ctx.arc(pxPoint.x, pxPoint.y, 8, 0, 2 * Math.PI);
          (ctx.fillStyle = order.orderType === 0 ? '#00CD20' : '#0000ff'),
            ctx.fill();
          ctx.strokeStyle = 'white';
          ctx.stroke();
          ctx.fillStyle = 'white';
          ctx.fillText(
            order.orderType === 0 ? 'B' : 'S',
            coordinate.x - 3,
            pxPoint.y + 3
          );
        },
      });`

So i think i realize that somethings points ar not showing because the convertToPixel(), because it cant find the openPrice that is coming fomr te socket iniside de dataset in the chart, same with timestamp, somethibg this timestamp is not in the array of data so it is unable to find the right pixel.
Please let me know if you need more explanation

When receiving data from websocket, do this,
// order is the data pushed by websocket.
const { timestamp, openPrice } = order;
this.kLineChart.createAnnotation({
  point: { timestamp, price: openPrice },
  styles: {
    symbol: {
      position: 'point',
      type: 'custom',
      offset: [0, 3],
    },
  },
  drawCustomSymbol: ({ ctx, coordinate }) => {
    ctx.save();
    ctx.beginPath();
    ctx.shadowColor = 'black';
    ctx.shadowBlur = 10;
    ctx.shadowOffsetX = 0;
    ctx.shadowOffsetY = 0;
    ctx.arc(coordinate.x, coordinate.y, 8, 0, 2 * Math.PI);
    ctx.fillStyle = order.orderType === 0 ? '#00CD20' : '#0000ff';
    ctx.fill();
    ctx.strokeStyle = 'white';
    ctx.stroke();
    ctx.fillStyle = 'white';
    ctx.textBaseline = 'middle';
    ctx.textAlign = 'center';
    ctx.fillText(order.orderType === 0 ? 'B' : 'S', coordinate.x, coordinate.y);
    ctx.restore();
  }
});

Still not working because timestamp and openPrice (but there are closer values) coming from sockets are not  in the dataset and I  was looking inside the code and all the methods that u use to find the position for an annotation are based in the points that are already in the chart, thats why i was asking if its there are way to use covertToPixel() with values outside the data array .

convertToPixel(value, finder)
By default, it will go to the data set to configure the position closest to the timestamp.

Yes, i realize that when i saw nearBinarySearch method, hop next releae supports absolute xAxis convert to pixel. Thanks.
Awesome Job by the way


fix(cta): arrow/icon should never be on a line by itself

Fixes #238
What I did

made static icon size
positioned icon inline instead of flex

Notes to Reviewers
I think this addresses what we were talking about. If not, I'm happy to change it.

@marionnegp try it now

@marionnegp try it now

Does it look like the arrow is resting slightly too far down?  Like vertical-align: baseline look more correct?

Tests are red ptal


Delete "share screen", "start task comment on slack" on Issue and PR …

…template #66
closes #66
For the Submitter
Tasks

[x] Make sure all checkboxes in the Issue content are checked
[x] Make sure the PR title is in the format <Issue Title> <Issue Number>
[x] Make sure "closes (issue number)" is written close to the top
[x] Attach the enhancement label for update tasks
[x] Make sure CI completes successfully
[x] Check everything written in the PR
[x] Fix the issues pointed out by AI
[x] Add reviewers
[x] On Slack, mention the PR reviewer, write your thoughts on the issue, and inform them that the PR has been created

For the Reviewer
Before Reviewing

[x] Write which PR you are reviewing on Slack

Checks

[x] Each task for the related issue are written and in checkboxes
[x] The branch name is close to the issue name
[x] CI completes successfully
[x] Changes include only what is necessary for this PR
[x] Necessary unit tests are implemented
[x] Necessary E2E tests are implemented
[x] Perform functionality checks
[x] If there are any problems, request revisions from the PR submitter and mention them on Slack

After Reviewing

[x] Leave an approval comment (e.g. LGTM)
[ ] On Slack, mention the PR submitter and a project admin, write which PR you have reviewed, and ask them to merge the PR
[ ] Write an approval comment with praise on Slack

@sinproject-iwasaki
npm install したときに、critical な脆弱性が 1 件検出されましたので、ご報告いたします。
npm audit fix などで対応が必要な場合はご連絡ください。よろしくお願いいたします。

@Acha0203
別 Issue を作成して、npm audiit fix 対応を行ってください。
他に良い方法があればご提案くださいませ。


chore(deps): update public.ecr.aws/docker/library/golang docker tag to v1.20.4 - abandoned

This PR contains the following updates:

Package
Type
Update
Change

public.ecr.aws/docker/library/golang
stage
minor
1.18.3-alpine3.16 -> 1.20.4-alpine3.16

public.ecr.aws/docker/library/golang
stage
minor
1.19.2-alpine3.16 -> 1.20.4-alpine3.16

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.


Fix possible misleading code example

I found that this example looks strange and fix it, I hope it isn't something I just don't understand. But it seems that new version is assumed.

Thanks for that, good catch


add(starter): new-tailwind-app

Name
Link

new-tailwind-app
https://github.com/msaaddev/new-tailwind-app

Creates React.js, Next.js, Gatsby.js, Vue3, Laravel, and basic Tailwind CSS apps with a single command.

[x] My item is in the right category
[x] My item is logically grouped below similar items
[x] My item's name and description respects the conventions of the list
[x] My item is awesome
[x] My item is in line with the Tailwind brand usage guidelines
[x] I have read and followed the contribution guidelines

@innocenzi I have updated the file.

Thanks!


"Tălpaș" is listed in the drop-down menu

Description:
"Tălpaș" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Tălpaș" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Tălpaș, DOLJ".


[19.0.x] [WFLY-13414] Upgrade WildFly Core 11.1.0.Final

JIRA: https://issues.redhat.com/browse/WFLY-13414
Signed-off-by: Jeff Mesnil<EMAIL_ADDRESS>
Diff to previous integrated release: https://github.com/wildfly/wildfly-core/compare/11.0.0.Final...11.1.0.Final
Release Notes - WildFly Core - Version 11.1.0.Final
        Component Upgrade

[WFCORE-4878] -         Upgrade WildFly OpenSSL to 1.0.10.Final

[WFCORE-4890] -         Upgrade WildFly Elytron to 1.11.3.Final

[WFCORE-4934] -         Upgrade Undertow to 2.1.0.Final

[WFCORE-4946] -         Upgrade WildFly Elytron to 1.11.4.Final

[WFCORE-4947] -         Upgrade Elytron Web to 1.7.1.Final

        Bug

[WFCORE-4905] -         Provide common capability for Remoting connectors

[WFCORE-4909] -         Correct GAV versions in ModelTestControllerVersion

I added the 'hold' label as there seem to be differences between the release content and the source tag/

The WildFLy Core 11.1.0.Final artifacts are buggy, they contains XSD schemas from elytron that corresponds to 12.0.0.Beta2...
There is no issue with wildfly-core base itself, this issue was introduced when I built the jar without cleaning up the project first (and its target directories contained leftover from the master branch).
I'm closing this branch and will release a correct 11.1.1.Final.


Error to run

root@S1ROZHA:~ # go install BogdanBot/cmd/bot
work/src/BogdanBot/cmd/bot/bot.go:18:2: code in directory /root/work/src/github.com/layeh/gopus expects import "layeh.com/gopus"
root@S1ROZHA:~#

The import path for the package had to move from github.com/layeh/gopus to  layeh.com/gopus. Simply change all of your project's import statements accordingly.


Tetragon Tracing Policies

This commit adds the ability to collect Tetragon tracing policies to sysdump archives.
To facilitate this change the K8s client needed to be extended to include Tetragon objects.
This commit also includes a unit test, including mock object, for this new functionality.
Also, I don't know why it says I committed something to the previous commit. I've been fighting with git rebase all afternoon to fix my commit message. Please take pity on me.
Signed-off-by: Nicholas Lane<EMAIL_ADDRESS>

I've rebased it so you should be able to simply delete your local branch and re-checkout this PR (via gh pr checkout 1467) or you can just git reset --hard soggiest/pr/soggy/sysdump-improvement after git fetch --all.

There we go, finally successfully removed the old useless commit. Thanks for your help @christarazi!


Does RLocalCachedMap get invalidated with the changes in Redis-Server ?

Hi,
My use case:
I have a single node application(MyApplication) which uses RLocalCachedMap (say testMap)to communicate with redis-server and also cache data locally in aplication.
On the other hand there is another Non java application say anotherApplication(which we have no control of) will update the data in redis-server on same map testMap.
In which case, does RLocalCachedMap in  MyApplication will invalidate the local cache entries when there is change in redis server ?
LocalCachedMapOptions<String, String> options = LocalCachedMapOptions.<String, String>defaults()
                .evictionPolicy(LocalCachedMapOptions.EvictionPolicy.LRU)
                .syncStrategy(LocalCachedMapOptions.SyncStrategy.INVALIDATE)
                .reconnectionStrategy(LocalCachedMapOptions.ReconnectionStrategy.CLEAR)
                .storeMode(LocalCachedMapOptions.StoreMode.LOCALCACHE_REDIS)
                .cacheSize(1000)
                .cacheProvider(LocalCachedMapOptions.CacheProvider.REDISSON);

If not, how would you suggest to implement Redis Server assisted client side caching (https://redis.io/topics/client-side-caching)?
Is there a way that i can use listen to redis-server invalidation events and keep the local cache in sync with redis-server data (with or without RLocalCachedMap as Its not mandate for use to use RLocalCahedMap). ?
Please suggest.

not, RLocalCachedMap sync invalidate msg by redis pubsub topic:  {}:topic
invalidate msg is: org.redisson.cache.LocalCachedMapInvalidate, which contains invalidated hash keys.
see org.redisson.cache.LocalCacheListener


Expose collaborators endpoint - PLT-6915

This function is going to be used in the C# sdk for the issue
tracking plugin, so I am adding it here as well for completeness.

Do you still want to merge this?

Sure, might as well


Possible Feature Request or linked side project - Egg/Chicken image object detection

I wanted to start a dedicated thread in case there was enough interest and viability in this topic.
I was really interested in @Tillsy description in this other thread of how he is using Frigate to do object detection and report how many eggs are sitting in the laying box/s.
I could see two really beneficial uses for this type of technology:

Egg counting
Chicken counting (e.g. how many chickens are visible? Are all my chickens (based on a programmed 'coop population' integer) in the coop now that the door is closed or do I have to go and manage some stragglers? Could we even delay/override the Omlet autodoor light triggered close if not all chickens are counted, and then close once we have the correct number?)

I also own cats and have investigated many smart cat doors on the market over the years. Some use ML/AI to keep track of how many cats are 'inside' so that you can delay time-based door locking if you have a straggler.  I can see a lot of ways that many of us could combine this Omlet integration with a bespoke system like Frigate to really make our coops smarter. Heck, I wouldn't be surprised if the folks at Omlet haven't considered an "Omlet camera" that complements the Omlet light, connects to the Omlet controller, and does a lot of what we're talking about here.
I can appreciate that Frigate is a separate Add-On with it's own integration and therefore the install part of that can be easily documented (their docs are pretty good from what I've tested), but where I'm hoping we can crowd-source to save time and energy is the training of the system in egg and chicken detection. This is where my knowledge hits a wall, but I know others here have done it and/or are way smarter than me and could do it it :)
Thoughts?

Love the idea, I'm on board, but it's out of scope of this project until Omlet adopt it in a way we can integrate in to HA.
Omlet, I hope you're listening!
The microcontroller on the Smart Coop is an ESP32, manufactured by Espressif. Awesome little power-house of a chip. Espressif also provide a code library, called ESP-WHO, with examples for doing computer vision and object recognition using the ESP32.
There are loads of very cheap cameras that can be used for this job. The OV2640 is very popular and costs only a few bucks.
An egg-detection, camera add-on would be just lovely!

G'day guys!
When I originally setup my egg counting I did try chicken counting too - you likely saw I have cameras in BOTH the nesting and sleeping areas.  The good news is Frigate's built in "bird" object happily recognises the chickens as birds.  The bad news is when they are huddled together they are just a big blob, so while you may or may not still see a "bird" Frigate can't individual identify and thus count them.  Early in the evening when say two or three of them go in and sit separately yes, but once they are all in or start huddling it doesn't work.
The alternative might be to tackle it the other way around - a camera outside the coop and if 1) Door is closed AND 2) Bird detected outside then re-open door, wait a few minutes, re-close door?
Just a thought?

The bad news is when they are huddled together they are just a big blob, so while you may or may not still see a "bird" Frigate can't individual identify and thus count them. Early in the evening when say two or three of them go in and sit separately yes, but once they are all in or start huddling it doesn't work.

Yeah, that doesn't surprise me at all.  Even when I've had as few as 3 hens, when checking the camera feed we've thought we were missing a bird as they love to quite literally sit on top of each other sometimes!

The alternative might be to tackle it the other way around - a camera outside the coop and if 1) Door is closed AND 2) Bird detected outside then re-open door, wait a few minutes, re-close door?

Maybe. I guess it depends on how people have their coop and run setup and how their hens behave. It wouldn't work for me as usually when I have a hen miss 'curfew' and get locked out, they'll come and sit on, or under, a table on my back deck. Mine have rarely been as disciplined as to sit on the ladder/ramp outside the night box! But for others it might work perfectly.

Great idea and might even work as a blueprint. Closing as it is outside the scope of this little integration.


Issue #420 Google Analytics

Note: This only currently tracks user language for screen views. We'll have to address events on a per event basis.

@DarwishMenna and @tomy-pg please have a look at this PR to watch and participate in our code review process.


Make noirup pull latest nightly build by default

Related issue(s)
https://github.com/noir-lang/noir/issues/225 Releases don't contain binaries anymore
Description
Summary of changes
noirup currently always builds nargo from source due to #225. As we move towards publishing binaries we can have noirup take advantage of this to pull the nightly build.
This PR makes this the default behaviour for noirup. The current behaviour of building locally is still available through noirup -b master.
I haven't tested this yet as there are currently no binaries to download but we can test tomorrow. The url of the tarball to download will almost definitely needs to be tweaked. Tested on linux.
Dependency additions / changes
N/A
Test additions / changes
N/A
Checklist

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt with default settings.
[x] I have linked this PR to the issue(s) that it resolves.
[x] I have reviewed the changes on GitHub, line by line.
[x] I have ensured all changes are covered in the description.

Additional context
(If applicable.)

Keep in mind that there's currently no build for apple-darwin on the nightly release tag so noirup will fail until that exists.

Merging with intent to move noirup into its own repository.


Bug: Transition to next item during Transition

Let's say I have 3 menu items.
I switch by swipe from 1 to 2. During that Transition I swipe to 3.
So, if I do that - I have several different bugs after that. The page's content can become invisible, the page can display content from different page.
After several swipes with slow speed it returns to normal.
I can not be reproduced by clicking menu items. (Looks like it locked if transition in a progress).
Are there any ways to solve that?
I realize that finding that bug can be an issue. But maybe there are some ways how to stop it? Like disabling transition to next item if transition in a progress?
And also:
I switch by swipe from 1 to 2. During that Transition I swipe to 3.
The content from 2nd page disappears and it replaced with content for 3rd page. It does not looks good as well

Hmm, I'm not able to reproduce the bug you're seeing. Are you able to reproduce this when running the Example target or is this specific to your implementation?

I experienced this too until the latest update.

@LinusGeffarth are you seeing this bug in the Example target as well?

I'm not sure. Like I said, after the latest update, I don't see this bug anymore.


Handle the GRPC metadata properly

Sometimes the newrelic sets multiple payloads in the header, which makes
that header an Array instead of string.

@splittingred Can you help to take a look at this?

I don't if grpc's metadata can has other type of enumerable. I am okay with
your change.
can you please help committing your change? I am not at my computer right
now.
Shaun McCormick<EMAIL_ADDRESS>于 2020年2月7日周五 22:55写道：

@splittingred requested changes on this pull request.
In lib/gruf/newrelic/server_interceptor.rb
https://github.com/bigcommerce/gruf-newrelic/pull/6#discussion_r376432693
:

@@ -44,7 +44,11 @@ def call

   def accept_distributed_tracing
     payload = request.active_call.metadata[NEWRELIC_TRACE_HEADER]

   ::NewRelic::Agent::DistributedTracing.accept_distributed_trace_payload(payload)

   if payload.instance_of? Array

Is there a reason you're wanting to ensure this is exactly an array, as
opposed to checking to see if it's Enumerable? This might be better as:
def accept_distributed_tracing
payload = request.active_call.metadata[NEWRELIC_TRACE_HEADER]
payload = payload.first if payload.is_a?(Enumerable)
::NewRelic::Agent::DistributedTracing.accept_distributed_trace_payload(payload)
end
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bigcommerce/gruf-newrelic/pull/6?email_source=notifications&email_token=ANGRCFZHQG5AINADRBMFVB3RBVY7DA5CNFSM4KQFB4G2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCUWBRKI#pullrequestreview-355211433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANGRCF4DQWV63ZZ2QE2LE23RBVY7DANCNFSM4KQFB4GQ
.

@splittingred please take a look again. thanks. BTW, if this is merged, can you please bump a new version?

@wenhao-fp Yep! 1.2.1 has been published.


fs_mount: fix unterminated conditional macro

@mlaz I am merging your PR and I will address the comments myself.


how to do aspect ratio in this package?

pls send me sample code

There is currently no aspect ratio implemented, there is a PR which you can checkout and use https://github.com/demonskp/flutter-custom-image-crop but it's not ready to be merged so you'll have to use a git dependency

any news !

As far as I can tell, no work has been done on the PR. Feel free to take a look! I'm working on some other packages atm as this is not priority for us. But if you (or someone) fixes the PR, we'd be happy to take a look and merge 🙂


Add Serverside logging of all metadata handling requests.

Part of: COMPUTE-4989
This adds pod name logging on the kiam server to every single metadata handler. This is necessary for a complete network audit of every request to every kiam agent. This is because the individual agents cannot examine the request to know what pod the request is coming from since the ip->pod cache is on the kiam-server.
output of make test:
make test
go test github.com/uswitch/kiam/pkg/... -race
ok      github.com/uswitch/kiam/pkg/aws/metadata        10.429s
ok      github.com/uswitch/kiam/pkg/aws/sts     (cached)
ok      github.com/uswitch/kiam/pkg/future      (cached)
ok      github.com/uswitch/kiam/pkg/k8s (cached)
?       github.com/uswitch/kiam/pkg/k8s/testing [no test files]
?       github.com/uswitch/kiam/pkg/pprof       [no test files]
ok      github.com/uswitch/kiam/pkg/prefetch    (cached)
?       github.com/uswitch/kiam/pkg/prometheus  [no test files]
ok      github.com/uswitch/kiam/pkg/server      (cached)
?       github.com/uswitch/kiam/pkg/statsd      [no test files]
?       github.com/uswitch/kiam/pkg/testutil    [no test files]
?       github.com/uswitch/kiam/pkg/testutil/server     [no test files]

@lucaburak Do we still need this? Just sweeping up old github PR requests


Inbound device traffic chart shows strange data

The device traffic chart that shows inbound and outbound traffic for a device shows different kinds of stats for inbound and outbound. Outbound looks plausible, but the data shown by the inbound chart looks like wifi usage instead of traffic (the values are increasing steadily).

Can you provide an example of the data please - the raw data would be better.


Need evdev mouse and keyboard

I posted my working program, framebuffer and mouse input:
https://github.com/littlevgl/lvgl/issues/374
evdev is working for the mouse, but not the keyboard. I put a text-entry object into the program, and the cursor blinks, but keyboard is not captured. I have a usb keyboard and usb mouse.
I replaced LV_INDEV_TYPE_POINTER with LV_INDEV_TYPE_KEYPAD, but that only stopped the mouse from working.
Here is the program that I am experimenting with:
#include "lvgl/lvgl.h"
#include "lv_drivers/display/fbdev.h"
#include "lv_drivers/indev/evdev.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>

//Add a display for the LittlevGL using the frame buffer driver
void register_display(void)
{
	lv_disp_drv_t disp_drv;
	lv_disp_drv_init(&disp_drv);
	disp_drv.disp_flush = fbdev_flush;      //It flushes the internal graphical buffer to the frame buffer
	lv_disp_drv_register(&disp_drv);
}

static lv_res_t btn_click_action(lv_obj_t * btn)
{
    uint8_t id = lv_obj_get_free_num(btn);

    printf("Button %d is released\n", id);

    /* The button is released.
     * Make something here */

    return LV_RES_OK; /*Return OK if the button is not deleted*/
}

static lv_res_t btn3_click_action(lv_obj_t * btn)
{
	exit(0);
}

int main(void)
{
    /*LittlevGL init*/
    lv_init();

    /*Linux frame buffer device init*/
    fbdev_init();

    // get a display
	register_display();

	// enable event input
	evdev_init();

	// get an input device like mouse
	lv_indev_drv_t indev_drv;
	lv_indev_drv_init(&indev_drv);
//	indev_drv.type = LV_INDEV_TYPE_POINTER;
	indev_drv.type = LV_INDEV_TYPE_KEYPAD;
	indev_drv.read = evdev_read;
//	lv_indev_drv_register(&indev_drv);

    lv_indev_t * mouse_indev = lv_indev_drv_register(&indev_drv);

    lv_obj_t * cursor_obj =  lv_img_create(lv_scr_act(), NULL); /*Create an image for the cursor */
    lv_img_set_src(cursor_obj, SYMBOL_GPS);                 /*For simlicity add a built in symbol not an image*/
    lv_indev_set_cursor(mouse_indev, cursor_obj); /* connect the object to the driver*/

	/*Create a title label*/
	lv_obj_t * label = lv_label_create(lv_scr_act(), NULL);
	lv_label_set_text(label, "Default buttons");
	lv_obj_align(label, NULL, LV_ALIGN_IN_TOP_MID, 0, 5);

	/*Create a normal button*/
	lv_obj_t * btn1 = lv_btn_create(lv_scr_act(), NULL);
	lv_cont_set_fit(btn1, true, true); /*Enable resizing horizontally and vertically*/
	lv_obj_align(btn1, label, LV_ALIGN_OUT_BOTTOM_MID, 0, 10);
	lv_obj_set_free_num(btn1, 1);   /*Set a unique number for the button*/
	lv_btn_set_action(btn1, LV_BTN_ACTION_CLICK, btn_click_action);

	/*Add a label to the button*/
	label = lv_label_create(btn1, NULL);
	lv_label_set_text(label, "Normal");

	/*Copy the button and set toggled state. (The release action is copied too)*/
	lv_obj_t * btn2 = lv_btn_create(lv_scr_act(), btn1);
	lv_obj_align(btn2, btn1, LV_ALIGN_OUT_BOTTOM_MID, 0, 10);
	lv_btn_set_state(btn2, LV_BTN_STATE_TGL_REL);  /*Set toggled state*/
	lv_obj_set_free_num(btn2, 2);               /*Set a unique number for the button*/

	/*Add a label to the toggled button*/
	label = lv_label_create(btn2, NULL);
	lv_label_set_text(label, "Toggled");

	/*Create a one lined text area with password mode*/
	lv_obj_t * ta2 = lv_ta_create(lv_scr_act(), NULL);
	lv_obj_set_size(ta2, 100, 20);
	lv_obj_align(ta2, btn2, LV_ALIGN_OUT_BOTTOM_MID, 0, 10);
	//lv_ta_set_style(ta2,LV_TA_STYLE_BG, &style_bg);                     /*Apply the background style*/
	lv_ta_set_one_line(ta2, true);
	lv_ta_set_cursor_type(ta2, LV_CURSOR_LINE);
	lv_ta_set_pwd_mode(ta2, true);
	lv_ta_set_text(ta2, "Password");

	/*OK button to exit*/
	lv_obj_t * btn3 = lv_btn_create(lv_scr_act(), btn1);
	lv_obj_align(btn3, ta2, LV_ALIGN_OUT_BOTTOM_MID, 0, 10);
	lv_btn_set_action(btn3, LV_BTN_ACTION_CLICK, btn3_click_action);
	label = lv_label_create(btn3, NULL);
	lv_label_set_text(label, "OK");

	/*Handle LitlevGL tasks (tickless mode)*/
    while(1)
	{
        lv_tick_inc(5);
        lv_task_handler();
        usleep(5000);
    }

    return 0;
}

Hi,
Working with a keyboard is not so simple because in this case there has to be an object which focused and only this object should receive the pressed keys.
To handle this objcets should be added to an lv_group.
Please read this: to lear more about the groups
https://littlevgl.com/basics#touchad-less-navigation
And check these examples:
https://github.com/littlevgl/lv_examples/blob/master/lv_tests/lv_test_group/lv_test_group.c
https://github.com/littlevgl/lv_examples/blob/master/lv_tutorial/10_keyboard/lv_tutorial_keyboard.c

I have studied the docs and examples, and as far as I can see, usb keyboard input via evdev does not work. I am using 5.1.1.
In the code below, there is only mouse input. The keyboard is not captured.
#include "lvgl/lvgl.h"
#include "lv_drivers/display/fbdev.h"
#include "lv_drivers/indev/evdev.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>

//Add a display for the LittlevGL using the frame buffer driver
void register_display(void)
{
	lv_disp_drv_t disp_drv;
	lv_disp_drv_init(&disp_drv);
	disp_drv.disp_flush = fbdev_flush;      //It flushes the internal graphical buffer to the frame buffer
	lv_disp_drv_register(&disp_drv);
}

int main(void)
{
    /*LittlevGL init*/
    lv_init();

    /*Linux frame buffer device init*/
    fbdev_init();

    // get a display
	register_display();

	// enable event input
	evdev_init();

	/*Create a title label*/
	lv_obj_t *label1 = lv_label_create(lv_scr_act(), NULL);
	lv_label_set_text(label1, "Title text her");
	lv_obj_align(label1, NULL, LV_ALIGN_IN_TOP_MID, 0, 5);

	/*Create a one lined text area with password mode*/
	lv_obj_t * ta2 = lv_ta_create(lv_scr_act(), NULL);
	lv_obj_set_size(ta2, 100, 20);
	lv_obj_align(ta2, label1, LV_ALIGN_OUT_BOTTOM_MID, 0, 10);
	lv_ta_set_one_line(ta2, true);
	lv_ta_set_cursor_type(ta2, LV_CURSOR_LINE);
	lv_ta_set_pwd_mode(ta2, true);
	lv_ta_set_text(ta2, "");

	/*create a group for keyboard input*/
	lv_group_t *group2 = lv_group_create();
	lv_group_add_obj(group2, ta2);

	/*evdev to handle kb input*/
	lv_indev_drv_t kb_drv;
	lv_indev_drv_init(&kb_drv);
	kb_drv.type = LV_INDEV_TYPE_KEYPAD;
	kb_drv.read = evdev_read;

	/*assign kb to group*/
	lv_indev_t *kb_indev = lv_indev_drv_register(&kb_drv);
	lv_indev_set_group(kb_indev, group2);
	/*set focus on ta2*/
	lv_group_focus_obj(ta2);
	lv_group_focus_freeze(group2, true);

	/*Handle LitlevGL tasks (tickless mode)*/
    while(1)
	{
        lv_tick_inc(5);
        lv_task_handler();
        usleep(5000);
    }

    return 0;
}

This is neat, utility named 'skeylogger' scans /proc/bus/input/devices and automatically finds the keyboard event#, then logs all key presses:
https://github.com/gsingh93/simple-key-logger
If LVGL has no way to input from a keyboard via evdev, perhaps this little utility could be incorporated?
Note, that automatic detection could probably be also applied to a mouse, so you wouldn't have to hard-code /dev/input/event#

Hi,
Yes, evdev supports only mouse or touchpad right now.
However, it would be great to have an evdev_read_pointer for mouse or touchpad and an evdev_read_keyboard for keyboard.
Do you plan to try the utility you mentioned with LittelvGL?

Well, I started to think about it, but I am a beginner with LVGL and don't really know how to integrate the simple-key-logger code properly.
I did think that perhaps lv_drv-conf.h could be modified, supporting backwards compatibility:
/*-------------------------------------------------
 * Keyboard, Mouse or touchpad as evdev interface (for Linux based systems)
 *------------------------------------------------*/
#define USE_EVDEV    1
#if USE_EVDEV
 /*hardcoded event#, for pointer i/p only...*/
 #define EVDEV_NAME   "" /*ex: /dev/input/event0*/
 /*if any of these defined, event# is autodetected...*/
 #define USE_EVDEV_KEYBOARD  1
 #define USE_EVDEV_MOUSE     1 /*mouse and touchpad*/
#endif

Then in evdev.c, something like this, for function evdev_init():
/**********************
 *  STATIC VARIABLES
 **********************/
int evdev_fd = -1;
int evdev_root_x;
int evdev_root_y;
int evdev_button;

int evdev_kbd_fd = -1;
int evdev_mouse0_fd = -1;
int evdev_mouse1_fd = -1;
char event_kbd[9] = "";
char event_mouse0[9] = "";
char event_mouse1[9] = "";

/**
 * Initialize the evdev interface
 * note, instead of running a shell script, in future could use this C code:
 * https://github.com/kernc/logkeys/issues/89
 */
void evdev_init(void)
{

    #if USE_EVDEV_KEYBOARD == 1
       char evdev_name_kbd[20] = "/dev/input/";
       /*note, instead of EV=120013, could test for "Handlers=kbd "*/
       char *command1 = "cat /proc/bus/input/devices | tr -d '|' | sed -e 's%^$%|%' | tr '\n' ' ' | tr '|' '\n' | grep 'input0 .*EV=120013 ' | head -n 1 | grep -Eo 'event[0-9]+'";
       FILE *pipe1 = popen(command1, "r");
       if (pipe1 != NULL) {
           fgets(event_kbd, 9, pipe1); /*ex: event1*/
           pclose(pipe1);
           if (event_kbd[0] != 0 ) {
               strcat(evdev_name_kbd, event_kbd);
               evdev_kbd_fd = open(evdev_name_kbd, O_RDWR|O_NOCTTY|O_NDELAY);
               if (evdev_kbd_fd != -1) {
                   fcntl(evdev_kbd_fd, F_SETFL, O_ASYNC|O_NONBLOCK);
               }
	       }
       }
    #endif

    #if USE_EVDEV_MOUSE == 1
       /*detect mouse0*/
       char evdev_name_mouse0[20] = "/dev/input/";
       char *command2 = "cat /proc/bus/input/devices | tr -d '|' | sed -e 's%^$%|%' | tr '\n' ' ' | tr '|' '\n' | grep 'input0 .*Handlers=mouse0 ' | head -n 1 | grep -Eo 'event[0-9]+'";
       FILE *pipe2 = popen(command2, "r");
       if (pipe2 != NULL) {
           fgets(event_mouse0, 9, pipe2); /*ex: event0*/
           pclose(pipe2);
           if (event_mouse0[0] != 0) {
               strcat(evdev_name_mouse0, event_mouse0);
               evdev_mouse0_fd = open(evdev_name_mouse0, O_RDWR|O_NOCTTY|O_NDELAY);
               if (evdev_mouse0_fd != -1) {
                   fcntl(evdev_mouse0_fd, F_SETFL, O_ASYNC|O_NONBLOCK);
               }
	       }
       }
       /*detect mouse1*/
       char evdev_name_mouse1[20] = "/dev/input/";
       char *command3 = "cat /proc/bus/input/devices | tr -d '|' | sed -e 's%^$%|%' | tr '\n' ' ' | tr '|' '\n' | grep 'input0 .*Handlers=mouse1 ' | head -n 1 | grep -Eo 'event[0-9]+'";
       FILE *pipe3 = popen(command3, "r");
       if (pipe3 != NULL) {
           fgets(event_mouse1, 9, pipe3); /*ex: event2*/
           pclose(pipe3);
           if (event_mouse1[0] != 0) {
               strcat(evdev_name_mouse1, event_mouse1);
               evdev_mouse1_fd = open(evdev_name_mouse1, O_RDWR|O_NOCTTY|O_NDELAY);
               if (evdev_mouse1_fd != -1) {
                   fcntl(evdev_mouse1_fd, F_SETFL, O_ASYNC|O_NONBLOCK);
               }
	       }
       }
    #endif

    /*old method with hard-coded event#*/
    if  (USE_EVDEV_KEYBOARD!=1 & USE_EVDEV_MOUSE!=1) {
        evdev_fd = open(EVDEV_NAME, O_RDWR|O_NOCTTY|O_NDELAY);
        if (evdev_fd != -1) {
            fcntl(evdev_fd, F_SETFL, O_ASYNC|O_NONBLOCK);
        }
    }

    /*error if no input devices found*/
    if (evdev_fd==-1 & evdev_kbd_fd==-1 & evdev_mouse0_fd==-1 & evdev_mouse1_fd==-1) }
        perror("unable open evdev interface");
        return;
    }

    evdev_root_x = 0;
    evdev_root_y = 0;
    evdev_button = LV_INDEV_STATE_REL;
}

...or something like that!
To run on a system that might have both touchpad and usb mouse, they should work simultaneously. A evdev_read_mouse() would have to read both of the "mouse0" and "mouse1" event interfaces, if they exist.
Then there would have to be a evdev_read_kbd(), could import the code from simple-key-logger.
It's a bit too much for me at this stage.

Thank you for the code!
It's a little bit too much for me as well because, although I'm using Linux, I don't have much experience with these things yet.
Anyway, I leave this open for a while. Hopefully, somebody will help to make it ready!

As there was no activity here for a while I close this issue.
If you have remarks about this topic feel free to comment here and reopen the issue.

Hi
I am facing similar issue with event dev under linux. In my case I am getting key but some of key missed. Have to press key many times.
I am wondering why key skipped. i studied SDL keyboard, it uses separate function keyboard_handler(&event). I am confuse need to execute keyboard_handler(&event) in separate pthread under linux ?

Have look at the current evdev driver: https://github.com/littlevgl/lv_drivers/blob/master/indev/evdev.c
It's for a mouse / touchpad but you can get the idea.
In a while() cycle it ready all data from the driver. Do you do something similar?
To debug your issue, please printf the events and keys to see where is the problem.

Thanks for prompt reply.
I get key in evdev_read while loop ( printf show key code ) but some time GUI (application) do not respond.
It looks some other function eat up key. Can i get some document how keys processed in lvgl.
I tried to find document on site but could not get enough information.
Regards
Vipin

As the PC simulator works well with the SDL driver I think the issue is in your evdev driver. Can you share it?

Hi
We resolve problem. It was with lv_tick_inc() and lv_task_handler() handling.
We were calling both in same while loop.
Not working:
while(1)
{
lv_tick_inc(1);
lv_task_handler();
usleep(1000);
}
Working:
int count=0;
while(1)
{
if(count++>50)
{
count=0;
lv_tick_inc(1);
}
lv_task_handler();
usleep(1000);
}
Can we call lv_tick_inc(1) in separate thread to get more accurate timing ?
Regards
Vipin

@vipin65 You need to call lv_tick_inc in a separate thread. Otherwise you'll run into problems.

It strange because now you call lv_tick_inc(1); in every 50 ms. So the library thinks that time passes 50 times slower.
Swapping lv_tick_inc and lv_task_handler seems more logical to me.
Anyway, once you have an OS calling lv_tick_inc from a thread is better. You can use 5 ms sleep too to let the OS breath:
while(1) {
  lv_tick_inc(5);
  usleep(5000);
}


addwitnessaddress is missing

With segwit activation just around the corner, it's probably a good time to support this rpc command

This issue was moved to btcsuite/btcd#1006


Add dynamic client registration to bootstrapping (admin) API

This allows us to provide authentication in front of the dynamic client registration and gets us closer to feature parity through the APIs for #298

Please explain this issue - how does it get us authentication? Also, moving dynamic client registration to the overlord means having to expose the overlord outside of your firewall.

Sorry. I'd like to add a link to the admin API to allow registration. Not remove it from dex itself.
Currently dexctl new-client uses a direct connection to the DB to create that client. We need an alternative API to allow this. I'd like to add an endpoint to the overlord API (protected by the secret token).

closed in https://github.com/coreos/dex/pull/392


update the doc

apache have updated the plugin recently.  the problem about i18n for "zh-CN" was solved partly. I have seen that you have updated the plugin dependency version. So could you please update the doc? You can get the details as the follow original issue.
Originally posted by @awxiaoxian2020 in https://github.com/mybatis/mybatis-3/issues/2443#issuecomment-1046204653

It seems that the doc will update in the next release. I will close this issue. If it doesn't work, I will open again.


genpolicy: tighter symlink source rules

Allow symlink source file paths typically used for ConfigMaps and/or Secrets and reject other source paths.

Started test run https://dev.azure.com/mariner-org/mariner/_build/results?buildId=696695&view=results

Force pushed last commit to update samples and pass PR check


projinom.json

Yet another config to have in your root directory. Initial implementation should contain default source and dist paths for running the build command.

Dropped this idea in order to not instroduce a fourth language to the user space.


hhcc.plantmonitor.v1 don't work

hhcc.plantmonitor.v1
We don't have Soil Fertility, Illumination, Température and  Battery, Relative humidy is still unknown.
Thanks for this goos job.

Show me the state attributes of this entity.

-704010000 Unknown This error comes from Xiaomi Cloud and I can't do anything about it.


Add preview for logger data from local folder

maybe with overview how many files and from where?

done


reorder numeric columns

This one was fun - I created a range function so we can get an array of the numeric columns that will need reordering. Then I used https://datatables.net/manual/data/orthogonal-data to resort the data with a custom function that puts NaN and - beneath our numbers. Hope you like it!
Closes #17

I like the approach! For some reason it isn't running as expected for me .... we can discuss at our check-in.

I like the approach! For some reason it isn't running as expected for me .... we can discuss at our check-in.

@MayaGans I remember that we figured out why this wasn't working, but I don't remember the solution. I think maybe there was just a line of code that didn't get committed?


[question] Availability state not set in HA

Hi,
I have a question about the availability in HA. When zwave2mqtt is down, my devices still appears as "available" in HA, they are not greyed out, is there an option to support that?
I know that in zigbee2mqtt, the payload of the devices contains the availability_topic which is checking zigbee2mqtt/bridge/state.
I tried to do the same in zwave2mqtt by setting the availability_topic of my component in "Hass Device Json" but I'm not able to do it properly because the message of zwave2mqtt/_CLIENTS/ZWAVE_GATEWAY-Mosquitto/status contains a timestamp, and I'm not able to map the correct value to check if it's true or false. Is there another way to do that?
Would it be possible to embed the availability_topic by default in the components?
Thanks

Switch to: https://github.com/zwave-js/zwavejs2mqtt
Oopen a feature request there if it's not implemented. Also if used with hass I suggest ot give a try also top the integrated zwavejs server with the new hass zwavejs addon

Can you tell me what's the difference? Is this version deprecated? (or just for openzwave). Why should I use zwavejs instead? Just trying to understand the benefit.

https://zwave-js.github.io/zwavejs2mqtt/#/getting-started/why


Thanh Trung Pham (46717481) Recognition project pull request - Implementing pre-trained YOLOv8 in order to solve segmentation problem of the ISIC2018 challenge

This repository uses YOLOv8, a fast and accurate object detection model modified for segmentation tasks, to tackle the ISIC 2018 Skin Lesion Challenge, focused on diagnosing dangerous skin issues like melanoma. YOLO divides images into an S x S grid, allowing each cell to simultaneously detect objects, making it faster than other algorithms like R-CNN. Achieving mAP50-95 0.73 score on the test set after 30 epochs of training.
Each cell predicts multiple bounding boxes and calculates confidence scores based on object presence and IoU with ground truth. Non-Maximum Suppression (NMS) is applied to remove redundant detections. YOLO employs a CNN for feature extraction and combines features at different scales through 'Feature Fusion.' Its loss function includes bounding box loss, objectness loss to penalize false positives, and classification loss.
YOLOv8-segmentation enhances this by segmenting individual object pixels, adding a branch to detect segmentation masks for each instance.

This is an initial inspection
Difficulty : Normal
Task : 3

Recognition Problem:

coding practice could be better
image links broken
coding practice looks ok

Commit Log:

Commit message are not elaborative
all commits done on 1 day

Documentation:

It is not as elaborative as it could be
do not have a section of "Reproducibility" stating how can someone else can reproduce the results and run the model to achieve same results

Pull Request

PR does not satisfy the requirement

Feedback:

PR can be better and more detailed then what you have now - use Markdown format
add a section of "Reproducibility" stating how can someone else can reproduce the results and run the model to achieve same results
README can be much more elaborative
mention train/test %

I have updated!

Observational Feedback
Pull Request:
Incorrectly created the Pull request from main Branch .
The pull request  include a clear description about the file structure .
Previous feedback incorporated .
File Organizing: Well-organized files.
Commit Log:
Commit messages are   progressive for the Recognition Problem solved using 4 files .
Commits are not at all regularly made showing no logical development.
Documentation:
Code comments and docstrings are not  included.
Proper GitHub markdown formatting is used, with organized headings, lists, and code blocks.
Should add about Conclusion and future improvements in the ReadMe.

They are not included in the documentation which aims to increase the Readability of the Documentation
.

I got it. I have one more point about commit log, it is committed in order: Prepare data cose => training code => modules code => predict code and some in between. I think the comment can be the messages are not as elaborative as they can be but ‘not at all logical improvement’ is not appropriate, can you look in the commit details again

The commit log does show that you have done this in a single day .

By the nature of the task and by my understanding I did the task in a day is a mistake and somehow there's a criteria that i cannot do it in a day ? Because i don't seem to read a requirement that i cannot do the assignment in a day. I was able to do it and got the results like what's intended. What else am I supposed to do?

I began by trying different ways to prepare datasets, had several failures, committed it. Then I trained the model successfully to commit it, by the nature of YOLO pretrained the modules.py is an irrelevant file therefore i added it after training and got a response from a tutor that for some tasks such as pretrained YOLO if modules.py is not relevant it is fine as the spec is old( this is a new task this year ). Then i created test file to visualisr results, committed, then i started writing the report, committed.
I am able to accomplish all in 1 day because i did it in 12+ hours consecutively including training time. And doing in 1 day is somehow a fault ?

I agree with the feedback regarding more regular commits but doing it in 1 day or not i do not think is a valid critique.

 You should for example commit whenever you
reach any small milestone, such as creating a module or a working test script, completed the algorithm
and completed the documentation etc.

This is from the marking scheme that says to commit for even small milestones as well , Though you have done your task but the commit log is not descriptive enough and completed within a few commits . You have committed on larger milestones such as after the creation of two files , complete dataset and train  with more than 100 lines of code each as an initial commit which shows goals towards the  completion of task but not the flow of building those files which shows less logical development .

I agree with that, thank you for the feedback. It's just the one day comment I do not agree with.

Marking

Good/OK/Fair Practice (Design/Commenting, TF/Torch Usage)
Good design and implementation.
Spacing and comments.
No Header blocks. -1
Recognition Problem
Good solution to problem.
Driver Script present.
File structure present.
Good Usage & Demo & Visualisation & Data usage.
Module present.
Commenting missing. -1
No Data leakage found.
Difficulty : Normal. YOLO (Normal Difficulty)-5
Commit Log
Some/Adequate Meaningful commit messages. Minimal count (16)-1
Good Progressive commits. Somewhat irregular, in 1 day.-2
Documentation
Readme :Acceptable. Incomplete.-1
Model/technical explanation :Good.
Description and Comments :Acceptable. References missing.-1
Markdown used and PDF submitted. PDF Checked.
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch). On time.
Feedback action required: Feedback marks possible +2 if the requested changes are made. Remove cache files for merge.-2
Request Description is good.
TOTAL-14

Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness.
Subject to approval from Shakes

Feedback marks possible +2 if the requested changes are made (see above).

You mean the cache removal right ? Is it ok now ? i just deleted pycache, thank you

Cant merge because of conflicting changes to main repo files. Please update for merge, doesn't affect grade.

I am sorry Shakes github keep insisting that there's no conflict


[mattermost-team-edition] Respect custom securityContext

See the initial issue:
https://forum.mattermost.com/t/permission-error-but-permissions-are-permissive/13080

Apparently, the user mattermost inside the Docker Image is hard-coded to user and group ID 2000. Even though, the mattermost process is clearly running as the user (ID) I desire, it still uses the mattermost user with the ID 2000 somewhere in-between.
This is clearly a bug, as it would mean, that this app can collide with any other map, which uses the same ID for its user.

It's necessary for the Chart setup to respect the provided securityContext. If I provide the user and group ID 123 and the mattermost process actually runs with those (it actually does, I checked), then the classic mattermost user with the ID 2000 shouldn't remain the user in charge.
Related Issues:
#128
#142

Is this already solved?

@lucasscheepers
No, it's not officially fixed, yet.
However, if you need help setting up a workaround, by using a custom image, then I can help you with that. 🙂

@lucasscheepers
No, it's not officially fixed, yet.
However, if you need help setting up a workaround, by using a custom image, then I can help you with that. 🙂

Yeah I'm very interested in your workaround! So you set up your security context while building the image I suppose?

@theAkito Do you have time to share this with me?

@lucasscheepers
I'm truly sorry for answering so late. At first I forgot about this, then I didn't have enough time. 😞
If you still need help, you could for example send me a message at a   -k i-- t-  o.k - i- - - -t- - - s- - -u- ---- n- -- - -----e -- - - -- - -(at)  p r o  --- t o-- n-  .  ---m     e--- (without the dashes and spaces, replacing (at) with @.
Once I understand your use case, I will probably just create a Github Gist with the solution for your setup.

I've to add that I'm using the Mattermost Operator Helm chart including the manifest file to deploy Mattermost.

Most likely, does not matter. My solution is based on the Docker image itself, so it's irrelevant in what way the Helm Chart or Mattermost is deployed, as long as it is based on the same type of Docker image, the Mattermost Helm Chart is using.

Thanks for answering. I was hoping you've had a solution that doesn't need to edit the Docker image because of lifecycle purposes. I came across a way to add the securityContext via the Mattermost manifest file, but unfortunately I've never accomplished this.
Looking something like this:
apiVersion: installation.mattermost.com/v1beta1
kind: Mattermost
spec:
  # ...
  resourcePatch:
    deployment:
      patch: '[{"op":"add","path":"/spec/template/spec/initContainers/0/securityContext","value":{"runAsUser": 1337}}]'

Nevertheless the priority to fix this decreased since PSP is deprecated and possibly we're going to use Policy Agent instead of PSP. In the meantime we're running containers as root.
BUT, if you've a working example like something above; I'm all ears!

Thanks for answering. I was hoping you've had a solution that doesn't need to edit the Docker image because of lifecycle purposes.

Yes, that's the problem. The problem is, that the user is hard-coded into the image, so to be able to actually run operations as an arbitrary user, you need to change the Dockerfile for that, unfortunately.

if you've a working example like something above; I'm all ears!

Since the securityContext depends on what the image is using, there is no direct solution to this problem, other than fixing the Dockerfile.
At least, that's the case if you truly want the user you select in the securityContext to be the lord over every operation. If you only need partial support for the specific user you want to configure, it may be enough to change the Helm Chart or apply a similar approach through a manifest file, as you suggested.

that's true, i just try with this config:

the previous issue from enabling the plugins was solved, but it was an issue for the production-ready use.

Thanks for answering. I was hoping you've had a solution that doesn't need to edit the Docker image because of lifecycle purposes.

Yes, that's the problem. The problem is, that the user is hard-coded into the image, so to be able to actually run operations as an arbitrary user, you need to change the Dockerfile for that, unfortunately.

if you've a working example like something above; I'm all ears!

Since the securityContext depends on what the image is using, there is no direct solution to this problem, other than fixing the Dockerfile.
At least, that's the case if you truly want the user you select in the securityContext to be the lord over every operation. If you only need partial support for the specific user you want to configure, it may be enough to change the Helm Chart or apply a similar approach through a manifest file, as you suggested.

that's true, i just try with this config:

the previous issue from enabling the plugins was solved, but it was an issue for the production-ready use.

Back, when I posted this issue, I decided to fork the Helm Chart and create my own version, with my own image, etc... Very inconvenient workaround, but I needed it done.


Angular 17 update

Update angular version and some docs

Hi @czeckd! I've prepared this small MR with angular upgrade. I've also tested it locally and it worked well.

@ectuser  also we can update to application builder application builder as described here. Because it is going to be the default one in future. FYI @czeckd

Thank you @ectuser! Would you be able to add the application builder changes too to your pull request please?

Hi @sheikalthaf @czeckd , the application builder is updated. However it's not yet available for library builder.

LGTM

@ectuser thanks for the pull! @sheikalthaf thanks for the review! Getting this merged now.


Barrbrain's rebase of Monty's LRF RDO onto master

Add limited (first cut) but true CDEF <-> LRF aware loop filter RDO to rav1e

monty-lrfrdo-baseline@2019-02-21T19:51:17.179Z -> monty-lrfrdo-test@2019-02-21T19:52:41.757Z
PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
-0.5647 | -0.0017 | -0.1874 |  -0.1880 | -0.8370 | -0.4980 |    -0.5490
The impact of LRF is currently quite muted, as we're locked to the smallest possible loop restoration unit size right now (LRU == SB) and the coding overhead is very high.

That pretty good, considering how infrequently it activates.
Please fix the test failures though.

This is superceded by #1027.


[Draft] Retire carbon on base

WIP

This branch is no longer relevant as the POC was merged in https://github.com/KlimaDAO/klimadao/pull/2378


Deprecation warning on --allow-all-external

I get the following red warning when using pew with pip version 9.0.1
DEPRECATION: --allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.

From https://pip.pypa.io/en/stable/news/ :

8.0.0 (2016-01-19)
Deprecate and no-op the --allow-external, --allow-all-external, and --allow-unverified functionality that was added as part of PEP 438. With changes made to the repository protocol made in PEP 470, these options are no longer functional.

I think this option was added as part of #23, is this needed anymore ?

Yup, we can remove it... thanks for pointing it out
If someone thinks they still need this functionality:
https://www.python.org/dev/peps/pep-0470/#i-can-t-host-my-project-on-pypi-because-of-x-what-should-i-do
https://gist.github.com/Jaza/fcea493dd0ba6ebf09d3


After install version 0.14.2 Flex and Stack are not exported

What version of Design System are you using?
0.14.2
Steps to Reproduce
Use a flex or stack form the design system and then try to build.
Expected Behavior
The code should compile without errors
Actual Behavior
The code does not compile

nvm they are now available under Box.Flex etc


[WIP] Move make_cluster_fixture to test_util

The cluster fixture serves well outside the package.

@orsenthil is this still work in progress?

:x:  Strong nak against this. That file is in that specific place so it can be copied over/overridden in place in EE

@mellenburg  - I got your attention upfront!

What if I want to use the functionality of make_cluster_fixture in a test code that is not bundled as package ? For e.g. in an integration test. ( I have a strong use case for this, that is the reason I was testing this change upfront). [1]

I thought the reason moving make_cluster_fixture to test_util makes sense because.

It is a helper function that provides a cluster, and could right belong to test_util.
The pytest context creation is actually in conftest.py

By having this inside the dcos-integration-test package, I cannot really use this from anywhere else.
I have no idea about the ee dependency. But cannot it be solved after addressing these?
I am primarily interested in [1] above.

Here is the EE magic:
https://github.com/mesosphere/dcos-enterprise/blob/master/packages/dcos-integration-test/build#L15
The issue of plugging one fixture into both EE and Open tests has been very painful and this hack-ish direct inject method has been the best so far.
cluster_fixture.py is not intended to be used anywhere else on purpose (it is not intended as a utility). What's more, it should only be used to create a cluster fixture as the name states (which your code is not doing with it)
Looking at your intended usage of this, there are two things to note:

Please don't set environment variables within a test to pass parameters. This can cause other stuff to fail in odd manners
This would be the better pattern to use

from test_util.cluster_api import ClusterApi, get_args_from_env
from test_util.helpers
args = get_args_from_env()
# make custom changes to the env gathered args
args['web_auth_default_user'] = DcosUser(auth_json)
cluster_api = ClusterApi(**args)
cluster_api.wait_for_dcos()

It seems like what you really want isnt the cluster_fixture.py file, but rather the hard-coded CI user and the ability to launch a marathon app. For the CI user, I would support moving that to a simple test_util helper get_ci_user() and then launch cluster_api as shown above.

@mellenburg
I agree with not moving these files, creating a module as suggested.
Since I am interested in the auth_token, I'd like refactor auth_json_token to a common helper and  use it both places.
(Subtext)

I was open to change the name of cluster_fixture.py to appropriate one if required. The pattern of using ClusterApi directly with environment almost seemed like duplicating the code.

@amitaekbote  - closing this. No longer WIP.

The topics discussed in this thread are addressed here: https://github.com/dcos/dcos/pull/984 the discussion can continue over there.


Allow to override build date with SOURCE_DATE_EPOCH

Allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
Also use UTC to be independent of timezone.
Note: This date call only works with GNU date.

OOh, reproducible... I know @jodh-intel has mentioned that for builds since, well, forever! ;-)
requested a few reviewers.... thx @bmwiedemann !
Ah, I note your PR and commit will need some tweaking to meet our CI requirements (for instance, will need a sign off and also a Fixes line) - see https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md#patch-format for more details..

/test


Ex 2

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Hey @deepak1556, this issue might need further attention.
@HungKien88, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


test(simple_planning_simulator): add node test

Related Issue(required)
None
Description(required)
The test code in the simple_planning_simulator was disabled when it was ported from the autoware.auto. This PR fixes some message and topic interface issues and enables the existing test code.
Contents of this test are described below:

pubsub_node (defined in the test code locally) and simple_planning_simulator nodes are generated in the test code.
Generate the control commands in the test code.
The control command is published through the pubsub_node.
The simple_planning_simulator receives the control command, calculates the vehicle position, and publishes it.
The pubsub_node receives the calculated vehicle position.
The test code checks if the vehicle moves in the appropriate direction.

The above testing runs for all vehicle_model_type.
Review Procedure(required)
run colcon test.
Related PR(optional)
None
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Read commit-guidelines
[x] Assign PR to reviewer

If you are adding new package following items are required:

[ ] Documentation with description of the package is available
[ ] A sample launch file and parameter file are available if the package contains executable nodes

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the [guidelines][clang-tidy-guidelines].
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@KeisukeShima The tips for launch_testing are very helpful. Thank you!


.*: Separate FineGrainedShuffleWriter, HashParitionWriter, BroadcastOrPassThroughWriter from StreamingDAGResponseWriter

What problem does this PR solve?
Issue Number: ref #5900
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/rebuild

/run-integration-test

/run-unit-test

/run-unit-test


Why use the R and C of GroundTruth for computing the D1C and D2C ? they are the goals of this question.

In the GetData.m of the p2l1, line 38 41 and ... . using the GroundTruth R C for computing the D1C and the D2C, and in the compute_1lp2,  taking the D1C and D2C as the input for computing the pose.
But R and C is the goal of this arithmetic, we dont know the R and the C, how to computing the pose?

Hi,
Thank you for your email.
The purpose of the GetData.m function is to provide the data (2D-3D points and lines) and the ground truth transformation. It basically returns the adapter, which contains the 2D-3D correspondences, and the R and C that are the ground truth rotation and translation.
The compute_1lp2 computes the pose and only gets as input the adapter, as shown in the paper. Results will be compared to R and C in the run_2p1l, the compute_1lp2 doesn't know what is the R and C.
Does this help?
Thanks,
Pedro

Hi,
Thank you for your email.
The purpose of the GetData.m function is to provide the data (2D-3D points and lines) and the ground truth transformation. It basically returns the adapter, which contains the 2D-3D correspondences, and the R and C that are the ground truth rotation and translation.
The compute_1lp2 computes the pose and only gets as input the adapter, as shown in the paper. Results will be compared to R and C in the run_2p1l, the compute_1lp2 doesn't know what is the R and C.
Does this help?
Thanks,
Pedro

Hi,
Thank you for your email.
The purpose of the GetData.m function is to provide the data (2D-3D points and lines) and the ground truth transformation. It basically returns the adapter, which contains the 2D-3D correspondences, and the R and C that are the ground truth rotation and translation.
The compute_1lp2 computes the pose and only gets as input the adapter, as shown in the paper. Results will be compared to R and C in the run_2p1l, the compute_1lp2 doesn't know what is the R and C.
Does this help?
Thanks,
Pedro

Hi，
Thank you very much for your reply and help.

Hi, Professor Pedro,
Thank you very much for your reply and help. Your paper and code have been very helpful to me, Thank you very much. But I just don't understand one thing in the code, So take the liberty to come for advice.
For example, in the project p2l1.
The GetData.m , The code for calculating D1C and D2C in line 37-41, as follows.
`

C1C = [0;5;0]+randn(3,1)*2;
C1W = R*C1C + C;
D1W = P1-C1W; D1W = D1W/norm(D1W);
D1C = R'*D1W; D1C = D1C/norm(D1C);
`

and then In line 88-90, setting the adapter.
`

adapter.camera.d1 = D1C;
adapter.camera.d2 = D2C
;`

In compute_1lp2.m , getting data from the adapter.
`

D1 = adapter.camera.d1;
D2 = adapter.camera.d2
;`

and using the D1 and D2 for Later calculation of pose estimaton.
`

% D2
d11 = e11D1(1) + e12D1(2) + e13*D1(3);
d12 = e21D1(1) + e22D1(2) + e23*D1(3);
d13 = e31D1(1) + e32D1(2) + e33*D1(3);
% D2
d21 = e11D2(1) + e12D2(2) + e13*D2(3);
d22 = e21D2(1) + e22D2(2) + e23*D2(3);
d23 = e31D2(1) + e32D2(2) + e33*D2(3)
;`

So, I'm confused about that and think compute_1lp2.m has using the data computed by the GroundTruth R and C.  and I don't know where I misunderstood. Looking forward to your reply very much. Thank you.
Thanks,

Hi, Professor Pedro,
Thank you very much for your reply and help. Your paper and code have been very helpful to me, Thank you very much. But I just don't understand one thing in the code, So take the liberty to come for advice.
For example, in the project p2l1.
The GetData.m , The code for calculating D1C and D2C in line 37-41 , as follows.
37. C1C = [0;5;0]+randn(3,1)*2; 38. C1W = R*C1C + C; 39. D1W = P1-C1W; D1W = D1W/norm(D1W); 40. D1C = R'*D1W; D1C = D1C/norm(D1C);
In line 38 and 40, using the R and C for computing the C1W and D1C.
And then In line 88-90, setting the adapter.
88. adapter.camera.d1 = D1C; 89. adapter.camera.d2 = D2C;
But in compute_1lp2.m , getting data from the adapter.
D1 = adapter.camera.d1; D2 = adapter.camera.d2;
and using the D1 and D2 for Later calculation of pose estimaton.
% D2 d11 = e11D1(1) + e12D1(2) + e13*D1(3); d12 = e21D1(1) + e22D1(2) + e23*D1(3); d13 = e31D1(1) + e32D1(2) + e33*D1(3); % D2 d21 = e11D2(1) + e12D2(2) + e13*D2(3); d22 = e21D2(1) + e22D2(2) + e23*D2(3); d23 = e31D2(1) + e32D2(2) + e33*D2(3);
So, I'm confused about that and think compute_1lp2.m has using the data computed by the GroundTruth R and C. and I don't know where I misunderstood. Looking forward to your reply very much. Thank you.
Thanks,

Hi, Professor Pedro,
Thank you very much for your reply and help. Your paper and code have been very helpful to me, Thank you very much. But I just don't understand one thing in the code, So take the liberty to come for advice.
For example, in the project p2l1.
The GetData.m , The code for calculating C1W and D1C in line 37-40 , as follows.
37. C1C = [0;5;0]+randn(3,1)*2;
38. C1W = R*C1C + C;
39. D1W = P1-C1W; D1W = D1W/norm(D1W);
40. D1C = R'*D1W; D1C = D1C/norm(D1C);

In line 38 and 40, using the R and C for computing the C1W and D1C.
And then In line 88-90, setting the adapter.
88. adapter.camera.d1 = D1C;
89. adapter.camera.d2 = D2C;

But in compute_1lp2.m , getting data from the adapter.
21. D1 = adapter.camera.d1;
22. D2 = adapter.camera.d2;

and using the D1 and D2 for Later calculation of pose estimaton.
% D2
d11 = e11D1(1) + e12D1(2) + e13*D1(3);
d12 = e21D1(1) + e22D1(2) + e23*D1(3);
d13 = e31D1(1) + e32D1(2) + e33*D1(3);
% D2
d21 = e11D2(1) + e12D2(2) + e13*D2(3);
d22 = e21D2(1) + e22D2(2) + e23*D2(3);
d23 = e31D2(1) + e32D2(2) + e33*D2(3);

So, I'm confused about that and think compute_1lp2.m has using the data (D1 D2)computed by the GroundTruth R and C. and I don't know where I misunderstood. Looking forward to your reply very much. Thank you.
Thanks,

Hi,
Sorry for the later reply. I was busy with some submissions.
Of course, I am using D1, and D2 computed with the GroundTruth (GT). That doesn't mean I am using the GT R and C in the computation of the pose (estimation of R and C). To generate the data, I have to use some GT R, and C. Notice these are tests with simulated data, I have to create D1 and D2 and have R and C to compare the estimated solution with the one given by the solver. That is what I am doing in the generated data. But, again, the adapter, which is the input for the estimator, doesn't include the GT R and C.
Hope it clarifies your issues. Let me know if you are still struggling with this.
Thanks,
Pedro

Hi, professor
Thank you for your guidance，I have understood the effect of GT, Thank you very much.
But when testing with the real data, that we only know the world coordinates of 3D points and the Pixel coordinates of 2D Points, don't know any information of the GT. how to compute the D1 and D2.
I just don't konw how to compute the D1 and D2 in the real data.  Sorry to trouble you and hope you could give me some guidance of this question. Thank you very much.
Thanks,
Zed


Fix argument name for wrap-with-esx-host command

All ESX specific VMWare subcommands should refer to esx-datastore
and not esx-datacenter. A datacenter argument only applies for
vCenter specific commands.

LGTM


javascript_pack_tag handles repetition of individual chunks. Closes #39

This one would close #39.
The idea is to record what chunks have been emitted and with what defer value.
When a chunk previously emitted is going to be emitted again, skip repeating it so long as the defer value is the same as the previous one, or raises an error if different.
But what about the order of chunks?
This way, the components in the loaded packs could be used anywhere, and it would be possible to repeat
javascript_pack_tag without actually loading the chunks repeated.
I guess there are situations I'm not considering.
I also think that before merging this, it is essential to fix #88  (we don't want to confuse what is causing that bug with this!)

Rubocop tests passed locally (I wonder why not in the CI).

@vtamara Thanks for the PR, from a quick glance, I think it might hit similar problem that I had when trying to make this work with repeated declarations.
Essentially what we're lacking is the context from where javascript_pack_tag has been called. Let's say that you have one declaration in the main layout loaded in the head, other loaded somewhere in the partial for specific part of the page only.
Once the page gets processed, the partial one would be processed first and emit script tags wherever it was declared and we would end up with no repetition in the head. Some scripts will however complain about not being declared in the head tag.
This might cause some fubars with Turbo also but that's just a suspicion thinking

Thank you.
I guess it is good idea to enhance the example with:

Partials
Turbolinks

And to see what it does and how to deal.
However I guess that if partials are processed in different context, the current solution of raising an exception when a repetition is detected would not work either.
So testing with the example is necessary.  Can you send PR for the example adding this kind of test?

Closing this. Too fragile.
I gave @vtamara some ideas on how we can remove duplicates from the final result HTML string after rendering the whole layout and before the server sends the result to the browser.


CloudSQL Proxy and CloudSQLIP

The new CloudSQL Proxy tool can be installed on a docker image and run as a service in a container by broadcasting the port 3306 on address <IP_ADDRESS>.  Would this make the CloudSQL IP tool obsolete since you wouldn't need to manage IPs anymore and access CloudSQL through your CloudSQL proxy container?  This seems desirable because there are no ACLs maintained.
Basically, I run a basic container with a folder called /cloudsql in the root, and copy the cloud_sql_proxy binary into the root of the container. You may need to build a binary from GoogleCloudPlatform/cloudsql-proxy#1 or GoogleCloudPlatform/cloudsql-proxy#2 to get the ability to specify the listening address (current cloud_sql_proxy only listens to <IP_ADDRESS>).
My run.sh script for Dockerfile CMD assuming environmental variable CLOUDSQL_PATH=PROJECT_NAME:us-central1:DB_INSTANCE:
if [ -n "$CLOUDSQL_PATH" ] ; then
	echo "Using CloudSQL server"
	/cloud_sql_proxy -dir=/cloudsql -instances=$CLOUDSQL_PATH=tcp:3306:<IP_ADDRESS>

My Service:
apiVersion: v1
kind: Service
metadata:
  labels:
    name: cloudsql
  name: cloudsql
spec:
  ports:
    # The port that this service should serve on.
    - port: 3306
      targetPort: 3306
  # Label keys and values that must match in order to receive traffic for this service.
  selector:
    name: cloudsql

My ReplicationController:
{
  "apiVersion": "v1",
  "kind": "ReplicationController",
  "metadata": {
    "labels": {
      "name": "cloudsql",
      "version": "1"
    },
    "name": "cloudsql-v1"
  },
  "spec": {
    "replicas": 1,
    "selector": {
      "name": "cloudsql",
      "version": "1"
    },
    "template": {
      "metadata": {
        "labels": {
          "name": "cloudsql",
          "version": "1"
        }
      },
      "spec": {
        "containers": [
          {
            "env": [
              {
                "name": "CLOUDSQL_PATH",
                "value": "certain-reducer-123421:us-central1:quicklet"
              }
            ],
            "image": "gcr.io/certain-reducer-123421/mysql:v1",
            "name": "cloudsql",
            "ports": [
              {
                "containerPort": 3306
              }
            ]
          }
        ]
      }
    }
  }
}

Note: I've (finally) merged GoogleCloudPlatform/cloudsql-proxy#1
I've kept the order as 'network:host:post', though, so your example should be tcp:<IP_ADDRESS>:3306. I also suggest that you mention the fact that it is important to ensure the firewall is configured such that only trusted entities can access that container's port. Opening up to <IP_ADDRESS> means that anything that can connect to that container/VM's port 3306 would be able to access your Cloud SQL Database.


Get artifact version registered at commit

From discord:

is there a way for gto to output the current tag for HEAD? (edited)

well, I know it's redundant because gto keeps the models registered in git tags, but let's say I am saving predictions of a model to a database. I need those predictions to be associated with the model that produced them - so ideally I'd save the predictions together with the model tag.
so whenever I'd do gto register  ideally I'd be able to save the resulting simplified tag @v1.2.3 to a text file that I can later use to associate predictions with a model (edited)

Now it can be achieved with something like:
$ export NAME="churn"
$ git --no-pager tag --points-at HEAD | xargs -I {} sh -c '
  if [ $(gto check-ref {} --name) = $NAME ] && [ $(gto check-ref {} --event) = "registration" ]; then
    gto check-ref {} --version
  fi
'

We can add a command to GTO, but I need to better understand how it should work first.
Specifically for this case:

Input: revision, artifact name
Output: artifact version

If we try to generalize a bit:

Input: revision, [artifact name] optionally, [version or stage] optionally
Output: artifact version or stages

Then it can look like
$ gto find HEAD nn --version
v0.0.1
$ gto find HEAD nn --stage
dev
$ gto find HEAD nn
v0.0.1 in dev
$ gto find HEAD
nn v0.0.1 in dev
mymodel v1.2.3 in stage and prod

WDYT? Maybe there are some simpler options or this can be included in existing commands (like gto show or gto check-ref?)

If we try to generalize a bit:
Input: revision, [artifact name] optionally, [version or stage] optionally
Output: artifact version or stage

I like that the artifact name is optional. Because all I need is the revision, and navigate the git repo to that revision to find the artifact (e.g. a model) version in the dvc.lock file.

$ gto find HEAD nn --version
v0.0.1
$ gto find HEAD nn --stage
dev
$ gto find HEAD nn
v0.0.1 in dev
$ gto find HEAD
nn v0.0.1 in dev
mymodel v1.2.3 in stage and prod

Having the  v0.0.1 in dev is nice, but in my view, I'd aim towards getting the tag itself, with the option to exclude certain parts such as --stage. E.g.:
$ gto find HEAD nn --tag --version --exclude-stage
<EMAIL_ADDRESS>
That would give me a clean model name to save to the database. And it makes it easy to find the model code with the tag, regardless of its stage - which from what I understand, stages don't map to different versions of the model, code and data; they just tell you "where" they have been deployed to.

Ok, I think I came up with a decent way to include this in gto show instead of adding a new command. Please see the example (after your case there is also another part of extending show with a similar logic - good for generalization 😄  ).
Please let me know what do you think)
$ git clone https://github.com/iterative/example-gto
$ cd example-gto
$ gto show
╒══════════╤══════════╤════════╤═════════╤════════════╕
│ name     │ latest   │ #dev   │ #prod   │ #staging   │
╞══════════╪══════════╪════════╪═════════╪════════════╡
│ churn    │ v3.1.1   │ v3.1.1 │ v3.0.0  │ v3.1.0     │
│ cv-class │ v0.1.13  │ -      │ -       │ -          │
│ segment  │ v0.4.1   │ v0.4.1 │ -       │ -          │
╘══════════╧══════════╧════════╧═════════╧════════════╛
$ gto show nn:HEAD  # show versions for nn in HEAD
╒════════════╤═══════════╤═════════╤═════════════════════╤══════════════╕
│ artifact   │ version   │ stage   │ created_at          │ ref          │
╞════════════╪═══════════╪═════════╪═════════════════════╪══════════════╡
│ churn      │ v3.1.0    │ staging │ 2022-11-20 09:36:38 │<EMAIL_ADDRESS>│
╘════════════╧═══════════╧═════════╧═════════════════════╧══════════════╛
$ gto show nn:HEAD --ref
<EMAIL_ADDRESS>$ gto show :HEAD  # show all artifacts that have versions/assignments in HEAD
╒════════════╤═══════════╤═════════╤═════════════════════╤══════════════╕
│ artifact   │ version   │ stage   │ created_at          │ ref          │
╞════════════╪═══════════╪═════════╪═════════════════════╪══════════════╡
│ churn      │ v3.1.0    │ staging │ 2022-11-20 09:36:38 │<EMAIL_ADDRESS>│
╘════════════╧═══════════╧═════════╧═════════════════════╧══════════════╛
$ gto show @v3.1.0  # show all v3.1.0 versions for all artifacts
╒════════════╤═══════════╤═════════╤═════════════════════╤══════════════╕
│ artifact   │ version   │ stage   │ created_at          │ ref          │
╞════════════╪═══════════╪═════════╪═════════════════════╪══════════════╡
│ churn      │ v3.1.0    │ staging │ 2022-11-20 09:36:38 │<EMAIL_ADDRESS>│
╘════════════╧═══════════╧═════════╧═════════════════════╧══════════════╛
$ gto show "#staging"  # show all versions in staging for all artifacts
╒════════════╤═══════════╤═════════╤═════════════════════╤══════════════╕
│ artifact   │ version   │ stage   │ created_at          │ ref          │
╞════════════╪═══════════╪═════════╪═════════════════════╪══════════════╡
│ churn      │ v3.1.0    │ staging │ 2022-11-20 09:36:38 │<EMAIL_ADDRESS>│
╘════════════╧═══════════╧═════════╧═════════════════════╧══════════════╛
$ gto show --long  # alternative way to show the registry
╒════════════╤═══════════╤═════════╤═════════════════════╤══════════════╕
│ artifact   │ version   │ stage   │ created_at          │ ref          │
╞════════════╪═══════════╪═════════╪═════════════════════╪══════════════╡
│ churn      │ v3.1.1    │ dev     │ 2022-11-27 08:16:38 │<EMAIL_ADDRESS>│
│ churn      │ v3.1.0    │ staging │ 2022-11-20 09:36:38 │<EMAIL_ADDRESS>│
│ churn      │ v3.0.0    │ prod    │ 2022-11-15 18:29:58 │<EMAIL_ADDRESS>│
│ cv-class   │ v0.1.13   │         │ 2022-11-18 02:03:18 │<EMAIL_ADDRESS>│
│ cv-class   │ 793ff78   │         │ 2022-11-19 05:49:58 │ 793ff78          │
│ segment    │ v0.4.1    │ dev     │ 2022-11-16 22:16:38 │<EMAIL_ADDRESS>│
│ segment    │ 793ff78   │         │ 2022-11-19 05:49:58 │ 793ff78        │
╘════════════╧═══════════╧═════════╧═════════════════════╧════════════════╛

For the record, this design doesn't allow to get Git tags that assigned stages in HEAD (all or for a specific artifact), but that's not required currently and can be ignored I assume.

For the record, this design doesn't allow to get Git tags that assigned stages in HEAD (all or for a specific artifact), but that's not required currently and can be ignored I assume.

Well it is good enough for my use case: I only need a gto controlled version-tag so that it matches predictions I am saving in the database with the tags in the git repository.
So, on my end, I'd say this is a good addition for me already 😄

@aguschin hey, I would like to request to have this accesible from Python, if possible :D


Stream live

Hi, how are you? one question, why can't you download even if it's live, like before? Thank you very much for all the work you do :D. Greetings from Argentina.

#687


update melior to use mlir-sys 0.4.1

error: failed to select a version for `mlir-sys`.
    ... required by package `melior v0.19.2`
    ... which satisfies dependency `melior = "^0.19.2"` of package `mlir-workshop v0.1.0 (/Users/edgarluque/Documents/mlir-workshop)`
versions that meet the requirements `^0.3.0` are: 0.3.0

the package `mlir-sys` links to the native library `MLIR`, but it conflicts with a previous package which links to `MLIR` as well:
package `mlir-sys v0.4.1`
    ... which satisfies dependency `mlir-sys = "^0.4.1"` of package `mlir-workshop v0.1.0 (snip)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "MLIR"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `mlir-sys` which could resolve this conflict

oh looks like its in main but not published yet


Issue -370 spec update for security domain

added cloud as a security_domain enum values

closes issue #370


How could I change language

I didnt see any guide with change language in official document...
please add it any way

https://github.com/i18next/next-i18next/blob/a9bd890c6503c997809bda8d31c158650cf9fa82/examples/simple/pages/index.tsx#L96


Exit Node origin/server does not show list itself in the exit node list

Similar to some of the other nexctl issues, nexctl looks at peers but not themselves. In this case, the node isn't showing any exit nodes even though it is itself an exit node because it is only listing from peers, not itself.
nexd --username admin --password floofykittens --service-url https://try.nexodus.<IP_ADDRESS>.nip.io router -exit-node

sudo nexctl nexd exit-node list
ENDPOINT ADDRESS     PUBLIC KEY

Resolved in #1556


Add test coverage

Add test coverage to project.

Closed by [commit] (https://github.com/mdvorscak/cloakjs/commit/8e9f52a0abe287433843ecd9aa2c6cdde2bf1c7b)


Replacing the boolean autocomplete parameters with strings.

This pull request replaced the boolean AutoComplete parameter with a string AutoComplete parameter. This allows developers to use the auto-complete options supported by web browsers. See the available options on MDN and the spec.
This PR also adds a new static class that acts as an enum with each option linked to the appropriate attribute string value. It serves as a shortcut to avoid typos.
Also, the tests are updated to use the new string parameter while maintaining the same functionality.

Hi @DaveBagler,
I really wish you have contacted us before submitting this PR. I am afraid we can't accept so many breaking changes. This will break the application of basically everybody who has ever set the AutoComplete property. We can't allow that to happen. Maybe a compromise is to support a custom HTML attribute "autocomplete". Not sure if it would work but it is worth trying.

Yep, that's fair.
What about an AutoCompleteType or AutoCompleteGuide property used by the components if it is set, and if not, it falls back to the existing functionality of the AutoComplete property?

Yes, an extra property AutoCompleteType could definitely work! People can set it to AutoCompleteType.Phone, AutoCompleteType.Name etc. We can make it not require AutoComplete to be set to true. How does this sound?

Sounds good; I'll update the PR.

Sorry, it took me so long to submit the updated PR. I'm closing this PR in favour of https://github.com/radzenhq/radzen-blazor/pull/827.


Determine the factors contributing to unexpected slowdowns during self-hosting

This project has the capability for self-hosting, transitioning from native compilation in stage 1 to stage 2. Given that shecc is composed in ANSI C, it allows for the use of any compiler across various platforms for the initial compilation. This process is further facilitated through the use of RISC-V and/or Arm emulators for bootstrapping. Nevertheless, we are experiencing unforeseen delays during the self-hosting process, particularly in the execution times of stages 1 and 2. Our aim is to conduct a thorough investigation into the causes of these slowdowns.
We can use uftrace to identify the sources of slowdowns.

After #90 , it no more needs to run the qemu on the ARM32 host. The time of the stage-2 build has decreased from ~25s to 4s.
The uftrace needs the debug symbols (built with GCC "-g" and "-finstrument-functions" flags) to trace the executable file. We can only use it in the stage-1 build, instead, we can use perf to identify the slowdowns in the stage-2 build.

@jserv , should we close and migrate this topic into #88 ?

@jserv , should we close and migrate this topic into #88 ?

Go ahead.


fix: removes bundler references from Gemfiles and gempspecs

includes https://github.com/googleapis/gapic-generator-ruby/pull/472#issuecomment-648435314


Apply Intellij's Pattern variable can be used inspection.

Type of change

Refactoring

Description
Since we have moved the minimum JDK to 17 we can leverage JEP#394 which represents a small simplification for us.

LGTM, the scoping gave me pause, interesting that you can do things like:
if (!(x instanceof Thing y)) {
    return false;
}
return y;

😁

Yeah the stack overflow answer you found from Brian Goetz is quite illuminating.  Short answer is it works like you want it to, if the compiler is certain its valid its in scope if there is doubt its out of scope.


Flutter run will not install app if it is attached to Xcode's debugger

Flutter run should give an indication that it possibly needs the debugger detached because it is stuck on the install phase.
This would be helpful in both flutter run as well as flutter run -v.
Steps to Reproduce

Run app using  flutter run -v
In Xcode, press Debug > Attach Process > Runner
Re-run app through flutter run -v without detaching debugger
Flutter will get stuck here:

[            ] executing: /usr/bin/xcrun simctl launch 94F59CD5-50FE-4BDA-88DD-42DD6FAEED74 com.example.overlayIos --enable-dart-profiling --enable-checked-mode --verify-entry-points --observatory-port=0

In Xcode, detach the debugger
Flutter app will immediately re-install and run

Logs
2020-10-05 11:47:58.457 xcodebuild[40341:7654464] [MT] DVTPlugInManager: Required plug-in compatibility UUID
                    6C8909A0-F208-4C21-9224-504F9A70056E for GraphQL.ideplugin (com.apollographql.xcode.graphql) not present
[ +148 ms] executing: /usr/bin/xcrun simctl install 94F59CD5-50FE-4BDA-88DD-42DD6FAEED74
/Users/danieledrisian/Desktop/overlay_ios/build/ios/iphonesimulator/Runner.app
[+19859 ms] executing: /usr/bin/plutil -convert json -o -
/Users/danieledrisian/Desktop/overlay_ios/build/ios/iphonesimulator/Runner.app/Info.plist
[   +5 ms] Exit code 0 from: /usr/bin/plutil -convert json -o -
/Users/danieledrisian/Desktop/overlay_ios/build/ios/iphonesimulator/Runner.app/Info.plist
[        ]
{"CFBundleName":"overlay_ios","DTXcode":"1200","DTSDKName":"iphonesimulator14.0","UILaunchStoryboardName":"LaunchScreen","CFBundle
Icons~ipad":{"CFBundlePrimaryIcon":{"CFBundleIconFiles":["AppIcon20x20","AppIcon29x29","AppIcon40x40","AppIcon60x60","AppIcon76x76
","AppIcon83.5x83.5"],"CFBundleIconName":"AppIcon"}},"DTSDKBuild":"18A390","CFBundleDevelopmentRegion":"en","CFBundleVersion":"1",
"BuildMachineOSBuild":"19G2021","DTPlatformName":"iphonesimulator","CFBundlePackageType":"APPL","UIMainStoryboardFile":"Main","CFB
undleSupportedPlatforms":["iPhoneSimulator"],"CFBundleShortVersionString":"1.0.0","CFBundleInfoDictionaryVersion":"6.0","CFBundleE
xecutable":"Runner","DTCompiler":"com.apple.compilers.llvm.clang.1_0","UISupportedInterfaceOrientations~ipad":["UIInterfaceOrienta
tionPortrait","UIInterfaceOrientationPortraitUpsideDown","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRig
ht"],"MinimumOSVersion":"9.0","CFBundleIdentifier":"com.example.overlayIos","UIDeviceFamily":[1,2],"DTPlatformVersion":"14.0","CFB
undleSignature":"????","CFBundleIcons":{"CFBundlePrimaryIcon":{"CFBundleIconFiles":["AppIcon20x20","AppIcon29x29","AppIcon40x40","
AppIcon60x60"],"CFBundleIconName":"AppIcon"}},"DTXcodeBuild":"12A7209","LSRequiresIPhoneOS":true,"UISupportedInterfaceOrientations
":["UIInterfaceOrientationPortrait","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"],"UIViewControlle
rBasedStatusBarAppearance":false,"NSBonjourServices":["_dartobservatory._tcp"],"DTPlatformBuild":"18A390","NSLocalNetworkUsageDesc
ription":"Allow Flutter tools on your computer to connect and debug your application. This prompt will not appear on release
builds."}
[   +2 ms] executing: /usr/bin/xcrun simctl launch 94F59CD5-50FE-4BDA-88DD-42DD6FAEED74 com.example.overlayIos
--enable-dart-profiling --enable-checked-mode --verify-entry-points --observatory-port=0

[✓] Flutter (Channel modal_popup, 1.23.0-8.0.pre.34, on Mac OS X 10.15.6 19G2021
    x86_64, locale en-US)
    • Flutter version 1.23.0-8.0.pre.34 at /Users/danieledrisian/Desktop/flutter
    • Framework revision 2a502c907d (6 days ago), 2020-09-29 13:36:54 -0700
    • Engine revision 3a73d073c8
    • Dart version 2.11.0 (build 2.11.0-161.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/danieledrisian/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • 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 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (1 available)
    • iPhone 11 Pro (mobile) • 94F59CD5-50FE-4BDA-88DD-42DD6FAEED74 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

I cannot reproduce the tool getting stuck using the steps outlined above in the latest version of flutter.
The tool seems to detach from the current process and continues with the build so the app is installed again on the device(in this case, iOS simulator).
My verbose logs from the flutter run -v with the process attached in xcode.
verbose.log
Given that I cannot reproduce this issue using the steps outlined above on the latest version of stable, I'll be closing this as fixed.
If anyone still experiences this issue on the latest versions of flutter, kindly leave a comment below and I will reopen this or file a new issue and provide detailed information on how to reproduce the issue.
Thank you

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-arm, locale en-GB)
    • Flutter version 3.3.4 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (6 days ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Users/nexus/Downloads/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 4302007A-B132-4B89-887A-C5993FCA3284 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 106.0.5249.103

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Update deps

This is mostly to see if things get triggered on Cloudbees (this is the last repo to actually trigger a job there, on March 1).


Typo: Payed - Paid

This is a tiny, tiny issue, payed is not usually correct, and it should be "paid" in the little window.
Thanks for the plugin! :)

Thanks for catching that! I will get a fix for the typo pushed out with a future update.


teste

test

The (build) kogito-tooling-editors-java check has failed. Please check the logs.

@danielzhe Can we close this or still necessary? Thx