Re-implement MainContext channel around a manual channel

This allows us to ensure that dropping the Receiver and its GSource will
also directly drop the closure, instead of having to wait for all
Senders to disappear too.
We have to use a mutex and a shared struct for this, and as such it
makes sense to directly implement the channel as part of this shared
struct. As the std mpsc channel internally also uses mutexes this should
not cause any considerable performance difference.
At the same time also simplify some more code and add a few more tests.
Fixes https://github.com/gtk-rs/glib/issues/454

CC @gdesmott this seems to work now but I'll have to write a few more tests (especially for the sync channel). Please give it a try and let me know how well it works for you. Once the Receiver or its GSource is finalized the closure should be freed now.

My code isn't building with it, I'm not sure why:
error[E0277]: `*mut glib_sys::GSource` cannot be sent between threads safely
  --> src/web.rs:30:1
   |
30 | / fn play(web: State<Web>) {
31 | |     let tx = web.tx.lock().unwrap();
32 | |     tx.send(Message::Play).unwrap();
33 | | }
   | |_^ `*mut glib_sys::GSource` cannot be sent between threads safely
   |
   = help: within `glib::main_context_channel::ChannelInner<karapulse::Message>`, the trait `std::marker::Send` is not implemented for `*mut glib_sys::GSource`
   = note: required because it appears within the type `std::option::Option<*mut glib_sys::GSource>`
   = note: required because it appears within the type `glib::main_context_channel::ChannelInner<karapulse::Message>`
   = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Mutex<glib::main_context_channel::ChannelInner<karapulse::Message>>`
   = note: required because it appears within the type `(std::sync::Mutex<glib::main_context_channel::ChannelInner<karapulse::Message>>, std::option::Option<glib::main_context_channel::ChannelBound>)`
   = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Arc<(std::sync::Mutex<glib::main_context_channel::ChannelInner<karapulse::Message>>, std::option::Option<glib::main_context_channel::ChannelBound>)>`
   = note: required because it appears within the type `glib::main_context_channel::Channel<karapulse::Message>`
   = note: required because it appears within the type `std::option::Option<glib::main_context_channel::Channel<karapulse::Message>>`
   = note: required because it appears within the type `glib::main_context_channel::Sender<karapulse::Message>`
   = note: required because of the requirements on the impl of `std::marker::Send` for `std::sync::Mutex<glib::main_context_channel::Sender<karapulse::Message>>`
   = note: required because it appears within the type `web::Web`
   = note: required by `rocket::request::state::State`

Code is at https://github.com/gdesmott/karapulse/tree/cdg if you want to test.

Oops, please try again :)

Ah, that works now. And it does to break my ref cycle as I was hoping!
Thanks a lot, you're making my life so much easier. :+1:

Compiles here now.
@gdesmott In this function you could use the new Bus::add_watch_local() instead of the signal to not require the closure to be Send+Sync. Maybe that helps with something?

Oh, I didn't know about this API, I'll give it a shot.
Do I still have to call remove_signal_watch() once I'm done with it?
I struggled quiet a bit to get the threading/callback model working (see for example the inner pattern in Karapulse which I'm not so sure about) so any recommendation about how to do it properly is really welcome. :)

Do I still have to call remove_signal_watch() once I'm done with it?

Bus::remove_watch(). That API in GStreamer is quite weird on the C level :)

I struggled quiet a bit to get the threading/callback model working (see for example the inner pattern in Karapulse which I'm not so sure about) so any recommendation about how to do it properly is really welcome. :)

Ask on IRC if you have specific questions :)

Looks good to me, thanks!

@sdroege Thanks, 👍

This should be good to go now. I've added quite a few more tests for the sync channel and various special cases, and also cleaned up some code.

@EPashkin @GuillaumeGomez opinions? :)

I already approved it and I maintain my position. :)

Then let's get it in, thanks :)


DispatchModel storage constraints are not correct

Currently, a "storage" technology in the DispatchModel can charge itself without any external electricity production. This is incorrect.
This issue can be closed when the storage constraints do not allow a battery to charge without excess energy being produced.

Closed by #30 ...


Parsing error when creating the result reports

Executing the tool all went fine except the report generation which failed with the following error:

we managed to get the tool executed using the docker container path. I would suggest, though, to clearly call that option out at the beginning so people is aware of it and go down that path if preferred. Thanks!

We've run the ansible-playbook for the performance tests directly on the OCP bastion hosts many times against ODF and Portworx, and all went well, and the result.csv files are generated successfully.
Are you reporting that only using the approach of running the docker container works for you while directly running the ansible-playbook does not, right? Can you provide more details and any debug or environment information?  Thanks.

Hi @bxu1999, to be honest, I dont know. It was almost s year ago that I opened the issue… for what I can see on the picture, my guess is that it failed when getting this somehow executed on Openshift itself cause the instruction after the failure is an oc delete job. But as I said, just a guess cause I can no longer remember.


implement ndarray.flat.__getitem__(slice)

Feature request

From gitter: https://gitter.im/numba/numba?at=5df10b072cc1b31e34fee7dc
Related https://github.com/numba/numba/issues/3120
Feature request for ndarray.flat.__getitem__(slice)
Associated lowering code: https://github.com/numba/numba/blob/3ee055633680c924e940df8212fd8d4b0d057a4b/numba/targets/arrayobj.py#L3134-L3207

Any update on this ? Having this feature implemented would be very handy.


[Masthead with L1] dropdown color React

Detailed description

Describe in detail the issue you're having.

The dropdown color in the Masthead with L1 in the React package isn't the right color, I think this may be a carry over from the old gray L1.
Wasn't sure if this was a styles package since the two storybooks are showing different styling?

[ ] Update L1 dropdown color to match Web Components package. Assuming it should be $ui-background token, unless it's hard coded to only be in white theme. Would appreciate whoever picks this up to let me know so I can make sure our specs are aligned.

React

Web components

Is this a feature request (new component, new icon), a bug, or a general
issue?

bug

Is this issue related to a specific component?

Masthead with L1 in React

What did you expect to happen? What happened instead? What would you like to
see changed?

background color of dropdown should not be gray, should be white

What browser are you working in?

Chrome

What version of Carbon for IBM.com are you using?

React

@oliviaflory Web components was using $ui-02, which is the same as $ui-background (both are #fff). All L1 menu items have been changed to use $ui-background for consistency.


feat(blockifier): implement the allocated keys logic

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2150  👈 (View in Graphite)
#2149
#2175
#2174
#2173
#2172
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Is this still being maintained?

Hi,
It doesn't seem like the maintainers of this library are still active? I know it's not an officially Google supported library, but there's been no activity on long standing pull requests / issues for quite a while:
https://github.com/googleapis/elixir-google-api/pull/8048
https://github.com/googleapis/elixir-google-api/issues/5609
https://github.com/googleapis/elixir-google-api/pull/8251
https://github.com/googleapis/elixir-google-api/issues/3415
Could @chingor13 @dazuma either add maintainers OR deprecate this project so that it's clear that users should look for alternative solutions?

Sorry about this. Yes, we're trying to find additional help to maintain this, as Jeff and I have been buried. We definitely don't want to deprecate the libraries, as the code generation is probably still the best option in terms of API coverage. I'll see if I can steal some cycles to close out the current major issues (like the storage paths issue) during the holiday slow time.


Editor is also journal manager?

I changed a user role from journal manager and editor to only editor but he still has the permission as a journal manager.

Because Editor has a journal manager role in her/his panel, he/she can access to the pages but cannot have the permission to edit. System gives permission error.


Should we call setDebug before or after initSession? Clarify in docs

Docs should be updated here, but I'm not sure which one it should be --
iOS docs state that setDebug should be called before initSession:
https://dev.branch.io/getting-started/integration-testing/guide/ios/#use-debug-mode-to-simulate-fresh-installs
branch.js states it should be called after initSession:
https://github.com/BranchMetrics/Cordova-Ionic-PhoneGap-Deferred-Deep-Linking-SDK/blob/master/www/branch.js#L66

@pragunvohra sorry for the typo, set debug must be called first before initSession.

Fixed on master https://github.com/BranchMetrics/Cordova-Ionic-PhoneGap-Deferred-Deep-Linking-SDK/commit/83c87dcdf1e50a725cb31f33dff27c41ab58a7d6


childprocess needs a new maintainer

I'm unfortunately no longer able to maintain this gem. I'll be happy to move the repo and hand the Rubygems keys over to someone qualified who wants to take it over.
Please comment if you're interested.
I'll mention a few people who maintain popular dependent gems:
@mitchellh (vagrant)
@titusfortner / @p0deje (selenium-webdriver)
@dg-ratiodata (aruba)
@xrkhill (guard-spork)

What a pitty! Thanks for maintaining it for so long. Will consider to take over maintainership. Can we have a chat/discussion about that? I need a bit more information to see what workload I'll get on top.
@mattwynne @aslakhellesoy Do you know somebody from the "cucumber"-org who might be interested in this?

I don't know who it might be - I have too much on my plate already.

Try @dg-ratiodata

@dg-ratiodata Great that you're interested.
The library is pretty stable. My latest commit is from January. There's a few issues reported on Windows, and they can be a bit hard to track down. Otherwise it's mostly about handling the occasional pull request, and making sure we don't break platform parity by introducing new, platform-specific APIs.
Happy to have a chat on IRC/Slack/Skype if you want to.

@jarib Haven't had a look that the issues... I'm not an active windows user for development. This might be a problem. :-/

I'm not really either. It's still useful to have someone triage issues and do code reviews, even though Windows fixes will have to come from that community.

@jarib First I could take over maintainership, but unfortunately I don't have much time to work on aruba either which is my first priority. So it would be not "healthy" for childprocess to say "yes". Hope someone else steps in. Sorry.
But what about asking for help on http://www.rubyflow.com/? Maybe we/you could even ask Peter Cooper to include this request in his weekly newsletter? @jarib What do you think?

I might be able to help out with it.
I may not be much of a consumer of the gem, but I think that I understand the concept of the thing and it is interesting. The code looks clean, the documentation is decent enough and there is a test framework in place. I'm game enough to give it a try.

@enkessler Great! Thanks a lot.

@enkessler That's great! Let me get my ducks in a row and I'll hand over the keys to you.

👍 🎉 🎈 nice one @enkessler thank you! This gem is an important part of the Cucumber ecosystem.

Thanks, all. This will be the first gem that I've had to work with (as a maintainer instead of a normal contributor) that appears to have any sort of popularity. The experience should be interesting.

We're all here to help you @enkessler - give me a shout anytime if you need to talk anything through.

@mattwynne Much appreciated.

@enkessler I've initiated the repo transfer and added you as a gem owner. Don't hesitate to ask if you have any questions, now or in the future.


Adding a configuration toggle for saving checkpoints to wandb.

This toggle helps keep the wandb memory usage down during sweeps.

@yangfei4 Let us get back into the habit of using PRs. It will only help you during prepare for your fulltime work.


Update file-forwarder.py

I'm under the impression that the optional_env_var is implemented as to give a value to the var or the default value, in this case 3.
("RETRIES", 3)


feat: add airbnb eslint and prettier configs

we can add airbnb configurations for better project management. I created it as a new issue to implement it more properly.

I may do it, if it is okey?

there is no problem for me


Close event will trigger "hide.bs.modal" abnormally

When datetimepicker close, "hide.bs.modal" will trigger but modal won't hide.
Expect this event won't trigger.

Same behaviour here.
Why is these event being triggered?

Hi i finally can reply  at here.
Things happen like this:
Put a  inside  a bootstrap modal, then initialize datetimepicker for this input.
Trigger modal show, then click input and change or not change chosen time.
Then click somewhere outside the element of datetimepicker, this event will triggered.
I don't know how to use JSFiddler for adding bootstrap into it, if source code is needed, i can paste it at here.


README contains non-link

[Fixed] in the first parargaph of the ## Queue Implementations section.

Addressed in https://github.com/worm-blossom/ufotofu_queues/pull/7


"Error: "\xC3" from ASCII-8BIT to UTF-8" when installing

Skipping rsstail (no bottle for Linux)
Skipping rsstail (no bottle for Linux)
Error: "\xC3" from ASCII-8BIT to UTF-8
Please report this bug:
  https://github.com/Homebrew/homebrew-bundle/issues
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/lib/ruby/2.6.0/json/common.rb:286:in `encode'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/lib/ruby/2.6.0/json/common.rb:286:in `generate'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/lib/ruby/2.6.0/json/common.rb:286:in `pretty_generate'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/locker.rb:76:in `lock'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/installer.rb:64:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/commands/install.rb:10:in `run'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd/bundle.rb:94:in `bundle'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'

$ cat Brewfile
brew 'docker-compose'
brew 'rsstail'

Brand new elementaryOS installation today.

https://www.codetable.net/hex/c3 = Ã

Found it. I injected pretty print right before the call to JSON.pretty_generate(lock) in locker.rb:
{"entries"=>
  {"brew"=>
    {"docker-compose"=>
      {:version=>"2.2.3",
       :bottle=>
        {:rebuild=>0,
         :root_url=>"https://ghcr.io/v2/homebrew/core",
         :files=>
          {:arm64_monterey=>
            {:cellar=>":any_skip_relocation",
             :url=>
              "https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:1cccd370674458075325d199f4ebcabe3a34824a6dbad8346b96cdabda1fd0a9",
             :sha256=>
              "1cccd370674458075325d199f4ebcabe3a34824a6dbad8346b96cdabda1fd0a9"},
           :arm64_big_sur=>
            {:cellar=>":any_skip_relocation",
             :url=>
              "https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:1cccd370674458075325d199f4ebcabe3a34824a6dbad8346b96cdabda1fd0a9",
             :sha256=>
              "1cccd370674458075325d199f4ebcabe3a34824a6dbad8346b96cdabda1fd0a9"},
           :monterey=>
            {:cellar=>":any_skip_relocation",
             :url=>
              "https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:af736ed84076648e371bd5016c0f511e3cad3670b2eb1e17f3a33d0ecdb69fb8",
             :sha256=>
              "af736ed84076648e371bd5016c0f511e3cad3670b2eb1e17f3a33d0ecdb69fb8"},
           :big_sur=>
            {:cellar=>":any_skip_relocation",
             :url=>
              "https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:af736ed84076648e371bd5016c0f511e3cad3670b2eb1e17f3a33d0ecdb69fb8",
             :sha256=>
              "af736ed84076648e371bd5016c0f511e3cad3670b2eb1e17f3a33d0ecdb69fb8"},
           :catalina=>
            {:cellar=>":any_skip_relocation",
             :url=>
              "https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:af736ed84076648e371bd5016c0f511e3cad3670b2eb1e17f3a33d0ecdb69fb8",
             :sha256=>
              "af736ed84076648e371bd5016c0f511e3cad3670b2eb1e17f3a33d0ecdb69fb8"},
           :x86_64_linux=>
            {:cellar=>":any_skip_relocation",
             :url=>
              "https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:d222b0d3495bf8dde607c3a721f1556d9e2749e6c83030d0665312f7713ab011",
             :sha256=>
              "d222b0d3495bf8dde607c3a721f1556d9e2749e6c83030d0665312f7713ab011"}}}}}},
 "system"=>
  {"linux"=>
    {"elementary OS 6.1 J\xC3\xB3lnir (jolnir)"=>
      {"HOMEBREW_VERSION"=>"3.3.9",
       "HOMEBREW_PREFIX"=>"/home/linuxbrew/.linuxbrew",
       "Homebrew/linuxbrew-core"=>"8bdba997f6c32cdd556b2ef21a619adf662f561a",
       "GCC"=>
        #<Version:0x0000000002880688
         @detected_from_url=false,
         @version="9.3.0">}}}}

https://github.com/Homebrew/homebrew-bundle/blob/407dafc7dbdacd1d897cfc79e8c3ab86a859ca71/lib/bundle/locker.rb#L72-L73
The return of system_linux there is an ASCII-8BIT encoded string.

If I try to make it UTF-8 with version.encode("UTF-8"), it dies with the same error. If I try version.force_encoding("UTF-8"), then I get an error about modifying a frozen string. If I do version.dup.force_encoding("UTF-8"), then it works. I can then drop in
version = version.dup.force_encoding("UTF-8")

and I'm able to complete the brew bundle execution.
I don't think that's the right fix, though: I think the return value of OS::Linux.os_version should be UTF-8 encoded, right?

According to https://github.com/Homebrew/brew/blob/7fc2159fcddd1deed70d2a7225d34750f080160b/Library/Homebrew/brew.sh#L314-L338, LC_ALL should be forced to a UTF-8 encoding. Perhaps it's not doing the expected on your system?

[21:47:35 colin@balance ~ ]
$ echo $LC_ALL

[21:47:41 colin@balance ~ ]
$ if [[ -n "${HOMEBREW_MACOS}" ]]
> then
>   if [[ "$(locale charmap)" != "UTF-8" ]]
>   then
>     export LC_ALL="en_US.UTF-8"
>   fi
> else
>   if ! command -v locale >/dev/null
>   then
>     export LC_ALL=C
>   elif [[ "$(locale charmap)" != "UTF-8" ]]
>   then
>     locales="$(locale -a)"
>     c_utf_regex='\bC\.(utf8|UTF-8)\b'
>     en_us_regex='\ben_US\.(utf8|UTF-8)\b'
>     utf_regex='\b[a-z][a-z]_[A-Z][A-Z]\.(utf8|UTF-8)\b'
>     if [[ ${locales} =~ ${c_utf_regex} || ${locales} =~ ${en_us_regex} || ${locales} =~ ${utf_regex} ]]
>     then
>       export LC_ALL="${BASH_REMATCH[0]}"
>     else
>       export LC_ALL=C
>     fi
>   fi
> fi
[21:47:56 colin@balance ~ ]
$ echo $LC_ALL

[21:51:50 colin@balance ~ ]
$ [[ ${locales} =~ ${c_utf_regex} ]]
[21:51:55 colin@balance ~ ]
$ echo $?
0
[21:51:56 colin@balance ~ ]
$ echo ${BASH_REMATCH[0]}
C.UTF-8
[21:52:27 colin@balance ~ ]
$ [[ ${locales} =~ ${en_us_regex} ]]
[21:52:50 colin@balance ~ ]
$ echo ${BASH_REMATCH[0]}
en_US.utf8
[21:52:54 colin@balance ~ ]
$ [[ ${locales} =~ ${utf_regex} ]]
[21:53:03 colin@balance ~ ]
$ echo ${BASH_REMATCH[0]}
bg_BG.utf8

In binary mode:
$ for i in C C.UTF-8 en_US.UTF-8 en_US.utf8; do LC_ALL="${i}" ruby -e 'p ENV["LC_ALL"]; p IO.popen("lsb_release -a", "rb").readlines.map(&:encoding)'; done
"C"
No LSB modules are available.
[#<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>]
"C.UTF-8"
No LSB modules are available.
[#<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>]
"en_US.UTF-8"
No LSB modules are available.
[#<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>]
"en_US.utf8"
No LSB modules are available.
[#<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>, #<Encoding:ASCII-8BIT>]

Without binary mode:
$ for i in C C.UTF-8 en_US.UTF-8 en_US.utf8; do LC_ALL="${i}" ruby -e 'p ENV["LC_ALL"]; p IO.popen("lsb_release -a", "r").readlines.map(&:encoding)'; done
"C"
No LSB modules are available.
[#<Encoding:US-ASCII>, #<Encoding:US-ASCII>, #<Encoding:US-ASCII>, #<Encoding:US-ASCII>]
"C.UTF-8"
No LSB modules are available.
[#<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>]
"en_US.UTF-8"
No LSB modules are available.
[#<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>]
"en_US.utf8"
No LSB modules are available.
[#<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>]

IO.popen allows explicitly setting the expected encoding:
for i in C C.UTF-8 en_US.UTF-8 en_US.utf8; do LC_ALL="${i}" ruby -e 'p ENV["LC_ALL"]; p IO.popen("lsb_release -a", "rb", external_encoding: "UTF-8").readlines.map(&:encoding)'; done
"C"
No LSB modules are available.
[#<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>]
"C.UTF-8"
No LSB modules are available.
[#<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>]
"en_US.UTF-8"
No LSB modules are available.
[#<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>]
"en_US.utf8"
No LSB modules are available.
[#<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>, #<Encoding:UTF-8>]

I tried to dig through ruby's io.c to figure how how the encoding is determined but ~C hurts my brain~ I think I've been looking at a screen too long today to quickly find it.

I needed to read a bit more. It's here but I'm stopping there... this is not a bug in Ruby, haha.


Option Not Available to View Marked Transactions

This page references to go to the following location:
(Accounts receivable > Periodic tasks > Customer marked transaction details)
However, no such option can be found on our system and we recently upgraded to 10.0.25.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2b2a4651-651e-c969-43e4-44cdf8af81d6
Version Independent ID: a74845f6-6a8a-bc14-d3a0-61118a2a8f66
Content: Settlement overview - Finance | Dynamics 365
Content Source: articles/finance/cash-bank-management/settlement-overview.md
Service: dynamics-365-finance
Product: ****
Technology: ****
GitHub Login: @panolte
Microsoft Alias: panolte

@PayneNathan, thank you for the feedback.
@panolte, please review this feedback and update the content as needed.

There is a feature called Marked transaction detail form.  This feature will need to be enabled to use this functionality.


A couple of build issues

Hi!
🚀 First of all, thank you for this comprehensive starter pack! 🚀
It could become my go-to setup when working with PHP sites!
I do have a couple of problems, though. They might all be related to my limited knowledge of PHP and Apache, though.
However, simply cloning the repo, installing the dependencies for node and PHP, and running npm run build (without touching anything) produces a dist folder that does not seem to work in any environment I could test. I think I know why, but again, I might just have missed something.
Putting the content of the dist folder in an Apache environment doesn't seem to work, and here is where it gets interesting...

1. system/main.php can't be found
This is ironic because it would set the necessary include_path. 😄
This results in the following error:
Warning: require(system/main.php): Failed to open stream: No such file or directory in /opt/homebrew/var/www/test/pages/index.php on line 4

Fatal error: Uncaught Error: Failed opening required 'system/main.php' (include_path='.:/opt/homebrew/Cellar/php/8.3.9/share/php/pear') in /opt/homebrew/var/www/test/pages/index.php:4 Stack trace: #0 {main} thrown in /opt/homebrew/var/www/test/pages/index.php on line 4

Changing the require to ../system/main.php would work, but I might be missing something.

2. The compiled .js files are inserted at the beginning of the built PHP files...
and reference elements that aren't on the page yet. So, the whole getElementById approach crashes the page.
As an example, pages/index.php
<?php
require('system/main.php');

$layout = new HTML(title: 'PHP via Vite');
?>

  <?php include('partials/nav.php'); ?>

    <?php include('partials/vite-name.php'); ?>

+

gets compiled to

<link rel="modulepreload" crossorigin href="/public/modulepreload-polyfill-B5Qt9EMX.js">
<?php
require('system/main.php');

$layout = new HTML(title: 'PHP via Vite');
?>

  <?php include('partials/nav.php'); ?>

    <?php include('partials/vite-name.php'); ?>

+

and index.php-DlZYXcJR.js starts with const t=document.querySelector("#repos"), with #repos not existing at this point.

I'm not sure why the scripts get inserted at the beginning of the build files while they are at the end of the source files or what to do about that.
Moving

<link rel="modulepreload" crossorigin href="/public/modulepreload-polyfill-B5Qt9EMX.js">

manually to the end and changing require('system/main.php'); to require('../system/main.php'); in all the PHP files fixes those two problems, and the site seems to work fine.

As a side note, I assume you haven't set this up to use vite preview, as this isn't a script in package.json and uses the basepath pages by default. Anything is only available using pages twice in the URL, for example, http://localhost:4173/pages/pages/index.php. Running npx vite preview --base / fixes that problem, but the .htaccess file obviously doesn't work this way either.
Changing vite.config.js from
export default defineConfig(({ command }) => {
  const base = command === 'serve' ? '/pages/' : '/';
  // ...

to
export default defineConfig(({ command, mode }) => {
  const base = mode === 'development' ? '/pages/' : '/';
  // ...

fixes the basepath problem for vite preview. I'm unsure if the new rewriteUrl function would deal with the missing support for .htaccess. I don't think it could, but that's not really important anyway.

My setup:
Node: v18.20.3
PHP: v8.3.9
Thanks in advance!
Cheers,
Nicolas

thx for your post here. Facing the same issues on windows here...

Hi @NicolasReibnitz,
I am glad, that you you like our PHP starter repository that much!
Our goal is to become something like Astro, but for PHP 😉

1. system/main.php can't be found
No worries you did nothing wrong in your testing setup - unfortunately we didn't test the build in a local, nested environment...
And this is also where the problem was:
Our first assumption was, that whenever you deploy the dist folder usually the domain points to the root (where the .htaccess lives) und the scripts are executed solely from there. Now this issue should be resolved with #3.
2. The compiled .js files are inserted at the beginning of the built PHP files...
This seems to be a known thing in Vite, see this discussion.
Apparently


chore(README): Explain screenshots (#41)

Issue #.
Adresses #41
Changes:
Adds an initial explanation of the included screenshots.

Good catch @alexhauser! I fixed it using the Github code change suggestion feature, now I see it made one commit each for those things, so I suggest a Squash-merge rather than normal merge once this is approved.

@sesam,
I'm not a native English speaker, so bear with me if I'm mistaken here, but to me this still seems wrong:

... before having enabled SQRL for log in.

To me, it seems it should either be

... before having enabled SQRL for login.
or
... before having enabled SQRL for logging in.

After all, as a verb is's "to log in", but the noun for the procedure is "the login".

Thank you @alexhauser - two occurences of this "Swenglish" fixed. Keep the fix requests coming :)


netsim udp connect test

rustfmt is failing

Looks good to me. Although 2 things I'd like to mention:

commit message format: https://github.com/autumnai/leaf/blob/master/CONTRIBUTING.md#commit-message-format
and PR format - we started labeling PR's with JIRA issue numbers, e.g. https://github.com/maidsafe/rust_sodium/pull/57

Oh, right. Sorry.


pekko.apache.org web nav's color needs to be updated

I think the color of the nav bar and section links of https://pekko.apache.org/docs/pekko/current/ need to be updated.
Keeping web site color adjusted with logo will give more professional look.
The update can be like the below one.

Moved to this repo - probably best one for it.

closing, as reporter has created https://github.com/apache/incubator-pekko/discussions/214


How to get current state in my action creator?

I've the following action creator
export const addNewMedia = (media) => ({
  type: ADD_NEW_MEDIA,
  media,
});

This accepts a new media and appends it to the current state. This is how I'm handling it in the reducer:
case ADD_NEW_MEDIA:
  updatedState = state.get('medias').get('data');
  updatedState.push(action.media);

  return state
    .setIn(['medias', 'data'], updatedState)
    .set('hasNewMedia', false);

Now, I don't want this logic in my reducer and want to put this in my action creator. To do so, I'll need the current state of my app inside my addNewMedia action creator.
How can I get my current state in the action creator?

@ghoshnirmalya I think you are confusing the core concept of Redux. Action creator should know payload and required state which is needed to change state. So, you must create a payload with the necessary state to create an action.

Yes. That's true. But, in redux-thunk, I can do something like:
export function getBlogs() {
  return (dispatch, getState) => {
    const project = getState().project.get('project'); // this would get the project state

    // ....
  };
}

Is this possible to do in redux-saga?

I think you should have written this way.
export function getBlogs(project) {
  return (dispatch) => {
    ...
    // ....
  };
}

Is there any reason to pass getState and get project in the action creator file?

Its possible by splittin action in to 2. U listen for 1 in the saga (with take), use select effect, prepare ur second action and put (dispatch) it. Its an overkill though. U should be able to create the neccessary payload brfore dispatching in the first place
Also as thunk is rly lightweight u can mix both - thunk and saga

@doortts @Andarist thank you for your reply. I just didn't want to pass the project object as an argument to the getBlogs function as I wondered if there was any easy way (not an overkill process) of getting the state inside the getBlogs function.
If I've to pass it like @doortts suggested, then this issue can be closed.

@ghoshnirmalya : ) well, then, how about pass state itself with payload? In fact, I have never tried but technically it will (maybe) work

Just to mention before closing that what @doortts specified in https://github.com/redux-saga/redux-saga/issues/1002#issuecomment-304441705, works fine!

export const ActionCreator = () => async (dispatch , state) => {
console.log(state()) ;
} ;
simply pass second parameter to the actionCreator and you will access store state


add unit tests and CI

scan code is used to verify proper licenses, and common code formats across a number of repositories.
this repo should have unit tests that validate that scan code is working as expected; with Travis CI configured to run them.

@mrutkows I see tests per https://github.com/apache/incubator-openwhisk-utilities/blob/master/scancode/test.sh is this ok to close?

done long time ago...


Re #10 Create new search type that uses letters and words

Hitherto, searches were limited to numeric searches or dictionary searches. The herein added search does a traditional brute-force search using a currently-hardcoded character-set. The characters in the characterset are a-zA-Z0-9, so passwords like EatMy59Pandas will be covered. The search strategy takes a maximum length and uses four characters as a minimum length.

Looks good, but imo it should be possible to set a lower bound on the password length aswell, since I can think of a few situations where the password has a minimum length off the top of my head

Totally agree. Just pushed an update with a --min-length flag.

Hey @limitedAtonement @Pommaq, is this PR in a "ready to be merged" state? I will merge it right away just let me know! And Thank you so much for the contributions, I have been away from GitHub with other priorities so I really appreciate the attention/maintenance this project has been getting. :raised_hands::heart:


Inline SVG as img tags

I'm trying to have a nice way to render math with WeasyPrint. Unfortunately WeasyPrint doesn't support inline SVG images and from the timeline of Kozea/WeasyPrint#75 this may not change any time soon. As a stop-gap measure I'm postprocessing the output of KaTeX and have replaced the inline SVG tags with img tags and base64 encoded svg images.
Here is some example output: https://gist.github.com/mbarkhau/ff263164cd162ff1fd734c2b0ce23241
Unfortunately some of the rules of katex.css are not applied to the img tags. This is fine for such things as stroke and fill (I don't expect css rules to apply inside an SVG rendered as an img), but not for styles related to layout of the img itself. To fix this for the above example, I added the following styles, taken from the .katex svg rule in katex.css.
    .katex img {
      display: block;
      position: absolute;
      width: 100%;
      height: inherit;
    }

My request would be to add the above rules (or equivalent) to katex.css. This would allow me to use the standard version of katex.css for my post-processed output.
I hope such a change won't break any existing rendering (are img elements used for other things inside of  ?). If it would break things, then I could for example add class="svg" to the img tag during the post-processing, which would allow for a more specific rule that wouldn't interfere with the rendering of other img elements.
In the particular example I chose the inline SVG tags did not appear to depend on the CSS rules, which made this approach possible. Judging by the use of stroke and fill in katex.css, I imagine this isn't true in general. Are the square root symbols an overly simplified case and there are other cases for which this post-processing approach would break?

@mbarkhau That's an interesting problem and you are taking an interesting approach.
Where are you getting the base64 encoded svg images? Are they static SVGs from the paths in KaTeX svgGeometry.js? If so, you should know that KaTeX now modifies the height of very tall \sqrt radicals at runtime, and if PR #1964 is approved, then many more radicals would be modified at runtime.
I can't think of any reason otherwise why your proposal would not work, but I want to give it more thought before I'm sure.

The output was generated using the markdown-katex package. Yes KaTeX is bundled together with 3 node interpreters in a python package; I hope the gods will forgive me.
More specifically, the html output generated by katex-cli is post-processed using svg2img(html: str) -> str:.
It "parses" the html using the regexp <svg.*?</svg> and replaces every match with a reencoded  equivalent. In other words, this assumes the output of katex-cli is final and can be rendered statically. I'm not sure if the height modifications at runtime that you mentioned are precluded by that.

@mbarkhau A post processor as you describe will work fine. The runtime height is already set before your post-processor begins work.
As to your original question, will KaTeX adopt a .katex img selector and rule? On that question I will defer to @kevinbarabash. You might try putting  your code into  katex.less and opening a pull request.

@ronkok How would the proposed .katex img rule interact with your forthcoming support of \includegraphics?
I find the rule pretty weird, so my feeling is that it doesn't seem like a good general thing to include. But I'm happy to be convinced otherwise if you can explain the rule.
I also don't understand the motivation for pushing these changes into KaTeX directly. Why can't you have a second CSS file?

I also don't understand the motivation for pushing these changes into KaTeX directly. Why can't you have a second CSS file?

I think it was a bad idea. You're right, I'll just add a custom rule as part of the page.


Add Netflix Hystrix + Turbine Dashboard for cluster-wide monitoring of circuit-breaker activity

https://github.com/fluxcapacitor/pipeline/tree/master/myapps/serving/turbine


Link modules and deliverables search tables

Allow navigating to the deliverables search table directly from modules
rather than requiring the search to bounce through projectDeliverables.

#2505  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Oct 17, 10:14 AM EDT: A user merged this pull request with Graphite.


Rust borrow error in somewhere

One dependency conflict later...
After changing the version of react-firebaseui to latest(5.0.2), it finally stopped complaining about dependency issues.
But it didn't want to run. Specifically, the canvas didn't work.
Seems like a borrow error.
(Browser console log attached below.)
localhost-1621671276659.log

fix in #144.

'Rust borrow error'
you mean dust?


Start receiving messages after WebSocket session established

Motivation
In rare cases, WebSocket client that start consuming can not receive any messages from WebSocket Proxy even though messages are still in the backlog.
As a result of the investigation, I found that NullPointerException occurred at either of the following lines:

https://github.com/apache/incubator-pulsar/blob/bcc74044288932acc9e83b04001bf1ced17d7780/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ConsumerHandler.java#L118
https://github.com/apache/incubator-pulsar/blob/bcc74044288932acc9e83b04001bf1ced17d7780/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ConsumerHandler.java#L136

It seems that getSession() returns null because WebSocket session establishment has not been completed.
Modifications
Move the first call of receiveMessage() from the constructor to onWebSocketConnect() in ConsumerHandler.
Result
ConsumerHandler starts receiving messages after WebSocket session established.
Therefore, we can avoid NullPointerException.

retest this please

LGTM 👍


Improve debugability

actonc produces C output, which it uses cc to compile. When debugging a program it can be useful to peek at this intermediate output. We should have an option to keep the output? I guess it would also be useful to be able to specify the output dir for this intermediate output rather than have it be some random temp directory which changes on each invocation.
Maybe we can even write the cc commands to a small shell script?

--keeptemp to keep the temporary intermediate output
--tempdir to specify the temporary directory

should this imply --keeptemp perhaps?

How should the user compile the output? Run with --ccmd and manually copy-paste?


Clicking "Sync Branch List" should not lose selected branch

Clicking Sync Branch List causes the selected branch to be changed, which can cause the wrong branches to be submitted in Release Requests often if people forget to change them. I think users intentions in a lot of cases is just quickly refreshing the SHA to make sure they have the latest.
Ideally, clicking Sync Branch List would:

Keep the branch you had previously selected.
Unless the branch had been deleted, in which case selecting an "empty" branch option by default.

A validation on RR submit would not allow the RR to be submitted if no branch was selected.

Fixed in 9784e771823710e7563b3313d320420b9cbb829f


fail to register compute nodes to SGE

Environment:

AWS ParallelCluster : version 2.3.1
OS: CentOS7
Scheduler: SGE
Master instance type: m5.2xlarge
Compute instance type: c5.18xlarge

Bug description and how to reproduce:
after rebooting the master node, submitted jobs keep qw status.
Jobwatcher and sqswatcher seem to work normally. I can see the compute nodes' host name in DynamoDB. But those host never show up in qhost.
ParallelCluster continue to fail register compute hosts into SGE.
I restarted jobwatacher and sqswatcher once, but the situation did not change.

sqswatcher.txt
jobwatcher.txt

my config is below
[aws]
aws_region_name = us-west-2
[vpc HPC_VPC]
master_subnet_id = XXXXXXXXX
compute_subnet_id = XXXXXXXXXX
vpc_id = XXXXXXXX
ssh_from = XXXXXXXX
additional_sg = XXXXXXX
use_public_ips = false
[global]
update_check = true
sanity_check = true
cluster_template = default
[aliases]
ssh = ssh {CFN_USER}@{MASTER_IP} {ARGS}
[cluster default]
vpc_settings = XXXXXX
key_name = XXXXXXX
master_instance_type = m5.2xlarge
compute_instance_type = c5.18xlarge
initial_queue_size = 0
max_queue_size = 57
maintain_initial_size = false
scheduler = sge
cluster_type = spot
spot_bid_percentage = 100
ephemeral_dir = /scratch
shared_dir = shared
encrypted_ephemeral = false
ebs_settings = shared
master_root_volume_size = 30
compute_root_volume_size = 30
base_os = centos7
ec2_iam_role = parallecluster_EC2_role
scaling_settings = custom
placement_group = DYNAMIC
placement = compute
post_install = XXXXXXXXXX
extra_json = { "cfncluster" : { "cfn_scheduler_slots" : "cores" } }
[ebs shared]
volume_type = gp2
volume_size = 4000
encrypted = false
[scaling custom]
scaledown_idletime = 40

sqswatcher says,
2019-07-09 07:57:46,060 ERROR [sqswatcher:_process_instance_terminate_event] Instance i-0ae0b84c34839c264 not found in the database.
I checked the instance-id and private ip between EC2 console and DynamoDB. There are lots of unknown host data on DynamoDB. Some instances are already terminated. Some instances are registered double.
I removed doubled or unknown host info from DynamoDB.

Hi @porcaro33,
in sqswatcher there are a lot of EC2_INSTANCE_TERMINATE events, so it sounds like your post_install script is longer than the scaledown_idletime, same issue reported here https://github.com/aws/aws-parallelcluster/issues/1073
In ParallelCluster 2.4.0 we have improved this behaviour, see
https://github.com/aws/aws-parallelcluster/blame/develop/CHANGELOG.rst#L58-L59
We are also dumping logs of compute instances that fail initialization, see
https://github.com/aws/aws-parallelcluster/blame/develop/CHANGELOG.rst#L30
so it could help to understand issues on compute nodes side.

Hi @lukeseawalker
I extended scaledown_idletime a little bit and the scale-up feature is back now.
I will plan the upgrade of ParallelCluster to version 2.4.0.
Appreciate your suggestion:)

@porcaro33 thank you


Removed substr() and strlen() in favor of mb_*

This PR fixes the potential issue reported in #20.

@weierophinney can you merge this? Thanks!

Question: what happens when ext/mbstring is unavailable? Does the component throw an exception?

@weierophinney no it doesn't :( We should add the ext/mbstring dependency on composer, without managing it in the code, what do you think?

@ezimuel that would work. Add that, and then I think I can merge. I'll merge to develop for a forthcoming minor and/or major release, as it adds a requirement to the package.

Merged to develop for release with either a 2.7.0 or 3.0.0 release.

@weierophinney patch had no tests :-(

@Ocramius adding a test here is like to test the PHP str functions for binary safe. See this issue https://github.com/ezimuel/phpcrypto/issues/4. I don't think we need to provide one here. Thoughts?

Disagreement here. Anybody patching code that isn't tested against
multibyte strings could potentially re-introduce the problem. Also, there
is no validation for this fix.
On Apr 26, 2016 16:45, "Enrico Zimuel"<EMAIL_ADDRESS>wrote:

@Ocramius https://github.com/Ocramius adding a test here is like to
test the PHP str functions for binary safe. See this issue
ezimuel/phpcrypto#4 https://github.com/ezimuel/phpcrypto/issues/4. I
don't think we need to provide one here. Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/zendframework/zend-crypt/pull/22#issuecomment-214769201

@Ocramius ok, but how we can prevent to re-introduce the problem here? We should test all the functions of our code with a multibyte string?

Oof, yeah, I see your point, @Ocramius ; I was looking at it primarily as an internal refactor, and tests continued to pass, but the point is that multibyte strings should now also work, and if they don't it would be indicative of a regression.
@ezimuel — this would mean adding either a new test case, or an element in a test provider, for each of the methods affected. Let's open an issue for that, and schedule it for a 2.7.1 release.

@weierophinney I just opened the issue #23 /cc @Ocramius

Thanks, @weierophinney @ezimuel
I know I'm a pain in the arcough, I am just worried about the actual issue though :-)


Simplified code base, added random port for InMemoryEngine

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


SP.json

Translation to Spanish. / Traducción al español.

I went with #27. Thank you anyway for your time.


warn - The min-* and max-* variants are not supported with a screens configuration containing objects.

Hi
I get "warn - The min-* and max-* variants are not supported with a screens configuration containing objects." error when run "npm run dev" after install tailwind-elements
my tailwind.config.cjs :
theme: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
extend: {
screens: {
'lg-1100': '1100px',
'lg-1260': '1260px',
'lg-1100_xl-1379': {'min': '1100px', 'max': '1379px'},
'_xl-1379': {'max': '1379px'},
'_lg-1259': {'max': '1259px'},
'_lg-1099': {'max': '1099px'},
'_lg-1075': {'max': '1075px'},
'_md-949': {'max': '949px'},
'_sm-700': {'max': '700px'},
},
},
please help me

Hi, when does the problem occur? I have added your breakpoints to my fresh vite app, and I can use you custom breakpoints and do not see the issue. Maybe you could show us some code where this message is showing?


Fix Configuration(distributed=True) resulting in a command that is NOT distributed

As per support Case #488821, DVPL-7118, DEVC-1
In a generating command using SCP2 (chunked = true), commands are unexpectedly distributed
#!/usr/bin/env python
import sys
import time
import socket
from splunklib.searchcommands import dispatch, GeneratingCommand, Configuration, Option, validators
@Configuration(
distributed=False
)
class distfalse(GeneratingCommand):
def generate(self):
yield {'_time': time.time(), '_raw': 'This ran on ' + socket.gethostname()}
self.flush()
dispatch(distfalse, sys.argv, sys.stdin, sys.stdout, name)


Error starting boringproxy server: apparent syntax error

Hi @anderspitman , I get error messages on starting the server:
pi@raspberrypi:~ $ sudo ./boringproxy server
./boringproxy: 1: ./boringproxy: �F@p@8: not found
./boringproxy: 2: ./boringproxy: @@@@@00��@�@��@�@dd@@0�R0�RS���pF�pF���ـ�: not found
./boringproxy: 2: ./boringproxy: @: not found
./boringproxy: 1: ./boringproxy: ELF: not found
./boringproxy: 3: ./boringproxy: Syntax error: word unexpected (expecting ")")
pi@raspberrypi:~ $
Any comment?

Hi @Zygodon. Most likely you downloaded the -amd64 image file instead of the -arm64 file. You're not the first person to run into this problem. I've been using the default architecture names of the golang compiler because it's convenient, but I think I'm going to switch to x64 or x86_64 in the future.


Baking app: document all baking apdus

In the same style as the wallet app APDU doc, we should add one for the baking app, describing all the supported codes, and which specific operations are supported.

Not valid now. Baking app is in separate repo. It has its apdu documentation.


B 18914 int

18914

Also see PR to feature flag repo https://github.com/transcom/milmove-feature-flags/pull/91
Is there anything you would like reviewers to give additional scrutiny?

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against d7b7a9dcab8f93b0ea96ed4db2777f73ee40e5c8


google-map missing markers property

blocked on https://github.com/GoogleWebComponents/google-map/issues/183

related to https://github.com/dart-lang/polymer_elements/issues/7


Using Transactional Templates With The SMTP API

This doc needs to be improved. It makes many references in the "Body and Subject" tags section that are not expanded on in the doc.
For example (inline comments below).
Body and Subject Tags
Enabling a transactional template means that the subject and body content of your message will behave differently.
(reagan83): Ok, how differently?
If you want only the message’s content to be displayed, populate only the token in the template’s field.
(reagan83): what token in the template's field? There is no reference to 'token' anywhere in this doc other than in this sentence. Can we get an example?
If you want only the template’s content to be displayed, leave the message field (subject or body) empty, and the template will populate.
(reagan83): I can imagine most use cases will only want the template's content displayed (that's why we're using templates and in this doc section).
Text or HTML Templates?
It is best practice to provide content for both the html and the text properties in all of your emails.
(reagan83): Wait, what? Above you just said we could leave these fields empty to make use of template content.
The text property is substituted into the <%body%> of the text template and html is substituted into the <%body%> of the HTML template. If the text property is present, but not html, then the resulting email will only contain the text version of the template, not the HTML version. The <%subject%> property is used for both Text and HTML templates.
(reagan83): there are 0 examples on this page of using the <%body%> tag.
Thanks for taking a look at these comments. Please improve this section of the docs.
https://sendgrid.com/docs/API_Reference/Web_API_v3/Transactional_Templates/smtpapi.html

Hello @reagan83,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs

Seriously? That's a pretty unfortunate way to handle a backlog. As can be seen from my original thread from the low quality of your docs, and the follow-up you've done here, Sendgrid quality appears to be on the major decline.

I have reopened this issue because it is valid.

I think I am going to hijack this issue for completely redoing this page. So the to do here is to rewrite the Using Transactional Templates With the SMTP API.
Acceptance criteria:
New title: Sending a Transactional Template Email over SMTP
Includes these sections:
- Before you begin: this links out to other doc about required things you need to do before you can complete the steps on this page (like creating a transactional template)
- Sending a test email (with steps and most steps having verified working code example) - these steps should cover everything you have to do to A to Z send a transactional template over SMTP, including but not limited to setting the version, and enabling the subject and body tags correctly.
- Advanced options: include steps and instructions for using things like substitution and section tags

@ksigler7  Where would be the best place to submit a feature request for HTML templating?

@matthieunelmes send me an email [my github user] @ sendgrid dot com

I'll take this one up!

@ksigler7 I wanted to clarify, where should the new, Sending a Transactional Template Email over SMTP, page go?
I'm assuming under the SMTP API section?
Home > For Developers > Sending Email > Sending a Transactional Template Email over SMTP

@ksigler7 I'm going to start working on this in the meantime, but please feel free to comment if any corrections need to be made to my assumptions!


Plugin template scaffold generates package.json for easier publish

Describe the feature
https://github.com/swc-project/swc/discussions/3540#discussioncomment-2163346
When we create a plugin via template, we expect it'll be published as npm package in most cases. Having default package.json would be helpful.
We could do

create package.json by default
having a flag to indicate to create package.json.

For now I'm leaning on first approach, as said expect most of cases we expect plugin will be published as npm pkg and installed next to @swc/core.
Babel plugin or link to the feature description
No response
Additional context
No response

I see, seems reasonable to me.

I think a command to move/copy wasm files to the package directory would be enough. (Currently moving wasm using bash in monorepo is hard)

I think it can be like
{
    "main": "my-swc-plugin.wasm",
    "scripts": {
      "pre-release": "cargo build --release && cp target/wasm32-wasi/release/my-swc-plugin.wasm .",
      "publish":"npm publish"
    },
    "files":[
        "my-swc-plugin.wasm",
    ],
// ...
  }

just put package.json next to cargo.toml

Yeah, I'll do it for now.

I'm trying to understand: why we have to copy?
I was thinking
package.json
{
   main: target/.../a.wasm // we know this path when `plugin new` command runs as we know what target we'll build
}

This removes needs of redundant post / pre script hooks.

Because the cargo target directory can be outside of the npm package directory.

Because the cargo target directory can be outside of the npm package directory.

That means this copy
cp target/wasm32-wasi/release/my-swc-plugin.wasm .

also won't work transparently, isn't it? at the moment of project creation, we don't know if /target will be next to the package.json or not. It's the reason I suggested to go with starightforward approach first and see if there's other possible cases.

Yeah I also think we can patch after collecting feedback.
I'll use cp for swc-project/plugins for now

main: 'target/.../a.wasm'

I'm not familier with npm publish,
I'm worried about this will create a release like
- target
  - wasm32-wasi
    - release
      - my-swc-plugin.wasm


Light client might downgrade already Trusted blocks to Verified

In the light client verification loop, we only look in the store for a block at the current height that is either Verified or Unverified (ie. we fetch it from a node), which may miss a block that has previously gone through fork detection and has been marked as Trusted. We then fetch it again from the peer, go through verification again, and then override its status to Verified, thus downgrading it from Trusted to Verified.
This is an issue because:
a) it's wasteful to re-fetch and re-verify a block from a node when we already trust it.
b) we may end up downgrading the status of a trusted block to verified, whether or not we fix a)
So I guess the question here is: what do we do if, during bisection, we encounter a block to verify that has i) already been verified, or ii) is already trusted?
Do we skip verification altogether and just move on to (schedule) the next block to verify?
Do we reverify the block anyway, and ensure we don't downgrade it's status if verification succeeds?
Something else?

https://github.com/informalsystems/tendermint-rs/blob/142796b0cc37319f91af55cf2703b96a0cb80230/light-client/src/light_client.rs#L157
https://github.com/informalsystems/tendermint-rs/blob/142796b0cc37319f91af55cf2703b96a0cb80230/light-client/src/light_client.rs#L246

I guess the question here is: what do we do if, during bisection, we encounter a block to verify that has a) already been verified, or b) is already trusted?

Note: just updated the issue

$ ping @OStevan @josef-widder @milosevic @ebuchman

There are several questions in the issue. First, in the last version of the spec, I considered trusted to be a special case of verified (e.g., latestverified may also return a trusted header).
Second, in the current spec, I thought that such a case does not exists (revisiting a verified lightblock in the loop). If a height < latestverified should be verified, we generate an auxiliary lightstore that only contains one (older) header. I think we should discuss how such cases you mention can show up?

There are several questions in the issue. First, in the last version of the spec, I considered trusted to be a special case of verified (e.g., latestverified may also return a trusted header).

Right, that's something I've fixed as part of #419.

Second, in the current spec, I thought that such a case does not exists (revisiting a verified lightblock in the loop). If a height < latestverified should be verified, we generate an auxiliary lightstore that only contains one (older) header. I think we should discuss how such cases you mention can show up?

True, I overlooked that height < latest_verified is the only case where that could happen, but that's not handled yet in the code. So I guess it's currently a non-issue, and won't ever happen either once we handle that case.
Closing this and re-opening an issue for the first item.


Separate view motion module from routing module

This should be done after #386 is finished.
Right now foundation.dynamicRouting.animations is dependent on foundation.dynamicRouting, and if you create routes by hand in the JavaScript, even if you add motion classes, they won't be applied to the views when state changes. Here's an example of a vanilla route with motion classes:
$stateProvider
  .state('home', {
    url: '/',
    templateUrl: 'templates/home.html',
    data: { vars: {
      animationIn: 'fadeIn'
      animationOut: 'fadeOut'
    } }
  });

These won't be applied, because the routes weren't defined by the dynamic routing module.
@jeaniec was able to monkey patch a fix onto a project for me, so I think we know how to solve this, we just need the sweeping changes to view animation in master first.

Closed with #386.


When will release code for HoP on BEVFormer?

Hi, @TempleX98 @Sense-X @CaraJ7
Thanks for your great work!
I'd like to know any plan to release code for HoP on BEVFormer?

Thanks for your great work!
I'd like to know any plan to release code for HoP on BEVFormer?


feat: add support for lambda to create a MosaicJSON representaion of a STAC API Search result

Issue: https://github.com/MAAP-Project/ZenHub/issues/339
Deployed to https://qnz86q6bnb.execute-api.us-east-1.amazonaws.com/v1/mosaics
A request like this, containing a stac_api_root, a username, and the same parameters as accepted by the STAC API Item Search endpoint (/search):
curl -X "POST" "https://qnz86q6bnb.execute-api.us-east-1.amazonaws.com/v1/mosaics" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "stac_api_root": "https://earth-search.aws.element84.com/v0",
  "username": "philvarner",
  "datetime": "2021-04-20T00:00:00Z/2021-04-21T02:00:00Z",
  "collections": [
    "sentinel-s2-l2a-cogs"
  ],
  "bbox": [
    20,
    20,
    21,
    21
  ]
}'

will generate a mosaicjson endpoint and return a body with a Link to the tilejson for it:
{
  "id": "philvarner.RNOyIRiuXOewxcwtbPuuaYWROmXtTxzy",
  "links": [
    {
      "href": "https://api.cogeo.xyz/mosaicjson/philvarner.RNOyIRiuXOewxcwtbPuuaYWROmXtTxzy/tilejson.json",
      "rel": "tilejson",
      "type": "application/json",
      "title": "TileJSON"
    }
  ]
}

This endpoint depends on cogeo-mosaic, which needs a newer version of rio-tiler (~=2.1.0) than dashboard api (2.0a.11). There are several incompatibilities between dashboard and rio-tiler >= 2.0.0, due to methods being removed in rio-tiler in 2.0.0 final that existed in the alphas. 🤷🏻 This shouldn't take but a few hours to fix, and it would be good in general to get rio-tiler upgraded.
This necessitated that the code be packaged separately and use a different setup.py, hence it all being a subdirectory.
Ideally, we could update dashboard api to use a newer rio-tiler and just incorporate all of this code for the mosaic_api as another endpoint in dashboard api. Another option would be to move dashboard_api into sibling directory to mosaic_api instead of being in a parent of it.
Remaining Issues:

more tests for external api failures
timeouts weren't triggering sometimes when STAC API hung

@philvarner 😭 we just updated a rio-tiler and cogeo-mosaic last week, I'm sorry for the trouble. I'll have a look at the PR as soon as I can!

I think we can close this in favor of using https://github.com/NASA-IMPACT/titiler/ for mosaic management and tiling right @philvarner ?


Updating multiple SendEnv results in wiping values

If an ssh_config file contains multiple SendEnv entries, like so:
SendEnv LANG
SendEnv LC_*

then updating SendEnv with the ssh_config type results in wiping all the values.
This probably applies to the sshd_config provider also, which uses a similar logic for entries such as AcceptEnv.

Attached code to demonstrate bug in ssh_config. Missing similar code for sshd_config and resolution.

Coverage decreased (-0.86%) to 97.25% when pulling 146892af564b060a7dc6c8a1886e4822fb01a781 on raphink:issue/7 into bfd69b4cf19abeec5ad4e25eddcc362a6188f6a4 on hercules-team:master.

Coverage decreased (-0.82%) to 97.3% when pulling 146892af564b060a7dc6c8a1886e4822fb01a781 on raphink:issue/7 into bfd69b4cf19abeec5ad4e25eddcc362a6188f6a4 on hercules-team:master.

Fixed in #12


forward sim example command line

Too much of the code is spend on clap's standard API.
Update it to use the clap proc macros.

Closed by #320


Bundle or auto-configure a STUN/TURN server

https://github.com/trailofbits/tubertc/blob/master/server.js#L125-L146
See appIceServers: http://easyrtc.com/docs/guides/easyrtc_server_configuration.php
AFAIK the 3 most popular STUN/TURN servers are:

https://github.com/otalk/restund (C)
https://github.com/coturn/coturn (C)
http://www.resiprocate.org/Main_Page (C++)

Guides

http://www.html5rocks.com/en/tutorials/webrtc/infrastructure/#after-signaling-using-ice-to-cope-with-nats-and-firewalls
https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html
http://www.rtcquickstart.org/ICE-STUN-TURN-server-installation

There are a variety of ways to "bundle" a STUN/TURN server, but I think an Ansible script would work best.

Hey when I try connecting users from outside the lan it either takes a lot of time or doesn't connect at all, can I configure my own STUN/TURN servers? If the answer is yes, where the config file for the TURN server list? Thanks!

@hayzamjs You can configure your own STUN/TURN servers in https://github.com/trailofbits/tubertc/blob/master/settings.json and https://github.com/trailofbits/tubertc/blob/master/settings.json
See https://easyrtc.com/docs/easyrtc_server_ice.php for formatting rules.

https://github.com/pions/turn might be a good candidate for a really simple TURN server


tf.distribute.experimental.TPUStrategy doesn't render Stable correctly

URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/distribute/experimental/TPUStrategy?version=stable
Description of issue (what needs changing):
On the documentation page for tf.distribute.experimental.TPUStrategy, the Stable documentation is shown as the raw text of the documentation (looks like it's a combination of HTML and Markdown?).
Example below:

Clicking "See Nightly" it renders correctly, but clicking "See Stable" again it still shows the raw text again.

@uchua
Looks like browser issue.Can you please check again. I am not seeing any issue with the documentation.Thanks!

Yup looks like it loads correctly now. I tried it on Chrome on a couple computers yesterday and they all were doing the same thing, so I'm not sure what would've changed.


Replace ensure not symlink target

See comment trail on #77.

@iwarapter Quite a few changes... I'll let you review.

@racodond i think were both happy with this now yeah?

Yep. You can merge.


Backwards Compatibility broken: EventHandlindlingConfiguration is now async by default

When I create an EventHandlingConfiguration and assign an EventHandler to it:
EventHandlingConfiguration eventHandlingConfiguration = new EventHandlingConfiguration()         .registerEventHandler(c -> myEventHandler1)
this EventHandling will be a SubscribingEventProcessor in Axon 3.2 and invoked synchronously. In Axon 3.3 this defaults to a TrackingEventProcessor and is invoked asynchronously.
This can be fixed by explicitly specify to use a SubscribingEventProcessor:
EventHandlingConfiguration eventHandlingConfiguration = new EventHandlingConfiguration()                 .registerSubscribingEventProcessor(EVENT_HANDLER_PROCESSOR)                 .byDefaultAssignTo(EVENT_HANDLER_PROCESSOR)                 .registerEventHandler(c -> myEventHandler1)
Imho this is a breaking change. If this default is changed by design this should be stated in the release notes...

If I do a run through the code, more specifically the EventHandlingConfiguration, now paired with the EventProcessingConfiguration, I do not see that the default has changed.
When you register an Event Handler through the EventHandlingConfiguration#registerEventHandler(Function<Configuration, Object>), this will result in the Object returned by the Function to be added as an EventHandlerInvoker through the EventProcessingConfiguration#registerHandlerInvoker(String, Function<Configuration, EventHandlerInvoker>) function.
The EventProcessingConfiguration in turn will use these EventHandlerInvokers and put them in EventProcessor, for which it will use the EventProcessingConfiguration#defaultEventProcessor(String, Configuration, EventHandlerInvoker) funciton.
This function instantiates a SubscribingEventProcessor, not a TrackingEventProcessor like you're suggesting.
However, I do trust that you are seeing a different scenario in your use case.
The release I am pulling this code exert from is 3.3.5.
As that the same version you are using?
And, are you certain you are not using the usingTrackingProcessors() function (either of EventHandlingConfiguration or EventProcessingConfiguration)?
We have been experiencing some unpleasant situations with our switch from the EventHandlingConfiguration to the EventProcessingConfiguration, as you might have noticed.
My apologies for this; this was definitely not intended.
Let's try to figure out what the exact issue is in this scenario.

Hi Steven,
thanks for investigating into this issue.
@abuijze also answered in the mailing list.  Allard, here is the configuration you asked for in the mailing list.
I tried 3.3.0, 3.3.2 and 3.3.5 with just the same result.
No, I'm not using usingTrackingProcessors(). The configuration is simply as stated above:
EventHandlingConfiguration eventHandlingConfiguration = new EventHandlingConfiguration() .registerEventHandler(c -> myEventHandler1) .registerEventHandler(c -> myEventHandler2) .registerEventHandler(c -> myEventHandler3) ...
and
configurer..registerModule(eventHandlingConfiguration)
As I wrote in the mailinglist we have cucumber tests that send a command in one step and check for an event in a step afterwards. These cucumber steps are executed sequencially in thread "main". In Axon 2.2.x everything works fine. When I just change the Version in the maven POM with 3.3.5 (or 3.3.2...) the test fails. And I can see in the logs that every step until the the registered event handler is done in thread "main" and all steps beginning with the event handler are done async in a thread named "pool-4-thread-1".
If I set a breakpoint in the event handler I can see in the debugger that a TrackingEventProcessor is used (see the attached image 1).

With new EventHandlingConfiguration().registerSubscribingEventProcessor(EVENT_HANDLER_PROCESSOR) ...
the Stacktrace shows that a SubscribingEventProcessor is used (see Screenshot 2):

I am fairly certain the framework expects you to provide a single instance of the EventHandlingConfiguration.
Thus I would expect that if there are two EventHandlingConfiguration beans in play, that stuff might go haywire. @abuijze/@m1l4n54v1c, is that a fair assumption on my part?
Sadly I typically test from a Spring environment, within which I am certain this is the case.
I however believe you're not leveraging Spring, correct?
So follow up question: what happens if you remove one of the EventHandlingConfiguration instances you create or merge both EventHandlingConfiguration into one?

Hi @mvonrenteln,
Your assumption is correct. EventProcessingConfiguration is a singleton within Axon Configuration. EventHandlingConfiguration now delegates to EventProcessingConfiguration, that's why your handlers are assigned to the TrackingEventProcessor (since you requested it with EventProcessingConfiguration).
I would suggest creating a ProcessingGroups which would be configured in subscribing/tracking mode. This way you can assign your handlers to the corresponding processors.
Hope this helps!

We have looked at the configuration of event handling, and have created the outlines of a design to improve on it. See #740.

No, we are not using Spring but Axon standalone configurer in a JEE context.
In Axon 2.2 it was no problem to register two EventHandlingConfiguration's with registerModule(). It still works in Axon 3.3 when the processing mode is explixitly given.
I can confirm that usingTrackingProcessors() modifies the default for both instances. If I remove usingTrackingProcessors() both are subscribing and evereything works as before.

In https://docs.axonframework.org/part-ii-domain-logic/event-handling:
"Typically, an application will have a single EventHandlingConfiguration defined, but larger more modular applications may choose to define one per module."
If this is correct, EventHandlingConfiguration is not a singleton.

I tried to figure out how to configure a EventProcessor but the documentation does not mention EventProcessingConfiguration and how to register it. What is the missing link between a @ProcessingGroup annotated EventHandler and two EventProcessors for tracking and subscribing prosessing?

There are a few open issues in the documentation. Issue AxonFramework/ReferenceGuide#51 covers this description.
The short version is: event processing is divided into 3 parts.
1 - You handlers are assigned to groups. By default, the group is the package name of the class.
2 - Your groups are assigned to processors. By default, each group gets a processor.
3 - You specify the type and configuration you want for each processor
The split of EventHandlingConfiguration (taking care of step 1) and EventProcessingConfiguration (taking care of step 2 and 3) makes it possible to combine regular event handlers and Sagas into the same processor.
We aren't overly happy with the API and are currently looking into making it much easier to configure this for the next major release.
For now, you can register an EventProcessingConfiguration as a module in the Configurer, similar to the EventHandlingConfiguration.


I don't find neuron-norm in your code

In the weight_bias_norm function, i don't find neuron-norm

Me too

Parameter normalization is equivalent to transmitting threshold value in SNN


Add dynamic_embed_contents feature

Based on https://vercel.slack.com/archives/C04KC8A53T7/p1678496137453779?thread_ts=1678468241.013549&cid=C04KC8A53T7, our Next.js test suite is failing because the default test compilation is not portable. This is because the embed_dir and embed_file statically link the directory path into the binary, but do not statically embed the contents. If this same binary is executed on another machine that doesn't follow the exact same directory structure, it'll fail to embed the internal assets.

Need to keep this branch alive for a while...

it's a bit confusing to me that the next integration tests are using debug builds

We have debug_assert! that I think should still run during integration testing. I'd love to flip this so that we can force file embedding for tests, but I couldn't get a flag to actually apply from the next.js repo.


Default behavior change of (at least) both Compile-App* commands

Describe the issue
Based on PR #3430, the default behavior of at least both Compile-App* commands has changed on Azure DevOps. See commit.
In a way that cannot be seen when debugging because simple debugging has not changed. By automatically assigning environment vars for Azure DevOps to $BCContainerHelperConfig.IsAzureDevOps, the default output changes in the pipeline context only.
This change is not even mentioned in the release notes. I would like to see this prominently in the notes or even the default assignment reversed (as you @freddydk  mentioned IsGitHubActions and IsAzureDevOps - both default to $false.).
Thank you.

Yeah, this should have been mentioned in the release notes that there are three new settings, but could you explain to me what the problem is?

Of course. In pipeline runs, we are processing the raw compiler output, creating an object and finally an Excel sheet. And due to this change, the behavior in a pipeline changes, the format for errors are warnings does not match our regex anymore and only Infos are processed.
When debugging this outside of the pipeline, it works perfectly because env:TF_BUILD is not set. On top of it, you cannot see any difference in the pipeline output.
The defaults are according to the environment, which is not $false, but this, $true on DevOps run, false in plain PS:
            "IsGitHubActions" = ($env:GITHUB_ACTIONS -eq "true")
            "IsAzureDevOps" = ($env:TF_BUILD -eq "true")
            "IsGitLab" = ($env:GITLAB_CI -eq "true")

So, you are saying that in the old days - pipelines where running on AzureDevOps worked for you because the AzureDevOps flag was NOT set. And now - because the AzureDevOps flag is set, it doesn't work anymore?
and if you set $bcContainerHelperConfig.IsAzureDevOps to $false (or add it to the config file) then everything works again?

If you call last week "the old days" then yes. Before that change, the switches were not initialized, both AzureDevOps and gitHubActions were unset and your code returned the raw output:
    if ($AzureDevOps -or $gitHubActions) {
        $devOpsResult | ForEach-Object { $outputTo.Invoke($_) }
    }
    else {
        $result | ForEach-Object { $outputTo.Invoke($_) }
        if ($devOpsResult -like "*task.complete result=Failed*") {
            throw "App generation failed"
        }
    }

Now the config IsAzureDevOps is preinitialized with $env:TF_BUILD which is $true when running in the pipeline (changeing the behavior) and $false outside.
I am not asking to revert it, but to have the same default values again and/or very clear a mention in the release notes.
It took me and my company 10 hours to get a clear picture on what happend and I want to avoid that for others.

I will update releasenotes to include this change.
I do think it is a good thing to have AzureDevOps set to true when running Azure DevOps, GitHub Actions set to true when running GitHub etc. - but I can see that this apparently had some side effects in when things would fail, I wasn't aware of that.
Earlier it would output the Azure DevOps error text and throw an exception
Now it just outputs the Azure DevOps error text and doesn't throw an exception
Is this the essence of the problem?

So you basically want to handle the raw output yourself and not rely on the conversion in ContainerHelper.

Yes, I do. But now specifying both switches as -switch:$false. Additionally to the raw output, we also dump the Azure DevOps output with the Convert-ALC* command.

Not to highjack this topic but there is one more problem: I can suppress the warnings in compile with Compile-AppInBcContainer and Compile-AppWithBcCompilerFolder via the parameter but Validate-ALApp uses the compile but doesn't have the parameter so the warnings are always active now on DevOps if validation is run.
I can create a PR for this if you like.

@lktraser yeah, please do - I haven't heard the request from anybody, but would be fine.


Bump snapshot testing

Strange that Travis has taken jurisdiction over this repo.

@stephencelis oh ha! I started on converting prelude to buddy build and Travis last night


Read from memory instead of from disk?

Unless I'm mistaken, it's not possible to read a XLSX file from memory, only from disk, right? Could this easily be added?

If by "from memory" you mean you have a full FILE representation in memory, you could implement your own wrappers for fread / fwrite calls in the zippy implementation (the only location where files are written / loaded).
Reading from memory would be relatively easy, yes. You'd have to pass a pointer to the file in memory and the valid file size.
However, writing to memory would be more difficult because you would not know before saving how much memory you need to store the modified workbook.


Autorest Regen Preview to 3.0.0-alpha.20230607.4 by Chun Yu from refs/pull/3479/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3479

API change check
API changes are not detected in this pull request.


GET: state_get_dictionary_item not fully implemented

Fails with:
AttributeError: 'DictionaryID_UniqueKey' object has no attribute 'seed_uref'

This is still an issue in the current dev branch:
The following code snippets have been used to test:
get_faucet_private_key(ctx)

dictionary_id = DictionaryID_UniqueKey(
    key='account-hash-' + ctx.sender_key.account_key.hex()
)

ctx.dictionary_item = async_rpc_call(ctx.sdk_client_rpc.get_dictionary_item(dictionary_id))

get_faucet_private_key(ctx)

dictionary_id = DictionaryID_UniqueKey(
    key=ctx.sender_key.account_key
)

ctx.dictionary_item = async_rpc_call(ctx.sdk_client_rpc.get_dictionary_item(dictionary_id))

The contents of ctx.sender_key is:

The failure is the same:
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pycspr/api/rpc/params.py", line 123, in get_dictionary_param
    "Dictionary": identifier.seed_uref.as_string()
                  ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DictionaryID_UniqueKey' object has no attribute 'seed_uref'


Addblocker blocks internet connection

When an addblocker is enabled, the browser cannot connect to the Internet and the addblocker gets stuck.
When I disable the extension everything works, as soon as I enable the extension, the browser cannot connect to the internet.
Everything worked fine until I updated the browser and the whole system. With the old version everything worked (apt update && apt full-upgrade && apt autoremove && apt autoclean).
I`ve installed the browser via the Reopsetory: http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Focal/
Tested Add Blockers:
uBlock Origin: 1.40.8
AdGuard AdBlocker 3.6.17
uBlock Pro - #1 Adblocker 2.1.6
Browser: Version 95.0.4638.54 (Official Build, ungoogled-chromium) Ubuntu (64-bit)
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.11.5-custom
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
Memory: 13.7 GiB of RAM

Chromium 95 is an outdated version is no longer maintained. Please use an up to date release

The repository on OpenSUSE.org is out of dated, I have no other RePo. Can someone update the RePo? Please.

I know, thats why the string "an up to date release" is a link to - an up to date release.

Then I always have to update the browser manually, why no RePo?

Because this is a project maintained by people in their free time and as of now the problems described in the issue I linked have not been resolved.

Closing this issue in favour of ungoogled-software/ungoogled-chromium-debian#255

Hi, fwiw - and because I had the same problem: Ublock works with the linked chromium 97 release. Thank you for this great work! :)


Certification-Coulmn

For the time being, we can add certification column where we will provide beginner, intermediate and expert level of certification. I would love to do that.

Hey, I'm gssoc'21 participant, I would like to give my hand in this project. Please assign this issue to me.

on what basis you will give a certificate to the participant.? there are no quizzes section and code editor . I think it will implement in the future so you can works on other available issues also. @shrishti-c @Dimple115


StartURL sitemap indexing with files as url

Hello Pascal,
I have configured a sitemap only crawling in Norconex, in order to index only the urls which are listed in the sitemap.xml
To archive this we set the maxDepth to zero:
<maxDepth>0</maxDepth>

We have two sitemaps defined one sitemap which contains the .html urls and the other one contains urls which are basically files like (pdf, jpg)
<startURLs stayOnDomain="true" stayOnPort="true" stayOnProtocol="true">
<sitemap>sitemap-with-html.xml</sitemap>
<sitemap>sitemap-with-assets.xml</sitemap>
</startURLs>

When I start the crawler all the html pages are indexed properly. But the assets seems to be untouched. In order to investigate this behavior I removed the sitemap which contains the html urls and only left the sitemap which contains the files.
And it seems Norconex is not identifying them as star urls.
INFO  [HttpCrawler] 0 start URLs identified.

This is a sample sitemap which contains assets in order to provide you a better understanding of the behavior
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
      <loc>http://dev-environment.test/test.pdf</loc>
      <lastmod>2018-09-21T04:27:01.192Z</lastmod>
   </url>
</urlset>

Any suggestions how I can force Norconex to identify them as start URLs?
If you need any further information please let me know.
Thank you
Sascha

Just to make sure, those sitemap URLs (sitemap-with-html.xml and sitemap-with-assets.xml) are actual URLs that you just edited, or are they meant to be pointing to the file system?  Because they have to be URLs to work in the <sitemap> tag.
If they are URLs that you just edited for posting here, are you sure those image URLs are not excluded via your filters or something else?
Can you share your full config and maybe logs?

Hi Pascal,
yes I just edited it to make it clearer, they are NOT pointing to the filesystem.
I can confirm the URLs are not excluded via filters (we have a very basic setup without any special handling).  I need a day or two in order to provide you a the full config and logs in a reproducible way.
As far as I understood from your questions I assume sitemaps with files should work the same as sitemaps with html?
Best regards
Sascha

Yes, the crawler should not care what the URLs are.  If your sitemap is of standard format (and I think it is), then it should just take them.  Is the sitemap created manually or by some tools?  Have you checked that your URLs do not contain special characters that need to be XML-encoded?
Hopefully, I'll have a better idea once I can reproduce.

Hi Pascal,
the following fixed the issues:
<sitemapResolverFactory lenient="true"

First I assumed it is might caused of a difference between host/domain which is used to access the sitemap and the host/domain names used in the URLs but they are exactly the same.
To be honest I don't see any reason why lenient solved my behavior. Can you explain how the URLs are compared without lenient="true"?
Best regards
Sascha

The start of a URL in the sitemap, has to match the start URL of the sitemap itself.  In addition, from the javadoc:

The Sitemap specification dictates that a sitemap.xml file defined
in a sub-directory applies only to URLs found in that sub-directory and
its children. This behavior is respected by default.  Setting lenient
to true no longer honors this restriction.

Can that be your issue?

Hi Pascal,
yes indeed that was the issue.
Best regards
Sascha


Port notebook PRs 3664, 3759, 3778, 3809, 3829

For more details about these PRs, see

[x] jupyter/notebook#3664
[x] jupyter/notebook#3759
[x] jupyter/notebook#3778
[x] jupyter/notebook#3809
[x] jupyter/notebook#3829

Some of these seem to undo some things from https://github.com/jupyter/jupyter_server/pull/94 ?

Or rather, contrary to that PR.

You're right. This is the challenge of cherry-picking PRs. I'll remove the Python2/3 patches in a new commit (rather than removing specific commits). Does that seem reasonable?

Shoot.  We should probably complete the initial migration from Notebook before doing "new" things.  Sorry about that.  Nice catch @vidartf.

#96: Remove commit 349045e - ip_address only accepts unicode on Python 2


Add approve button as an indicator

For #89
I forgot that the indicators system is the right way of adding "page status" things around the page header.
This way it is up to the skin to position it correctly.
Vector:
https://github.com/user-attachments/assets/1640fe61-cb94-4f4a-ab4a-712c6f2c1ba9
Vector 2022:
https://github.com/user-attachments/assets/b72621bf-0893-46c1-a718-de6ae1b487e4
Chameleon:
https://github.com/user-attachments/assets/f2672521-e19b-4567-bfec-f684ceabffb4
The Chameleon layout is slightly wrong, but that has more to do with how Chameleon positions the indicators next to the title. We can just add a fix on the wiki instead of adding a Chameleon-specific fix here (which might not even work when there are Chameleon customizations).

Does it work for you on Bayer's setup?
https://github.com/user-attachments/assets/11f16dfe-df40-46c1-b6b5-ec001b192fa1

@waximabbax I'll confirm that shortly. I only checked the position in a clean dev environment.


docs(logger): update child logger docs section and snippets

Description of your changes

This PR is intended to improve docs for child loggers (createChild method). It is the last part of improving the child logger implementation, unit tests, and documentation. In the first PR #1178 child Logger implementation was changed, and new tests were introduced, in this PR #1264 implementation was improved, and new tests were introduced that cover all attributes inherited from a parent logger.

How to verify this change

Related issues, RFCs

Issue number: #483
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[x] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have made corresponding changes to the examples
[x] My changes generate no new warnings
[x] The code coverage hasn't decreased
[x] I have added tests that prove my change is effective and works
[x] New and existing unit tests pass locally and in Github Actions
[x] Any dependent changes have been merged and published
[x] The PR title follows the conventional commit semantics

Breaking change checklist

[ ] I have documented the migration process
[ ] I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Once a child logger is created, the logger and its parent will act as separate instances of the Logger class, and as such any change to one won't be applied to the other.

I like this sentence! Thanks for the suggestions!


System.IO.DirectoryNotFoundException during app launch

Hi,
when running the application after following the installation steps of the ReadMe an exception is thrown.
I believe the corresponding code should migrate data from an old file based document store to the currently used SQLite based one. It seems that it assumes the store directory always exists.
Imho this is a bug, which could easily be fixed by checking if the directory 'C:\ProgramData\Plainion.DrawVista\store' exists before attempting the migration task.
I can make PR if you want, just let me know.
The workaround is to just create the directory in path 'C:\ProgramData\Plainion.DrawVista\store'.
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\Plainion.DrawVista\store'.
   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
   at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
   at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
   at Plainion.DrawVista.IO.FileSystemDocumentStore.GetPageNames() in D:\Workspace\GitHub\Plainion.DrawVista\src\Plainion.DrawVista\IO\FileSystemDocumentStore.cs:line 15
   at Program.<Main>$(String[] args) in D:\Workspace\GitHub\Plainion.DrawVista\src\Plainion.DrawVista\Program.cs:line 33

I added you as contributor - feel free to submit the fix directly - thx!

Thank you very much, the issue should be solved with https://github.com/plainionist/Plainion.DrawVista/commit/3fba21f18dff90390acba9c4b5126723bf1f54aa


PoC: Handsfree mode

Goal
Re-enable microphone record after Web Chat completely spoken an activity.

Done in #1226.


RmwAllocateFree

This template class provides consistent rmw allocate and free. It is used as a step in fixing the errors in rmw object creation and destruction.
This class is to be verified by inspection/code review, and later used in other objects including node, publisher, subscriber, client, and service.

Tested locally. The breaking changes in the CI test result will be fixed on master. This merge is to the system_test_cleanup branch.

Tested locally. The breaking changes in the CI test result will be fixed on master. This merge is to the system_test_cleanup branch.


Question: is it possible to implement static sized grid like 3x3

I want to have a grid which will always have for example 3 rows and 3 columns.
Now suppose these are my grid items

1

2

3

4

5

6

7

8

9

suppose all items have same width and height and are not resizable.
If I drag 9 over to 6 aka vertically the items will just swap their places.
However if I drag 9 over to 8 aka horizontally the 8 item will go down to a new row and 9 will be in place of 8 while the previous place of 9 will be empty.
Is it possible to make items just swap places during horizontal drag as well, instead of creating a new row?

https://stackoverflow.com/questions/51984849/how-to-implement-static-sized-grid-like-3x3-in-react-grid-layout


Windows10 - how to prevent UAC on ruby.exe?

Windows User Account Control throws a pop-up and blocks Landrush until the operator can get to a machine and authorize it.  How do we prevent the pop-up (which, in the middle of typing or in the next room, still amazingly infuriating) and just let landrush do its thing?

As far as I know, it is impossible to by-pass UAC.
If you can make landrush run without elevated privileges, UAC won't be triggered.
But since some registry changes are needed to get this working, I don't see how we could keep it from escalating.
One possible solution would be to add some kind of flag (config.landrush.non_uac = true) and warn the user to manually setup the DNS entries after vagrant up is done, but I don't like this approach.
What do you think?

Is acrylic DNS still a thing?  Can we leverage that like dnsmasq, and would that change the behaviour?

Never heard of that.
Do you have some links? Can you provide a patch?

I found something recent here: http://mayakron.altervista.org/wikibase/show.php?id=AcrylicHome


[Improvement]: Reduce DefaultObservabilitySymbolCollector object memory

Description
When observability is enabled, DefaultObservabilitySymbolCollector static object is created which has a memory of ~400MB in the issue mentioned above. It contains all metadata of modules and their documents in the package including syntax trees of each document. It has only been used in Generating Executable stage in compilation to create -observability-symbols.jar which contains syntax-tree.json. To create syntax-tree.json, a syntax tree data string has been created which also contains a memory of ~180MB.
Describe your problem(s)
No response
Describe your solution(s)
Instead of storing metadata of all modules and documents, those data has been used directly to create syntax tree data string and it has been stored in the PackageHolder where the module data has been stored previously. This method reduces the memory of DefaultObservabilitySymbolCollector static object from ~400MB to ~180MB and additionally syntax tree data string is not needed to be created at the Generating Executable stage.
Related area
-> Observability
Related issue(s) (optional)
https://github.com/wso2-enterprise/internal-support-ballerina/issues/273
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Closing this issue since the fixe has been added with https://github.com/ballerina-platform/ballerina-lang/pull/41569


Harmony Hub activities not showing up in Homekit

I'll admit I am a complete noob at this but I cannot get my harmony hub integration to work. I have homebridge installed on mac and am using the elgato eve app for homekit. The plugin gets loaded but the activities are not found =
Ryans-MacBook-Pro-4:~ Home$ npm update -g homebridge-harmonyhub
Ryans-MacBook-Pro-4:~ Home$ homebridge
[3/27/2016, 6:52:03 PM] Loaded plugin: homebridge-harmonyhub
[3/27/2016, 6:52:03 PM] Registering platform 'homebridge-harmonyhub.HarmonyHub'
[3/27/2016, 6:52:03 PM] ---
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘

[3/27/2016, 6:52:03 PM] Homebridge is running on port 51826.

Did you configure homebridge to use harmony hub?

My config.json that is saved in my /homebridge directory is:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:35",
"port": 51826,
"pin": "2486"
},
"platforms": [{
"platform": "HarmonyHub",
"name": "Bedroom Harmony Hub"
}]
}

Nevermind I figured it out. Had the file saved in /homebridge not /.homebridge. Cheers


Duplicate contract before replacing the images

Change-type: patch
Signed-off-by: Amit Solanki<EMAIL_ADDRESS>

@balena-ci i self-certify!


Authorization parameters

In the Paypal adaptive payments credentials, you are given the following credentials:

Test account<EMAIL_ADDRESS>Client ID: *client_id
Secret: signature**

My question is, how does this map onto userId, password (I assume this is the paypal password), and signature? I have the following put down, but I keep getting authentication errors:
paypalSDK = new Paypal({
  userId: ********client_id*******,
  password: *****,
  signature: ******signature********,
  sandboxEmailAddress<EMAIL_ADDRESS>  sandbox: true
})

Isn't the app-id needed? I can see it's setup in the default configuration var.
However I also get authorization error after requesting and setting api credentials : (

@misterch0c the appId is needed when you want to go live, until that moment you can use the sandbox and the appId is already set for that case... just set sandbox: true.
Hope it helps you! Also, i suggest check the link posted above.


Add privacy declaration name to datamap response

Code Changes

[ ] Stop dropping the privacy declaration column from the datamap response

Steps to Confirm

[ ] call http://<IP_ADDRESS>:8080/api/v1/datamap/default_organization and make sure the system.privacy_declaration.name is in the response. You may need to create some declarations first.

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
This adds the privacy declaration name to the datamap response so it can be shown in the datamap table in plus.

@pattisdr Could you take a look at this PR? Idk if you have context for this area of the codebase but it's a relatively small change so hopefully a lot of context isn't needed 🤞

@SteveDMurphy I'm not sure why the codecov is saying those new lines aren't tested. I added a new test that makes sure that code runs and works


Explicitly cast versions for comparison

Resolves #66

Issue only observed when one version of the module uses [major].[minor] version format

Ready for review @RamblingCookieMonster

Works for me, thanks!


Update console messages according to ConsoleBehavior

This issue is being closed because the ConsoleBehavior has been simplified as per PR #209.


Training material on creating a vocabulary (and description)

Is there documentation/training material I should refer to for how to go about creating a vocabulary (and description) with OML? I see there's openCAESAR Tutorial & Workshop that is more of an overview of OML concepts & patterns and a couple of -vocabularies repos on https://github.com/opencaesar/ that serve as kind of reference implementations, but not really a how-to guide for how one might go about creating new vocabulary (and description) from scratch.

Closing issue, as per http://www.opencaesar.io/oml-tutorials/.
Also published my own example OML project based on Tutorial 1 at https://github.com/capsulecorplab/pizza-planet


Do not download invisible tiles

Looking at the [demo](Draw boundary of a raster layer yourself) with developer tools enabled, I see that tiles falling entirely outside the given boundary are still downloaded by Leaflet (but correctly not displayed). Is this intended?
For performance, to save bandwidth and useless downloads, this plugin should prevent Leaflet from downloading tiles that will never be displayed.

 Thanks a lot!. Fixed.