Use purescript-aeson instead of argonaut

CC @bladyjoker
Closes #429

Hi @klntsky I need to look carefully into this as it conflicts in some way with #419 . This is on our critical path for a project so there will be lots of movement arounds Aeson instances until we get them aligned with Haskell.

@vvtran We can fix the unicode thing in another PR


Pulse drawer v2, style and generators

Summary
This adds a part of new pulse drawer (3/5). See #4643
This PR is core part of pulse drawer v2.
Details and comments
The detail and the design concept is written in the module docstring.
In this PR adds a minimum set of generators to replicate a conventional pulse drawer output.
Because this is relatively large PR, the following hint may help review.
Hints for review:
The new stylesheet framework is implemented referring to the rcParam of matplotlib.
Thus the framework is bit modified from the original RFC.
See qiskit/visualization/pulse_v2/style/stylesheet.py for the styleseet.

stylesheet is represented by a python dict rather than the dedicated style class (user can easily update settings with dict.update method)
stylesheet consists of formatter and generator

formatter is drawing parameters which has similar data structure to the rcParams.
generator is a set of callback functions to generate drawing objects.

In this PR three pulse stylesheets are introduced:

IqxStandard
IqxPublication
IqxDebugging

Those are implemented as the subclass of python dictionary to apply a custom docstring.
See qiskit/visualization/pulse_v2/style/library.py for pulse stylesheets.
The default setting is saved in the json file /qiskit/visualization/pulse_v2/style/default.json,
and the default stylesheet is initialized from the file when the pulse drawer module is loaded, i.e. in __init__.py.
A pulse program is loaded by calling qiskit.visualization.pulse_v2.events.ChannelEvents,
and loaded instructions are converted into the formatted input data set.
See qiskit/visualization/pulse_v2/data_types.py for the details of the input data set.
This data processing will be done in the core drawer function (not in this PR).
Generators take the input data set and generates a list of drawing objects.
See qiskit/visualization/pulse_v2/generators.py for generators.

@taalexander thanks for reviewing. I simplified the stylesheet framework (removed flattening and preset default values with flattened key just like a matplotlib or seaborn.)


[fix](report handler) fix report handler lock leak

Proposed changes
fix report handler lock leak by #25236
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Unclosed parenthesis in media query expression

I using Bourbon Neat as a npm dependency. However, I am getting the following error:
line: 61
column: 22
formatted: Error: unclosed parenthesis in media query expression
on line 61 of node_modules/bourbon-neat/core/neat/mixins/_grid-media.scss
when I'm using the following SCSS:
.main-col {
	@include grid-column(12);
	@include grid-media($neat-grid-tablet) {
		@include grid-column(8);
		margin-bottom: $base-spacing;
	}
	@include grid-media($neat-grid-mobile) {
		@include grid-column(6);
	}
}

What Sass package are you using?

I'm using "gulp-sass": "^3.1.0"

Can you paste the CSS it produces? Also the variable definition for $neat-grid-mobile. Thanks!

@zapmedia yep, this is probably a formatting issue with your definition of $neat-grid-mobile.
I double checked _neat-parse-media.scss and _grid-media.scss and there aren't any errant parentheses.

Closing for now. Reopen if you are still having issues.


Set compendium search box to type "search"

If we can't have #3744 then can we get this instead 😜

I actually wouldn't mind reversing course on #2448--#3744's implementation was just silly. But there's no inherent difference between input of type "search" and "text"--are you wanting to take advantage of specific browser behavior?

Type search adds an "X" clear button to the search box on Chrome, and assumably on most other browsers. Plus V10 changed all search boxes from text to search, so if only for consistency's sake.
(For #3744 I somehow convinced myself I had to use mergeObject, even if there's, in retrospect, a much easier implementation)


Flake: density_matrix_simulator_test.py::test_simulate_compare_to_state_vector_simulator

On an unrelated change I saw this failure on the coverage tests.
https://github.com/quantumlib/Cirq/pull/3738/checks?check_run_id=1857693314
FAILED cirq/sim/density_matrix_simulator_test.py::test_simulate_compare_to_state_vector_simulator[complex64-circuit9]
1 failed, 10002 passed, 81 skipped, 63 xfailed, 12577 warnings in 464.32s (0:07:44)

see logs_3596.zip

confirmed - just a simple rerun made it pass: https://github.com/quantumlib/Cirq/pull/3738/checks?check_run_id=1858461253

anyone know if this is still an issue @MichaelBroughton ?

presumably fixed; feel free to re-open


Drop support for EOL Rubies?

Would you (project owners) be willing to drop support for Ruby < 3.2?
This would match Ruby language's version support strategy and would make ongoing maintenance, contribution, and running Middleman easier, IMO.
https://www.ruby-lang.org/en/downloads/branches

The goal of this project is to support the ruby versions available when the 4.x series launched. I don't believe long-running apps should be forced to upgrade their ruby version to get access to bug fixes.
If we were to change this, we would need a 5.x release, but I expect there are very few new projects being created in 2024 so that would only serve to keep older projects from getting bug fixes (or require supporting two major versions/branches).


why cant i download in the app?

I tried to download but its just loads forever but sometimes it load up proprerly

Try to change user data in app to Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N)

Try to change user data in app to Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N)

still not downloading properly

i have the same problem but it only does it when i have the app for at least 2 days so i have to delete the app then install it again if i want to download some


[Bug]: 404 error at URL: /txns/SwqdnHlPXK_0Bvmqty_aey-O4vC-GTh5ORSlQ5n1KJ8

What happened?
A bug happened!
URL
Transaction hash didn't match any transactions
What browsers are you seeing the problem on?
Chrome
Do you see the issue on Mobile or Desktop?
Mobile
Relevant log output
Transaction hash didn't match any transactions

this isn't a transaction on our blockchain. you'll have to check with whoever provided you this hash.


Improve api docs

Remove internals, add fixate._switching + a few other tweaks

@josh-marshall-amp  @jcollins1983 My primary aim was to get the new jig switching api documented before creating a new release. I hope to do that as soon as this is merged.
I haven't been too pedantic, but quickly removed as much of the obviously non-public api details that were in the initial documentation build. I think overall it should make the docs much more usable

for @jcollins1983 reference, the PRs get their auto-gen docs chucked up on readthedocs too. In this case it's the below, and you can always sub in the relevant PR
https://fixate--207.org.readthedocs.build


[Improve][Connector-V2] RocketMQ Sink add message tag config

Purpose of this pull request
Add static message tag support for RocketMQ sink
Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Could you add test case for this feature?

Could you add test case for this feature?

Sure, done. However I have no idea why test case testSinkRocketMq failed on Spark3 environment. Would you please give me a hand figure out why these test case failed?


sending the pool volume to the warehouse for tracking purposes

Looking good 👍

Thank you, I would not make it without your help :)


Unexpected curves appearing in line chart when labels are slanted

Hi,
I noticed that if I'm expecting a flat line of data to appear, curves appear if the x-axis labels are slanted.
What appears:
http://jsfiddle.net/leighghunt/wjq2Lw66/1/
What I'd expect:
http://jsfiddle.net/leighghunt/wjq2Lw66/2/
Workarounds:

Set bezierCurve: false
Shorten labels

Bezier curves in a straight line should not curve like that. It's probably some sort of numerical issue

Hello, today I am closing all issues that are only affecting version 1 of Chart.js as WONTFIX.
If this issue does affect version 2 as well, I apologize for the error. Please create a test case against Chart.js 2 using on of the below websites and we will be happy to reopen the issue and update its classification:

http://jsbin.com/
http://jsfiddle.net/
http://codepen.io/pen/
Premade template: http://codepen.io/pen?template=JXVYzq

Great - I can confirm that this appears to work fine in version 2.
Successful test case: http://codepen.io/leighghunt/pen/ZOeWar
Thanks for your work :-)


text not rendered correctly in notebook caps net

To compute $\hat{\mathbf{u}}_{j|i}$ for every pair of capsules ($i$, $j$), we will use a nice feature of the tf.matmul() function: you probably know that it lets you multiply two matrices, but you may not know that it also lets you multiply higher dimensional arrays. It treats the arrays as arrays of matrices, and it performs itemwise matrix multiplication. For example, suppose you have two 4D arrays, each containing a 2×3 grid of matrices. The first contains matrices $\mathbf{A}, \mathbf{B}, \mathbf{C}, \mathbf{D}, \mathbf{E}, \mathbf{F}$ and the second contains matrices $\mathbf{G}, \mathbf{H}, \mathbf{I}, \mathbf{J}, \mathbf{K}, \mathbf{L}$. If you multiply these two 4D arrays using the tf.matmul() function, this is what you get:
$ \pmatrix{ \mathbf{A} & \mathbf{B} & \mathbf{C} \ \mathbf{D} & \mathbf{E} & \mathbf{F} } \times \pmatrix{ \mathbf{G} & \mathbf{H} & \mathbf{I} \ \mathbf{J} & \mathbf{K} & \mathbf{L} } = \pmatrix{ \mathbf{AG} & \mathbf{BH} & \mathbf{CI} \ \mathbf{DJ} & \mathbf{EK} & \mathbf{FL} } $
I am sure something is wrong here. The text rendering is not proper

it shows ok on my version
did you check that the cell is in "markdown" mode and not in "raw" mode?
On 24 February 2018 at 17:08, Worthless Fella<EMAIL_ADDRESS>wrote:

To compute $\hat{\mathbf{u}}_{j|i}$ for every pair of capsules ($i$, $j$),
we will use a nice feature of the tf.matmul() function: you probably know
that it lets you multiply two matrices, but you may not know that it also
lets you multiply higher dimensional arrays. It treats the arrays as arrays
of matrices, and it performs itemwise matrix multiplication. For example,
suppose you have two 4D arrays, each containing a 2×3 grid of matrices. The
first contains matrices $\mathbf{A}, \mathbf{B}, \mathbf{C}, \mathbf{D},
\mathbf{E}, \mathbf{F}$ and the second contains matrices $\mathbf{G},
\mathbf{H}, \mathbf{I}, \mathbf{J}, \mathbf{K}, \mathbf{L}$. If you
multiply these two 4D arrays using the tf.matmul() function, this is what
you get:
$ \pmatrix{ \mathbf{A} & \mathbf{B} & \mathbf{C} \ \mathbf{D} & \mathbf{E}
& \mathbf{F} } \times \pmatrix{ \mathbf{G} & \mathbf{H} & \mathbf{I}
\mathbf{J} & \mathbf{K} & \mathbf{L} } = \pmatrix{ \mathbf{AG} &
\mathbf{BH} & \mathbf{CI} \ \mathbf{DJ} & \mathbf{EK} & \mathbf{FL} } $
I am sure something is wrong here. The text rendering is not proper
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ageron/handson-ml/issues/185, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcCLnzdgeoE3M8P5He7t3pzwLhBw9uqks5tYDP8gaJpZM4SR8PT
.

Its not cell.. Its just text

Earlier I was just viewing online. I was getting it like what i mentioned. Now I am download in my machine and put it in markdown mode. Its ok now!!

cool!
On 24 February 2018 at 18:01, Worthless Fella<EMAIL_ADDRESS>wrote:

Earlier I was just viewing online. I was getting it like what i mentioned.
Now I am download in my machine and put it in markdown mode. Its ok now!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ageron/handson-ml/issues/185#issuecomment-368242533,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcCLgrdULGQGRbbNhFIw-zYY11Qp9lPks5tYEB0gaJpZM4SR8PT
.


Embed support for s9e Media Sites (add-on for forum embeds)

Internet forums that run on Xenforo typically use an add-on called s9e Media Sites to handle embeds. Right now, the add-on has no support for Bluesky posts.
Someone on the official discussion thread for the s9e add-on did suggest Bluesky support back in March; at the time there was no "official" embed solution for Bluesky so it was brushed over.
After we got embeds the following month, it was brought up again. The add-on maintainer, @JoshyPHP, had this to say about it:

That's nice. They're using a classic pattern where the post's iframe automatically sends a simple message to the page that embeds it. That means I can just process their message without executing their embed.js script.
I'm going to have to look into how it relates to Personal Data Servers / custom domains. I can't find any example of an actual PDS in use, if anybody knows of any custom Bluesky PDS please send it my way, thanks.

AFAIK, Bluesky embeds just tap into the official App View, which has more-or-less global access to all PDSs the relay can find, with a layer of moderation sitting on top. There shouldn't be a need to test an individual PDS, as the whole point of Bluesky/atproto is that they all get hoovered up by relays indiscriminately in order for app views to digest their contents.
I get the feeling that they think embeds work like they do with Mastodon, where they stem from each individual instance, which are basically their own discrete websites. That isn't the case with Bluesky, where all content is meant to be accessed through a standardized interface (app views).
That being said, there are already self-hosted PDSs federating with the network. I wonder if a PDS admin can get in touch with them so they can experiment with this stuff.
Unfortunately, it is very difficult to relay this information to @JoshyPHP as they seemingly have no social media presence, and the Xenforo forum is only for licensed customers of the software so I can't post any of this information there directly.
Yes, this isn't actually an issue with Bluesky per-se, but I'm hoping that this can make its way to @JoshyPHP somehow.

I opened an issue on the main repository, if you want to comment there: https://github.com/s9e/TextFormatter/issues/238

That isn't the case with Bluesky, where all content is meant to be accessed through a standardized interface (app views).

Is that a guarantee? Based on a cursory search, I was under the impression that PDS would be able to filter the content they serve. I imagine that some PDS owners may be legally required to, for example in countries where hate speech is illegal. That's why I wanted to keep track of what the authoritative source/server for a given post, if it's not from bsky.social.

@JoshyPHP Wow, I'm glad this managed to reach you!

Is that a guarantee? Based on a cursory search, I was under the impression that PDS would be able to filter the content they serve. I imagine that some PDS owners may be legally required to, for example in countries where hate speech is illegal. That's why I wanted to keep track of what the authoritative source/server for a given post, if it's not from bsky.social.

So, here's my crummy explanation:
Each PDS is the authoritative source of all the accounts, posts, follows, likes, and other records it holds. Requests for records are also routed through the PDS for authentication purposes (to serve personalized feeds, respect blocks, etc.) The Bluesky lexicon defines what each record is and does, and PDSs are intended to hold them indiscriminately (so they can hold records intended for completely different applications). Ultimately, it's the Bluesky application / app view that interprets and assembles records together, based on whatever lexicon it's configured to interpret (in this case, the app.bsky lexicon).
Labeler services work independently to everything else. Labels are their own type of record, which serve as metadata for other records. Labels can be ingested by all other services (PDSs, relays, app views), and what exactly they do with them is up to those services. Bluesky hosts their own labeler which is used to moderate content (eg. label NSFW images and hate speech) and these are ingested by their app view. Others can create their own labelers, and users can subscribe to them in order to hide or block posts/users on top of what Bluesky enforces.
I imagine if a PDS were hosted in a country that outlaws the hosting and distribution of a certain type of content (eg. hate speech, pornography), I'm pretty sure they can configure their PDS to ingest labels from the Bluesky labeler (or other labelers entirely) and drop any records passing through that match with them.
I think what you see as the definitive authority can differ depending on what you prioritize. If you prioritize the soverignty of each record then it's the PDS; if you prioritize the content Bluesky—the service—is willing to serve to all of its users, then it's the app view. I'm not really an expert on these things, so maybe someone else can offer a better explanation.

Hello!
I've worked on figuring this out, and this is what I've got so far:
`$configurator->MediaEmbed->add(
'bluesky',
[
'host'    => 'bsky.app',
'extract' => "!bsky.app/profile/(?'name'[A-Za-z0-9.]+)/post/(?'id'\w+)!",
        'scrape'     => [
		    'url'     => 'https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor={@name}',
		    'extract' => [
			    '!"did":\s*"did:(?<did>[a-zA-Z0-9._:%-]+)"!',
            ],
        ],
        'iframe'  => [
            'width'  => 550,
            'height' => 350,
            'src'    => 'https://embed.bsky.app/embed/did:{@did}/app.bsky.feed.post/{@id}'
        ],
    ]
);`

I'm not super sure how to get it into the default sites, so any assistance at this point would be phenomenal.


refinerycms forem generate error

rails generate refinery:forem
/home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:230:in block in constantize': uninitialized constant Helpers::Forem::ApplicationHelper (NameError) 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in each'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in constantize' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/core_ext/string/inflections.rb:54:in constantize'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/abstract_controller/helpers.rb:136:in block in modules_for_helpers' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/abstract_controller/helpers.rb:131:in map!'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/abstract_controller/helpers.rb:131:in modules_for_helpers' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/action_controller/metal/helpers.rb:92:in modules_for_helpers'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/abstract_controller/helpers.rb:95:in helper' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/action_controller/railties/paths.rb:18:in block (2 levels) in with'
from /home/sysadmin/rails_projects/ram/samplerefinery/app/controllers/application_controller.rb:3:in <top (required)>' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/bundler/gems/refinerycms-46a3f3bf85f7/pages/lib/refinery/pages/engine.rb:12:in block in class:Engine'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/bundler/gems/refinerycms-46a3f3bf85f7/core/lib/refinery/core/engine.rb:25:in call' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/bundler/gems/refinerycms-46a3f3bf85f7/core/lib/refinery/core/engine.rb:25:in each'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/bundler/gems/refinerycms-46a3f3bf85f7/core/lib/refinery/core/engine.rb:25:in refinery_inclusion!' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:429:in _run__1195258207145520409__prepare__2085424989752758179__callbacks'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in __run_callback' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in _run_prepare_callbacks'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in run_callbacks' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/action_dispatch/middleware/reloader.rb:74:in prepare!'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/actionpack-3.2.13/lib/action_dispatch/middleware/reloader.rb:48:in prepare!' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/application/finisher.rb:47:in block in module:Finisher'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/initializable.rb:30:in instance_exec' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/initializable.rb:30:in run'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/initializable.rb:55:in block in run_initializers' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/initializable.rb:54:in each'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/initializable.rb:54:in run_initializers' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/application.rb:136:in initialize!'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in method_missing' 	from /home/sysadmin/rails_projects/ram/samplerefinery/config/environment.rb:5:in <top (required)>'
from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/application.rb:103:in require_environment!' 	from /home/sysadmin/.rvm/gems/ruby-1.9.3-p385@rails3tutorial2ndEd/gems/railties-3.2.13/lib/rails/commands.rb:25:in <top (required)>'
from script/rails:6:in require' 	from script/rails:6:in '

Closing due to age.


[cluster_test] Discovery for cluster test

Instead of reading instances.txt cluster test now queries instances from AWS.
This PR also have couple of nits:

Instead of waiting for 10 seconds during startup, we query logs from past and wait for AWS thread startup
More colors in output :)
Health check runs less frequently, once every 5 seconds
Experiment deadline - if experiment does not complete in 2 minutes it's considered failed

Adding some minor refactoring in main.rs as separate commit

This is pretty awesome!


chore: fix typos

Description
Fix typos
Scope

[ ] Patch: Bug Fix
[ ] Minor: New Feature
[ ] Major: Breaking Change

Happy to help! To be fair, WebStorm did most of the heavy lifting with its typo inspection tools :-)


Ignore new-line, but allow it to be used somtimes ?

Is there a way to ignore new-line so that you have multiline statements, but still allow it to be used in parsing ... f.e. let say we have the following code :
 def name1 :
     atom1, atom3,
     atom4;
 #this is a comment
 d name2 : atomx;

so I have multiline definitions, but then I want to have shortcut of "def" to be "d" when it is first character on a new line i.e. defined something like this :
  def : "def" | /(^|\\n)d\s/

this almost work.
Another time I want to have access to the end of line access to gobble everything until \n f.e. :
  text : /.+$/

but this wont work too, cause I probably have to have start-char !!!

Yes, it's possible. If you use LALR, you will have to set the priority yourself. With Earley it should resolve automatically.

this almost work

When doesn't it?
Reading everything until the end of line isn't difficult either. Look at how I implemented comments in the Python grammar.
Also, consider declaring newline as _NL: /\n+/ (could in reality be a little more complex with comments and \r)
That way maybe you don't even need to ignore it.

Yes, it's possible. If you use LALR, you will have to set the priority yourself.

how is it done !? Do you have an example ?
btw I use %ignore WS

Reads the docs about terminal priority.


e2e: Disable pip cache

The caching from this job seems to be causing a problem with the rest
of the test jobs that do not install with cuda support. This is
causing CI failures where you see packages fail to load because NVIDIA
dependencies are not on the system.
The quick fix for the moment is to stop caching from this job. We'll
have to come back around and do a more focused cache specifically for
this.
Signed-off-by: Russell Bryant<EMAIL_ADDRESS>

Nevermind, #1125 is a better solution


Feat(lang): add addons gitlab support

Description of your changes
Add kubevela addons gitlab support

Fixes #
I have:

[x] Read and followed KubeVela's contribution process.
[x] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[x] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested
Create addons in the private gitlab repository，
Example：https://example.gitlab.com/xxx/xxx/kube-addon
Request kubevela apiserver locally, create gitlab repository addons, and obtain addons in gitlab repository
Example:
Post Request : http://localhost:8000/api/v1/addon_registries
Params:
{
"name":"test1",
"gitlab":{
"url":"https://example.gitlab.com/beijing/kube/kube-addon",
"token":"xxxxxxxxx",
"path":"local-addons",
"owner":"/beijing/kube"
}
}
Response:
{
"name":"test1",
"gitlab":{
"url":"https://example.gitlab.com/beijing/kube/kube-addon",
"token":"xxxxxxxxx",
"path":"local-addons",
"owner":"/beijing/kube"
}
}
Get Request : http://localhost:8000/api/v1/addons?registry=test1
Response:
{
"addons":[
Object{...},
Object{...}
]
}

Special notes for your reviewer

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: lgj101 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@lgj101 can you contribute the UI to support the GitLab type? Ref: https://github.com/oam-dev/velaux/blob/main/src/pages/Addons/components/registry-manage/index.tsx

LGTM after fix above. Nice job!

@lgj101 can you contribute the UI to support the GitLab type? Ref: https://github.com/oam-dev/velaux/blob/main/src/pages/Addons/components/registry-manage/index.tsx

好的  我后面加过去

@lgj101 can you contribute the UI to support the GitLab type? Ref: https://github.com/oam-dev/velaux/blob/main/src/pages/Addons/components/registry-manage/index.tsx

@lgj101 can you contribute the UI to support the GitLab type? Ref: https://github.com/oam-dev/velaux/blob/main/src/pages/Addons/components/registry-manage/index.tsx

https://github.com/oam-dev/velaux/pull/423   已经提了

@chivalryq  Can it be passed?

@chivalryq Can it be passed?

I have approved this PR yesterday :)

OK


Bug: typegen resolves "exit" actions to 'xstate.init'

Description
Running typegen on this code, the exit event is incorrectly typed to 'xstate.init' as in this screenshot.

Expected result
Exit events should be at least typed to "all events" in the machine schema: { events }.
In this particular case it would have been nice to have it typed to FOCUS event, but that's probably impractical.
Actual result
Exit actions are typed to 'xstate.init' instead of ''
Reproduction
NA - see additional context for example machine and output
Additional context
const test =
/** @xstate-layout N4IgpgJg5mDOIC5gF8A0IB2B7CdGgAoBbAQwGMALASwzAEoA6AMyoCdYAXfEABy1iocqWDNwAeiACwAmdAE9EATgCMDAAwa1kgMw7pa6ZMWTkaEMXLVadbnwFCR4xMoAc85y-WaX06QFYAdgA2X0VFaVNTIA */
createMachine(
  {
  tsTypes: {} as import('./machine.typegen').Typegen0,
  schema: { events: {} as { type: 'A' | 'B'; value: string } },
  id: '(machine)',
  states: {
    first: {
      exit: 'exitAction',
      on: { SOME_ACTION: 'second' }
    },
    second: {}
  }
},
  {
    actions: {
      exitAction: (ctx, event) => {
        const t = event.value;
      }
    }
  }
);

export interface Typegen0 {
  '@@xstate/typegen': true;
  eventsCausingActions: {
    exitAction: 'xstate.init';
  };
  internalEvents: {
    'xstate.init': { type: 'xstate.init' };
  };
  invokeSrcNameMap: {};
  missingImplementations: {
    actions: never;
    services: never;
    guards: never;
    delays: never;
  };
  eventsCausingServices: {};
  eventsCausingGuards: {};
  eventsCausingDelays: {};
  matchesStates: 'first';
  tags: never;
}

Where this expectation comes from?

Exit actions are typed to 'xstate.init' instead of ''

Note that I'm working on introducing a special xstate.stop event that will end up being provided to all exit actions (apart from the fact that exit actions should also be "callable" with events that can lead to exiting a particular state). This special event is required because exit actions can be always called when a machine is running - for instance it can be canceled/stopped by a parent machine etc.

Ah, sorry, I simplified the example too much. I was referring to the case of an event causing the state to be exited, not the general case of exiting the whole machine on stop. I've updated the example to be more clear (though I can't update the typegen from mobile).
I expect the exit action to be at least narrowable to the event. I've used this a lot for cases when all my events in the machine extend one base event, so I know that the event usually has the shared event properties. I didn't consider the exit machine case though so this might be an anti-pattern. I had a fair few events that could cause the state to be exited and it was easier to put the action on the exit rather than on each event definition.

In the given example the declared schema.events doesn't match the on.SOME_ACTION :P but I get the gist.
IMHO the typegen should declare this:
  eventsCausingActions: {
    exitAction: 'SOME_ACTION' | 'xstate.stop';
  };

Where that xstate.stop is not yet implemented (but it's going to be soon). When a machine gets stopped then all exit handlers of the current state configuration are called, so basically every exit action will always be "callable" with xstate.stop. Any thoughts on that?

Now I'm back at my computer I've updated the example to be correct.
Yes, I was expecting that in the typegen as well. I also thought that doing that may be quite difficult with all the possible events that could cause you an exit  (parent events, events in parallel machines etc) so I was hoping that it would at least be resolving to "any event" not never.


Add a note about expression syntax

Purpose of this pull request
This pull request adds a note to articles underscoring the need to use proper syntax when writing rule expressions.

Issue: DET-412
Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions, .clabot
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

PLEASE READ
Following a recent back-end update, all contributors with a local clone or fork of our repository are required to run yarn install. This does not apply to direct page edits.

[x] Yes, I've run yarn install
[ ] No, does not apply to me

Holding the update. @pkazmir-sumo wrote in DET-412:

Peter Kazmir
February 5, 2024 at 4:20 PM
@John Pipkin hold off for now, we are reviewing whether or not to actually continue supporting it.

Closing this PR because we're going to support // in rules syntax after all. See https://sumologic.atlassian.net/browse/DET-421


Switch to static for frontend

This is something we discussed internally on Slack, but I'd like us to come to a consensus before I start working on it.

We can still use Heroku as long someone sets up branch/PR previews. Not sure if we can control the response headers with Heroku. An alternative is Netlify which allows us to do redirects, customize the headers, etc.
Which tool should we use? I personally like tools with less dependencies so I wouldn't go with Jekyll (Ruby, and also slow in general). Hugo is another alternative, we can load it through npm via the hugo-bin package
Regarding the current data/bootstrapcdn.json, I guess we can generate it on build time. Hugo should make this easy, see https://gohugo.io/templates/files/.
Regarding testing the frontend, we could just use the tool's we go with, built-in server, minus the redirects maybe. Otherwise we need to look into using something else for frontend testing

Note that with Hugo, we can use Sass, minify files, generate SRI hashes etc. I haven't really done this yet with Hugo myself, but it shouldn't be too hard.
/CC @jdorfman @jmervine @Johann-S

An other solution would be to use a framework like React with Gasby for example, we'll find the same advantages:

The JSON can be imported like a JS file: import data from 'data/bootstrapcdn.json
About testing it: https://www.gatsbyjs.org/docs/unit-testing/
To generate SRI hashes: https://www.gatsbyjs.org/packages/gatsby-plugin-sri/
SASS: https://www.gatsbyjs.org/packages/gatsby-plugin-sass/
Minify is already handled by Gatsby

I personally don't like React and co, because a site IMO shouldn't need JS to operate in a basic form.
When I say static, I personally mean really static, well except the collapsed panes we have.

I can understand, the main feature with React and co, it's you can create dumb components which can be used accross your website, it's very usefull when you have contents which look the same or with some differences

Which I can already do with CSS and HTML :)


[WIP] Toolbar custom content

To be rebased after #8079 is merged.

ping @zeari

Nice! Can I try this with shared/topology_header ?

Added custom_content('custom', :partial => 'shared/_toolbar_test' ) to the bottom of app/helpers/application_helper/toolbar/ems_container_center.rb and got the following exception:
[----] F, [2016-05-16T18:14:45.594631 #10554:3a89f14] FATAL -- : Error caught: [ActionView::Template::Error] undefined method `render_to_string' for #<#<Class:0x007f8a562887b8>:0x007f8a562826b0>
/home/azellner/Projects/manageiq/app/helpers/application_helper/toolbar/custom.rb:3:in `render'
/home/azellner/Projects/manageiq/app/helpers/application_helper/toolbar_builder.rb:224:in `block in build'
/home/azellner/Projects/manageiq/app/helpers/application_helper/toolbar_builder.rb:212:in `each'
/home/azellner/Projects/manageiq/app/helpers/application_helper/toolbar_builder.rb:212:in `each_with_index'
/home/azellner/Projects/manageiq/app/helpers/application_helper/toolbar_builder.rb:212:in `build'
/home/azellner/Projects/manageiq/app/helpers/application_helper/toolbar_builder.rb:41:in `build_toolbar'
/home/azellner/Projects/manageiq/app/helpers/application_helper/toolbar_builder.rb:4:in `call'
/home/azellner/Projects/manageiq/app/helpers/application_helper.rb:345:in `build_toolbar'
/home/azellner/Projects/manageiq/app/helpers/toolbar_helper.rb:39:in `block (2 levels) in render_toolbars'

@zeari : there's an issue with view_context that differs between the POST and GET request. I wanted to pass the view_context to get access to controller variables but I dropped from the code for now and replaced the rendering https://evilmartians.com/chronicles/new-feature-in-rails-5-render-views-outside-of-actions
Please, retry. I wonder if you need access to some controller variables in the partial. I'd prefer not to allow that but I don't know how complex is the stuff you are working on.

Almost there! Can you help me figure out why its going down a line?

I replaced the contents of app/helpers/application_helper/toolbar/ems_container_center.rb with
class ApplicationHelper::Toolbar::EmsContainerCenter < ApplicationHelper::Toolbar::Basic
  custom_content('custom', :partial => "shared/topology_header")
end

@zeari: show me your content of the file so that I can check that.
Going to remove the example to make this PR mergeable.

@martinpovolny its app/views/shared/_topology_header.html.haml that all the topology views in the system use.

@zeari: so this is just some markup issue.
I know little about that markup, but I'd start by wrapping the content into a form-group like the rest of the toolbar stuff is

@zeari : looking at your example, you are adding a whole new toolbar. But in the example I show here I add just a form-group to a toolbar.

@zeari : looking at your example, you are adding a whole new toolbar. But in the example I show here I add just a form-group to a toolbar.

Yeah, seems like the header would need some changes. Overall this change seems to work well.

@zeari : ok, I am removing the example to make this mergeable. If we decide that we need a whole toolbar as the context of the custom content rather than a group, we can change it.

@zeari : ok, I am removing the example to make this mergeable. If we decide that we need a whole toolbar as the context of the custom content rather than a group, we can change it.

:+1:

Removed example, rebased. Ping @himdel

LGTM, it seems equivalent, and doesn't seem to break in the UI.. :+1:

:+1:
This is needed for for #9156


[Bug]: UPF-GTPU Interface exposed as LoadBalancer not working

Steps to reproduce
Hello,
I'm testing the new version of your Open5Gs charts (2.2.0) with a values configuration similar to the one I had in the previous version (2.1.0). In this deployment I'm exposing the AMF-NGAP and UPF-GTPU interfaces as LoadBalancer services. To my surprise, the line 83-84 "advertise" (in the config-upf-gtpu section) of the values.yaml of open5gs-upf chart has disappeared. Despite modifying the code and putting it by myself, it doesn't seem to take the value. Why has it been deleted?  Do I have to configure it differently now?
Thanks in advance
Logs
No response
Expected behaviour
The expected behaviour is to have Internet connectivity in the UE and seeing that the IP Address that the UPF is exposing is the one given to the LoadBalancer, not the pod one.
Observed Behaviour

The IP Address that I see in the PDUSessionResourceSetupRequest package is the one from the pod, not the LoadBalancer one.

Hi @anabel1012
Can you try the following branch? https://github.com/Gradiant/5g-charts/tree/add-advertise
With the change of the config files of open5gs, we forgot to add that field. Tell me if it works, and I'll merge the branch.
BR,
Álvaro

Hi @avrodriguezgrad
It works now, so you can merge the branch. Thank you for the quick response.
BR,
Anabel


ipv6: multicast group: wrong filtering

Describe the bug
After updating to v2.4.0 multicast groups stops working.
Problem in commit b7b73d016017ebeec7cbf56e683793b27f260671
It checks state of ipv6->mcast.is_joined, but this value left uninitialized during
net_if_ipv6_maddr_add()
Will prepare PR with bugfix in a few minutes.
To Reproduce
In FW:
mcast = net_if_ipv6_maddr_add(iface, &mcast_addr.sin6_addr);

On host:
ping -6 FF02::fd -c 1
PING FF02::fd(ff02::fd) 56 data bytes

--- FF02::fd ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Expected behavior
PING FF02::fd(ff02::fd) 56 data bytes
64 bytes from fe80::c80:3400:b51:3734%lowpan0: icmp_seq=1 ttl=64 time=4985 ms

--- FF02::fd ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

Impact
Multicast-based transmission stops working
Environment (please complete the following information):

Windows
Zephyr SDK
016b5422d90e9d3405eda22da4fda23d6a13a415

https://github.com/zephyrproject-rtos/zephyr/pull/28235

Closed as invalid


Add job for updating kobweb AUR package

Added a job using an action to push an update to the kobweb AUR package every time a kobweb cli release is created. Requires the ssh private key to be added to the repository action secrets with the name AUR_SSH_PRIVATE_KEY.

Thank you so much for the patch! This is great.
I'm going to steal your "if" condition for distzip as well :)


√18+,,NEW S.E.X@Actress@VIDEOS]*Pragya Nagra Leaked Link Short Clip Malayalam MMS Original Video Viral On Social Media X TikTok Trending

Pragya Nagra Leaked Link Short Clip Malayalam MMS Original Video Viral On Social Media X TikTok Trending
30 seconds ago
L𝚎aked Video Pragya Nagra Original Video Viral Video L𝚎aked on X Twitter Telegram
[-𝐅𝐔𝐋𝐋-𝟐𝟎𝟐𝟒-]— Pragya Nagra Video Original Video Link Pragya Nagra Video Viral On Social Media X Now [1Z2R3S]
[-wATCH-]— Pragya Nagra Video Original Video Link Pragya Nagra Video Viral On Social Media X Trending Now
[-wATCH-]— Pragya Nagra Video Original Video Link Pragya Nagra Video Viral On Social Media X Trending Now
[-wATCH-]— Pragya Nagra ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Pragya Nagra ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Pragya Nagra Video Original Video Link Pragya Nagra Video Viral On Social Media X Trending Now
Pragya Nagra Original Video video took the internet by storm and amazed viewers on various social media platforms. Pragya Nagra, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Pragya Nagra Original Video Viral Video L𝚎aked on X Twitter
Pragya Nagra Original Video video oficial twitter
L𝚎aked Video Pragya Nagra Original Video Viral Video L𝚎aked on X Twitter..

6


cmd/go: what is the go 1.12 statement that go mod tidy is generating in my go.mod?

What version of Go are you using (go version)?

$ go version
go version go1.12rc1 linux/amd64

go mod tidy generates a go.mod as such:
module github.com/googleapis/google-cloud-go-testing

go 1.12

require (
	cloud.google.com/go v0.36.0
	golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f
	golang.org/x/tools v0.0.0-20190305160728-f8c04913dfb7
	google.golang.org/api v0.1.0
	honnef.co/go/tools v0.0.0-20190215041234-466a0476246c
)

I can guess that go 1.12 is requiring users to use Go 1.12 or greater, but is this documented in a specification somewhere? Where can I read more about this?

It's documented at https://golang.org/cmd/go/#hdr-The_go_mod_file

See also #28221.

Thank you!


Fixed servers type

Resolved #973

@darrelmiller Would you please give this a quick review?  It's a two-line change.  Thanks.

:shipit:

Whoa.  I was not expecting this change.  I thought the servers was the typo and we were only going to allow a single server overload.

Ok, I withdraw my concerns.  Even with one server, a spec could define different variables at the path item/operation level and require the user to provide different input.  So, let's just be consistent.


Failed to load openid-configuration. No 'Access-Control-Allow-Origin' header is present

Hi,
my Identity Provider does not allow to load a discovery document.

I am going to use your samples regarding configuration without discovery:
export class AppComponent {
    constructor(private router: Router, private oauthService: OAuthService) {
        this.configureWithoutDiscovery();
    }

    private configureWithoutDiscovery() {
        this.oauthService.configure(noDiscoveryAuthConfig);
        this.oauthService.tokenValidationHandler = new NullValidationHandler();
        this.oauthService.tryLogin();
   }

But when i execute the code above absolutely nothing happens in the console.
No consent screen, no error. nothing.
When i use this.oauthService.loadDiscoveryDocumentAndLogin(); it works nice on localhost but when deploying to production i am told the error with No 'Access-Control-Allow-Origin' ...
My noDiscoveryAuthConfig document is fully configured. (skipping the JWKS section)
export const noDiscoveryAuthConfig: AuthConfig = {
    clientId: 'aistoxt_ig_client',
    redirectUri: environment.pingIdentity.callbackURL,
    postLogoutRedirectUri: '',
    loginUrl: environment.pingIdentity.loginURL,
    scope: 'openid profile email',
    resource: '',
    rngUrl: '',
    oidc: true,
    requestAccessToken: true,
    options: null,
    issuer: environment.pingIdentity.issuer,
    clearHashAfterLogin: true,
    tokenEndpoint: environment.pingIdentity.tokenEndpointURL,
    userinfoEndpoint: environment.pingIdentity.userinfoEndpointURL,
    responseType: 'token',
    showDebugInformation: true,
    silentRefreshRedirectUri: environment.pingIdentity.silentRefreshRedirectUri,
    silentRefreshMessagePrefix: '',
    silentRefreshShowIFrame: false,
    silentRefreshTimeout: 20000,
    dummyClientSecret: null,
    requireHttps: 'remoteOnly',
    strictDiscoveryDocumentValidation: false,
    customQueryParams: {
        pfidpadapterid: 'OAuthAdapterCCDS',
    },
    silentRefreshIFrameName: 'angular-oauth-oidc-silent-refresh-iframe',
    timeoutFactor: 0.75,
    sessionCheckIntervall: 3000,
    sessionCheckIFrameName: 'angular-oauth-oidc-check-session-iframe',
    disableAtHashCheck: false,
    skipSubjectCheck: false,
};

Any clue?

Make sure your identity provider server is up and running!
I faced that issue when, for some reason, the app pool was stopped. It was the same error.

Identity Server is working. We are using PingFederate.

I see, then you must check PingFederate settings related to CORS:
https://docs.pingidentity.com/bundle/pa_sm_ApplyPolicies_pa41/page/pa_t_Cross-Origin_Request_Rule.html

seems like my IdentityProvider guys do not put a CORS setting for my URL. Of course they didn't give me a explanation why.
But i would like to come back to my question:
Is there a possibility to give this library manually the discovery document in order NOT to have the need for loading the discovery document?

@enterprisebug Looking a bit more into the code, it might be somewhat possible. Since the loadDiscoveryDocumentAndTryLogin and loadDiscoveryDocumentAndLogin methods are really just convenience methods that chain multiple public methods together, you should be able to do this yourself.
And then it turns out that loadDiscoveryDocument allows you to provide an URL as a parameter (the convenience overloads linked above don't do so). So something like this might be worth trying:
this.oauthService
    .loadDiscoveryDocument('/local/path/to/file/for/openid-configuration')
    .then(doc => this.oauthService.tryLogin(myOptions)); // etc., however you did that before

To clarify, this allows you to download the disco document and serve it on some local path (avoiding CORS issues) or on your API where CORS is enabled properly for your SPA's domain.
I haven't tested this but I think it should work. Let us know if you've tried it and whether it helped.

@jeroenheijmans sounds very promising i will give this a try. Thanks for your hint!

Regarding your code sample, specifically the overall structure, I'd recommend placing everything below tryLogin() in a then(...) handler. Your code might now work because currently tryLogin() usually runs synchronously, but the signature suggests it's possibly asynchronous.
Regarding the original problem and needed workaround, I think the root cause is that your ID Server doesn't allow CORS for your Angular application. I appreciate that sometimes it's hard to change something like that (e.g. if the release cycle and/or codebase are outside of your control), but it really makes no sense if the ID Server supports SPA clients through implicit flow but has no way to enable CORS for them.

@jeroenheijmans what i am missing is a argumentation WHY CORS should be enabled on the ID Server.
I fully understand that our discussion is about a bloody workaround.
May you have some arguments for me to convince our IT guys.

@jeroenheijmans thanks for pointing out the need CORS.
for sure this will help me giving it another try in my "people problem" :-) (you nailed it)
BTW: updated my last comment...   Love the work you do. Really appreciate it!

@jeroenheijmans the arguments you mentioned seems to have been enough! :-)
Found out that our IT guys have CORS setting for https://*.mycompany.com. If my SPA would be hosted there it would have worked.
BUT: My website is hosted under https://*.mycompany.azurewebsites.net. We did not have a CORS setting for this. The CORS rule will be applied - simple in the end
This means we can close this issue.
The library will do it's job.
Solution: CORS rule has to be set in IdServer
i learned a lot on this one: i have focused on the workaround instead of the root cause. @jeroenheijmans  you are the man! thanks for pointing out the right direction.
cc: @MarcDrexler


@profile Could not find "window._sharedData" in html response

Describe the bug
When running with @profile it gives the error:
Retrieving followees of profile...
JSON Query to profile/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]
JSON Query to profile/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]
@profile: Profile profile does not exist.
The most similar profiles are: profile._pictures._, profile._girls, nailfilepro, leftprofile, highprofilenola.
To Reproduce
instaloader @profile --login {my user}
Expected behaviour
Download all followed by my user and download everything by them.
Instaloader version
instaloader --version output.
4.4.4rc3

I'm facing the same issue

As the output of Instaloader tells you, the target @profile instructs Instaloader to download the followees of the actual profile named "profile". You have to substitute "profile" by the actual name of the target profile. Instaloader also tells you that the profile named "profile" does not exist. There is no bug or issue here.

Great Thanks @Thammus It works like a charm :)
I had to do instaloader @{myusername} --login {my user}


Media gallery not working with Azure Blob Storage and "ManageOwnMedia" permission

I reproduced this on 1.10.x branch today. Following are the steps to reproduce.

Configure Azure Media Storage on site
Create a new user with permissions: ManageOwnMedia and AccessAdminPanel

This user will be able to land onto the Media Gallery. This user can also create new Folder BUT cannot navigate to any sub-folder.
Following is the root cause of the issue:
We have following two extension methods in IMediaLibraryService.cs. The first method uses "\\" as directory separator and fails to check if the user is in the right directory or not. For root folder this value evaluates correctly since both the values mediaPath and rootPath are same but for sub-folders this gets evaluated wrongly and hence this method returns FALSE.
The second method "GetRootedFolderPath" also used Path.Combine two combine two paths.
Both of these functions should rely on IStorageProvider to combine the paths if required.
We already have a Combine method in IStorageProvider but for the first method we will have to introduce some new method in IStorageProvider to append appropriate path separator. This method will then be implemented in the two storage providers FileSystemStorageProvider as well as AzureFileSystem Provider with appropriate separators.
Please advise if this solution is appropriate.
        public static bool CanManageMediaFolder(this IMediaLibraryService service, string folderPath) {
            // The current user can manage a media if he has access to the whole hierarchy
            // or the media is under his personal storage folder.

            var rootMediaFolder = service.GetRootMediaFolder();
            if (rootMediaFolder == null) {
                return true;
            }

            var mediaPath = folderPath + "\\";
            var rootPath = rootMediaFolder.MediaPath + "\\";

            return mediaPath.StartsWith(rootPath, StringComparison.OrdinalIgnoreCase);
        }

        public static string GetRootedFolderPath(this IMediaLibraryService service, string folderPath) {
            var rootMediaFolder = service.GetRootMediaFolder();
            if (rootMediaFolder != null) {
                return Path.Combine(rootMediaFolder.MediaPath, folderPath ?? "");
            }

            return folderPath;
        }

Look good, can you create a PR or do you want me to apply the change directly ?

Tested and confirmed as fixed!


Create account failed

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

I created a new email for my learning purpose after adding my debit card details of my company it says - "You're not eligible for an Azure free account"
After that when I proceed with Pay as you Go, which I did not want to, but just to try I did it, it moved forward and then failed with
You're not eligible for an Azure account
We couldn't create an Azure account for you.

@ajaymalloc-github
It would be great if you could add elaborate your query and a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

@ajaymalloc-github
If you need help with this, please log a case here: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request. Thank you. Closing issue since not related to the documentation, like you've mentioned. Thanks!


ci: Travis: skip deploy stage without tag

It would get skipped anyway, but with this it does not show up in the
jobs for PR builds.

Looks good: https://travis-ci.org/jazzband/pip-tools/builds/493877860 - canceled the build.


Check for duplicate entity IDs

Had a stab at issue #49 (Check all UserIds are unique)

Going to close as this has already been done


Power supply not working

Problem Description
The power supply pins (PCS, PV1, PV2, PV3) on the new prototype are not working. I recall we changed the chip driving the power supply, correct? Do we need to update the firmware to make the new driver chip work?

Fixed in #149.


Fix EntityHit distance calculation

This PR fixes an issue when working with World#getIntersectingEntities:
Currently, EntityHit#getDistance returns the distance between the entity and the intersection of the ray with the entity's chunk, instead of the distance between the entity and the start of the ray.

I was confused as to why you were also getting rid of chunkStart and had to spend a bit of time going through the impl, but I've got it!
To make it clearer, what's going on here is that the ray that is passed to the ChunkMixin#bridge$getIntersectingEntities method is no longer clamped at the chunk boundaries. This allowed for a change to the distance parameter that is passed in, as the implementation is now checking to see how far from the start of the full ray the intersection is, not how far from the chunk boundary.
I think this looks okay, but I'd like a second opinion @gabizou, in case there is something funky that this was doing that I didn't catch in my review by clamping the ray to chunk boundaries, or if you'd like the original impl to stay and just pass the extra information down instead. I don't think there is anything wrong with this though.


Merge import- and create progress components

Currently there are 2 progress components that only differ in title one in the import flow and one in the create flow merge these 2 into one component.

solved in release 3.x


Unlocked TextView aspect-ratio while resizingTextView.

Is there any way to resize height and width individually while resizing? Or any way to get the textview object so we can set height and width individually? This would be a lot of help.

This feature will help us a lot, please consider it for next release.

Sure we will look into it.

Any update on this?


[FEATURE]: PowerFlex storage pool capacity dashboard bargauge thresholds should match the PowerFlex storage pools

Describe the solution you'd like
The storage pool capacity bargauge thresholds are hardcoded. These thresholds should align with the alert thresholds defined on the PowerFlex.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@atye: Thank you for submitting this issue!
The issue is currently awaiting triage. Please make sure you have given us as much context as possible.
If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>

@atye: Thank you for submitting this issue!
The issue is currently awaiting triage. Please make sure you have given us as much context as possible.
If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>

Grafana thresholds currently do not support value by variables; they must be hardcoded. We will not be able to support aligning the storage pool capacity threshold values with the PowerFlex storage pool alert thresholds until Grafana supports variable thresholds.
Related issues
https://github.com/grafana/grafana/issues/922
https://github.com/grafana/grafana/issues/29497
https://github.com/grafana/grafana/issues/25313
https://github.com/grafana/grafana/issues/25127
https://github.com/grafana/grafana/issues/159

Grafana thresholds currently do not support value by variables; they must be hardcoded. We will not be able to support aligning the storage pool capacity threshold values with the PowerFlex storage pool alert thresholds until Grafana supports variable thresholds.
Related issues
https://github.com/grafana/grafana/issues/922
https://github.com/grafana/grafana/issues/29497
https://github.com/grafana/grafana/issues/25313
https://github.com/grafana/grafana/issues/25127
https://github.com/grafana/grafana/issues/159


I have added the key in Heroku config_vars but I am getting this error. When run by jupyter voila it's working

Earth Engine App
To authorize access needed by Earth Engine, open the following URL in a web browser and follow the instructions:
https://code.earthengine.google.com/client-auth?scopes=https%3A//www.googleapis.com/auth/earthengine https%3A//www.googleapis.com/auth/devstorage.full_control&request_id=9VJRWiemEVkPLY2h550_HkB5-JyKRjH86je8n038p-A&tc=xTMdt__slBkZHi7NZYGSw_r4wPmZQhpaOLlKDecjeOM&cc=JIpYkgp4F048wbW_nP7lmWABhN25filj4By0uBXG08E
The authorization workflow will generate a code, which you should paste in the box below
There was an error when executing cell [2]. Please run Voilà with --show_tracebacks=True or --debug to see the error message, or configure VoilaConfiguration.show_tracebacks.

Try rebooting the app and update geemap to the latest version

I tried this but still same error. I also updated refresh_token "config\earthengine\credentials"

i am using this code with  ee.Initialize()

i am using this code without  ee.Initialize()

I have update earth engine  token

both are code getting this error. i have also changed google account
To authorize access needed by Earth Engine, open the following URL in a web browser and follow the instructions:
https://code.earthengine.google.com/client-auth?scopes=https%3A//www.googleapis.com/auth/earthengine https%3A//www.googleapis.com/auth/devstorage.full_control&request_id=igRnV4OAr6p_vgmgsW-OdUwrtuFggA5S0nu--vvxTSQ&tc=48naltTLYNL7ExLamtlkExhwWam8mWWe6xabF_612rA&cc=qfpvBigm6-ac5PkftI2SiYE7KsCGGEdqmMEuM9TDr28
The authorization workflow will generate a code, which you should paste in the box below
There was an error when executing cell [2]. Please run Voilà with --show_tracebacks=True or --debug to see the error message, or configure VoilaConfiguration.show_tracebacks.

@sumitsaini326 Hi, did you fix the issue. I am facing the same Authorization - viola issue.
Could you tell me how to run the app using viola ?

Hi @giswqs
Things i have done

Authenticated earthengine from cmd prompt

Copied the authorization key from the saved credentials json file to Heroku

Even then, i am getting the same error

Same issue for me - worked locally, but not hosted. I updated geemap, which downgraded shapely, and now am receiving a new error when trying to view locally:  ImportError: cannot import name 'StaticModule' from 'setuptools.config' (/usr/lib/python3/dist-packages/setuptools/config.py). With both heroku local web and voila <notebook> --show_tracebacks=TRUE. Any help greatly appreciated.

What Python version are you using?

@neko1010 I meant to ask what Python you are using on Heroku? Not the Python version on your local computer.

I just deployed the app from the repo. It works just fine. Please clone this repo and and deploy the app without making any changes. Make sure you set the EARTHENGINE_TOKEN as an environment variable. Once the app deployed successfully, then you can start adding your own notebooks to the app.
https://geemap-demo.herokuapp.com

I too have same google earth authentication isuue I have done same as said and I haven't changed my notebook(used as in repo for testing).And I have above error.
I add voila.json file with
{   "VoilaConfiguration": {     "show_tracebacks": true   } }
then voila error was removed but the following error showed up .

I things something should be changed in config_vars as the way of authenticating google earth engine has been changed by google.

@mandeeptimalsina You can set the EARTHENGINE_TOKEN on the Heroku settings. You don't have to use config_vars.
https://dashboard.heroku.com/apps/geemap/settings


wrong type infer in 3.6.0-dev.20190725

TypeScript Version:  3.4.0-dev.201xxxxx

Search Terms:
Code
this code work at 3.5.2 and 3.6.0-dev.20190704
but fail at 3.6.0-dev.20190725
import Bluebird = require('bluebird');

let a: string[] = [];

Bluebird.resolve(a as string[])
	.mapSeries(async function (vvvv)
	{
		console.log(vvvv.toUpperCase())

		return vvvv;
	})
;

Bluebird.resolve(a as string[])
	.mapSeries(function (vvvv)
	{
		console.log(vvvv.toUpperCase())

		return vvvv;
	})
;

Bluebird.resolve(a as string[])
	.mapSeries((vvvv) =>
	{
		console.log(vvvv.toUpperCase())

		return vvvv;
	})
;

Expected behavior:
no error and infer to string
Actual behavior:
vvvv infer to unknown

Playground Link:
Related Issues:

Ideally bug reports will have a completely self-contained example that you don't need external libraries to reproduce.  Like maybe this:
interface Prom<T> {
  mapSeries<Q>(
    this: Prom<T & Iterable<Q>>,
    iterator: (item: Q) => any
  ): any;
}

declare const p: Prom<string[]>;

p.mapSeries(async function (s) {
  console.log(s.toUpperCase()); // error, s is unknown 3.6.0-dev.20190725
});

Something about this and not being able to infer Q from the type T & Iterable<Q> in this scenario.  (Workaround: replace Q with or constrain Q to (T extends Iterable<infer I> ? I : never))
Not sure if this is really a bug or what.  Seems like it might be a breaking change in Bluebird, though.

This is caused by #32460. Consider the following simplified example:
declare function foo1<T>(obj: string[] & Iterable<T>): T;
declare function foo2<T>(obj: string[] & T): T;

declare let sa: string[];
declare let sx: string[] & { extra: number };

let x1 = foo1(sa);
let y1 = foo1(sx);

let x2 = foo2(sa);
let y2 = foo2(sx);

With 3.5.x we produced the following results:
let x1 = foo1(sa);  // string
let y1 = foo1(sx);  // unknown

let x2 = foo2(sa);  // string[]
let y2 = foo2(sx);  // { extra: number }

It's pretty clear that x1 and y2 are inconsistent, and unknown would be a better inference for x2.
With 3.6.0-dev.20190725 we produce:
let x1 = foo1(sa);  // unknown
let y1 = foo1(sx);  // unknown

let x2 = foo2(sa);  // unknown
let y2 = foo2(sx);  // { extra: number }

This has the better inference for x2 and it makes x1 and y1 consistent, but unknown is really not a good inference here. I think the desired outcome is:
let x1 = foo1(sa);  // string
let y1 = foo1(sx);  // string

let x2 = foo2(sa);  // unknown
let y2 = foo2(sx);  // { extra: number }

I have updated #32558 to implement this and I'm currently checking for effects on the DT tests.


Improve file paths

Proposal for #6.

I'll add docs to the readme if we end up merging this.

I updated the PR to remove the filePathsRelativeToRoot option.
I don't see a use case for configuring this.
Also, the user can always change the glob to fit what he wants:
// If the user wants the file paths to be relative to root:
import.meta.importGlob('/path/to/*.js')
// Post-transform
{ "/path/to/some.js": () => import(/* ... */) }

// If the user wants the file paths to be relative to `__dirname`:
import.meta.importGlob('../../path/to/*.js')
// Post-transform
{ "../../path/to/some.js": () => import(/* ... */) }

BTW, we have this https://github.com/vitejs/vite/pull/6526 in Vite, which I haven't implemented in this plugin. Are you aware of it, and what do you think how it should affects this implementation

For multiple globs, do you think it makes sense for us to return to the absolute path if only the glob is absolute?
import.meta.importGlob(['/path/to/*.js', './*.ts')
// -->
{
  "/path/to/some.js": () => import(/* ... */),
  "/src/foo.ts": () => import(/* ... */)
}

For multiple globs, do you think it makes sense for us to return the absolute paths if one of the globs is absolute?
import.meta.importGlob(['/path/to/*.js', './*.ts')
// -->
{
  "/path/to/some.js": () => import(/* ... */),
  "/src/foo.ts": () => import(/* ... */)
}

I'm not super happy about this, but I don't see an alternative.

BTW, we have this vitejs/vite#6526 in Vite, which I haven't implemented in this plugin. Are you aware of it, and what do you think how it should affects this implementation

👍. I'd say: it's a nice-to-have we can implement later.
I'd propose to get vite-plugin-glob out to more users, experiment, then we can see how/if we want to implement such nice-to-haves.

I will make a tweet later :)

Exciting 😀.
Btw, I'm going to release the new vps major 0.4.0 as soon as we merge the file extension restoration thing. (It's the only blocker for vps.)


The cached poetry installation doesn't recover settings like virtualenvs-in-project so caching venvs breaks

Hi! I'm using this action to install poetry like this:
name: Syle check

on: push

jobs:
  style-check:
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout repo
        uses: actions/checkout@v4

      - name: Setup Python
        id: setup-python
        uses: actions/setup-python@v5
        with:
          python-version: "3.10"

      - name: Load cached Poetry installation
        id: cached-poetry
        uses: actions/cache@v4
        with:
          path: ~/.local
          key: poetry-0-${{ runner.os }}

      - name: Install Poetry
        if: steps.cached-poetry.outputs.cache-hit != 'true'
        uses: snok/install-poetry@v1
        with:
          virtualenvs-create: true
          virtualenvs-in-project: true

      - name: Load cached venv if it exists
        id: venv-cache
        uses: actions/cache@v4
        with:
          path: .venv
          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ github.workflow }}

      - name: Install dependencies
        if: steps.venv-cache.outputs.cache-hit != 'true'
        run: poetry install --no-interaction --only dev

      - name: Lint codebase
        run: poetry run ruff check

      - name: Format codebase
        run: poetry run ruff format

As you can see, I'm caching both the poetry install and the venv creation. However, any runs after the one that creates the cache entry for the poetry install don't correctly set virtualenvs-in-project, so if I change my lock file, the venv install step fails to cache (because its using a cached poetry installation that hasn't been configured to install the venv in .venv and installs it to the default location).
How can this be fixed? For now it seems I have to disable the caching of installing poetry, or add a new intermediate step that runs the correct poetry config steps. Maybe we also need to cache the output of poetry config --list --local?

One fix would be to run:
    run: # set your config values here
    if: steps.cached-poetry.outputs.cache-hit != 'true'

but I guess the better fix would be to figure out where the config is stored, and cache that 👍

https://github.com/snok/install-poetry/pull/152

@zalun adding that would patch the issue (just as @sondrelg's suggestion would).
I think handling this in the action isn't trivial and maybe changing the cache instructions would suffice. If @sondrelg agrees, I can open a PR adding his suggestion here
https://github.com/snok/install-poetry/blob/4e9696153ce641c9ff9ee445ffb5eb429c8f69f7/README.md?plain=1#L483-L507

I think for the purposes of the docs here, @zalun's fix addresses this issue, so I'll close this for now 👍 Not sure if you agree with this @sebastian-correa - if not, could you elaborate a bit on what you'd want done?

Come to think of it, @zalun's suggestion wouldn't work in the case I proposed, would it? It's the same thing, the Action runs a poetry configure ... to set the value of the virtualenv path, so it'd configure it only the first time it runs. However, upon needing to recreate the venv, poetry install will install the venv in the default location.
To fix this at the action's level, I would figure out how to tell Poetry to store its configurations in a given directory (the same directory where the action installs Poetry itself) so that caching also brings over configs. Can you guide me through making changes and testing the action myself to see if I can figure out (and contribute) some fix?
In the meantime, I opened #154 with the changes you mentioned here, which seem to work in my case.


Help with testing

While testing the test-clean data set using test.py only 1879 predictions are generated. The test set has 2620 utterances. Is there any parameter to  change so that we get all 2620 predictions. Is there a sample code to use the output_function to generate the posteriors.

You should try changing https://github.com/baidu-research/ba-dls-deepspeech/blob/master/data_generator.py#L53 to increase the max_duration argument. Currently, that's set to 10 seconds so the code ignores utterances longer than that.

Thank you sir


docs(CONTRIBUTING): refine rules maturity framework

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

Proposed rule maturity level

Uncomment one (or more) /area <> lines (only for PRs that add or modify rules):

/area maturity-stable

/area maturity-incubating

/area maturity-sandbox

/area maturity-deprecated

What this PR does / why we need it:
Refine rules maturity framework, see https://github.com/falcosecurity/rules/issues/126#issuecomment-1696025071.
@leogr
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 3b491dc53140aff78aaec9baa363c2e1d135d5d9

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: darryk10, incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: darryk10, incertum, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incertum,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add Crypto functions or others like 'cyberchef' ?

Hi,veler, I want to contribute to this project
wanna add crypto(AES,DES,entropy related)functions for this project.
wanna add compression/decompression functions for this project.
etc...
but my programming language background is c++/python, I haven't touched c# before
if I want to add new function, which section will I need to modify?(including UI, logic module).
Is there possible one detail design document for this project ?

Hello,
Thanks for reaching out and wanting to contribute.
DevToys relies on Injection Dependency using MEF https://docs.microsoft.com/en-us/dotnet/framework/mef/
In DevToys, each tools are dynamically loaded through injection dependency. The entry point of a tool is a class that implements IToolProvider.
I realized that the Contributing file was missing some information. I added some useful explanation at how tools work in DevToys.
Let me know if I can help further more :)


Fix github user token env to ATLANTIS_GH_TOKEN

Fixed to follow atlantis master using ATLANTIS_GH_TOKEN not ATLANTIS_GITHUB_TOKEN
https://github.com/runatlantis/atlantis/blob/master/cmd/server.go#L137

Good point, I broke this during the latest release.
v1.16.0 has been just released.
Thank you!


Compiler  Install Error

Because the module gaze, riotjs's compiler can not install on 0.11* Node.js and io.js

We can use navelgazer or rewatch

We are planning on switching to https://github.com/paulmillr/chokidar
Any thoughts about that?

Good!

Meanwhile, if anyone can confirm that chokidar works on 0.11* node.js and io.js, please chime in!

Duplicate #149


How can I properly create  "INSERT ... ON DUPLICATE KEY UPDATE" Syntax?

Hi!
I need to create new record if not exist already.
What is the best solution with ozzo-dbx?

db.Upsert()


Fix issues 37-38

This PR packs tightly structs, chache array length and updates storage artifacts.

Hi @aakoshh.
Do you know why, after changing ConstructorParams, fendermint tests start failing, but they pass on my machine?


⚠ Samsung has degraded performance

In 0a70a73, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2201 ms

Resolved: Samsung performance has improved in 8841129.


Doc20240904

@opoudjis can you please rebase to main? Thanks.

@opoudjis can you please rebase to main? Thanks.

I can't. My environment is only seeing the last two commits for rebasing.


Register VMDB plugins

Extracted from #11083

@Fryguy Please review

LGTM :+1:
cc @durandom

Yay :heart: :heart_decoration: @bdunne @Fryguy
Now off to move settings in providers forward

@bdunne any idea if we can prevent reload! clearing the instance?
[4] pry(main)> Vmdb::Plugins.instance.vmdb_plugins.count
=> 1
[5] pry(main)> reload!
Reloading...
=> true
[6] pry(main)> Vmdb::Plugins.instance.vmdb_plugins.count
=> 0


Help please...

MapDriver compilation completed
How to install mapDriver
And
In the Firebase database rule
Changed below
  {
   "rules": {
     ".read": true,
     ".write": true
   }
 }

to the next
I uploaded map.jpg file to Firebase storage
Then what should I do?

Please don't open multiple issues. map.jpg should NOT be uploaded to firebase. It should be uploaded to a normal web host with the index.html.
You need to find a way to load the driver. I'm not supplying any.


Including version number in the file names?

Currently the name format seems to be <binary-name>-<target-triplet>.<zip/tar.gz>. For compatibility with self_update it would be great if it was possible to configure the name to <binary name>-<version>-<target-triplet>.<zip/tar.gz>.
See also https://github.com/jaemk/self_update/issues/107. It might be possible to manually make self_update work with the conventions here, but it would be a lot easier if this supported including the version number.

You can use archive input option. See readme for more:
https://github.com/taiki-e/upload-rust-binary-action#example-workflow-customize-archive-name


Refactor ticks

Reboot of https://github.com/bqplot/bqplot/pull/1216

One case when the old version was better (left: old, right: new):


egeria-release-1.0 build fails in kafka connector

The egeria release 1.0 branch currently fails to build.
See https://jenkins.odpi.org/view/odpi-egeria/job/odpi-egeria-maven-clm-egeria-release-1.0/
It would appear one of the following is to blame:
odpi/egeria#861 - Limit maximum size of kafka event queue (commit: 1dfa587) (details)
odpi/egeria#860 - Don't log entire list when checking for events in (commit: 7db1564) (details)
odpi/egeria#860 - Address review comments (commit: 4e890d1) (details)
odpi/egeria#861 - Fix issues (commit: 7f3b352) (details)
odpi/egeria#861 - Cleanup (commit: 3f8a566) (details)
odpi/egeria#861 - More cleanup (commit: 9443cc4) (details)
I have built locally & get the same results as jenkins - so I think the build config is correct.
cc: @mandy-chessell

I'll take a look -- looks like this is related to missing license headers

@mandy-chessell @planetf1 This will likely be fixed by one or both of these PRs.  Not sure why they have not been merged yet...
https://github.com/odpi/egeria/pull/877
https://github.com/odpi/egeria/pull/880

I see 880 has been merged just now. However after this I see a RAT error :
  /Users/jonesn/IdeaProjects/egeria/open-metadata-implementation/adapters/open-connectors/event-bus-connectors/open-metadata-topic-connectors/kafka-open-metadata-topic-connector/src/main/java/org/odpi/openmetadata/adapters/eventbus/topic/kafka/KafkaOpenMetadataEventConsumerProperty.java
  /Users/jonesn/IdeaProjects/egeria/open-metadata-implementation/adapters/open-connectors/event-bus-connectors/open-metadata-topic-connectors/kafka-open-metadata-topic-connector/src/main/java/org/odpi/openmetadata/adapters/eventbus/topic/kafka/KafkaOpenMetadataEventConsumerConfiguration.java
  /Users/jonesn/IdeaProjects/egeria/open-metadata-implementation/adapters/open-connectors/event-bus-connectors/open-metadata-topic-connectors/kafka-open-metadata-topic-connector/src/main/java/org/apache/kafka/clients/consumer/KafkaConfigurationWrapper.java

Unfortunately we don't seem to have the same pre-checks in place on this branch. I'll raise the issue with the LF team as it would help if we had the same checks as we have on master for any designated release branches.

@mandy-chessell I think that as repo admin, you may be able to compare the configuration of master with any 'release' branches. I think they should be the same. If more changes are needed I can check with the LF team (ref: https://help.github.com/en/articles/enabling-required-status-checks )

Interesting.  I just pulled from master, and I'm not seeing that.  I did see
ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (rat-check) on project open-metadata-demos: Too many files with unapproved license: 8 See RAT report in: /Users/jeff/git/jhagelberg-egeria/egeria/open-metadata-resources/open-metadata-demos/target/rat.txt -> [Help 1]

which is unexpected, but that is because of the eclipse project in my local environment.  The RAT check for "Kafka Open Metadata Topic Connector" passed for me.
Very strange.

Yes I do still get the error — I checked against upstream currently.
The first file for example begins:

/**
 * Configurable properties for the KafkaOpenMetadataEventConsumer
 *
 */```

So no license notice.

Going to github itself, the latest file is the same - as can be seen at https://github.com/odpi/egeria/blob/egeria-release-1.0/open-metadata-implementation/adapters/open-connectors/event-bus-connectors/open-metadata-topic-connectors/kafka-open-metadata-topic-connector/src/main/java/org/odpi/openmetadata/adapters/eventbus/topic/kafka/KafkaOpenMetadataEventConsumerProperty.java

The last change looks like #861

The last formal build was Apr 6 (it's only scheduled weekly - and as above has no triggers setup)

Github also confirms no commits since Mar 25  - https://github.com/odpi/egeria/commits/egeria-release-1.0

With all that being said, I can see your pull request was merged at https://github.com/odpi/egeria/pull/880/files - and this does indeed fix the SPDX headers. Yet for some reason I don't see those changes.... The commit was eac796decb645a6d67c11dce03d8ba524a73c95e which I don't see in my log - nor that of the release.

I'm unable to explain the discrepancy

At this point I wonder if it's something to do with branch management/git history... when mandy committed that PR it only had an older commit. Could it be down to the same branch being used for a multiple PRs and with some squashing of commits/rebasing done on that branch (which is a potential problem once anyone else refers to the commits).
I'd be inclined to

save existing tree manually outside git
do a manual compare
a hard reset on local/remote branch (from odpi fork)
OR create a new branch from master
reapply necessary change
new PR etc

but you may well know more :-)

@planetf1 I just did a
git clone https://github.com/odpi/egeria

in a clean directory followed by
mvn install

Everything built with no errors.
I am wondering if this is perhaps related to the maven or RAT version being used.
I built the code with maven 3.6.0.  It ended up using apache-rat-plugin:0.12:
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ kafka-open-metadata-topic-connector ---
[INFO] Added 3 additional default licenses.
[INFO] Enabled default license matchers.
[INFO] Added 2 custom approved licenses.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: /CNAME
[INFO] Exclude: **/banner.txt
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.patch
[INFO] Exclude: **/*.log
[INFO] Exclude: **/*.csv
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.registrystore
[INFO] Exclude: **/*.results
[INFO] Exclude: **/target/**
[INFO] Exclude: **/venv/**
[INFO] Exclude: **/.repository/**
[INFO] Exclude: **/charts/**/charts/**
[INFO] Exclude: **/log
[INFO] Exclude: **/*.lock
[INFO] Exclude: **/m2repo*/**
[INFO] Exclude: **/venv/**
[INFO] Exclude: **/archives/patches/egeria.patch
[INFO] Exclude: **/docs/**/*.xml
[INFO] Exclude: **/docs/**/*.svg
[INFO] Exclude: **/website/**/*.xml
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] 11 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 10 licenses

I am starting to suspect that there is some configuration problem in your local environment, especially if what you see locally does not match what is in github.

i think I've eliminated that possibility.
If you go to github, click on branches/egeria-release-1.0 & then navigate through, you'll get to a file like https://github.com/odpi/egeria/blob/egeria-release-1.0/open-metadata-implementation/adapters/open-connectors/event-bus-connectors/open-metadata-topic-connectors/kafka-open-metadata-topic-connector/src/main/java/org/odpi/openmetadata/adapters/eventbus/topic/kafka/KafkaOpenMetadataEventConsumerProperty.java
where you can see the spdx headers are not present.
furthermore the linux foundation builds are failing
https://jenkins.odpi.org/view/odpi-egeria/job/odpi-egeria-maven-clm-egeria-release-1.0/lastBuild/console
Can you perhaps resync with upstream and see what results you get?

note.. this is with egeria-release-1.0 ...
master is ok (which is what you would have built in the transcript above)

@planetf1 Oh, sorry, I thought it was a problem with master.  I now see the problem in egeria-release-1.0.  I've created a new PR: https://github.com/odpi/egeria/pull/908

Thanks.. seen.. checked. all good :-)


Unhandled Error - cannot open Kap

Hello there,
I have a strange problem since I cannot use Kap on my main macOS user account. Downloading it, it won't open and gives the following popup with this error:

Strangely, I can use Kap without problems on another user account on this machine, one which has no extra applications or node/NPM installed...
Anyone knows how to fix this? Would really like to use Kap.
Platform: macOS 10.13.3
Kap Version: 2.00
Installed / moved app to applications folder. Cannot successfully open app with admin user (works with another user on machine)

I get a similar error when trying to export an MP4 (works fine exporting APNG/GIF though). See system specs and error screenshot below.

A fix for both these issues is being released today, see #411 and #326.

Thanks, that was fast! Will try it out


TypeError: Cannot read property 'createDownload' of undefined

Hi, I have exactly the same error as the issue you closed. I use js without any framework.
I following the readme too !

Hi, I have exactly the same error as the issue you closed. I use js without any framework.
I following the readme too !

facing the same issue

When using external capacitor plugins, you need to add them to the MainActivitiy.java file as explained in the docs. I've come across this a few times now - I hope more plugins include this step in their instructions as time goes on!
import co.fitcom.capacitor.Downloader.DownloaderPlugin;
this.init function:
add(DownloaderPlugin.class);

Hey mval1002 thank you for your help and time, it solved my problem.
Can you please update your documentation with all the required information
so that people like us don't get issues.
Thanks in advance
Md Shadman Alam
On Thu, Oct 10, 2019 at 3:14 AM mval1002<EMAIL_ADDRESS>wrote:

When using external capacitor plugins, you need to add them to the
MainActivitiy.java file as explained in the docs. I've come across this a
few times now - I hope more plugins include this step in their instructions
as time goes on!
import co.fitcom.capacitor.Downloader.DownloaderPlugin;
this.init function:
add(DownloaderPlugin.class);
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/triniwiz/capacitor-downloader/issues/5?email_source=notifications&email_token=AJK5ORR56KCTLQIKHBW3CJTQNZGFXA5CNFSM4HOF2QP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZQLAQ#issuecomment-540214658,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJK5ORXV5EFA3KQEAUKUKYDQNZGFXANCNFSM4HOF2QPQ
.

Glad I could help!
I'm not the developer of this plugin, so I can't update any documentation for it. As I mentioned in my other comment, I hope as the Capacitor platform matures, more of the developers will include that step in their instructions. As it stands, it's buried at the bottom of the Android Plugin section of the Capacitor docs, and on top of that its not always easy to find the import path. I've seen this same issue come up in a number of Community Plugins that I've looked at, so I try to help out!


New Tab no longer works after resume from suspend

(posted initially in main Hyper repo, although I realize now this probably belongs here):

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Ubuntu 18.04
Hyper.app version: 3.02
Contents of your .hyper.js: In details below
The issue is reproducible in vanilla Hyper.app: Is Vanilla No

Issue
After I resume from suspend, if I had a terminal open, File->New Tab no longer works, it just does nothing. This happens both if I trigger from the keyboard shortcut or from the menu. View->Reload does not help, although View->Full Reload does reset it. The following error is printed on the developer console when I try to create the new tab:
/home/marius/.hyper_plugins/node_modules/hypercwd/setCwd.js:8 Uncaught (in promise) TypeError: Cannot read property 'pid' of undefined
    at setCwd (/home/marius/.hyper_plugins/node_modules/hypercwd/setCwd.js:8)
    at /home/marius/.hyper_plugins/node_modules/hypercwd/linuxActionHandler.js:29
    at bundle.js:1
    at bundle.js:1
    at bundle.js:1
    at dispatch (bundle.js:1)
    at bundle.js:1
    at Object.dispatch (bundle.js:1)
    at EventEmitter.u.a.on (bundle.js:1)
    at EventEmitter.emit (events.js:182)
setCwd @ /home/marius/.hyper_plugins/node_modules/hypercwd/setCwd.js:8
(anonymous) @ /home/marius/.hyper_plugins/node_modules/hypercwd/linuxActionHandler.js:29
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
dispatch @ bundle.js:1
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
u.a.on @ bundle.js:1
emit @ events.js:182
ipcListener @ bundle.js:1
emit @ events.js:182
async function (async)
(anonymous) @ /home/marius/.hyper_plugins/node_modules/hypercwd/linuxActionHandler.js:8
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
dispatch @ bundle.js:1
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
u.a.on @ bundle.js:1
emit @ events.js:182
ipcListener @ bundle.js:1
emit @ events.js:182

// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.

module.exports = {
  config: {
    // choose either `'stable'` for receiving highly polished,
    // or `'canary'` for less polished but more frequent updates
    updateChannel: 'stable',

    // default font size in pixels for all tabs
    fontSize: 12,

    // font family with optional fallbacks
    fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',

    // default font weight: 'normal' or 'bold'
    fontWeight: 'normal',

    // font weight for bold characters: 'normal' or 'bold'
    fontWeightBold: 'bold',

    // line height as a relative unit
    lineHeight: 1,

    // letter spacing as a relative unit
    letterSpacing: 0,

    // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
    cursorColor: 'rgba(248,28,229,0.8)',

    // terminal text color under BLOCK cursor
    cursorAccentColor: '#000',

    // `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
    cursorShape: 'BLOCK',

    // set to `true` (without backticks and without quotes) for blinking cursor
    cursorBlink: false,

    // color of the text
    foregroundColor: '#fff',

    // terminal background color
    // opacity is only supported on macOS
    backgroundColor: '#000',

    // terminal selection color
    selectionColor: 'rgba(248,28,229,0.3)',

    // border color (window, tabs)
    borderColor: '#333',

    // custom CSS to embed in the main window
    css: '',

    // custom CSS to embed in the terminal window
    termCSS: '',

    // if you're using a Linux setup which show native menus, set to false
    // default: `true` on Linux, `true` on Windows, ignored on macOS
    showHamburgerMenu: '',

    // set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
    // additionally, set to `'left'` if you want them on the left, like in Ubuntu
    // default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
    showWindowControls: '',

    // custom padding (CSS format, i.e.: `top right bottom left`)
    padding: '12px 14px',

    // the full list. if you're going to provide the full color palette,
    // including the 6 x 6 color cubes and the grayscale map, just provide
    // an array here instead of a color map object
    colors: {
      black: '#000000',
      red: '#C51E14',
      green: '#1DC121',
      yellow: '#C7C329',
      blue: '#0A2FC4',
      magenta: '#C839C5',
      cyan: '#20C5C6',
      white: '#C7C7C7',
      lightBlack: '#686868',
      lightRed: '#FD6F6B',
      lightGreen: '#67F86F',
      lightYellow: '#FFFA72',
      lightBlue: '#6A76FB',
      lightMagenta: '#FD7CFC',
      lightCyan: '#68FDFE',
      lightWhite: '#FFFFFF',
    },

    // the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
    // if left empty, your system's login shell will be used by default
    //
    // Windows
    // - Make sure to use a full path if the binary name doesn't work
    // - Remove `--login` in shellArgs
    //
    // Bash on Windows
    // - Example: `C:\\Windows\\System32\\bash.exe`
    //
    // PowerShell on Windows
    // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
    shell: '',

    // for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
    // by default `['--login']` will be used
    shellArgs: ['--login'],

    // for environment variables
    env: {},

    // set to `false` for no bell
    bell: 'SOUND',

    // if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
    copyOnSelect: false,

    // if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
    defaultSSHApp: true,

    // if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
    // selection is present (`true` by default on Windows and disables the context menu feature)
    quickEdit: false,

    // choose either `'vertical'`, if you want the column mode when Option key is hold during selection (Default)
    // or `'force'`, if you want to force selection regardless of whether the terminal is in mouse events mode
    // (inside tmux or vim with mouse mode enabled for example).
    macOptionSelectionMode: 'vertical',

    // URL to custom bell
    // bellSoundURL: 'http://example.com/bell.mp3',

    // Whether to use the WebGL renderer. Set it to false to use canvas-based
    // rendering (slower, but supports transparent backgrounds)
    webGLRenderer: true,

    // for advanced config flags please refer to https://hyper.is/#cfg
  },

  // a list of plugins to fetch and install from npm
  // format: [@org/]project[#version]
  // examples:
  //   `hyperpower`
  //   `@company/project`
  //   `project#1.0.1`
  plugins: [
    "hypercwd",
    "hyperlinks",
    "hyper-alt-click",
    "hyperterm-ubuntu-theme"
  ],

  // in development, you can create a directory under
  // `~/.hyper_plugins/local/` and include it here
  // to load it and avoid it being `npm install`ed
  localPlugins: [],

  keymaps: {
    "tab:next": "ctrl+pageup",
    "tab:prev": "ctrl+pagedown"
  }
};

Just noting I encountered this issue too:
Hyper 3.0.2
OSX 10.14.5


Fix Amt iter mut guard

Summary of changes
Changes introduced in this pull request:

Issue was is that all values were mutably dereferenced because generic function was the type within the guard

Thanks @ec2  for the heavy lifting
888/894
Reference issue to close (if applicable)

Closes
Other information and links

My bad, nice find!


feat: Control creation of SAML configuration via create_saml_configuration

Description
Allow to skip saml configuration
Motivation and Context
Related to #19
Breaking Changes
No breaking changes
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 1.9.0 :tada: