Develop GTFS Schedule feed page

[ ] Match individual GTFS Schedule feed page to design . Using /v1/gtfs_feeds/id for most of the page and v1/gtfs_feeds/id/datasets for Previous Datasets section.

[ ] Bounding box visual computed with bounding box lat longs from v1/gtfs_feeds/id.  OpenStreetMap is used in this example. Should have zoom option. Open to other libraries depending on feedback.

[ ] Data quality information extracted from validation_report object.

[ ] "Auth Parameter" should have a different prefix based on the authentication type:
      1 = API Key
      2 = HTTP

[ ] Feature list should display based on which features appear in the validation_report object for the feed. Full list is here.

Context

Open the Data Sync plugin in Figma to see related fields in the API

All null values should not be displayed.

@stefan-philip Have you started working on this one? If not, I've made some changes to the design that I'd like to include in this story.


Remove extern declarations of OPENSSL_ia32cap_P

Use the header file internal/cryptlib.h instead.

added include to wp_block.c and updated commit message.

Any reason why you didn't remove it in test/rdrand_sanitytest.c?

Should cryptlib.h have an #if defined(OPENSSL_CPUID_OBJ)?

I guess it's not OPENSSL_CPUID_OBJ, but:
#if     defined(__i386)   || defined(__i386__)   || defined(_M_IX86) || \
        defined(__x86_64) || defined(__x86_64__) || \
        defined(_M_AMD64) || defined(_M_X64)

Yes, I was also thinking about that.

test/rdrand_sanitytest.c?

I was not sure if it is allowed to include internal header files, but probably it is okay.

Merged to master as 24fd854.  Thanks!


Map checking

Keep track of which tags are seen and which tags are seen with each other, transitively. Used during field calibration to determine if we have enough data to post process into a tagslam field map.

map_checking.py merged as part of https://github.com/FRC900/2023RobotCode/pull/149, closing


add whoami command

returns 0 if the user is logged in
displays the email address that you are authenticated as (possibly a comma
separated list if multiple primary emails have been recorded for you)

(still needs documentation and tests writing before merging)


[Feature]: test mode

Describe the feature you'd like added
Option to set the plugin to test mode where it won't delete anything but it will log what it would delete. This would be helpful to confirm it is configured how a user wants it.
Additional context
No response

This is exactly what "Troubleshooting" tab for in settings. You can experiment with settings, and it'll show decisions log every time you get there. And if you want to be extra cautious, disable scheduled task temporarily.

I've added toggle to view rendered log into troubleshooting tab.
Feel free to reopen if you think it's not sufficient.


Message validation alters the hash argument

How to replicate:
hash = { name: 1 }
FirebaseCloudMessenger::Message.new(hash)
hash # => {}

I think the hash should be duplicated on init.

@freestyl3r Thanks for all the improvements! I'll get 0.4.0 released today.

I closed this a little early. The solution should be to dup the hash data arg in FirebaseObject.

 For some reason I forgot that message was not the only class that inherited from FirebaseObject.
I opened a new PR. Thanks!


Can integrations for 3rd-party extensions be added?

I have the Error Lens (usernamehw.errorlens) extension in my VSCode, and its default colors don't look great with this theme and so I've added some overrides to use Catppuccin colors instead. Would these be accepted in the upstream theme?
The overrides:
{
  "errorLens.errorForeground": "red",
  "errorLens.warningForeground": "peach",
  "errorLens.hintForeground": "teal"
}

And also: (had to use custom hex codes for these)
{
  // red/peach/teal, but with 0x22 opacity
  "errorLens.errorBackground": "#ed879622",
  "errorLens.warningBackground": "#f5a97f22",
  "errorLens.hintBackground": "#8bd5ca22"
}

This changes it from this:

to this:

There's also an info error level, but I haven't found code that produces it yet so I haven't been able to find colors that are similar to the original ones while fitting in (for now I have it set to some really obvious colors so I'll be sure to notice if I ever come across code that produces it)

Hi there, thanks for your issue!
I think it makes sense to support some plugins with ~1M installs, so I'll definitely add that one.

And also: (had to use custom hex codes for these)

The latest update added helper functions, so you can actually let the theme generate them for each flavour! Works like this:
    "catppuccin.customUIColors": {
        "all": {
            "errorLens.errorBackground": "red 0.15",
            "errorLens.warningForeground": "peach 0.15",
            "errorLens.hintForeground": "teal 0.15",
        },
    }

See Use palette colours on workbench elements for the docs!

Thanks for the hint about custom opacity! I hadn't noticed that part of the docs when I noticed that UI color overrides were added.


Typescript: Uncaught ReferenceError: p5 is not defined

Describe the bug
Typescript project fails to load p5 on component mount saying the p5 variable, which must be the one passed from the component to the sketch function is undefined. Used the commands yarn add p5-svelte and yarn add p5 -D
To Reproduce
Create a new Typescript project and copy the example into App component
Expected behavior
p5.js to load.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Chrome, Firefox

Thanks for submitting. I'll take a look into this and I think it should be resolved in the next release

Resolved in v3.0 🎉


Could not Load UnityEngine.Texture2D (A different problem?)

So I'm getting the "Could not load UnityEngine.Texture2D" again. However this just randomly happens (verse at the crafting bench every time a new item was crafted). Could be related to my other UnityEngine.Texture2D errors.
Edit1: can confirm that this happens on vanilla (no mods). It just seems totally random!
https://gist.github.com/2647db466b791b29cf64bafa2154b564
Could not load UnityEngine.Texture2D at Things/Pawn/Humanlike/Hairs/Ponytails_northm in any active mod or in base resources.
Verse.Log:Error(String, Boolean)
RimThreaded.ContentFinder_Texture2D_Patch:GetTexture2D(String, Boolean)
RimThreaded.Ticklist_Patch:RespondToTexture2DRequests()
RimThreaded.Ticklist_Patch:MainThreadWaitLoop()
RimThreaded.Ticklist_Patch:Tick(TickList)
Verse.TickList:Verse.TickList.Tick_Patch1(TickList)
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

Closing bug. Many bugs have been fixed since this was reported. Please reopen in new bug report using the new templates if this issue persists.


Blog app - integration specs for views and fix n+1 problems

In this PR 🤖:
📌 Solved the N+1 problem when fetching all posts and their comments for a user ✅.
📌 Used Capybara to write integration tests.

User index page ✔:

I can see the username of all other users.
I can see the profile picture for each user.
I can see the number of posts each user has written.
When I click on a user, I am redirected to that user's show page.

user show page ✔:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see the user's bio.
I can see the user's first 3 posts.
I can see a button that lets me view all of a user's posts.
When I click a user's post, it redirects me to that post's show page.
When I click to see all posts, it redirects me to the user's post's index page.

User post index page ✔:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see a post's title.
I can see some of the post's body.
I can see the first comments on a post.
I can see how many comments a post has.
I can see how many likes a post has.
I can see a section for pagination if there are more posts than fit on the view.
When I click on a post, it redirects me to that post's show page.

Post show page ✔:

I can see the post's title.
I can see who wrote the post.
I can see how many comments it has.
I can see how many likes it has.
I can see the post body.
I can see the username of each commentor.
I can see the comment each commentor left.

NOTE:
Although the requirements also state that we should add tests to the login page, this has not been implemented yet.

@Lordkaito Thank you for your review.
There's an issue here. I can not create the logging page because in tomorrow's project we will install a devise gem for authentication. If I'm not mistaken, there's when we modify the views for registration and login.
An issue has already been submitted to fix this part of the curriculum.


Replace stdout and stderr with rich versions

Description
I've been playing with this pattern:
class Command(RichCommand):
    def _out(self, text: str) -> None:
        self._std(text, "green")

    def _error(self, text: str) -> None:
        self._std(text, "red")

    def _std(self, text: str, color: str) -> None:
        old_text = getattr(self, "old_text", "")
        if old_text:
            self.console.log(self.old_text, style=color)
        self.status.update(f"[bold {color}]{text}")
        self.old_text = text

    def handle(self, *args, **options) -> None:
        self.stdout.write = self._out
        self.stderr.write = self._error
		with self.console.status('Starting...', spinner="bouncingBar") as self.status:
			for i in range(10):
				sleep(1)
				self.stdout.write(f"stage 1...")
			self.stderr.write(f"ERROR!")

That generates this output that looks like this:

After some API cleanup, would this be a useful addition to django-rich? Either as an extension of RichCommand or a new class?
If so I'll put together a pull request.

I’m not a fan of the monkey patching of self.stdout and self.stderr. RichCommand deliberately leaves them alone and provides self.console for Rich output and making self.stderr go to stdout seems very confusing.
As to the status update pattern, it seems cleaner to me to use log directly once a “stage” is done:
from time import sleep

from django_rich.management import RichCommand

class Command(RichCommand):
    def handle(self, *args, **options):
        with self.console.status("Starting...", spinner="bouncingBar") as status:
            for i in range(1, 11):
                status.update(f"Stage {i}...")
                sleep(1)
                self.console.log(f"Stage {i} done.")

        self.console.log("All done.")

If you want a single function to update the status and log the past one, you could make it inline and pass around as necessary:
from time import sleep

from django_rich.management import RichCommand

class Command(RichCommand):
    def handle(self, *args, **options):
        with self.console.status("Starting...", spinner="bouncingBar") as status:

            def update(msg):
                self.console.log(status.status)
                status.update(msg)

            for i in range(10):
                sleep(1)
                update(f"Stage {i+1}...")

        update("Done.")

So I’m not sure there’s anything to add to django-rich from your suggestion, only a nice way of using rich.status.

I decided the pattern is worth preserving in the docs, as it’s a good example of how Rich can enhance console output beyond bold styles. Replaced the example in 1cbc1d61153d99dc37d211d772303449588aba36.


Error when "Add an Image Plate for each Camera" option is checked

First.. THANK YOU for sharing this. I'm very interested in getting this working as I find it will be very useful when it comes to cleaning up the photogrammetry results. I am new to coding with Blender, so excuse  any misinterpretations of the data.
When I use the addon in order to import my NVM file, I receive an error. This seems to be occurring due to the code that is triggered by the import option to "Add an Image Plate for each Camera".
If I uncheck all the options except for the "Import Cameras" option, the script completes and has created cameras for each of my images (though the parent null seems to be rotated -90 degrees). From here I can manually create background images and they line up with the geometry I created (via COLMAP + MeshLab).
Selecting + copy & pasting the error here.  Also attaching my NVM file zipped.
(Note: the order of the "Traceback..." and "location:..." lines are swapped from what is displayed. Copy/pasting flips it?)
Traceback (most recent call last):
  File "/home/jerbot/.config/blender/2.79/scripts/addons/nvm_import_export/import_nvm_op.py", line 519, in execute
    camera_scale=self.camera_extent)
  File "/home/jerbot/.config/blender/2.79/scripts/addons/nvm_import_export/import_nvm_op.py", line 294, in add_cameras
    op=op)
  File "/home/jerbot/.config/blender/2.79/scripts/addons/nvm_import_export/import_nvm_op.py", line 360, in add_camera_image_plane
    shader_node_diffuse_bsdf.inputs['Color'])
AttributeError: 'NoneType' object has no attribute 'inputs'

location: <unknown location>:-1

inuksuk.nvm.zip

I' ll have a look this weekend,
Bests

Thank you for reporting this bug. This bug appeared when the blender render engine was not set to "Cycles". This addon uses Cycles node system to visualize the image planes. Now it automatically switches to cycles, if image planes are added. (So you don't have to manually change this setting) Can you check out the latest commit and let me know if everything works for you?

Ah!  I tried trouble-shooting it myself and probably wouldn't have realized that the mode wasn't correct. Tested by switching to Cycles and the script ran.  Then I downloaded your update, reset my scene (to Blender Internal renderer) and ran your new script and all went well. Script automatically switched to Cycles and everything imported correctly.
I'm using COLMAP to do my photogrammetry processing, and it seems to crop some of the images when it removes distortions...  buuut... most alignments in Blender seem to be good (good enough).  Now I have something to play with.
Thank you!  Will keep you in the loop.

Not sure if you get notified of updates to closed issues, but just wanted to say that this is going to be very useful for cleaning up of photogrammetry-created models. I have some ideas for improvements, and am going to use it as an opportunity to dig into Blender's implimentation of Python.
*note: NVM files that were created using anything but the "SIMPLE_RADIAL" for feature extraction will cause cameras to not line up properly. According to COLMAP, this is a limitation of NVM... not your script, but just wanted to note that.

I still get notifications ;)
I am always open for PR's, so feel free to contribute.
I'm aware of this limitation, but you have to understand that other software packages like openMVG or MVE only support the native NVM format defined by VisualSfM. (This is why this repository does not support the individual camera models of Colmap)


Use bind address 0.0.0. for Tika Server if Windows

See the discussion here: https://issues.apache.org/jira/browse/TIKA-1714

@chrismattmann Great to hear that you fix the error for Windows. 👍


New Rule: requireSpaceAfterComma

New rule to match requireSpaceBeforeComma
Fixes #1698

Nice looks pretty good - with extra tests for newlines/etc. We should probably update disallowSpaceBeforeComma too later (only has 2 tests)

We should probably update disallowSpaceBeforeComma too later (only has 2 tests)

Maybe, although if it has 100% coverage and no one complain about it...
Anyhow, it shouldn't be a concern of this pr :-)

Thank you for adding tests for the sister rule!
LGTM

Great work, thanks!


Do I should match "weights_path" in train.py?

At the very top of 'train.py', there is
if is_tiny_version:         model = create_tiny_model(input_shape, anchors, num_classes,             freeze_body=2, weights_path='model_data/yolo_tiny.h5')
at the parameters part, 'weights_path' is already selected.
And the middle of 'train,py',
def create_tiny_model(input_shape, anchors, num_classes, load_pretrained=True, freeze_body=2,             weights_path='model_data/yolo_tiny.h5'):
the 'weights_path' is fixed. Do I should match those paths same? or just don't mind for one of them?
I didn't know that there was a fixed path at the function 'create_tiny_model', so I modified first one only. The code is running now, but I'm worrying that it will make any errors.

You don't need to match them. Modifying the first one is enough and you did it right.

i am facing an issue with this part since the mode_data folder does not have this yolo_tiny.h5 file the error is as it follows :
OSError: Unable to open file (unable to open file: name = 'model_data/yolo_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
i think it a run time error as the complier reads this part before creating it .. any help ?

@MohamedNazeem
I don't think your problem's about that path dupliaction.
It seems like it just doesn't recognize your path for directory. I didn't get any problems with matching those paths.

first of all thanks for the quick answer :) secondly it looks like that i didn't install the loaded weights from darkNet website so after installing them and converting darkNet.cfg to YOLO Keras it is downloaded by name Yolo.h5 should i change all the file paths from model_data/yolo_weights.h5 to model_daa/yolo.h5 in train.py ?


Update the HTML5 parser

We are using version 1.2.1 of the nu.validator parser.  The most recent version is 1.3.1.  Upgrade the build system to use 1.3.1 of the parser.  See http://about.validator.nu/htmlparser/

We have to have a stable Maven repo where it is hosted. It's unavailability in Maven Central is holding things back.

So what do we do? :s Should i wait? Build it myself and put it up somewhere?

Can we publish the JAR to Sonatype?

I've never published jars anywhere except for my own httpd, so i have no idea if we can ;)

I was thinking Indrajit is best able to publish the JARs.  Once they are live someplace, then Franz can update Lift.  Sound reasonable?

Fine with me.
On Feb 20, 2012, at 8:04 PM, David Pollak wrote:

I was thinking Indrajit is best able to publish the JARs.  Once they are live someplace, then Franz can update Lift.  Sound reasonable?

Reply to this email directly or view it on GitHub:
https://github.com/lift/framework/issues/21#issuecomment-4059659


[sqlite3] Update to 3.33.0

Regular port update.

Which triplets are supported/not supported? Have you updated the CI baseline?
No changes

Does your PR follow the maintainer guide?
Yes

Thanks for the update!


Can we have gson++ next release ? Now.

2019 Q4 -- and everyone is back paddling out of exceptions. (and out of std::string too)
Here is the latest WG21 results of the costs of using exceptions.
Can we have gson++ back from the dead ? :)

@DBJDBJ thank you for the link, but this was a json parser for a µcontroller with a very old and non-conformant c++98 toolkit, and as i remember without supporting stl, new/delete, exception, ...

I am using jzon from https://github.com/vivkin .... currently, see no problems.


How to also log messages in Angular 2

I followed the docs on setting up angular 2 with sentry. What would be the best way to also capture messages to sentry? I tried modifying the example to, but unfortunately, the app crashes with an undefined error when injecting RavenErrorHandler into another component.
import { ErrorHandler, Injectable } from '@angular/core';
import * as Raven from 'raven-js';

@Injectable()
export class RavenErrorHandler extends ErrorHandler {

    constructor() {
        super();
        Raven.config('..., {}).install();
    }

    public handleError(err: any) : void {
        Raven.captureException(err.originalError);
    }

    public logError(message: any): void {
        Raven.captureMessage(message, {level: 'error'});
    }

    public logWarning(message: any): void {
        Raven.captureMessage(message, {level: 'warning'});
    }

    public logInfo(message: any): void {
        Raven.captureMessage(message, {level: 'info'});
    }

}

Since logging additional messages is quite a useful feature, could this also be included in the Sentry docs for Angular 2?

The Raven import is effectively a singleton that you can import from everywhere, once it is initially configured. TheRavenErrorHandler example from the docs is merely to configure Raven to report uncaught exceptions in the ng2 ecosystem. Reporting manually should not require going through the ErrorHandler.
Closing this because it's not an active issue, and a discussion topic that is more appropriate for our forums.


Add HTTP Provider

What does this PR do?
This PR introduces a new provider (http) that polls an endpoint for a published configuration, and provides it to the server for use.
Motivation
Fixes #1053
More

[x] Added/updated tests
[x] Added/updated documentation

I am going to close this PR for 3 reasons:

This feature has been declined in the past, and we don't feel that the circumstances have changed much in the meantime. As the saying goes, "No is temporary, yes is forever".

Although this feature does fit in line with the other providers, and their goals, at this time, there is a large amount of overlap between this provider and other providers, and there is not a clear public use case to support its inclusion.

Due to how Traefik is written, it can be used as a library, and this provider added into the implementation. This allows  providers to be implemented in separate projects without requiring a fork to be maintained.

Hopefully this comment helps other users in the future if they come across this PR.


chokidar Ignoring files, when the filename contains [chars] or (chars)

Hey :)
(char) and [char] in a Filename is a problem for chokidar, if it is the path for watch()
If a file [something].txt is the child of a watched folder, everything works fine.
chokidar 1.4.3
OS X 10.11
Short:
let watcher1 = chokidar.watch(  '/.../buggy_[x].txt'  )
watcher1.on('ready', () => {
  console.log(watcher1.getWatched())
})
console: {}

Example to follow: chokTest.zip
Thanks!

I'm seeing the same thing on Windows 10, trying to watch the "Dropbox (Personal)" directory created by Dropbox. It seems parentheses or brackets anywhere in the bath will break it.
It's worth noting that fs.watch() sees the changes.
I will continue digging, and report back if I stumble upon anything useful.

Closing as duplicate of #300


Stack smashing error when executing bash

I'm experiencing an interesting error across multiple EKS and AKS clusters after installing the helm chart. Upon either trying to terminal into a pod or when the secret validation job attempts to run, there's a fatal error as defined below:
*** stack smashing detected ***: <unknown> terminated

This is using v0.62.0 of the chart. We have tried with our config changes (e.g. additional receivers) as well as a straight fresh install with the below:
helm install test-splunk-otel-collector --set="splunkObservability.realm=us0,splunkObservability.accessToken=REDACTED,clusterName=azure-staging" splunk-otel-collector-chart/splunk-otel-collector

This is occurring consistently on EKS 1.22 and AKS 1.22 clusters. We don't see anything else in the logs potentially relevant (as far as we can tell, at least). We also submitted a ticket with Splunk, but it was closed right away with only a suggestion to check sizing. We did try massively scaling up the resources, but this had no effect.
The collector is running perfectly fine and sending metrics as expected. Deployments in ArgoCD won't work nominally due to the failing validation job. Additionally, we are unable to terminal into any of the collector containers. This impedes our ability to have confidence in the sustainment of these deployments in Production.

Please reopen the case, linking to this issue, so we have maximum air cover. Please make sure to report in the case that it is not solved.
Would you please indicate exactly how to reproduce the bug? When you mention trying to terminal into a pod, do you mean you are trying to execute the command kubectl exec -it -- pod sh?
By any chance, have you seen this happen elsewhere, or have you replicated this issue elsewhere?
You pasted a fatal error above. Is this error pasted as stdout, or is it in a log file, or the pod logs?
Do you see anything else in the logs? Any stacktrace?
Thank you!

Please also indicate your own OS and kubectl version.


Delete an invited user?

I'm having trouble with the invite system, as a result I need to resend some invites to email accounts that didn't work correctly
How can I delete the invites?

Hey, @andrewijmcdonald! Telescope has changed a lot in the past months, and there is a new React-based version, Telescope Nova (intro video). If you know Crater, it runs on the latest version.
The Legacy version is no longer supported. I'm closing this issue. FYI, invites are no longer part of core.
I invite you to check the new version, it's awesome!
Happy hacking! 🚀
Ps: by the way, don't hesitate to join the Slack to ask any question, you are welcome! 👍


Usage of --all / --handouts with --unenroll-all

Help section for --unenroll-all reads

Uneroll from all courses. If --all and/or --handouts is specified, download and then unenroll all

But currently, when --all / --handouts is specified, --uneroll-all is ignored.

Thank you for the report. I guess I missed this particular case, and I never was able to use it this way.


Fix the data-lakehouse-iceberg-trino-spark demo

This came out of the release upgrade testing: https://github.com/stackabletech/demos/issues/59#issuecomment-2238788852
Spark
No visualization information available for the streaming job run. but that seems to only be because the jobs completed. The active job show a visualisation, as does the completed water_level job.

Job list
Missing visualization

You can see exceptions on the right, and the jobs didn't seem to run (0 ms duration).
Postgres
There was also some warnings from the postgres helm install:
# Postgres gave the following warnings:
# WARNING: There are "resources" sections in the chart not set. Using "resourcesPreset" is not recommended for production. For production installations, please set the following values according to your workload needs:
#     - primary.resources
#     - readReplicas.resources

This might not be related but the URL to the bike status endpoint is not reachable any longer: https://ip-api.mobidata-bw.de/v1/NVBW/gbfs/v2/free_bike_status.json Used in the shared bike status: https://github.com/stackabletech/demos/blob/main/demos/data-lakehouse-iceberg-trino-spark/LakehouseKafkaIngest.xml#L1388

Thanks for the heads-up @mbaeuerle. I'll take a look into this in the lead up to the SDP 24.11 release.

@NickLarsenNZ I would argue the postgres warning was related to the postgres upgrade process and not the demo itself. At least I didn't see any errors or warnings in the running postgres instances while solving this issue. Do you have more information on what was impacted by that and does that need addressing as part of this issue?
Other than that I submitted a PR for the fix of the endpoints fetching the data. Kafka topics are created as a result and the spark streaming queries are running fine now.

Thanks for the endpoint fix @xeniape.
I will close this issue since it could not be reproduced.

Marking this as closed because:

#115 resolves the Spark issue.
The Postgres issue seemed to come from upgrade testing.


TeachingTip: HeroContentPlacement API has several issues

Describe the bug
The HeroContentPlacement API of the TeachingTip control has a few issues. The documentation for it states that it is responsible for positioning the hero content inside the TeachingTip. So If I set a HeroContentPlacement of Bottom then the hero content should be displayed at the bottom of the TeachingTip.
If I want to change the position of the TeachingTip relative to its target, for example, then I have to use the PreferredPlacement API. By default, the PreferredPlacement is set to Auto which tries to place the TeachingTip above its target control.
So given the following XAML markup
<Button Content="Show TeachingTip">
    <Button.Resources>
        <muxc:TeachingTip x:Name="ToggleThemeTeachingTip1"
                          Target="{Binding ElementName=TeachingTipXAMLMarkupButton}"
                          Title="Title" Subtitle="Subtitle"
                          HeroContentPlacement="Bottom">
            <muxc:TeachingTip.HeroContent>
                <Rectangle Fill="Green" MinHeight="100" MinWidth="100"/>
            </muxc:TeachingTip.HeroContent>
        </muxc:TeachingTip>
    </Button.Resources>
</Button>

I expect the TeachingTip to be placed above the button, with its hero content placed at the bottom of the TeachingTip.
Yet this is what I get as a result:

We are seeing two issues here:

The TeachingTip is placed below the button even though it should be placed above it.
The hero content is the top content of the TeachingTip even though it should be the bottom content.

If I change the HeroContentPlacement to Top in my XAML above, I get this result:

While the hero content is now correctly set as the top content of the TeachingTip, observe that the TeachingTip has also changed its position relative to the button - it is now placed above it! In other words, changing HeroContentPlacement from Top to Bottom moves the TeachingTip below its target, yet keeps the hero content as the top content of the TeachingTip. This is wrong. The TeachingTip should still be above its target, yet its hero content should be the bottom content of the TeachingTip. Changing the value of the HeroContentPlacement property should not affect the position of the TeachingTip relative to its target (PreferredPlacement exists for that).
And indeed, looking at the TeachingTip implementation, we are seeing that the HeroContentPlacement affects the placement of the TeachingTip related to its target: https://github.com/microsoft/microsoft-ui-xaml/blob/a1545320d01454cd3d166fac3e9fbe8dd0b68201/dev/TeachingTip/TeachingTip.cpp#L1743
So to summarize, we have two bugs for the HeroContentPlacement API here:

Bug 1: It affects the placement of the TeachingTip even though it should only affect the placement of the hero content inside the TeachingTip. It overrides the setting of the PreferredPlacement API which should solely be responsible for positioning the TeachingTip in relation to its target.
Bug 2: Explicitly setting it to Bottom does not position the hero content at the bottom of the TeachingTip as it should.

Expected behavior
<Button Content="Show TeachingTip">
    <Button.Resources>
        <muxc:TeachingTip x:Name="ToggleThemeTeachingTip1"
                          Target="{Binding ElementName=TeachingTipXAMLMarkupButton}"
                          Title="Title" Subtitle="Subtitle"
                          HeroContentPlacement="Bottom">
            <muxc:TeachingTip.HeroContent>
                <Rectangle Fill="Green" MinHeight="100" MinWidth="100"/>
            </muxc:TeachingTip.HeroContent>
        </muxc:TeachingTip>
    </Button.Resources>
</Button>

Version Info

NuGet package version:
Microsoft.UI.Xaml 2.4 and earlier
Microsoft.UI.Xaml 2.5 previews

Windows app type:

UWP
Win32

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Xbox

Surface Hub

IoT

Additional Contect
I would like to look into this.

This is very strange, the MUXControls test app does not behave this way.  There is a design requirement that for auto placement mode we do not open in a position which the pointer extends from the hero content. Which means when you set your HeroContentPlacement to bottom the auto placement is going to prefer bottom instead of top, which you can see in the mux controls test app. However I don't see how you got the hero content to show up on top, very strange.

@StephenLPeters

This is very strange, the MUXControls test app does not behave this way.

I can reproduce this in the MUXControls test app: (WinUI master build)
<Button x:Name="TeachingTipExampleButton" Content="Show tip"
        Click="Button_Click">
    <Button.Resources>
        <muxc:TeachingTip x:Name="ButtonTeachingTip" Title="Title" Subtitle="Subtitle"
                          Target="{Binding ElementName=TeachingTipExampleButton}"
                          HeroContentPlacement="Bottom">
            <muxc:TeachingTip.HeroContent>
                <Rectangle Fill="ForestGreen" MinHeight="100" MinWidth="100" />
            </muxc:TeachingTip.HeroContent>
        </muxc:TeachingTip>
    </Button.Resources>
</Button>

private void Button_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
{
    this.ButtonTeachingTip.IsOpen = true;
}

There is a design requirement that for auto placement mode we do not open in a position which the pointer extends from the hero content. Which means when you set your HeroContentPlacement to bottom the auto placement is going to prefer bottom instead of top

Either the implementation is wrong or the documentation. According to the documentation, the PreferredPlacement API only controls the position of TeachingTip relative to its target (or parent window). The placement of the hero content plays no role here.
Looking at the documentation for the HeroContentPlacement API, it is the sole API responsible for the placement of the hero content inside the TeachingTip. If I do no want the TeachingTip tail extending from the hero content, then I have to set the HeroContentPlacement to Auto. However, if I set it to either Top or Bottom then the hero content should be placed at the top or bottom of the TeachingTip regardless of the tail position.
In short, the documentation does not state that setting the PreferredPlacement of the TeachingTip has any effect on the position of the hero content inside the TeachingTip. The implementation makes such an assumption though.
So given my XAML above, I expect the TeachingTip to be placed above the button (as PreferredPlacement is Auto) and the the HeroContent should be placed at the bottom of the TeachingTip as HeroContentPlacement is Bottom).
Either the documentation or the implementation is not correct here.

Does the repro have something to do with setting those properties from markup? because setting those same properties using the test pages combobox's does not reproduce the issue.
The preferred placement does (should) not affect the HeroContentPlacement (unless HeroContentPlacement is auto). However HeroContentPlacement does affect the teaching tip placement. The PreferredPlacement is called preferred because we don't guarantee that we will honor it, the two additional aspects we check are that the tip will fit within the app and that the tail does not protrude from the hero content.

@StephenLPeters

However HeroContentPlacement does affect the teaching tip placement.

This is not what the documentation is saying though. So the documentation needs to be updated here if that is desired behavior.

Does the repro have something to do with setting those properties from markup? because setting those same properties using the test pages combobox's does not reproduce the issue.

I haven't checked the TeachingTip testing page. I have instead created my own teaching tip using the XAML markup above. Setting HeroContentPlacement from markup is an issue because if I set it to Bottom then the corresponding VisualState won't be entered (I pointed that out in my opening post above as one of the two issues I am seeeing).

@SavoySchuler Can you weigh in on the pointer  protruding from the hero content? I agree that this is confusing, I feel like we had our reasons previously, and those reasons should be documented.
@Felix-Dev if setting heroContentPlacement from markup doesn't cause the controls VSM to go to the appropriate states (like it does when you set the property from code) then that is certainly a bug.

Here is how I would expect the PreferredPlacement and HeroContentPlacement APIs to behave:

The position of the TeachingTip should only be controlled by the PreferredPlacement API
The position of the hero content is only controlled by the HeroContentPlacement API:

If I want my hero content to be placed at the top of the TeachingTip (regardless of the tail position) then I set it to Top
If I want my hero content to be placed at the bottom of the TeachingTip (regardless of the tail position) then I set it to Bottom
If I want my hero content to be placed "opposite" of the tail, then I set it to Auto. So if the TeachingTip's placement logic determines that the TeachingTip is placed above the target, then my hero content should be the top content of the tip. Likewise, if the the tip's placement is below the target then the hero content should be the bottom content of the tip.

So while the HeroContentPlacement would not affect the psoition of the TeachignTip on the screen, if I set it to Auto, then it would base the position of the hero content on the determined position of the TeachingTip.
@StephenLPeters Since these are two issues, I will create a search issue for "HeroContentPlacement ignored from XAML markup" and we can keep using this to discuss, if and what should be changed about the interplay of the PreferredPlacement and HeroContentPlacement APIs.

@SavoySchuler Ping for your thoughts on the apparent mismatch between the documentation and the actual behavior of the HeroContentPlacement API in regards to affecting the teaching tip's placement.


Updates sometimes fail to download on background

Even with 2 minutes timeout:

UITests.UpdateAppTest
testUpgradeOnQuit, Asynchronous wait failed: Exceeded timeout of 120 seconds, with unfulfilled expectations: "Expect predicate BLOCKPREDICATE(0x6000038a2190)".
UpdateAppTest.swift:102

https://github.com/sparta-science/connect/runs/1024916012?check_suite_focus=true#step:6:522
https://github.com/sparta-science/connect/blob/c583044e8db8682218a6261b6776ee2efe9ff0a0/UITests/UpdateAppTest.swift#L98-L104

Looks like even on the foreground slow downloads can fail the test:

see https://github.com/sparta-science/connect/runs/1037106911?check_suite_focus=true#step:8:548

research how to proxy download urls to local?


Integration test sample for .NET 7

As requested by @Rick-Anderson in https://github.com/dotnet/AspNetCore.Docs/issues/27089

Currently away on vacation so a bit on and off on this PR. Tests are passing atleast. Will try to address the issues raised in the linked issue.

@jvandertil much appreciated, no hurry.

@Rick-Anderson Not sure if this example covers all the cases you have in mind, but should be a nice starting point. Let me know if you want more things added, or changed, or if those should be in a separate PR.

@jvandertil  can you force push .sln
See https://github.com/dotnet/AspNetCore.Docs/blob/main/.gitignore#L15-L17
this gitignore is a copy

@jvandertil  I can do a PR to add the SLN file and fix the namespaces if you like. Great work.

@Rick-Anderson Added solution file and fixed namespaces

@jvandertil much appreciated.


edit Parameter Locations and its Fixed Fields

Is something missing in the last sentence of allowEmptyValue? If style is used, if behavior is n/a, the value of allowEmptyValue SHALL be ignored.
... and if behavior is n/a, ... ?

Behavior is mentioned again in the Fixed Fields of the Encoding Object, "The behavior follows the same values allowed for query parameters, including default values." Is behavior in Parameter Object and Encoding Object referring to serialization behavior?

The behavior refers to the serialization. If it's n\a in the table - it means it cannot be serialized.
That table has an empty column which is related to the allowEmpty value. If when there's an empty value, there's no serialization defined for it, then the allowEmpty value has no meaning. Instead of saying it's not allowed to specify it, we just say that it will be ignored if it exists.


Typescript Suggestions for object paramaters broken.

It used to be when I had an empty object of a specific type, CTRL + SPACE would open up a menu that had a list of possible parameters for that object. Now when I do this for an empty object it just shows up with the #endregion as a suggestions.
If I start typing the first character of a parameter I do get a list of parameters that start with that character. However sometimes I just want to explore the possible suggestions without know their names. Is this a bug or have I  just messed up my settings?

Ahh i posted this and immediately figured out my issues.
Something (probably me) had set
editor.snippetSuggestions: top

Changing this to
editor.snippetSuggestions: "bottom"

solved my issue


Can not create application!

Dear,
I just follow the steps to create an application. But it doesn't work!
The error:
main.js:469 Uncaught ReferenceError: Cesium is not defined
at main.js:469
which point to
EllipsePrimitive.borderStyleToPrimitiveType = {
solid: Cesium.PrimitiveType.LINE_LOOP,
dashed: Cesium.PrimitiveType.LINES
};
I followed the guide.
npm install --save angular-cesium (which version is 0.11)
npm install --save cesium (which version is 1.35.1)
Import AngularCesiumModule in app.module.ts file.
Set cesium config in .angular-cli.json like this:
"assets": [
"assets",
"favicon.ico",
{
"glob": "**/*",
"input": "../node_modules/cesium/Build/Cesium",
"output": "./assets/cesium"
}
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"../node_modules/cesium/Build/Cesium/Widgets/widgets.css",
"styles.css"
],
"scripts": [
"../node_modules/cesium/Build/Cesium/Cesium.js"
],
And I do declare Cesium in typings.d.ts file.
/* SystemJS module definition */
declare var Cesium: any;
declare var module: NodeModule;
interface NodeModule {
id: string;
}
My application is created by webstorm 2017.
Please help me!

Tested it with cesium 1.35.1 and worked perfectly,
seems that Cesium wasn't loaded properly, but I can't tell why your CLI config looks ok.
does Cesium object exists on your global? (run Cesium in the console), does the cesium script in the .angular-cli.json point to the actual files?

Thanks eitanfr!
I doublechecked my configuration.
With the last angular-cli, the app(ng new project) is based on angular 4.
I think it is conficted with 0.11 angular-ceisum.
It works now!
Thanks again!


Avoid hang on import requests

Fix TODO_30_69_19_14 client hangs by using urllib3 instead of requests.

This closes #116.


Move audit logs tag to the right place

@idanovo I'm not sure I understand how this differentiates between the different API calls.
Mind providing more context?

@idanovo I'm not sure I understand how this differentiates between the different API calls. Mind providing more context?

The purpose of this PR is to have the audit logs tag only for the logs that audit the calls the user does (rest/S3 gateway).
Currently, we use this tag also for irrelevant logs.


Remove an unnecessary reference from parameter.

The parameter isn't being modified, so having this is unexpected,
and passing params by reference is slower than passing by value.
The reference was part of the initial commit for src/Token.php

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

Thanks!


fix(shipper): add amazon.com.au and update auspost_delivering

Added amazon.com.au domain and updated subject for auspost_delivering as the subject in the emails either say "Your delivery from XXX is on its way" or "Your delivery from XXX is coming today"
Breaking change

Proposed change

Added amazon.com.au domain and updated subject for auspost_delivering similar to royal_delivering to account for the different email subjects

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update
[ ] Adds a new shipper
[x] Update existing shipper

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:

@firstof9 Thanks Chris. I am slowly learning Github so trying to figure out as I go.

Resolved in #625


Ghidra appearing to not find referenced libraries

Describe the bug
When I try to import certain binaries, Ghidra warns that it can't find some referenced library files.  Except, when I look at the locations where it says they weren't found, they're there.
To Reproduce
Steps to reproduce the behavior:

Use Homebrew to install xz (brew install xz)
Create a new project in Ghira
Import the xz binary into Ghira
Leave the default import settings
See the below error:

----- Loading /usr/local/Cellar/xz/5.2.4/bin/xz -----
Skipping segment: __PAGEZERO (xz)
  [/usr/local/Cellar/xz/5.2.4/lib/liblzma.5.dylib] -> not found
  [/usr/lib/libSystem.B.dylib] -> not found

Look for the referenced libraries:

$ ls -l /usr/local/Cellar/xz/5.2.4/lib/liblzma.5.dylib
-r--r--r--  1 user  staff  134356 Feb  9 17:06 /usr/local/Cellar/xz/5.2.4/lib/liblzma.5.dylib
$ ls -l /usr/lib/libSystem.B.dylib
-rwxr-xr-x  1 root  wheel  60880 Jan 15 17:21 /usr/lib/libSystem.B.dylib
Expected behavior
I'd expect that warning to not show up, and for the import to finish cleanly.
Environment (please complete the following information):

OS: macOS 10.14.3
Java: OpenJDK 11.0.2+9
Ghidra: 9.0_PUBLIC_20190228
xz binary version: 5.2.4

Additional context
I'm also wondering whether this could be related to the following errors I receive after analyzing the binary using the default analysis settings:
Failed to create "no return" function __la_symbol_ptr::___stack_chk_fail at 10000c078
Failed to create "no return" function __la_symbol_ptr::_exit at 10000c0a0

Same issue too

Possibly related to #136

Turns out this is a different animal than #136; that one describes a failure to properly parse universal binaries. This ticket is the result of failing to properly recurse through the dependencies of the external libraries being loaded. As @Kreeblah noted, the libraries exist but we don't process them.
And I don't believe this is specific to any particular binary type (at least it shouldn't be).

This problem also occurs in my projects. However, my Ghidra is the latest version compiled with jdk 12.


pdfjs.history cookie not blocked until accepted by user

Hi,
Our friends over at Cookiebot notified us about a cookie being set without consent of the user. It's the pdfjs.history cookie. I can't find any setting in this plugin that may fix this.
When I asked Cookiebot support about this, they referred to this page.
I haven't searched for any hooks in the plugin code that can maybe add attributes to scripts. Is there such a thing? Or do you see any other solution?
Regards,
Bas

What's the cookie name? We're just wrapping up Mozilla's PDFJS, so I have to see what they're adding it for.

@TwisterMc It's the pdfjs.history cookie.

@TwisterMc Did you ever get a chance to look into this?


forseti_inventory: command not found after quickstart install

I used the cloud shell to do  the quickstart install from https://forsetisecurity.org/docs/quickstarts/forseti-security/index.html and after the install I get the forseti_inventory: command not found.
The forseti SQL instance is up and running, as is the VM instance. What do I need to do to get the commands to run?
Oh, and when I tried to mail this question to<EMAIL_ADDRESS>it bounced with a message that says:  "We're writing to let you know that the group you tried to contact (discuss) may not exist, or you may not have permission to post messages to the group. "
thanks!

Oren

Hi Oren,
Are you running the forseti_inventory command on cloud shell? Forseti is installed in the VM so you will need to SSH to the VM to run any forseti related commands.
As for the mailing message you got<EMAIL_ADDRESS>requires google group membership to post questions, you can join the group and access the discussion board here: https://groups.google.com/a/forsetisecurity.org/forum/#!forum/discuss
Thanks,
Joe


Set token invalid

I know "JWT" authentication process is stateless and for logout we should use something like "Redis" for "blacklist".
But if we'll have some functionality that can invalid token it would be so good.
So if it could be possible it would be our pleasure.
thanks

I agree, It could be great to implement at least a blacklist natively

Based on which criteria would both of you like the blacklist to work?
As @omidiu states correctly, JWT are stateless. Therefore any blacklisting I can imagine of would be based on the content wrapped in the JWT and therefore be only validated after this library did its job.
So in my opinion this issue can be closed as this "problem" does not belong to this library.

Thanks for your reply.
Finally, I created a system that works perfectly with an access token, a refresh token, and a revoked status working with a local storage cache through node-localstorage.
You can see it in this repository: https://github.com/acecconato/AnthonyCecconato_7_03092021/blob/main/app/middlewares/authenticate.middleware.js
In my Vue 3 application, I just have to intercept Axios response, and if it returns a 401 error and if my user has a refresh token, I refresh automatically the access token by requesting my api/refresh-token route.
In this way: The access token has a short expiration time. The refresh token has a long expiration time (remember me button), and a token can be revoked just by requesting the cache and not the database (I consider it's still stateless..?). When we want to ban or delete a user account, we just have to set the isRevoked parameter to true instead of false.
I think it can be great to have an all-in-one solution for this. I searched but couldn't find anything! How did you ban or delete a user without a revoke / blacklist system? If we use a cache, can we consider it's not stateless anymore? I don't think so, but I'm not an expert at all.

Hi acecconato,
the only all-in-one solution which comes into my mind would be Laravel from PHP universe, but I would not recommened PHP as basis for a new project.
The concept of long and short living tokens is definitely a possibility to solve it. Of course this depends individually on the security level needed, but how long did you chose the expiration duration for both of the tokens?
From my point of view this is still not a perfect solution, as it is indeed not stateless any more. When you come to the point of scaling your application horizontally, so accross multiple seperate servers/instances, how do you know which of your servers/instances will handle the request? A load balancer will try to route it to the same server based on a set cookie, but the targeted server might be currently unavailable. The alternatively chosen server does not have the same localStorage "blacklist", so the token is accepted again... To solve this your servers would have to sync their localStorage, which is a lot more overhead than simply using a fast in-memory database like e.g. Redis to evaluate the session validity on every HTTP call.
This is the way I am solving the issue: When a user logs in, I get the user_id from my document database and then create a session with a unique ID and save the key-value-pair of session_id and user_id in a Redis database with a time to live of 24h. Redis as in-memory database supports time-to-live values for keys, so it deletes the key automatically. To the user I wrap the session ID into an encrypted JWT which is stored as http-only cookie to an explicit domain and expires automatically after 24h, too.
When a user call comes in, I validate the JWT towards issuer and expire properties, extract the session_id from the JWT and then call Redis to get the user_id. With this extracted user_id I call my document SQL/NoSQL database for the requested action.
The fact that Redis deletes the keys after 24h is not an issue, as the JWT expires after 24h, too. If another user would get the same session_id, the first user cannot be authenticated as the new user, as his JWT already was invalidated due to its expire property.
One additional information: Have a look at CouchbaseDB - it combines Redis and a key-value/document database, as it is memory-first but with greatly choosable persistence levels for e.g. saving user documents at registration. With Couchbase I simply have the sessions as well as the user documents in the same database and don't call different databases. This is not an advertisement, I just really like the product and the fact that you can use it open-source for a cluster of up to 3 servers, which is sufficient for most use-cases without replication accross different geo-zones.

When a user call comes in, I validate the JWT towards issuer and expire properties, extract the session_id from the JWT and then call Redis to get the user_id. With this extracted user_id I call my document SQL/NoSQL database for the requested action. If the session has to be invalidated (e.g. as the user logs out), then I simply overwrite the Redis entry of session_id with an empty string, so the connection to the user_id is not given anymore.

Doesn't this make the stateless authentication process become stateful like the blacklist way?

Doesn't this make the stateless authentication process become stateful like the blacklist way?

Yes it does.

Doesn't this make the stateless authentication process become stateful like the blacklist way?

Yes it does.

Also,  cookie + sessions seems enough, why bother to wrap it with JWT? What would be the advantage of this comparing to the blacklist way?

Also, cookie + sessions seems enough, why bother to wrap it with JWT?

You can use cookies + sessions instead of cookies + JWT.

What would be the advantage of this comparing to the blacklist way?

There really isn't. You end up with a similar result.


Not able to use terminal on mobile

Describe the bug
When i open my stackblitz project(node.js) ,i am not able to use the terminal and run any command command. You may see it in the image below

Link to the blitz that caused the error
https://stackblitz.com/edit/node-5hmhpg?file=index.js
Steps to reproduce
1: open the blitz if which i provided the link(open it on mobile)
2: try to use the terminal
Expected behavior
Expected behaviour is that i am able to use the terminal on mobile.
Parity with Local

[x] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 111
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Linux; Android 9; CPH2015) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36
performance.memory = {
  "totalJSHeapSize": 53922170,
  "usedJSHeapSize": 48629046,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = 2367469c

Additional context
No response

Can reproduce on Chrome 111 on Android.
The problem seems to be a combination of how the viewport height is calculated by Chrome when the virtual keyboard is shown, and how XTerm handles mobile input.
Interesting that it used to work (badly, but still work) on Chrome on Android, but now seems broken, while I don't think we shipped an update of XTerm itself.


kinesis-lzo-s3-sink:  Uing Apache Pig to Load S3 storage data from kinesis-lzo-s3-sink

Hi everyone,
I'm using your apps for process my data,   thats include:
1-trackers/javascript-tracker
2-collectors/scala-stream-collector
3- Our Own solution
and then
4-storage/kinesis-lzo-s3-sink
once the data is stored in amazon s3 as lzo (and its index lzo.index)
we are trying to process that files using Apache Pig as follow:
Our pig script
register /usr/local/pig/lib/elephant-bird-core-4.6.jar;
register /usr/local/pig/lib/elephant-bird-cascading2-4.6.jar;
register /usr/local/pig/lib/elephant-bird-pig-4.6.jar;
register /usr/local/pig/lib/elephant-bird-hadoop-compat-4.6.jar;
register /usr/local/pig/lib/snowplow-stream-collector-0.3.0.jar;

data = LOAD '/home/devuser/ltv/data/snowplow/*.lzo.index'
USING  com.twitter.elephantbird.pig.load.ThriftPigLoader('com.snowplowanalytics.snowplow.CollectorPayload.thrift.model1.CollectorPayload');

DESCRIBE data;
data: {schema: chararray,ipAddress: chararray,timestamp: long,encoding: chararray,collector: chararray,userAgent: chararray,refererUri: chararray,path: chararray,querystring: chararray,body: chararray,headers: {t: (headers_tuple: chararray)},contentType: chararray,hostname: chararray,networkUserId: chararray}

DUMP data;

We have this error, after DUMP data!
2015-02-19 15:41:14,384 [main] INFO  org.apache.pig.tools.pigstats.ScriptState - Pig features used in the script: UNKNOWN
2015-02-19 15:41:14,384 [main] INFO  org.apache.pig.newplan.logical.optimizer.LogicalPlanOptimizer - {RULES_ENABLED=[AddForEach, ColumnMapKeyPrune, GroupByConstParallelSetter, LimitOptimizer, LoadTypeCastInserter, MergeFilter, MergeForEach, PartitionFilterOptimizer, PushDownForEachFlatten, PushUpFilter, SplitFilter, StreamTypeCastInserter], RULES_DISABLED=[FilterLogicExpressionSimplifier]}
2015-02-19 15:41:14,392 [main] WARN  org.apache.pig.data.SchemaTupleBackend - SchemaTupleBackend has already been initialized
2015-02-19 15:41:14,402 [main] INFO  org.apache.hadoop.mapreduce.lib.input.FileInputFormat - Total input paths to process : 1
2015-02-19 15:41:14,403 [main] INFO  org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter - Saved output of task 'attempt__0001_m_000001_1' to file:/tmp/temp-1627216190/tmp-1495567355/_temporary/0/task__0001_m_000001
2015-02-19 15:41:14,408 [main] WARN  org.apache.pig.data.SchemaTupleBackend - SchemaTupleBackend has already been initialized
2015-02-19 15:41:14,414 [main] INFO  org.apache.hadoop.mapreduce.lib.input.FileInputFormat - Total input paths to process : 1
2015-02-19 15:41:14,414 [main] INFO  org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths to process : 1

Then we try changing the schema to:
data = LOAD '/user/devuser/ltv/data/snowplow/*.lzo.index'
    USING com.twitter.elephantbird.pig.load.ThriftPigLoader('com.snowplowanalytics.snowplow.collectors.thrift.SnowplowRawEvent');

And we have the same error!
It's posible to load S3 thrift lzo data storage by your kinesis-lzo-s3-sink from pig?
Thanks for your help!

Hey @christiangda - first off, if it's version 0.3.0 of the SSC that you're using, then you'll want the first option, not the second:

No milestone
No one—
Notifications

You're receiving notifications because you're subscribed to this repository.
1 participant
Christian González
Lock issue
Christian González

data = LOAD '/home/devuser/ltv/data/snowplow/*.lzo.index'
USING  com.twitter.elephantbird.pig.load.ThriftPigLoader('com.snowplowanalytics.snowplow.CollectorPayload.thrift.model1.CollectorPayload');

Second, can you share the error you experienced? You only shared informational/warning messages. I can't see an error.

Hi Alexander, Thanks for your answer, you are right, I forgot mention that we don't have any error, we only have this information:
grunt> DUMP data;
2015-02-20 08:50:51,827 [main] INFO  org.apache.pig.tools.pigstats.ScriptState - Pig features used in the script: UNKNOWN
2015-02-20 08:50:51,884 [main] INFO  org.apache.pig.newplan.logical.optimizer.LogicalPlanOptimizer - {RULES_ENABLED=[AddForEach, ColumnMapKeyPrune, GroupByConstParallelSetter, LimitOptimizer, LoadTypeCastInserter, MergeFilter, MergeForEach, PartitionFilterOptimizer, PushDownForEachFlatten, PushUpFilter, SplitFilter, StreamTypeCastInserter], RULES_DISABLED=[FilterLogicExpressionSimplifier]}
2015-02-20 08:50:52,463 [main] INFO  org.apache.hadoop.conf.Configuration.deprecation - io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum
2015-02-20 08:50:52,464 [main] INFO  org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS
2015-02-20 08:50:52,629 [main] INFO  org.apache.hadoop.mapreduce.lib.input.FileInputFormat - Total input paths to process : 1
2015-02-20 08:50:52,629 [main] INFO  org.apache.hadoop.conf.Configuration.deprecation - mapred.input.dir.recursive is deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive
2015-02-20 08:50:52,631 [main] INFO  org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter - Saved output of task 'attempt__0001_m_000001_1' to file:/tmp/temp1145700320/tmp-1189644891/_temporary/0/task__0001_m_000001
2015-02-20 08:50:52,648 [main] WARN  org.apache.pig.data.SchemaTupleBackend - SchemaTupleBackend has already been initialized
2015-02-20 08:50:52,657 [main] INFO  org.apache.hadoop.mapreduce.lib.input.FileInputFormat - Total input paths to process : 1
2015-02-20 08:50:52,661 [main] INFO  org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths to process : 1

We have searched in all the logs of process, system and pig, and we haven't any errors,  but when we run the command DUMP, we have no data !
Tools version

Apache Pig version 0.13.0 (r1606446) compiled Jun 29 2014, 02:27:58
Linux hadoop-dev 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Hadoop 2.4.0

Subversion http://svn.apache.org/repos/asf/hadoop/common -r 1583262
Compiled by jenkins on 2014-03-31T08:29Z
Compiled with protoc 2.5.0
From source with checksum 375b2832a6641759c6eaf6e3e998147
This command was run using /usr/local/hadoop-2.4.0/share/hadoop/common/hadoop-common-2.4.0.jar

Scala collector log trace
08:33:31.495 [scala-stream-collector-akka.actor.default-dispatcher-13] DEBUG akka.io.TcpListener - New connection accepted
08:33:31.502 [scala-stream-collector-akka.actor.default-dispatcher-12] DEBUG s.can.server.HttpServerConnection - Dispatching GET request to http://<IP_ADDRESS>:8080/i?e=ue&ue_px=eyJzY2hlbWEiOiJpZ2x1OmNvbS5zbm93cGxvd2FuYWx5dGljcy5zbm93cGxvdy91bnN0cnVjdF9ldmVudC9qc29uc2NoZW1hLzEtMC0wIiwiZGF0YSI6eyJkYXRhIjp7InVzZXJfaWQiOjk4ODMxOSwic2Vzc2lvbl9pZCI6MTQxMDYsImFjdGlvbiI6InNlc3Npb25fZW5kIiwic29mdHdhcmUiOiJGUkFNME5CR0pLIiwidmVyc2lvbiI6InYgMS4xLjE0IiwiY2FtcGFpZ24iOiJjYW1wYWlnbiIsIm9sZF92ZXJzaW9uIjoidiAxLjEuMTQifX19&dtm=1424421211442&tid=101143&vp=1855x993&ds=1855x993&vid=1&duid=954c0aa191bae4fa&p=web&tv=js-2.0.0&fp=1941551860&lang=en-us&cs=UTF-8&tz=Europe/London&f_pdf=1&f_qt=0&f_realp=0&f_wma=0&f_dir=0&f_fla=1&f_java=1&f_gears=0&f_ag=0&res=1920x1080&cd=24&cookie=1&url=file:///home/christian/Documents/Tuguu/LTV/SnowPlow/1-tracker/web-js-tracker/tgu-track.1.html to handler Actor[akka://scala-stream-collector/system/IO-TCP/selectors/$a/24#-340979721]
08:33:31.503 [scala-stream-collector-akka.actor.default-dispatcher-13] INFO  c.s.s.c.s.sinks.KinesisSink - Writing Thrift record to Kinesis: CollectorPayload(schema:iglu:com.snowplowanalytics.snowplow/CollectorPayload/thrift/1-0-0, ipAddress:<IP_ADDRESS>, timestamp:1424421211503, encoding:UTF-8, collector:ssc-0.3.0-kinesis, userAgent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36, path:/i, querystring:e=ue&ue_px=eyJzY2hlbWEiOiJpZ2x1OmNvbS5zbm93cGxvd2FuYWx5dGljcy5zbm93cGxvdy91bnN0cnVjdF9ldmVudC9qc29uc2NoZW1hLzEtMC0wIiwiZGF0YSI6eyJkYXRhIjp7InVzZXJfaWQiOjk4ODMxOSwic2Vzc2lvbl9pZCI6MTQxMDYsImFjdGlvbiI6InNlc3Npb25fZW5kIiwic29mdHdhcmUiOiJGUkFNME5CR0pLIiwidmVyc2lvbiI6InYgMS4xLjE0IiwiY2FtcGFpZ24iOiJjYW1wYWlnbiIsIm9sZF92ZXJzaW9uIjoidiAxLjEuMTQifX19&dtm=1424421211442&tid=101143&vp=1855x993&ds=1855x993&vid=1&duid=954c0aa191bae4fa&p=web&tv=js-2.0.0&fp=1941551860&lang=en-us&cs=UTF-8&tz=Europe%2FLondon&f_pdf=1&f_qt=0&f_realp=0&f_wma=0&f_dir=0&f_fla=1&f_java=1&f_gears=0&f_ag=0&res=1920x1080&cd=24&cookie=1&url=file%3A%2F%2F%2Fhome%2Fchristian%2FDocuments%2FTuguu%2FLTV%2FSnowPlow%2F1-tracker%2Fweb-js-tracker%2Ftgu-track.1.html, headers:[X-Forwarded-For: <IP_ADDRESS>, Cookie: sp=c124c4b8-9f3a-475f-9491-af2d772e045b, Accept-Language: es, en-US, en, Accept-Encoding: gzip, deflate, sdch, User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36, Accept: image/webp, */*;q=0.8, Host: <IP_ADDRESS>:8080], hostname:<IP_ADDRESS>, networkUserId:c124c4b8-9f3a-475f-9491-af2d772e045b)
08:33:31.508 [scala-stream-collector-akka.actor.default-dispatcher-9] DEBUG akka.io.TcpIncomingConnection - Closing connection due to IO error java.io.IOException: Connection reset by peer
08:33:31.509 [scala-stream-collector-akka.actor.default-dispatcher-9] DEBUG s.can.server.HttpServerConnection - Connection was ErrorClosed(Connection reset by peer), awaiting TcpConnection termination...
08:33:31.510 [scala-stream-collector-akka.actor.default-dispatcher-12] DEBUG s.can.server.HttpServerConnection - TcpConnection terminated, stopping
08:33:31.672 [pool-1-thread-10] INFO  c.s.s.c.s.sinks.KinesisSink - Writing successful.
08:33:31.672 [pool-1-thread-10] INFO  c.s.s.c.s.sinks.KinesisSink -   + ShardId: shardId-000000000000
08:33:31.672 [pool-1-thread-10] INFO  c.s.s.c.s.sinks.KinesisSink -   + SequenceNumber:<PHONE_NUMBER>3996487777971171182938030608387103198025875458

kinesis-lzo-s3-sink log trace
feb 20, 2015 8:34:31 AM com.amazonaws.services.kinesis.metrics.impl.DefaultCWMetricsPublisher publishMetrics
INFORMACIÓN: Successfully published 14 datums.
feb 20, 2015 8:34:41 AM com.amazonaws.services.kinesis.metrics.impl.DefaultCWMetricsPublisher publishMetrics
INFORMACIÓN: Successfully published 12 datums.
feb 20, 2015 8:34:52 AM com.amazonaws.services.kinesis.metrics.impl.DefaultCWMetricsPublisher publishMetrics
INFORMACIÓN: Successfully published 12 datums.
feb 20, 2015 8:34:57 AM com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker$WorkerLog info
INFORMACIÓN: Current stream shard assignments: shardId-000000000000
feb 20, 2015 8:34:57 AM com.amazonaws.services.kinesis.clientlibrary.lib.worker.Worker$WorkerLog info

Data files in S3 and downloaded to my FS
-rw------- 1 devuser devuser 2877 Feb 20 08:44 2015-02-20-49548077043996487777971171182912643166175195023284371458-49548077043996487777971171182939239534206717827200581634.lzo
-rw------- 1 devuser devuser    8 Feb 20 08:44 2015-02-20-49548077043996487777971171182912643166175195023284371458-49548077043996487777971171182939239534206717827200581634.lzo.index

It is possible to do that?,  I mean ,  load "Thrift-Lzo SnowPlow format" from Apache Pig using Elephant-bird library?
Thanks for your comments

Hmm. We don't use Pig so it's hard to say. My suggestion is: process the events using EmrEtlRunner (i.e. using Scalding/Hadoop/EMR) first, and confirm that's all working. Then it's a case of comparing the Scalding code to your Pig code to figure out the difference

Thanks again Alexander!, we will try your suggestion, and then we will inform to you the result!

Good luck!

Moved to: https://github.com/snowplow/kinesis-s3/issues/3


Add Yaml Description

Adds the optional "yaml_description" item to the Categories.json file, which allows the user to add a line of description text to the yaml options.
Example syntax:
{
    "Example Yaml-option category": {
        "yaml_option": ["DLC_enabled"],
        "yaml_description": {"DLC_enabled": "Include items and locations that require purchasing the DLC"}
    }
}

Result in the player yaml:
  DLC_enabled:
    # Include items and locations that require purchasing the DLC
    'false': 0
    'true': 50

this feels more like something that should be done in a dedicated option section/file like the wip #54 In the short term, yes this works but im not 100% happy with it but I leave the decisions to fuzzy

I didn't know how far along #54 was so I wanted to push this fairly simple change in the short term.

I do not like this syntax.
Putting a dict in each category is confusing, and the moment people start using the same option for multiple categories, they're going to be confused whether they need to duplicate the description.
If we're going to do this as a stopgap for #54, I'd want the dict in game.json, not in every category.

I do not like this syntax.
Putting a dict in each category is confusing, and the moment people start using the same option for multiple categories, they're going to be confused whether they need to duplicate the description.
If we're going to do this as a stopgap for #54, I'd want the dict in game.json, not in every category.

I agree with sila. Wherever it is, it has to be a single place to change it. And agree with both that the best single place would be the Options json when it happens.
game.json is a good fallback, but we know we'd be building something that we're going to deprecate probably this year.
If we're really insistent on trying to get YAML option descriptions into world builders' hands, I'd almost prefer that we just build out a skeleton Options json that just takes an option name and lets you specify an option description, and nothing else. Then Nico's WIP PR can add types and other stuff later. That way, the YAML option description ends up in the file it's going to be in. We can explain away that Options in general are a WIP and that this would be a precursor to more functionality. (And, obviously, the format for this skeleton Options json should follow what Nico is establishing in their WIP PR).

All good, I'll wait until Options.json is ready then.


Correction for raw affiliation Montpellier University, QUALISUD, UMR 95, Montpellier cedex 5, France

Correction needed for raw affiliation Montpellier University, QUALISUD, UMR 95, Montpellier cedex 5, France
raw_affiliation_name: Montpellier University, QUALISUD, UMR 95, Montpellier cedex 5, France
new_rors: 051escj72;01nfvkq89
previous_rors: 051escj72
works_examples: W4390342231
contact: 312fd5b8dd69ed12d9d815f8106b9bb8:0a93cfd0a4880cff1213d600b49d156cf8 @ supagro.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-21. The new affiliations should be visible within the next 7 days.


FYI - Step 2. always fails if run in iterm2

Hi,
Whenever I use zim and set it up on a new mac, stpe 2 would always fail and I'd spend ages trying to workout how to get it to work.
Today same thing, but then I tried running the command in the default Terminal app and it worked fine.
Thought you might like to know, maybe a note to say to run it in Terminal rather than iterm2
After that iterm2 was working fine.
No idea why it behaves this way
Cheers

wait no... tried again to confirm and pasting in terminal also throws:
-sh: syntax error near unexpected token done'`
not sure how i managed to get it to work

Now always consistently throws
AU-00237:~ burniep$ setopt EXTENDED_GLOB
-sh: setopt: command not found
AU-00237:~ burniep$ for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do
-sh: syntax error near unexpected token `('
AU-00237:~ burniep$   user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}"
AU-00237:~ burniep$   touch ${user_file}
AU-00237:~ burniep$   ( print -rn "$(<${template_file})$(<${user_file})" >! ${user_file} ) 2>/dev/n$
-sh: /dev/n$: Permission denied
AU-00237:~ burniep$ done
-sh: syntax error near unexpected token `done'

as it was originally

You need to run the commands in a zsh shell, as the instructions describe.
AU-00237:~ burniep$ setopt EXTENDED_GLOB
-sh: setopt: command not found

As the above mentions sh, this indicates this is being run under the default shell interpreter as opposed to zsh.


MetricsHandler support multiprocessing

I added this to the default MetricsHandler recently:
        if 'prometheus_multiproc_dir' in os.environ:
            multiprocess.MultiProcessCollector(registry)

Not sure if it's worth making a PR for it?

This would be incorrect, as you usually want to use this only with a custom registry.

So is it usually incorrect or always incorrect?
Do we usually wanna use the MetricsHandler or MultiProcessCollector with a custom registry, should I not be using either of them?
Could you elaborate a little? Sorry, I haven't used the Prometheus Python client much yet.

Usually incorrect. This couldn't be a default unless it was always correct.

Do we usually wanna use the MetricsHandler or MultiProcessCollector with a custom registry, should I not be using either of them?

You should always use them that way.


some subgraphs are not covered by find-roots

Let us define a "component"  of a graph as a maximal connected subgraph.
A component with no root -- as one gets, for instance, by running "find roots" and making one of the results a child of itself -- does not show up in find-roots. This is perhaps reasonable, given the name of the function, but nonetheless dangerous to even SMSN's current second-best user in the world, as well as to at last fifty percent of them.
If cycles are unintended, a solution would be to report any rootlike member, that is any member for which the rest of the component is a descendent. (And some visual indication of which of the results are true roots and which are only rootlike.) The user would figure it out and fix it from there.
If the user actually wants rootless components, they will probably want to designate a "home" node (or a set of them) for each component.

So you want SmSn to do something actually graph-like with the graph?  Right now, the functions for roots and isolated atoms are very simple: they find atoms with no parents, or with no parents and no children, and display them in a tree view.  I agree that finding connected components would be useful, and it's computationally cheap.  There is a question of how to display components, though.  In both of our graphs (I suspect) there is a component containing tens of thousands of atoms.  Even listing them all is out of the question.  How about "root-like" atoms?  By your definition, a component doesn't necessarily have any (think of a DAG).  As in your example, a component doesn't necessarily have any parentless atoms, either.
I think this may call for a special view with a "size" column, one row per component.  Maybe you get one atom from the component center per row.


Failed to resolve component: RouterLink

[Vue warn]: A plugin must either be a function or an object with an "install" function.
[Vue warn]: Failed to resolve component: RouterLink
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
  at <NuxtLink to="/supplier-information" >

Read docs here: https://test-utils.vuejs.org/guide/advanced/vue-router.html#using-a-real-router-with-composition-api cannot fix this.
import { mount } from '@vue/test-utils'
import {describe, it, expect, beforeEach} from 'vitest'
import Component from './app.vue'
import {Router} from 'vue-router'

let router:Router;

beforeEach(async () => {
 router = useRouter()

 router.push('/')
 await router.isReady()
});

describe("footer component", async () => {
   const page = mount(Component, {
       props: {},
       global: {
         plugins: [router]
       }
   })
   it("should xxx", async () => {})
})

I think we can track in https://github.com/danielroe/nuxt-vitest/issues/51.


Add iOS 10 Support to Travis

The travis yml appears to fail lint...
http://lint.travis-ci.org/

Fixed all the issues. This is good to merge now.

This is good to go now. The script changes have been reverted since they're not being used anymore.

FYI, this surfaced another flakiness in unit tests:
https://travis-ci.org/google/EarlGrey/jobs/169643057


Automatically render output formats from new versions?

It would be great if we could use CI/CD to render DOCX, ODT, and HTML versions of the policy from the asciidoc version whenever we publish a new version. @finos-admin is this a possibility?

Hi @copiesofcopies , thanks for sharing this question publicly.
We do have a FINOS hosted project that uses asciidoc to manage their documentation, check https://finos-plexus.github.io/plexus-interop and https://github.com/finos-plexus/plexus-interop/tree/master/docs .
There are few other "strategies" that can be chosen and sometimes combined, to take advantage of GitHub pages; we've collected some of these into the Wiki - https://finosfoundation.atlassian.net/wiki/spaces/FDX/pages/75530469/Documentation
Last but not least, the FDC3 Program is looking into GitHub Pages (and related technologies) to build a repository of standards for some of their Working Groups; we're coming up with few proposals, you can follow the conversation on https://finosfoundation.atlassian.net/browse/ODP-52
Hope this gives you some options to tackle your use case, eager to hear your feedback.


Mask rcnn trained with QAT is giving false negative 1.0 when trained with Custom datasets.

I am training a custom dataset on d2go mask rcnn with QAT but I am continuously getting a false negative 1.0 after 1000 interation it is when the model starts to quantize.
Here is the configuration I used for training.
    runner = GeneralizedRCNNRunner()
    cfg = runner.get_default_cfg()
    cfg.merge_from_file(model_zoo.get_config_file("mask_rcnn_fbnetv3g_fpn.yaml"))
    #USE QUANTIZATION AWARE TRAINING
    cfg.QUANTIZATION.QAT.ENABLED = True
    cfg.QUANTIZATION.QAT.BATCH_SIZE_FACTOR = 1.0
    cfg.QUANTIZATION.BACKEND = "qnnpack"
    cfg.QUANTIZATION.QAT.FAKE_QUANT_METHOD = "default"
    cfg.QUANTIZATION.QAT.START_ITER = 1000
    cfg.QUANTIZATION.QAT.ENABLE_OBSERVER_ITER = 1000
    cfg.QUANTIZATION.QAT.ENABLE_LEARNABLE_OBSERVER_ITER = 1100
    cfg.QUANTIZATION.QAT.DISABLE_OBSERVER_ITER = 1100 + 100
    cfg.QUANTIZATION.QAT.FREEZE_BN_ITER = 1000
    cfg.MODEL_EMA.ENABLED = False
    cfg.DATASETS.TRAIN = ("train",)

Any help and feedback will be appreciated.

model_zoo.get_config_file("mask_rcnn_fbnetv3g_fpn.yaml") will return a untrained model, i.e. the cfg.MODEL.WEIGHTS is empty, so you're performing QAT from scratch, in such case 1000 iterations are not enough.

@wat3rBro , thanks for the comment. I've solved the issue by adding cfg.MODEL.WEIGHTS = model_zoo.get_checkpoint_url("mask_rcnn_fbnetv3a_C4.yaml") to the configurations. Now, the model is working fine.


Can‘t find camera

I have connected the zed with computer, and the zed_ros_wrapper provided by stereolabs can work. But this package can't find camera. why did the situation happen?

Change your device id parameter within the zed_cpu_ros.launch file

Thanks. It works.

use lsusb to find the device id


i found an active alternative chuck

here, and it still update days ago, i think author can give a link for it.
https://github.com/ChuckerTeam/chucker

Gander is Other active repo
https://github.com/Ashok-Varma/Gander

Nice, thanks @fan123199  and @Ashok-Varma


SPIKE: How do we get flux manifests into place

Options:

Use docker with flux-cli in docker images

Pro: switch versions freely, no other dependencies
Con: must have docker

Embed flux cli
Embed flux manifest

We need to evaluate that is it a good idea to expect users have Docker installed. If so, we'll continue to test that if we could use Docker image of Flux CLI to generate manifest for the Flux installation process.
Assumption: docker is probably installed, is there any other downsides?

Outcome: use flux's manifestgen directly to make manifests happen.
Motivation
I wrote myself a tiny little PoC gitops install command, like this:
package install

import (
	"fmt"
	"time"

	"github.com/fluxcd/flux2/pkg/manifestgen/install"
	"github.com/spf13/cobra"
)

var Cmd = &cobra.Command{
	Use:   "install",
	Short: "Generate flux manifests",
	RunE:  runCmd,
}

func runCmd(_ *cobra.Command, _ []string) error {
	opts := install.Options{
		BaseURL:      install.MakeDefaultOptions().BaseURL,
		Version:      "v0.31.2",
		Namespace:    "flux-system",
		Components:   []string{"source-controller", "kustomize-controller", "helm-controller", "notification-controller"},
		ManifestFile: "flux-system.yaml",
		Timeout:      5 * time.Second,
	}

	manifest, err := install.Generate(opts, "")
	if err != nil {
		return fmt.Errorf("Couldn't generate manifests: %+v", err)
	}
	fmt.Print(manifest.Content)

	return nil
}

This will download the manifests from github for the specified flux release, template them according to the provided arguments, and print them out - work to make things customizable and save the generated manifests to a useful directory is left as an exercise for the reader.
While this doesn't include generating any resources other than the flux gotk-components.yaml, I think we want to be able to have opinions about everything else anyway.
This doesn't work if you're in an air-gapped environment, but as long as we let you customize BaseURL that's only an inconvenience. On the flip side, getting started doesn't have to involve installing anything locally including docker, and saves us from having to shell out and worry about e.g. quoting.


Release v.1.12.2.

Current coverage is 96.05% (diff: 100%)

Merging #756 into master will not change coverage

@@             master       #756   diff @@
==========================================
  Files            87         87
  Lines          2459       2459
  Methods           0          0
  Messages          0          0
  Branches        329        329
==========================================
  Hits           2362       2362
  Misses           68         68
  Partials         29         29

Powered by Codecov. Last update 5033788...1c6ce85


Failed to authenticate client from <IP_ADDRESS>:40862: Authenticator ClientCertAuthenticator: no verified chain is found; Authenticator KubeJWTAuthenticator: could not get cluster kubernetes's kube client

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
Failed to authenticate client from <IP_ADDRESS>:40862: Authenticator ClientCertAuthenticator: no verified chain is found; Authenticator KubeJWTAuthenticator: could not get cluster kubernetes's kube client
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
Steps to reproduce the bug
install vm sidecar following the instructions in the istio.io
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
[root@master01 workloadgroups]# istioctl version --remote
client version: 1.10.0-rc.1
control plane version: 1.10.0-rc.1
data plane version: 1.10.0-rc.1 (3 proxies)
How was Istio installed?
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

Try to set ControlPlaneAuthPolicy within MeshConfig as NONE.

useless


can't find some log

I run the Adgraph(ubuntu16.04) in Vmware, but I can't find some log ,Can you tell me about this question @UmarIqbal

Can you elaborate on this? Do you mean that you are unable to find the generated rendering streams? These files are generated in {HOME_DIRECTORY}/rendering_stream. You can find more details on running pre-built binary here https://github.com/uiowa-irl/AdGraph#run-prebuilt-binary

sorry ,I have found this rendering_stream ,Thank you for your answer

I have more questions. I also run the AdGraph in VMware(Ubuntu 16.04).
document.createCDATASection('NOTVEYUNIQUESTRING');
Does analysis including ml classifier end just by entering the above script into the chromium's dev console? Or is only the graph representation stored?
If feature extraction and ad/non-ad classification are completed, where can I check the results?
Thanks to, @UmarIqbal


As a User I want to be able to see FAQs so that I can learn how my ranking is calculated

Shipped! 🥳


Update on indexed field changes

Will only consider an update of index when an element of INDEXED_FIELDS has been changed.

Can we get some feedback on this? It would resolve a lot of our indexing issues when updating a lot of unrelated properties in multiple documents


Add danger js

Warnings

:warning:
No CHANGELOG added.

:warning:
Please add a description to your PR.

:warning:
This PR does not have any labels.

  Generated by :no_entry_sign: dangerJS against e59f7d106e61d32d75b5a171f29f9d419aaf58e3

:tada: This PR is included in version 1.7.0-dev.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: