Feature/resource enum migration

 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.GAISUSH seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Node watch returns events with nil objects

I have a small code running on master to detect when a node enters / leaves the cluster. The overall code is as follows:

Initially get all nodes in cluster using: clientset.Core().Nodes().List(v1.ListOptions{})
Create a watcher using: watcher, err := clientset.Core().Nodes().Watch(v1.ListOptions{})
Wait on nodeListChangedEventChan := watcher.ResultChan()
Consume the event using nodeListChangedEvent := <-nodeListChangedEventChan
Determine the node of interest using nodeListChangedEvent.Object.(*v1.Node)
Determine the activity of the node using: nodeListChangedEvent.Type (watch.Added / watch.Deleted)

I see that the node addition / removal events are cleanly received. However, after about 30 minutes of waiting on the channel, I begin to get thousands of events with the Object (nodeListChangedEvent.Object) being 'nil'.
As a workaround, whenever the error is hit, I have started recreating the watcher and listening again (2,3). However, it again works well for about 30 minutes and the situation is hit. This happens forever with an interval of about 30 minutes between the creation of the watcher and the error state.

We are seeing this as well in https://github.com/rook/rook/issues/1195#issuecomment-347711772, which causes the watcher to go into a tight loop consuming 100% CPU.
We are using revision 42a124578af9e61f5c6902fa7b6b2cb6538f17d2 for the client-go pkg: https://github.com/kubernetes/client-go/tree/42a124578af9e61f5c6902fa7b6b2cb6538f17d2
Some logging I added for debugging shows the events having empty Type and  nil Object fields (you can also see how rapidly the events are coming over the channel):
2017-11-29 04:30:09.762477 I | api: WatchMonConfig event received: {Type: Object:<nil>}
2017-11-29 04:30:09.762479 I | api: WatchMonConfig event received: {Type: Object:<nil>}
2017-11-29 04:30:09.762481 I | api: WatchMonConfig event received: {Type: Object:<nil>}
2017-11-29 04:30:09.762483 I | api: WatchMonConfig event received: {Type: Object:<nil>}

This closed issue could potentially be related: https://github.com/kubernetes/client-go/issues/12#issuecomment-253348471

@jbw976 the issue you see is exactly the same as the issue that I am seeing. And yes, we do see >1 message per millisecond.

@caesarxuchao I see the issue linked with your resolution. I had implemented the same as a workaround. Is there any rationale for timing out the watches? (If liveliness is an issue it could be solved by keepalive pings)

I found a flag description in apiserver reference:       --min-request-timeout int:                                 An optional field indicating the minimum number of seconds a handler must keep a request open before timing it out. Currently only honored by the watch request handler, which picks a randomized value above this number as the connection timeout, to spread out load. (default 1800)

It sounds like the HTTP connection closed, and our watch code doesn't exit cleanly on EOF. (Or there's an error somewhere that isn't getting checked?)
As mentioned above, you can extend the timeout by passing a query parameter.
The automated way to handle this is to use the Reflector rather than directly calling Watch. There are multiple tricky cases and Reflector will handle them all for you.

Interesting @lavalamp, do you have a link to examples using the Reflector that you mentioned?
The way that I ended up addressing this was to recreate the watcher, as seen in this function: https://github.com/rook/rook/blob/f06dd0009e4f04ea9484cf0ca99c091fac857faa/pkg/operator/cluster/ceph/osd/osd.go#L419
However, we got a report from a user this weekend that the newly recreated watcher object is returning nil on the result channel immediately, not after a long HTTP timeout: https://github.com/rook/rook/issues/1544
I wonder why the channel is closed immediately in that case?

Reflector handles the watch timeout in this function: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/cache/reflector.go#L239
Most k8s controllers uses informers, which uses reflectors to sync with the apiserver. This doc and this example shows how to write a controller.


Fix hash_join_executor in the interpreted engine

The hash_join_executor in the interpreted engine has been broken for a while. This PR fixes several issues related to the correctness problem:

Use correct left column ids derived from the left hash keys in the hash_join_plan to probe the hash table
Modify the comparator for ContainerTuple to make sure that the probe check is correct
Support predicate evaluation in the executor

Since I have never touched the codes for ContainerTuple before, I need someone to help review this PR.
This PR is the first step to fix #807, the next step is to support predicate push-down so that the memory consumption can be reduced significantly. I will send another PR soon.

Coverage decreased (-0.02%) to 72.909% when pulling f9fb13fa4c2c9ba51580e5c91b79f76a313e0c52 on hzxa21:hash_join_fix into 8ee0c0c5741a63fed4f1df8b7eebbd34cd639aed on cmu-db:master.

@hzxa21 This is a big deal. Thank you for fixing it. @jarulraj will review.
We should add tests to make sure that this doesn't happen again. I will ask one of the new students to do this.

@rohit-cmu Actually, can you review this too? You are actually working in this part of the code. Thanks!

Sure. I'll take a look.
On Fri, Oct 6, 2017 at 1:43 PM, Andy Pavlo<EMAIL_ADDRESS>wrote:

@rohit-cmu https://github.com/rohit-cmu Actually, can you review this
too? You are actually working in this part of the code. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cmu-db/peloton/pull/823#issuecomment-334823655, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYArDJ-oqY1TiBL3FRtBEzcqFzYDRAKXks5spmbEgaJpZM4Pv6q_
.

--
Regards,
Rohit Agrawal | +1(412)-218-8424
Graduate Student, Electrical and Computer Engineering
Carnegie Mellon University

Added some minor comments/questions. Looks good to me overall. 👍

@rohit-cmu Thanks!
@hzxa21 Is this ready to merge?

Coverage decreased (-0.01%) to 73.02% when pulling bebf7273ca190af2a53c8483b8277e164bca2afc on hzxa21:hash_join_fix into 4ff4993f6a66bbda63d0e09a7625b7354250f03f on cmu-db:master.

@hzxa21 Poke!

Coverage increased (+0.01%) to 73.034% when pulling 54608235f46b2803fa8ebb16ae7d7d24195a9de6 on hzxa21:hash_join_fix into fa805a19c5c7143655498974cfb2a862ada6295d on cmu-db:master.

@apavlo Let me do the rebase and it can be merged.

Coverage increased (+0.01%) to 73.034% when pulling beac235eef8903e1485a84ee2beab9d0c20dd334 on hzxa21:hash_join_fix into fa805a19c5c7143655498974cfb2a862ada6295d on cmu-db:master.


Update ReadMe.md

Just wanted to fix the eye soar

@casz , This repository is deprecated, may be you want to send a pull request here https://github.com/fabric8io/fabric8-pipeline-library

Done, closing 🗡


When early stop the training process, consider calling validation first。

When early stop the training process, consider calling validation first。
The code in training_generator.fit_generator achieves earlystop by setting stop_training variable. But when callbacks set stop_training to true, they jump out of the loop directly without validation. When callbacks.epoch_end (epoch, epoch_logs) are called later, epoch_logs is empty, so that other callbacks cannot obtain validation result in on_epoch_end function, resulting in on_epoch_end function cannot be handled correctly, which is typical in ModelCheckpoint. This problem also exists in training_arrays.fit_loop.

@tanglemontree would adding the line
callbacks.on_epoch_end(epoch, epoch_logs)

here before break statement fix the issue?


gitbase integration

To have an idea of how gitbase will work with Spark, we need to start some integration with both projects

Open a new branch to start working on it
Change the schema to the gitbase one
Joins should be pushed down as usual, but also the special UDFs (history_idx, commit_has_blob, and so on)
Remove as much code as possible
Modify tests as less as possible

With this integration, all the iterators should be removed, and the way to access data will be making an sql query from the pushed down data, and send it using mysql driver to gitbase.

To keep it simple and to have something working asap due the gitbase limitations, as first step we can just use the JDBC spark connector to connect spark with gitbase.

Created the gitbase branch on engine to merge pull requests from this feature there.

We've encountered a few problems with this task that we did not foresee during the planning of it.
The problem
Because of gitbase's data model we need to make use of the history_idx,  commit_has_blob and commit_has_tree functions in order to be able to perform join operations between several tables, which is crucial to make the engine work with this.
Since the JDBC datasource does not do pushdown of these functions they must be implemented in Spark, and we cannot do this, since Spark does not have the repositories to compute these relationships.
In summary, we cannot use the JDBC datasource to do this task. At least as long as the data model inside gitbase remains the same.
A possible solution
We've come with a solution to make this work, but it would need to be done on gitbase's side: implementing views. These views would be the tables but already joined, so the JDBC datasource can just fullscan the tables and operate normally.
TL;DR
So we either need to change the data model of gitbase to not make use of these functions or we need to have views implemented with these pre-joined tables as views if we want to do this simple integration with the JDBC driver.
The complex approach
Another way more complex option is to do a not so simple integration, which would consist in implementing CatalystScan, the UDFs, some rules to merge tables into just one, pushing down the joins and then with all that build a query that would be sent to gitbase to retrieve the data with just the plain SQL.

https://github.com/src-d/gitbase-spark-connector


Make the date_time method on struct DateTimeOffset public

I don't know what were the motivations behind it being private (if any)

I recommend you search before opening a pull request; this has been denied repeatedly.


Merge username

Name mapping developermitesh: miteshmap

Could you update the PR to match with the latest master?

Thanks @lauriii, Rebased it with latest master.  :)

I checked that developermitesh is old username of miteshmap on the Drupal.org so this is fine!

Thanks @lauriii :)


[Smashcustommusic] Add new extractor (fixes #16017)

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
This PR is a new extractor for the smashcustommusic.com website to get the mp3 file - fixes issue #16017.

Is this ever going to get merged?


Update Spanish translation

• Added translation for "Priority mode".
• Minor fixes.
The "How It Works" section needs an update to explain the new "Priority mode" option.

Thank you! 🫡


Is this project maintained?

Consider this a friendly health check.  The last release was almost 1 year ago.  I am seeing some Pull Requests sitting without any activity despite their simplisticity and readiness.

I think it's safe to say this project has been abandoned.


Move FragmentEvent.CREATE_VIEW emission to onCreateView()

Previous the following code would not work:
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View rootView = inflater.inflate(R.layout.fragment_test, container, false);
    ButterKnife.bind(this, rootView);

    RxTextView.textChanges(editText)
            .compose(this.<CharSequence>bindUntilEvent(FragmentEvent.DESTROY_VIEW))
            .subscribe(new Consumer<CharSequence>() {
                @Override
                public void accept(@NonNull CharSequence charSequence) throws Exception {
                    // Do something with text
                }
            });

    return rootView;
}

The issue is from #94. When returning to a Fragment on the backstack, the last FragmentEvent when onCreateView is called is DESTROY_VIEW which results in this subscription immediately completing.
The fix is to move the onNext of FragmentEvent.CREATE_VIEW to onCreateView and then call the super class:
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    super.onCreateView(inflater, container, savedInstanceState); // Must call to update RxFragment's lifecycle
    View rootView = inflater.inflate(R.layout.fragment_test, container, false);
    ButterKnife.bind(this, rootView);

    RxTextView.textChanges(editText)
            .compose(this.<CharSequence>bindUntilEvent(FragmentEvent.DESTROY_VIEW))
            .subscribe(new Consumer<CharSequence>() {
                @Override
                public void accept(@NonNull CharSequence charSequence) throws Exception {
                    // Do something with text
                }
            });

    return rootView;
}

The problem here is that you'll possibly be breaking a lot of peoples' code if we make this change... it's why I haven't figured out the best way forward.
I was thinking more along the lines of calling CREATE_VIEW on both onCreateView() and onViewCreated(). I wasn't sure if that would also cause problems - if it does, it's probably along the lines of "you shouldn't have been doing that in the first place."
A third option is to warn people not to use these methods in Fragment.onCreateView() and instead tell people to use Fragment.onViewCreated(). Not totally satisfying, but it doesn't break existing code.

I'm closing this for lack of activity.


Change to the Spintf of some strings in the eboot

Some strings in the eboot would need to be reorder in asm to make them consistent with the Rest of the notices.
8115D084    %sを盗んだ    Stole: %s (this string has a icon for the item stolen that would need to be moved in between : and %)
8115E258, %c%c%c%c%c×%d%s, (%s needs to be in front with a space after it)
These are the %s strings related to it
8115E26C,    を渡した！ , Handed:
8115E27C ,   を落とした… ,  Discarded:
8115E290 ,   を習得した！, Learned:
8115E2A4    %d%s needs to be %s %d gald. ( to form this exemple sentence,  Acquired: 400 gald.)
8115E2AC, ガルドを手に入れた！, Acquired:
8115E2CC, ガルドを失った… , Lost:

Additonal Change
8115E224  %c%c%c%c%c%s ( needs %s in front instead of the end)

Small assembly patches are needed to adjust these string formats. Need to know how to supply these so they can be patched in to the eboot. Some may require adjustments to string pointers.
Example to patch the "Handed: {item}x{quantity}" string:

The string format (%c%c%c%c x%d%s) is used in 3 other places, so that may require adding a new string for just this format.
I can work on these pretty easily, just need to know the best way to provide the adjustments. :)

And I guess for documentation's sake
sprintf?
r0 = sp+0xc+{# of extra parameters in stack)
r1 = string format
r2 = param1
r3 = param2
sp+0, sp+4, ... sp+4n = param3 and onwards
So patching most of these is just a matter of reordering the input parameters and changing the format string.


[website]Fix version replace for old version document

Fixes https://github.com/apache/pulsar/issues/5839
Master Issue: https://github.com/apache/pulsar/issues/5839
Motivation
Currently, for different contents, we use the same variables in multiple versions.
Modifications

When replacing the latest version, the old version is ignored
Set option dry to false for enable replace

Verifying this change
yarn build
node scripts/replace.js

run cpp tests


Question:Install NVIDIA Container Toolkit for GPU support

I'm sorry to disturb you, but I have a question about “install NVIDIA Container Toolkit”, and the specific step is as follows: when i input command "sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi",      there is a error:"docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: driver error: failed to process request: unknown."     i was puzzled.   I hope I can get your help. thanks.

Did you test run your docker installation?

go back to the installation page and make sure that docker works, then add the nvidia drivers and confirm each steps...

docker run --rm hello-world
nvidia-smi
Give more details about your configurations both hardware and software, and try to format your text...

Closing this issue for now, feel free to reopen if this is still a problem.


Make test timeout configurable.

Right now every test has a timeout of 1000ms. Ideally it should be configurable.

I see that this is already configurable in ./src/test.js. Do you mean we should let the global gauge() method to take an optional parameter for the test timeout for each step?

Yeah it is configurable in ./src/test.js. But right now we are not passing anything to it and it will use the default 1000ms. It should be configurable for each project through a property file. I think other runners also have some ability to specify properties in external file, right?

Picking this up.

@renjithgr There will be some breaking changes in the next 2 days in step registry and executor to implement refactoring. Make sure you keep merging master to avoid conflicts.

Yeah, sure.


Update Dakar Desert Rally trainer for game version 2.3.0

2.3.0
Released 2024-02-12
Release notes

Crash and audio fixes

2.2.0 (2.1.0 in release notes)
Released 2024-01-15
Release notes

USA Tour
Last feature update for this game ever, because Embracer is likely firing everyone in Saber

2.0.0
Released 2023-11-28
Release notes

Fall 2023 Update
Roadbook Editor
Replay Mode
Photo Mode
Free Audi RS Q e-tron
Hybrid Vehicle Pack
Snowrunner Cars Pack
Classics Vehicle Pack 2

Added in 1.0.9.


add nextstrain functionality

we nog have a script to pull down per-residue mutation counts for all genes in NextStrain. choppa would benefit from being able to pull this in because it would enable showing (quasi-)fitness for PDBs we don't have DMS/phylo fitness data for.

Done in #42


⚠ AVS (kty) has degraded performance

In 2b4efb9, AVS (kty) (https://avus.com.br) experienced degraded performance:

HTTP code: 200
Response time: 9045 ms

Resolved: AVS (kty) performance has improved in 665c553.


Adding in MSI and fixing missing command argument

Changes Made

I added in the ability to utilize a managed system identity for the build agent when credentials are not provided in the service connections

@mericstam all set I updated the PR

Hi, Looks good!  I will run an internal build and test before final review and merge.

closes #35


[Bug] Image::inspect() fails when there is no label on image.

When the dockerd daemon returns a json with:
{
   ...
   "Config":{
      ...
      "Labels":null
   },
   ...
}

This code returns a Err(Decoding(ExpectedError("Object", "null"))) error because the Json::decode() is trying to cast null into HashMap<String, String>:
https://github.com/softprops/shiplift/blob/061853516312406019ae4344ba662480ba5a5988/src/lib.rs#L98-L101
This is why we should change this line
https://github.com/softprops/shiplift/blob/061853516312406019ae4344ba662480ba5a5988/src/rep.rs#L149
to:
  pub Labels: Option<HashMap<String, String>>,

to permit null in the Labels field in the Json response.

I can confirm the change has fixed the issue :D I'll send a PR :)


add next/prev split/tab support for terminal pane

https://github.com/zyedidia/micro/issues/2730

https://github.com/zyedidia/micro/issues/2732


Experiment with Into/TryFrom EnvVal impls that target the tagged type

What
Have types implement Into/TryFrom EnvVal<_, TaggedVal> where T is the tag object that is 1-1 with the type.
Why
For all types we've been implementing conversions to and from EnvVal<_, RawVal>, but for many types we could implement to and from the specific tag object tagged val, and then macro an implementation from there to RawVal.
This potentially allows types and code to not need to dance between Object and RawVal so much.
This also potentially makes it harder to use into_env_val and try_from_env_val and their related traits, because there will now be multiple Val impls for each.
Known limitations
This is just an experiment. This might cause a code size increase, but unclear since it should be mostly pass through.

Closing as really unclear on benefits this would bring, and it introduces type uncertainty whenever using into_env_val, which isn't great. Might reopen later.


Mouse scroll wheel not working with text box (news feed or world descriptions) V2 only.

The scroll wheel should be operable for scrolling text boxes when the mouse is hovering over the box.  Need to make sure this doesn't conflict with other scroll wheel uses:

Main Menu - scroll wheel should cycle through menu when not over news feed.
Load Level Menu - scroll wheel should cycle through worlds when not over current world description.

Fixed.  I obviously need to learn how to tie bugs to commits.  :-)


bundle: fix ibm-console container args

Signed-of-by: Ning Ding<EMAIL_ADDRESS>

hi, @iamniting I have no idea about the DCO failure. Any suggestion?

hi, @iamniting I have no idea about the DCO failure. Any suggestion?

Can you paste the output of the git log of your commit?

`commit 30d221eea77bad6dfad0375de715ff1459af762a (HEAD -> fix/ibm-console, origin/fix/ibm-console)
Author: Ning Ding<EMAIL_ADDRESS>Date:   Wed Sep 15 14:11:56 2021 +0800
bundle: fix ibm-console container args

Signed-of-by: Ning Ding<EMAIL_ADDRESS>

commit 30d221e (HEAD -> fix/ibm-console, origin/fix/ibm-console)
Author: Ning Ding<EMAIL_ADDRESS>Date: Wed Sep 15 14:11:56 2021 +0800
bundle: fix ibm-console container args

Signed-of-by: Ning Ding<EMAIL_ADDRESS>

This looks good to me, even I am not sure what's wrong with it. BTW I think we no longer required this as we moved this out.

I have seen the new pull request in https://github.com/IBM/ibm-storage-odf-operator/pull/33
So when will you move the code? because if https://github.com/IBM/ibm-storage-odf-operator/pull/33 get merged, there will be two ibm-console containers installed.

I have seen the new pull request in IBM/ibm-storage-odf-operator#33
So when will you move the code? because if IBM/ibm-storage-odf-operator#33 get merged, there will be two ibm-console containers installed.

We will try to get it done by today.

okay.
close this pr due to code removed


Display url or balise A as a link in Excel export

Summary of problem or feature request
I just managed to display all my html balise A as a proper Excel hyperlink during export.
All is working perfectly but I don't know if my approach is correct:
Code snippet
I extend decodeContent of Yajra\Datatables\Transformers\DataTransformer
for transform A balise to url.
/**
     * Decode content to a readable text value.
     *
     * @param string $data
     * @return string
     */
    protected function decodeContent($data)
    {
        preg_match_all('/<a[^>]+href=([\'"])(.+?)\1[^>]*>/i', $data, $result);
        if ($result[2] && $result[2][0]) {
            return $result[2][0];
        }

        $decoded = html_entity_decode(strip_tags($data), ENT_QUOTES, 'UTF-8');
        return str_replace("\xc2\xa0", ' ', $decoded);
    }

And I extend buildExcelFile of Yajra\Datatables\Services\Datatable
for transform the url into proper Excel hyperlink
/**
     * Build excel file and prepare for export.
     *
     * @return mixed
     */
    protected function buildExcelFile()
    {
        return app('excel')->create($this->getFilename(), function (LaravelExcelWriter $excel) {
            $excel->sheet('exported-data', function (LaravelExcelWorksheet $sheet) {
                $sheet->fromArray($this->getDataForExport());
                $highestColumn = $sheet->getHighestColumn();

                for($row = 1; $row <= sizeof($sheet->data); $row++) {
                    foreach (range('A', $highestColumn) as $column) {
                        $cell = $sheet->getCell($column.$row);
                        $cellValue = $cell->getValue();

                        if(filter_var($cellValue, FILTER_VALIDATE_URL)) {
                            $cell->setValue($cellValue)
                                 ->getHyperlink()
                                 ->setUrl($cellValue);
                        }
                    }
                }
            });
        });
    }

Is my approach correct ?
If yes is it useful to do a PR ? I would be glad to help :-)

@julianfox the code looks fine with me and I think would be a great addition to be able to export links by default. Can you please submit a PR and will test/review it when I had the chance. Thanks a lot!

Done #1074 :-)


📖 Snapshot and shutdown abandoned RDS instances

User Story
As an Analytical Platform engineer
I expect all unused infrastructure to be shut down
So that we aren't paying for unnecessary resources
Value / Purpose
It is unethical for us to waste money on resources that sit abandoned.
Useful Contacts
@jacobwoffenden
User Types
Platform Engineering
Hypothesis
If we shutdown these unused RDS instances
Then we'll not have to pay for unused resources
Proposal
Two RDS instances were identified in #4247 that have no tags, and don't look like they're used
mpm-test-database-1 in analyitcal-platform-data-engineering-production
addressbasepremium in analytical-platform-data-production
Source https://docs.google.com/document/d/166N0-8FJnVGGQQVO-iffn_bnreEN2-ATxUIg6D6Dn0I/edit
Additional Information
I have:

Temporarily shut them down (21/05), but this is only for one week (until 28/05)
Reached out to Data Engineering via Slack https://mojdt.slack.com/archives/C8X3PP1TN/p1716312950795289

Definition of Done
If an owner identified:

[ ] Import into Terraform
[ ] Update tags
[ ] Update RDS CA as per #4247

If no owner identified:

[ ] Snapshot
[ ] Destroy

mpm-test-database-1 snapshotted and destroyed as per https://mojdt.slack.com/archives/C8X3PP1TN/p1716364876820979?thread_ts=1716312950.795289&cid=C8X3PP1TN

Jacob shut down both instances


Are there any low-latency alternative software options for Mac OS?

About a year ago, I started experimenting with swyh-rs and noticed some latency on Windows. At that time, I felt it was acceptable as long as I could listen to music normally. However, recently I found that it's almost latency-free on Windows, making it suitable for watching videos or movies without any lag. But on Mac OS, I haven't come across software that's as efficient. I'm curious about what alternative software people use on Mac? Or is there any plan to adapt it for Mac?

I'm sorry but I don't have a Mac so I can't adapt it myself, and I know nothing about Mac software...

Thank you for your response. I sought help in the Sonos subreddit but found that the latency is too significant to ignore. I believe I'll use Windows to watch movies.

Hi there - I appreciate that @dheijl doesn't have a mac, but I managed to successfully build swyh-rs on mac, but I keep receiving this error and no upnp devices are found. Do you have any idea on how I could possibly remedy this?
17:04:29 [ERROR] No renderers found!!!
Error: -1

Apparently the MAC returns a non-standard error code for EAGAIN:
in src/rendercontrol.rs at line 561:
            Err(e) => {
                // ignore socket read timeout on Windows or EAGAIN on Linux
                if !(e.to_string().contains("10060") || e.to_string().contains("os error 11")) {
                    logger(format!("*E*E>Error reading SSDP M-SEARCH response: {e}"));
                }
            }

I suppose that adding an additional check for "os error 35" here could solve it. Could you try this?

Could you send across a specific code block to paste in? not very well versed in rust or error handling unfortunately

I applied the change on Github, so you can use the current master.

Thank you very much! Will report back once I rebuild.

Thank you @dheijl, that has resolved that error, although no devices are showing in the list, just as before. I have tried running with sudo and manually allowing through the firewall.

Can you run it with log level debug, and then attach the log file here? Or did you check already in the log that no devices are responding to the ssdp query?

18:11:49 [DEBUG] (1) swyh_rs_cli: Try capturing system audio
18:11:49 [INFO] Capturing audio from: MacBook Pro Speakers
18:11:49 [INFO] Default audio SupportedStreamConfig { channels: 2, sample_rate: SampleRate(44100), buffer_size: Range { min: 14, max: 4096 }, sample_format: F32 }
18:11:49 [INFO] Discover networks
18:11:49 [INFO] Starting SSDP discovery
18:11:49 [INFO] The streaming server is listening on http://<IP_ADDRESS>:5901/stream/swyh.wav
18:11:49 [DEBUG] (3) swyh_rs::openhome::rendercontrol: SSDP discovery started
18:11:49 [INFO] Streaming sample rate: 44100, bits per sample: 16, format: LPCM
18:11:49 [DEBUG] (4) tiny_http: Server listening on <IP_ADDRESS>:5901
18:11:49 [DEBUG] (5) tiny_http: Running accept thread
18:11:52 [DEBUG] (3) swyh_rs::openhome::rendercontrol: Getting new renderer descriptions
18:11:52 [DEBUG] (3) swyh_rs::openhome::rendercontrol: SSDP discovery complete
18:11:54 [ERROR] No renderers found!!!
Error: -1

Thanks, but:

debug logging is not activated (-l debug)
this is not the complete log file, just an excerpt

Can you attach the complete log file using the GitHub drag and drop feature?
But anyway it looks like the SSDP responses from UPNP devices are not getting through. Other programs seem to have similar problems using UDP on recent MAC OS versions according to Reddit ...

Perhaps this explains it:
https://forum.xojo.com/t/big-sur-udp-broadcast-not-working-normally/58832
So goodbye to open source on MAC OS if this is true.

From what I read, it still looks possible - just with a couple of extra caveats. Completely understand why you might not want to put the effort into adapting this though, just a shame I can't find anything near as good as this project for macOS!

Feel free to add anything needed and make a pull request if you get it to work!

It should be in a .swyhr-rs folder in your home directory, if such a thing exists on a MAC.

Found the folder, but can’t seem to find any log files unfortunately.

Anyway, let's keep this open in the hope that someone with Mac and Rust knowledge is prepared to help...


[Bug]: Nonetype error

What happened?
it was working fine till 26 october but sins yesterday it is giving this error. Seems like udemy website is updated so kindly update scrpit according to udemy please.
Enroller
GUI
OS
Windows
Relevant log output
Traceback (most recent call last):
  File "C:\Users\Hp\Downloads\Compressed\Discounted-Udemy-Course-Enroller-master\Discounted-Udemy-Course-Enroller-master\GUI\duce.py", line 540, in auto
    course_id = get_course_id(link)
  File "C:\Users\Hp\Downloads\Compressed\Discounted-Udemy-Course-Enroller-master\Discounted-Udemy-Course-Enroller-master\GUI\duce.py", line 308, in get_course_id
    courseid = soup.find(
TypeError: 'NoneType' object is not subscriptable

Terms

[X] I am using the latest version available.
[X] I agree to follow this project's Code of Conduct

@SammyCode-sudo dear can you please help to fix this

@techtanic  its working fine now after you updated script.
thank you very much.


Refactor distro detection

The ansible fact ansible_distribution work fine to detect if a Seapath distribution is Debian or CentOS, but doesn't work well for Yocto Seapath.
With Yocto, ansible_distribution will be set to the value of DISTRO_NAME. As it is usual to have multiple distro configurations in a Yocto project, with different DISTRO_NAME values, ansible_distribution wouldn't have a deterministic value for every Yocto Seapath build.
With yocto scarthgap, the /etc/os-release file has a field CPE_NAME which will always contains "openembedded".
It can then be used as a reliable way to detect a Yocto Seapath distribution.
This PR propose a new role, detect_seapath_distro, that will set a fact seapath_distro with a value of either Yocto, Debian or CentOS. To detect the correct distro, is uses ansible_distribution* facts and the /etc/os-release file.
The new fact is then used everywhere a task needs to know the seapath distribution of the host.

Note: currently only the last two commits are for this PR. Other commits belongs to https://github.com/seapath/ansible/pull/643, and will be removed when https://github.com/seapath/ansible/pull/643 is merged.

PR is now rebased on the latest debiancentos commits.
Note that the change from ansible_distribution to seapath_distro variable was done everywhere in the repo except for specific Debian playbooks and templates (examples: debian_physical_machine role, seapath_setup_prerequisdebian.yaml playbook, groups and users configuration template files). Only playbooks and roles that are explicitly made for Debian or CentOS are concerned.
If you think ansible_distribution should be changed anyway don't hesitate to comment

Can you create the meta/main.yml file in this new role so that it's uploadable to galaxy? thx.

Can you create the meta/main.yml file in this new role so that it's uploadable to galaxy? thx.

@insatomcat Thanks, done
Note that I kept the platforms section to match other roles, but it seems that recent version of Ansible Galaxy doesn't use this metadata anymore, see https://github.com/ansible/galaxy/issues/3292

Hi @insatomcat ! Have you got some comments on that ? Thanks


Discussion for ways of handling erroneous response status code

About the issue
When we sent a request to backend server API, there is a chance that the response status code is 4xx or 5xx. I would like to standardize how we are going to handle the situation when we get such status code.
Aproach 1: Create custom typed object and let the api_wrapper returns it on error
This is the current implementation in our master. The logic in each api_wrapper method is that if the response status code is not the one we are expecting, we return the error type object with ok set to false and message set to the error message (eg: question with this id not found, duplicated question, etc.).
Pros: On the frontend page component side and the api_wrapper side, error handling is short and simple. (feel free to add more)
Cons: Hard to distinguish different status codes, the only way we can distinguish is by looking at the response.message. Or we need to check something that should exist does not exist, which is not very straightforward.

Aproach 2: Create custom error for different status code and throw the error
For this implementation, you may refer to this side branch user_api_wrapper.tsx  implementation. The idea is that when we receive different status code, we throw a specific error accordingly.
Pros: Now the error handling will be quite straightforward. Let's say we are calling getQuestionById and we receive 404, we throw the NotFoundError and then on the frontend page component side, we can catch this error and display a meaningful error message to our user (either through a toaster or any other format). (feel free to add more)
Cons: Long code, leaving try-catch to frontend component side. Also, 4xx is actually not supposed to be a system error to be thrown, it is most likely a user error.

The second approach seems to be a better approach. the current approach only tells the view if the call is a success or not, might not be good if we want to prompt different error feedbacks for different response statuses.
As for the second approach, I'll probably do this to simplify the code:

Oh thanks for your suggestion, by following your way (shown in the screenshot above), the code is easier to read! I will follow your way too in user_api_wrapper.

Just to follow up, seems like this pattern is not supported for server actions. the client component is unable to catch custom error types. Server actions are more akin to backend handlers than local functions, so status updates should be either reflected as a response status code or payload to the client component I guess.
That's why in the problem wrapper I simply return the ApiRespones from the endpoint. 🙄

I see. I tested this on my side and I encountered the same issue that you mentioned. I am fine with returning an empty ApiResponse for question_api_wrappers then. Thank you for bringing this out!

Closes this as we have agreed with a solution:

except question service, all other frontend API wrappers will throw custom error
question service will return ApiResponse on error


[19.09] chromium: 80.0.3987.149 -> 80.0.3987.163 (backport)

Motivation for this change
Backport of #83956 (edit: fixed the reference).
Testing status

platform
attribute
status
tester

x86_64
chromium
:heavy_check_mark:
@Frostman

x86_64
nixosTests.chromium
:heavy_check_mark:
@Frostman

x86_64
google-chrome
-
@primeos

aarch64
chromium
-
-

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

chromium tests passed ok (x86_64)

chromium tests are still passing (with -> .163 commit)


Version 1.4.7 isn't working for Youtube 10.21.58

What happened?

You forgot to update module to 1.4.8. It's available since some time.

I can't see it on Xposed. It shows up for me that the last version is the 1.4.7. My Xposed is set up to notify me for new versions of the modules.
Where can I find the new version?
Thank you very much @esgie!

I found the new version in the xposed repository website.
Sorry about the obvious question, but why isn't the new version inside the xposed app. I can't see the new version there, I just can see it in the website.
Thanks again.

Weird. Did you try to click the refresh button in the xposed installer in the top right corner of the screen?
1.4.8 has been released as usual, through stable channel, can't see a reason why you can't see the update ;(

Yes, I did. It's really weird. Just to let others know, I'm using Xposed for Lollipop.
If you find out the solution, please let me know. If I do, I will comment here.

Doesn't seem to work with 1.4.8 as well

After further testing it seems like upgrading the app didn't work but a full uninatall +reinstall worked.

This is a bug of Xposed Installer. Fix:delete the 2 database files in the cache/ path inside the app's dir


Classes and functions docstrings

We need to document each class, method and function with a structure similar to what we have for the backend class
"""
        OpenID4VP backend module.
        :param auth_callback_func: Callback should be called by the module after the authorization
        in the backend is done.
        :param internal_attributes: Mapping dictionary between SATOSA internal attribute names and
        the names returned by underlying IdP's/OP's as well as what attributes the calling SP's and
        RP's expects namevice.
        :param config: Configuration parameters for the module.
        :param base_url: base url of the service
        :param name: name of the plugin
        :type auth_callback_func:
        (satosa.context.Context, satosa.internal.InternalData) -> satosa.response.Response
        :type internal_attributes: dict[string, dict[str, str | list[str]]]
        :type config: dict[str, dict[str, str] | list[str]]
        :type base_url: str
        :type name: str
        """

Then extract and create the API documentation here
https://github.com/italia/eudi-wallet-it-python#usage

Done here https://github.com/italia/eudi-wallet-it-python/pull/205


Implement issue# 16744: TypeOf template helper.

typeof cannot be used directly with templates such as staticMap, because
we don't have the template equivalent of lambda functions. TypeOf is
therefore a template wrapper around typeof so that it can be used in
contexts that require a template.

How about:
/++
    Returns:
        The type of the expression `exp` or `T`
        if the argument is already a type.

    Useful when combined with higher-order templates
    such as $(REF, staticMap, std, meta).
 +/
alias TypeOf(alias exp) = typeof(exp);

/// ditto
alias TypeOf(T) = T;

unittest
{
    import std.meta : AliasSeq, staticMap;

    static assert(is(TypeOf!1 == int));
    static assert(is(TypeOf!"hello" == string));
    static assert(is(TypeOf!(17 + 42) == int));

    int[] arr;
    static assert(is(TypeOf!arr == int[]));

    static assert(is(staticMap!(TypeOf, 1, true, "hello") ==
        AliasSeq!(int, bool, string)));

    struct S {}
    static assert(is(staticMap!(TypeOf, 1, true, int, bool, short, S.init, S) ==
        AliasSeq!(int, bool, int, bool, short, S, S)));
}

In other words:

Short templated alias and enum declarations don't need the full template syntax
Add identity template overload so you can get the types of a heterogeneous alias sequences, that include types in addition to expressions

It doesn't return anything, so having a "returns" section just seems wrong to me. The docs what it does, and the examples show it.
I could reduce it to the one-liner, and if folks want me to, that's fine, but I don't see much benefit. It works either way.
Regardless, I completely disagree with having it work with stuff that typeof doesn't work with. The whole point was to turn typeof into a template. And in general, mixing types and expressions in the same AliasSeq is a bad idea except when you're using it to as a template argument list, in which case, you wouldn't be doing stuff like staticMap on it, and something like TypeOf would not be appropriate.

It doesn't return anything, so having a "returns" section just seems wrong to me. The docs what it does, and the examples show it.

I don't have a strong opinion about this, though the templates in std.meta are often called meta-functions and naturally each function returns something. E.g. type functions (like std.traits.Unqual) accept types and return types. Similarly, templateNot is meta-function that takes a template and returns a template. Yes, that's accomplished through an alias declaration, but that's just a syntax detail. I think the function metaphor makes the most sense from the users' point of view.

I could reduce it to the one-liner, and if folks want me to, that's fine, but I don't see much benefit. It works either way.

In general, I believe that code should pay for itself. I.e. there shouldn't be any unnecessary code. Shorter code is most often easier to read and understand.

Regardless, I completely disagree with having it work with stuff that typeof doesn't work with. The whole point was to turn typeof into a template. And in general, mixing types and expressions in the same AliasSeq is a bad idea except when you're using it to as a template argument list, in which case, you wouldn't be doing stuff like staticMap on it, and something like TypeOf would not be appropriate.

I disagree. A generic library should not impose arbitrary restrictions on its users. This like saying that Alias should support not support types, except for built-in ones, because you can already alias them without the need for Alias. It may not sound immediately useful, but comes up in generic code often enough, that I think it would be useful. Consider for example:
static assert(SizeOf!(3 + 4) == 4);
static assert(SizeOf!int == 4);
static assert(SizeOf!"asd" == 2 * size_t.sizeof);
static assert(SizeOf!'c' == 1);

template SizeOf(T...)
    if (T.length == 1)
{
    enum SizeOf = TypeOf!(T[0]).sizeof;
}

Why would the writer of SizeOf need to special case types from expressions? This is a problem that is better fixed in one place, rather than duplicating boilerplate everywhere.

I disagree. A generic library should not impose arbitrary restrictions on its users.

There is nothing arbitrary about the restriction. typeof gives you the type of its argument. TypeOf does the same. It makes no sense to get the type of a type.

It makes no sense to get the type of a type.

No, ZombineDev is right, a fallback for the types is necessary. Otherwise cases exist where a static branch is necessary to test an argument with is().
example:
import std.meta, std.range;
alias s = AliasSeq!(1,int,"s",string);
alias TypeOf(alias T) = typeof(T);
alias TypeOf(T) = T;
void main()
{
    foreach(i; aliasSeqOf!(iota(0, s.length / 2)))
        static assert(is(TypeOf!(s[2*i]) == TypeOf!(s[2*i+1])));
}

I agree that we should not change how typeof works, as that would likely be a huge breaking change. The best we can do is add a helping template like this.
Ping @andralex so we can finally get this merged.
Also @jmdavis please rebase.

How often do we need staticMap with typeof in the standard library? The savings should be considerable; otherwise we can just leave the one-liner as an example.

How often do we need staticMap with typeof in the standard library? The savings should be considerable; otherwise we can just leave the one-liner as an example.

I don't follow. Do you want the implementation changed in some way, or do you disagree with the fact that staticMap is used in an example? Being able to use this template with something like staticMap is pretty much the whole reason to create it. If you're not passing this template to another template like staticMap, then you'd just use typeof directly.

@jmdavis the simplest question is: since it's a trivial one-liner, why not just ask the user to do it if they have a need? We need to have a case for high frequency of use.
Also: copying typeof 100% seems a dubious goal. It's like doing our very best to not be creative. How about we do something better and more general that includes what typeof does, and also more wonderful things? I'm thinking e.g. TypesOf!(a, b, c) returns an AliasSeq consisting of the types of a, b, and c. If you only pass one expression, you get its type.

Closing in favor of #5662


Enter a crafted URL in Settings -> Explorer URL cause the Desktop Wallet to freeze.

Hey Guys,
I come from your bug bounty program: https://hackerone.com/symbol.  I am not sure if my finding is in scope, I don't wanna risk my report get close as Informative or N/A and the finding doesn't really contain any sensitive information, so I decided to post here.
Why I am not sure if this is in scope:
Why I think this is in scope: The finding falls into the low category:
Low
These would be mostly user experience level issues that render a end user to be stuck or applications to be useless. Typically this could be something like a user submitting to a form that breaks and user gets locked into a certain workflow until killing/quitting an application
Why I think this might not in scope.
Out of scope features: Offline settings
Please let me know if this is a valid finding.
Finding
Summary
Enter a crafted URL in Settings -> Explorer URL cause the Desktop Wallet to freeze.
I believe this is caused by the regular expression used to validate the Explorer URL in src/core/validation/validators/UrlValidator.ts. The regular expression is so complex that it consumes lots of CPU when it runs against specific URLs.
  public static validate(value: any): boolean {
    const pattern = new RegExp('^(https?:\\/\\/)?' + // protocol
       '((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|' + // domain name
       '((\\d{1,3}\\.){3}\\d{1,3}))' + // ip (v4) address
       '(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' + // port
       '(\\#[-a-z\\d_]*)?$','i')
    return pattern.test(value)
  }

For more information about regex DOS: https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
Steps To Reproduce:

In the Setting interface, set the Explorer URL to "http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com/a?a=1"
Click Confirm

In the payload above, the question mark ? is the character that causes the issue. I will expect to see a user accidentally enter or paste a question mark into the URL, so this is something that would likely happen. The situation gets worse if you try it in the Dev environment that runs the app in a browser.
Supporting Material/References:

Thanks very much.
We'll fix it soon.

No Problem, please let me know if this is eligible for the reward(https://hackerone.com/symbol?view_policy=true). I will report back to HackerOne with this issue as a reference if this is eligible for the reward.

Sorry, It's not up to me.

@evias might be the person that knows the answer.

Thanks for your report @Flyy-yu, I will come back to you during the day!
We are now evaluating the issue and will report whether this should be posted on Hackerone or is not eligible for our program.
Thank you for reporting!

@Flyy-yu please go ahead and file an h1 report for this

Thanks, guys!
Here is the report https://hackerone.com/reports/877413

@kaiyzen @evias Not sure if your guys noticed my response.

Hey @kaiyzen @evias, is there any update on processing the report?

@evias @kaiyzen The issue has been fixed and closed, is there any update for the report "https://hackerone.com/reports/877413" on HackerOne? Regardless about the bounty, if my report can be triaged and mark as solved that would be great. At least I can earn some reputation points on the platform.
Thanks!


Type [x, x] is not assignable to type x[] & { length: 2; }

Bug Report
This error is probably self-explanatory. Either this is supposed to work and it’s a bug, or I’m misunderstanding something in which case please feel free to close.
Type '(Record<string, any> | null)[] & { length: 2; }' is not assignable to type '[Record<string, any> | null, Record<string, any> | null]'.ts(2322)

Outer function is typed to return the latter. It calls an inner function, typed to return the former. One would assume this should work.
Possibly related: #44309
🔎 Search Terms
array literal length
🕗 Version & Regression Information
TypeScript 4.1.3
💻 Code

async function readObjectVersions
<L extends number, C extends string[] & { length: L }>
(objectPath: string, versions: C):
Promise<(Record<string, any> | null)[] & { length: L }> {
  return versions.map(version => ({ foo: 'bar' }));
}

const version1: string = 'x';
const version2: string = 'y';

async function _readObjectVersions(objectPath: string):
Promise<[ Record<string, any> | null, Record<string, any> | null ]> {
  return await readObjectVersions(objectPath, [version1, version2]);
}

_readObjectVersions('abc');

🙁 Actual behavior
The error as described above.
🙂 Expected behavior
No type error.

I suppose such a special rule could rely on the length property—if it can be assumed to always exist on an array.


crashed korean language

When send Broadcast, korean language crashed and failed (but, command is correctly working).

this is send english. working well and no failed.

this is palworld's issue
see: https://github.com/palworldlol/palworld-exporter/issues/4


Update dependabot.yml

Summary

Checklist

[ ] I have run nox and all the pipelines have passed.
[ ] I have made unittests according to the code I have added/modified/deleted.

Related issues

Codecov Report

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

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   79.39%   79.39%
=======================================
  Files          78       78
  Lines        9632     9632
  Branches     1234     1234
=======================================
  Hits         7647     7647
  Misses       1930     1930
  Partials       55       55

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58c904b...154be5b. Read the comment docs.


fix word spelling mistake

fix word spelling mistake
Before submitting a pull request, please make sure the following is done:

Fork the repository and create your branch from master.
If you've added code that should be tested, add tests!
If you've changed APIs, update the documentation.
Ensure the test suite passes (npm test).
Make sure your code lints (npm run lint).
Format your code with prettier (npm run prettier).
Run the Flow typechecks (npm run flow).
If you added or removed any tests, run ./scripts/fiber/record-tests before submitting the pull request, and commit the resulting changes.
If you haven't already, complete the CLA.

感谢指正


Research Spike: Make SDK work as a static library

wallet integration poc is here https://github.com/pacu/unstoppable-wallet-ios/tree/zcash-poc


Restore packages before building

Fixes #368.

Um. We may want to hold off on this. I missed a bit of the instruction:

Navigate to your clone root folder and execute dotnet restore followed by build.cmd.


Recommended way to import RO terms?

What would be the recommended way to import RO terms?
I tried to import http://purl.obolibrary.org/obo/RO_0002217
but it seems that none of  the ro submodules are imported. Should I go through them one by one and add them  manually? ( I would probably not need that many, but that also means that whenever RO updates, I would have to go through all of it again).
Is there a way to import all the imports of ro.owl at once and work from that?

If you import http://purl.obolibrary.org/obo/ro.owl you will get the whole ontology.

Ok turns out that the owltools command is removing all of that from the file. Taking from the URL directly works.
I used the default command in the Makefile: $(OWLTOOLS) $(OBO)/$*.owl --remove-annotation-assertions -l -s -d --remove-dangling-annotations  -o $@
I will just do a wget for the ro.owl rule in the Makefile, unless there is a better solution.

You may be interested in some of the commands ROBOT provides, such as mirror and merge, if you are not already using it.


Plex refresh/connect errors in logs

Describe the issue
Plex refresh/connect errors in logs
Command or context you are trying to run
I updated to the most recent version of mp4_automator and now I'm seeing Plex refresh/connect errors in the logs after Sonarr runs and mp4_automator remuxes the video file. It looks like changes were made to Plex.py and autoProcess.ini but I have no idea if I'm supposed to change anything on my end.
Any suggestions for fixing this?
autoProcess.ini settings
I've tried with ssl = False and also ssl = True.
I've toggled between True/False with ignore-certs and ssl
[Plex]
username =
password =
servername =
host = localhost
port = 32400
refresh = True
token = redacted
ssl = True
ignore-certs = False
path-mapping =
[Plex]
username =
password =
servername =
host = localhost
port = 32400
refresh = True
token = redacted
ssl = False
ignore-certs = True
path-mapping =
[Sonarr]
host = <IP_ADDRESS>
port = 8989
apikey = redacted
ssl = False
webroot =
force-rename = False
rescan = True
block-reprocess = False
Log files
Two debug log files depending on with Plex settings were True/False in autoProcess.ini:
2023-04-21 13:32:18 - resources.mediaprocessor - INFO - Starting Plex refresh.
2023-04-21 13:32:18 - resources.mediaprocessor - INFO - Connecting to Plex server...
2023-04-21 13:32:19 - resources.mediaprocessor - ERROR - Error connecting to Plex server.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 467, in connect
_match_hostname(cert, self.assert_hostname or server_hostname)
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 540, in _match_hostname
match_hostname(cert, asserted_hostname)
File "/usr/local/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py", line 155, in match_hostname
raise CertificateError("hostname %r doesn't match %r" % (hostname, dnsnames[0]))
urllib3.util.ssl_match_hostname.CertificateError: hostname 'localhost' doesn't match '*.448f523e13a741d8a2a6df0eb2238e14.plex.direct'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='localhost', port=32400): Max retries exceeded with url: / (Caused by SSLError(CertificateError("hostname 'localhost' doesn't match '*.448f523e13a741d8a2a6df0eb2238e14.plex.direct'")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/redacted/sickbeard_mp4_automator/autoprocess/plex.py", line 88, in getPlexServer
plex = PlexServer(protocol + settings.Plex.get('host') + ':' + str(settings.Plex.get('port')), settings.Plex.get('token'), session=session)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 115, in init
data = self.query(self.key, timeout=self._timeout)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 745, in query
response = method(url, headers=headers, timeout=timeout, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=32400): Max retries exceeded with url: / (Caused by SSLError(CertificateError("hostname 'localhost' doesn't match '*.448f523e13a741d8a2a6df0eb2238e14.plex.direct'")))
2023-04-21 13:32:19 - resources.mediaprocessor - INFO - Checking if any sections contain the path /Volumes/media/video/redacted tv show.
2023-04-21 13:32:19 - resources.mediaprocessor - ERROR - Unable to establish Plex server connection.
The second log file with ssl = False, ignore-certs = True:
2023-04-21 13:39:06 - resources.mediaprocessor - INFO - Starting Plex refresh.
2023-04-21 13:39:06 - resources.mediaprocessor - INFO - Connecting to Plex server...
2023-04-21 13:39:08 - resources.mediaprocessor - ERROR - Error connecting to Plex server.
Traceback (most recent call last):
File "/Users/redacted/sickbeard_mp4_automator/autoprocess/plex.py", line 88, in getPlexServer
plex = PlexServer(protocol + settings.Plex.get('host') + ':' + str(settings.Plex.get('port')), settings.Plex.get('token'), session=session)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 115, in init
data = self.query(self.key, timeout=self._timeout)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 751, in query
raise Unauthorized(message)
plexapi.exceptions.Unauthorized: (401) unauthorized; http://localhost:32400/ Unauthorized401 Unauthorized
2023-04-21 13:39:08 - resources.mediaprocessor - INFO - Checking if any sections contain the path /Volumes/media/video/tv-series/Atlanta/Season 01.
2023-04-21 13:39:08 - resources.mediaprocessor - ERROR - Unable to establish Plex server connection.
FFMpeg headers
ffmpeg version 5.1.2-tessus Copyright (c) 2000-2022 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil      57. 28.100 / 57. 28.100
libavcodec     59. 37.100 / 59. 37.100
libavformat    59. 27.100 / 59. 27.100
libavdevice    59.  7.100 / 59.  7.100
libavfilter     8. 44.100 /  8. 44.100
libswscale      6.  7.100 /  6.  7.100
libswresample   4.  7.100 /  4.  7.100
libpostproc    56.  6.100 / 56.  6.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
System Information

OS: macOS 14 Mojave
Python version: 3.10.9

Issues posted without any logs or autoProcess settings will be closed

Is your Plex server set to "Secure Connections: Required"? If so trying to access the APh using just the host name and post won't work cause you won't have SSL
You can make it work using a token and your Plex username / server name though if that's the case

Is your Plex server set to "Secure Connections: Required"? If so trying to access the API using just the host name and post won't work cause you won't have SSL
You can make it work using a token and your Plex username / server name though if that's the case

It's set to "Preferred."
I also tested using my Plex username and password plus a token. Made no difference.

If you use token you don't need a password but you do need to specify your server name

If you use token you don't need a password but you do need to specify your server name

Servername (case sensitive) plus token did not work.

Says No module named plexapi

Could you share the logs of the token server name based authentication

Could you share the logs of the token server name based authentication

Where would I find this? Do you mean certain entries in the sma.log file? Or is this a Plex Media Server log?

Just the SMA logs, similar to what you shared initially. Preferably with debug level logging (see wiki). Mostly just looking to see what auth method it's actually using

Just the SMA logs, similar to what you shared initially. Preferably with debug level logging (see wiki). Mostly just looking to see what auth method it's actually using

Here's the log, minus all the Sonarr and mp4_utomator processing stuff that's not relevant:
`2023-04-22 19:08:38 - SonarrPostProcess - INFO - Sonarr extra script post processing started.
2023-04-22 19:08:38 - resources.readsettings - INFO -<EMAIL_ADDRESS>2023-04-22 19:08:38 - resources.readsettings - DEBUG - Loading default config file.
2023-04-22 19:08:38 - resources.readsettings - INFO - Loading config file /Users/redacted_user/sickbeard_mp4_automator/config/autoProcess.ini.
2023-04-22 19:10:55 - SonarrPostProcess - DEBUG - Requesting episode update to Sonarr via http://localhost:8989
2023-04-22 19:10:55 - SonarrPostProcess - DEBUG - Requesting episodefile update to Sonarr via http://localhost:8989/api/v3/episodefile/88615.
2023-04-22 19:10:55 - SonarrPostProcess - DEBUG - Queueing rename command to Sonarr via http://localhost:8989/api/v3/command.
2023-04-22 19:10:55 - SonarrPostProcess - DEBUG - {'name': 'RenameFiles', 'files': [88615], 'seriesId': 462}
2023-04-22 19:10:55 - SonarrPostProcess - INFO - Sonarr response RenameFiles command: ID 2938380 queued.
2023-04-22 19:10:55 - resources.mediaprocessor - INFO - Starting Plex refresh.
2023-04-22 19:10:55 - resources.mediaprocessor - INFO - Connecting to Plex server...
2023-04-22 19:10:55 - resources.mediaprocessor - ERROR - Error connecting to Plex server.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 467, in connect
_match_hostname(cert, self.assert_hostname or server_hostname)
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 540, in _match_hostname
match_hostname(cert, asserted_hostname)
File "/usr/local/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py", line 155, in match_hostname
raise CertificateError("hostname %r doesn't match %r" % (hostname, dnsnames[0]))
urllib3.util.ssl_match_hostname.CertificateError: hostname 'localhost' doesn't match '*.448f523e13a741d8a2a6df0eb2238e14.plex.direct'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='localhost', port=32400): Max retries exceeded with url: / (Caused by SSLError(CertificateError("hostname 'localhost' doesn't match '*.448f523e13a741d8a2a6df0eb2238e14.plex.direct'")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/redacted_user/sickbeard_mp4_automator/autoprocess/plex.py", line 88, in getPlexServer
plex = PlexServer(protocol + settings.Plex.get('host') + ':' + str(settings.Plex.get('port')), settings.Plex.get('token'), session=session)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 115, in init
data = self.query(self.key, timeout=self._timeout)
File "/usr/local/lib/python3.10/site-packages/plexapi/server.py", line 745, in query
response = method(url, headers=headers, timeout=timeout, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=32400): Max retries exceeded with url: / (Caused by SSLError(CertificateError("hostname 'localhost' doesn't match '*.448f523e13a741d8a2a6df0eb2238e14.plex.direct'")))
2023-04-22 19:10:55 - resources.mediaprocessor - INFO - Checking if any sections contain the path /Volumes/media/video/tv-series/The TV Show/Season 01.
2023-04-22 19:10:55 - resources.mediaprocessor - ERROR - Unable to establish Plex server connection.
`

Strangely, Plex Media Server does update the library after mp4_automator runs and processes the video but there are errors in the logs. In Sonarr, I have two active "Connect" connections: postSonarr and PMS Library Update.

Sorry was out of town
Looking at the logs, your Plex script is still trying to connect via the localhost and port, and localhost isn't a valid https address hence the failure
It should be trying to connect using your username, servername, and token if provided but there's nothing in the logs indicating that was attempted. Do you have those parameters included in autoProcess.ini? All 3 are required
I would make sure you have the username servername and token parameters all filled out so that it can use the HTTPS compatible auth

Sorry was out of town
Looking at the logs, your Plex script is still trying to connect via the localhost and port, and localhost isn't a valid https address hence the failure
It should be trying to connect using your username, servername, and token if provided but there's nothing in the logs indicating that was attempted. Do you have those parameters included in autoProcess.ini? All 3 are required
I would make sure you have the username servername and token parameters all filled out so that it can use the HTTPS compatible auth (password not required)

It's working now. Thank you.
I wasn't using "username" because I had previously tested it with a username and still got the error.
This time I reset my Plex token AND changed my username name and servername and now it seems to be working properly.


Guitar string animation should render sin arc for realism

Not added, would require estimating sine wave with bezier curves. Not worth the computation, lineWidth modification with currentTime is good enough.


Is it also available for Android?

Hello, its great library. we are using it iOS app. Are you also providing for android as well? IF not can you please share similar library for android ?

@hardikJoshi123 I am sorry but I am not familiar with Android programming. We need an Android engineer to provide it 😭


Adding value_source_concept_id, value_source_value, questionnaire_res…

…ponse_id to observation schema.

A reminder that we should ensure that any copying around of data during curation preserves the columns added to observation here.


Type of depth your method predicts

Dear authors,
There are 2 types of depth estimation I gauss your method aims to predict:

fully relative depth, predicts depth in 0~1.0
affine-invariant depth, predicts absolute depth, like Marigold in 2D depth estimation

Could you please tell me which type aligns with your method?
Thanks so much!
Best,

Thanks for noticing! Our method predicts affine-invariant depth like Marigold.


Update readme list

Use links to github for all (some on site are out of date, like star wars r2d2 and c3po are still the wrong way round)
Add missing links

👍
Maybe alphabetise them too?

Thought about it, but third-party packs are at the bottom of the list and it wasn't alphabetised before, so I decided not to

Looks like an improvement to me, merging


Fixed Add Pool in Batch Powershell Example

The example does not work unless you drop the '.0'

@brnleehng : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for the fix!
#sign-off


MINIFICPP-1377 comment s2s user/password properties

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file?
[x] If applicable, have you updated the NOTICE file?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI results for build issues and submit an update to your PR as soon as possible.

Typo: It is actually MINIFICPP-1378 not MINIFICPP-1377

whoospie, sorry. Fixing...


Update Travis Dependencies to actually run tests

Codecov Report

Merging #14 into master will increase coverage by 0.97%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #14      +/-   ##
===========================================
+ Coverage         0%   0.97%   +0.97%
- Complexity        0       4       +4
===========================================
  Files            22      22
  Lines           514     514
  Branches         86      86
===========================================
+ Hits              0       5       +5
+ Misses          514     508       -6
- Partials          0       1       +1

Impacted Files
Coverage Δ
Complexity Δ

...legion/columntransform/NullReplaceTransformer.java
71.42% <0%> (+71.42%)
4% <0%> (+4%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c0ee14...272a108. Read the comment docs.


Don't accept escape sequences in from and as

As stated in the spec.

I don't, at a glance, see where that section of the spec mentions this. Is this behavior only for the specific keywords from and as, or any new/contextual keywords?

For other keywords, this is done in readWord directly. The spec says »Terminal symbols [] are shown in fixed width font []. These are to appear in a script exactly as written. All terminal symbol code points specified in this way are to be understood as the appropriate Unicode code points from the Basic Latin range [].« If you look at, for example, NameSpaceImport, you see that as clearly is in the fixed width style as described above. I followed test262 with this, btw.

Right, but what about other contextual keywords, like let, yield, etc? Those are read with isContextual and isLet which only seem to look at this.value and would thus have a similar issue.

Right, I can have a look.

@adrianheine @marijnh Regarding let,  yield etc. It behave different based on context. E.g. function *a(){({yi\\u0065ld: 0})} is valid. For object expressions   get, set, async should throw on escaped keywords. For class async should throw.
If there is any comfort in this, almost none parsers got this right!
You can find a few Test262 tests for it here

I forgot to mention that in labeled statements, both escaped async and yield should only throw on special conditions. E.g. strict mode code.  There exist also an edge case there for let.

@adrianheine @marijnh I just now ran into an strange edge case that may be of interest?
This one should fail function f() { new.t\u0061rget; } and this one should pass function a() { new.\u0074arget; }
The only difference is that the letter t is escaped / not escaped.

@adrianheine For object expr.  This two should fail i\\u0066 (0)  and i\\u0066 (0) and this one should pass ({i\\u0066: 0})
In case you are in doubt on something, you can try to validate against my parser. I got around 99.4% of all Test262 tests covered.

and this one should pass function a() { new.\u0074arget; }

What makes you say that? V8 and Spidermonkey both reject it.

@marijnh Acc. Test262 a() { new.\u0074arget; } is the only one that should fail. Look at the letter a.  The other one should pass. Why both V8 and SM throws on it, dunno.
This can be a spec bug. I solved this easy. I'm not throwing at all on new target, but throwing on the new keyword instead as you see in this test262 test. But I guess that is wrong too? Look at the letter e.   N isn't escaped..

This can be a spec bug.

Are you sure it isn't a bug in test262? What part of the spec prescribes this bizarre behavior?

I tend to agree that it could be a bug in test262. Maybe worth investigating? The specs? Not sure. As far as I know the specs only mention that escaped keyword should throw, depending on either strict mode or sloppy mode code.
But I guess it's worth investigating because even if it's possible to validate this with large amount of extra code and cross-checking. In the end it will make the code horrible slow.  The main reason I skipped this.

I thought for a second that the passing test was picked up from Test262 parser tests, but not sure. Anyway. The hunt for that passing test, brought me to this issue ticket. It's related to this as well.

Ok, what's definitely still missing is allowing them in property names (e. g. ({i\u0066: 0}) should pass).

@adrianheine You can re-use my escaped tests for this. Then you got a complete list. Note I'm also checking against Hex4.

https://github.com/ternjs/acorn/issues/641 highlights a few issues and edge cases related to this.

Merged these tests as 8c0bd0d79ca3e, and fixed the issues in a simpler patch (also updating the expected errors in the tests) in 4eba230a5184


17 - Interactive Flashcards (Hacktoberfest Demo) #629

Description:
QuizFlip is an app that generates flashcards on any topic you ask for, helping users learn and review efficiently. It integrates with CopilotKit to generate flashcards and quizzes quickly and accurately.

Hi @Niharika0104, can you please unlink Issue #629?
We want to leave it open until Hacktoberfest ends.

@NathanTarbert Can you check it now?

Nice @Niharika0104!


Enhancement/question: Lock transmission to PMR446 frequencies only

I am very new to the hobby, so please excuse any mistakes I make with the description.
I got a UVK5 and being unlicensed, I am afraid of accidentally Tx on a frequency that I am not allowed to Tx on. Therefore, I tried to look for an option in Hidden Menu 61 that only allows PMR446 Tx but wasn't able to find it.
Is there an easy way to do so? Or is the only way to do it is to add an option manually in code and then build the firmware that way?
Thanks!

You will have to define all PMR channel frequencies using CHIRP (be sure to use NFM mode and low power) and disable 'frequency mode allowed' in CHIRP advanced settings.

That is the way to do it :+1:

You will have to define all PMR channel frequencies using CHIRP (be sure to use NFM mode and low power) and disable 'frequency mode allowed' in CHIRP advanced settings. You can also add 'listen only' frequencies with duplex set to off, then TX for this channel will be disabled.
Download from: https://github.com/egzumer/uvk5-chirp-driver/releases

Thank you for your response. I was able to download and install CHIRP and egzumer module driver to it and was able to create memory entries for PMR frequencies.
Is there an easy way to be able to still Rx on all the other frequencies that this radio can receive?
You mentioned that I can add frequencies in the memory list with duplex off but that will still be limited to whatever exact frequencies I add which will be pretty limited. Am I correct in my assumption?

AFAIK it is currently not possible to disable TX in frequency mode.  This should be raised as feature request. I know this setting is available in opengd77 firmware, but this is made for other radios.

Menu 61. F lock and select DISABLE ALL - disables TX on all frequencies

Menu 61. F lock and select DISABLE ALL - disables TX on all frequencies

I checked that out. Unfortunately, I would like to still be able to TX on PMR frequencies but RX on all the other ones. Does it look like the only way to go about it is to update the code to add PMR entry to Menu 61 and roll my own build?

@4rianton I do not completely understand your question. If you are unlicensed you are not allowed to transmit anywhere. The device is illegal on PMR so nobody ( not even  HAM's ) can use it on PMR.
In fact the only legal use is in the US on HAM frequencies. And some countries where they don't bother at all.

gartnl is correct, only devices with pre-programmed immutable channels and without detachable antenna are legally allowed for PMR use. However, if programmed correctly, hopefully nobody should notice a difference :)

@4rianton I do not completely understand your question. If you are unlicensed you are not allowed to transmit anywhere. The device is illegal on PMR so nobody ( not even HAM's ) can use it on PMR. In fact the only legal use is in the US on HAM frequencies. And some countries where they don't bother at all.

As PMR446 is a licence-exempt set of bands within the European Union. You're U.S. centric comments are not entirely correct; i.e. not being band licensed.
However, fact that the antenna is removable invalidates this radio on PMR446. And another problem for PMR446 is that the transmit power limit of 0.5w; which is well below the stock low output level. Ref. ECC PMR446 Requirements

@tonurics Funny, since I am Dutch.
PMR446 needs no license but is off-limits to this set no matter what. I never and nowhere stated you need a license for PMR. I do however meet HAM's who believe that just because they have a license they can use PMR with HT's like this. They can't. Just like I'm not allowed to use this/any HT to talk to LPD users. Or use my callsign on PMR.
The HT is illegal for TX in the EU anyway. With harmonics/spurious at around -45 dBc on HAM bands at best it could be legal on HAM bands in the US. All other frequencies are off-limit by default because they don't even meet the FCC requirements.
BTW: most (no-name) China PMR stuff is illegal in the EU as well. Non-ham equipement has to have a harmonics/spurious output of no more than -36 dBm. See professional PMR sets specs .

Thank you for all this information. Very eye opening.
It really seems like I should keep the TX off on this radio and really look into getting my Amateur radio license if I want to have any sort of fun with this hobby.


[Addon] Fix #695 using vela existing addon packaging

Description of your changes
As mentionned in https://github.com/kubevela/catalog/issues/695 the addon chart published by hack/addons/syn_addon_package.go does not generate a proper helm chart with a Chart.yaml in it.
This pull request makes use of the existing vela cli capability to publish addons  and that properly covers the generation of the Chart.yaml file as shown in vela source code github.com/oam-dev/kubevela/pkg/addon package that is using the MakeChartCompatible routine. (See https://github.com/kubevela/kubevela/blob/e109d4e525dfc253e861c82901d3947688555d7c/pkg/addon/utils.go#L367)
The PR also adds mandatory template.cue where missing and fix invalid (non semver) chart version on spark-on-k8s-operator experimental addon
Fixes #695
How has this code been tested?
The change has been tested following the github actions:
go mod tidy
cd addons && go run ../../hack/addons/syn_addon_package.go ./ https://kubevela.github.io/catalog/official
cd experimental/addons && go run ../../hack/addons/syn_addon_package.go ./ https://kubevela.github.io/catalog/experimental
Checklist
I have:

[X] Title of the PR starts with type (e.g. [Addon] , [example] or [Doc]).
[X] Updated/Added any relevant documentation and examples.
[X] New addon should be put in experimental.
[X] Update addon should modify the version in metadata.yaml to generate a new version.

Regarding the above failed addon-e2e test.
The changes of the following files are to make the original addon proper (vela expect a template.cue file) but would require a chart version update it seems.

addons/o11y-definitions/template.cue
addons/vegeta/template.cue
experimental/addons/canary-rollout-istio/template.cue
experimental/addons/envoy-gateway/template.cue
experimental/addons/vector-config/template.cue

Thanks, please refer the failed CI info and fix them.

Thanks, please refer the failed CI info and fix them.

Done

ping @Somefive @barnettZQG , please help review, this feature can be useful.

ping @Somefive @barnettZQG , @wangyikewxgm  please help review


fix orders in yaml and json for multiple-zones.md

The order of kind and data were inconsistent, and that made the doc unreadable.
This fixes the orders in consistent way in setup/rmultiple-zones.md.
ref: #13862

/lgtm
/approve


📃: AMAZON CLONE - NEW PROJECT

🔴 Title : CREATING AN AMAZON CLONE AS ANEW PROJECT
🔴 Tech stack : HTML, CSS, JS
📸 Screenshots

✅ Details to Include When Taking the Issue:
Name : Shriya Dindi
Participant Role: GSSOC, Hacktoberfest

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

we have to face some deployment issues so for right now we are not adding any clone website


FatalThrowableError: Class 'MongoDB\Client' not found

Hi, I am trying to implement mongodb withl laravel 5.4,
I have many tried to implement but i always get the error like:
"Class 'MongoDB\Client' not found".
I am using laravel 5.4, and also installed the jenssegers version  3.2.2
And also i was enabled extension mogodb.dll for wampserver php 64bit

Please help me!

Hello,
This has nothing to do with this library, it's an issue with missing/incorrect settings for mongodb extension.
For more information see: https://jira.mongodb.org/browse/PHPC-656
Thanks.


[BEAM-3762] Update Dataflow worker container image to support unlimited JCE policy.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand:

[x] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[x] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Run Dataflow ValidatesRunner

The tests passed but eventually timed out https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/5054/

Run Dataflow ValidatesRunner

Since this is a trivial change per se, LGTM whenever you get tests to pass.

Run Dataflow ValidatesRunner


Add app directory option for Next.js

When using Next.js, some users may want to take advantage of the app directory option. With this update, they will be relieved of the extra workload.

Hey @feyyum thank you for contribution!
Please don't forget to also reflect introduced change in tests.

Thanks for adding this @feyyum . This has been on the roadmap to add but other things have taken priority. I'll take a look at your PR soon.

@shimkiv  and @ymekuria, thanks for your feedbacks. I will review and add tests and features.

Sounds good @feyyum. Upgrading to v14 is also on our roadmap. Let me know if you need help or run into any issues.


rename ch to chr to avoid shadow variable in ChibiOS

Rename variable "ch" to "chr" to avoid shadow variable in ChibiOS. There is a global variable in ChibiOS called "ch" so when a local variable in UAVCAN is called the same name there is a shadowing compile warning.  Simply renaming the local variable solves it.
I've also made an upstream PR https://github.com/UAVCAN/libuavcan/pull/122

Probably best to preface the commit message with "uavcan:".

N00b

The upstream PR has been merged


Bug: Toggle Docs Menu Icon not visible in dark mode and by default template responsive device options not visible even if current tab is preview

Toggle Docs Menu Icon not visible in dark mode :-

IconButton has bg='white' and based on currentColor icons color will change.
So, on dark theme currentColor is white and IconButton bg also white

By default template responsive device options not visible

 <ExampleViewerRadio isOpen={tabIndex === 0 && IsNotSmartPhoneWidth}>
    <HStack>
      {options.map((value) => {
        const label = value.width
        const radio = getRadioProps({ value: label })
        return (
          <RadioCard key={value.label} {...radio}>
            {value.icon}
          </RadioCard>
        )
      })}
    </HStack>
  </ExampleViewerRadio>

As per above code options are visible if (tabIndex === 0 && IsNotSmartPhoneWidth) == true
Everything in code is correct but the issue is with animation

const variants = {
  open: {
    opacity: 1,
    y: 0,
    display: 'block',
  },
  closed: {
    opacity: 0,
    y: 20,
    transitionEnd: {
      display: 'none',
    },
  },
}

const ExampleViewerRadio: React.VFC<Props> = (props) => {
  return (
    <MotionBox
      as="aside"
      initial={{ scale: 1 }}
      transition={{ duration: 0.15, type: 'tween' }}
      animate={props.isOpen ? 'open' : 'closed'}
      variants={variants}>
      {props.children}
    </MotionBox>
  )
}

Initialy (const IsNotSmartPhoneWidth = useBreakpointValue([false, true])) IsNotSmartPhoneWidth value is false and after some time its true due to that isOpen props of ExampleViewerRadio is changing before completing first closed animation
Here initially (before user interaction) the animation start and complete sequence is

Start closed animation
Start open animation (this will set display: 'block')
TransitionEnd closed animation (this will set display: 'none')

To fix this we need to add transitionEnd: {display: 'block'} in open animation variants
I also tried different approch like manually controlling animation using useAnimate() which allow us control animation manually set, start and stop but this is also not working

I can fix this issue though
if i get assigned to it

Please assign this issue to me as I already fixed this locally and also adding 1 new curved carousel


iascable fails processing ibmcloud example infrastructure bom

New dependency problem being reported when running iascable on IBM cloud boms that recently worked:
iascable build -i 105-ibm-vpc-openshift.yaml
Loading catalog from url: https://modules.cloudnativetoolkit.dev/index.yaml
Name: 105-ibm-vpc-openshift

Error: Dependent module not found: module=ibm-logdna-bind, dependency=logdna, refs=[{"source":"github.com/cloud-native-toolkit/terraform-ibm-log-analysis","version":">= 3.0.0"}]

@mjperrins

Could this be a git redirect issue? Catalog has the following for the ibm-log-analysis-bind module:
- source: github.com/cloud-native-toolkit/terraform-ibm-log-analysis

But this is now github.com/terraform-ibm-modules/terraform-ibm-toolkit-log-analysis

or maybe not redirect... just a matter of conflict in the catalog.

This error will happen if using iascable versions earlier than 2.15.0

@timroster - we are migrating the modules to new repo which you tested the log-analysis. Hence you noticed the dependency issues


Why sweeps_num=9 in centerpoint

I just wondering why it uses a different setting in centerpoint, dose it affect results?

It should be slightly better if you use sweeps_num=10. Using sweeps_num=9 simply because the original CenterPoint uses this setting and we just keep that.

Yeah, I originally thought the rule requires in total 10 sweeps. (Instead, it only requires to use at most 10 past frames)


How to parse serialized data?

var transaction = VersionedTransaction.deserialize(swapTransactionBuf);
How to implement it in Java?

I don't think there's a native deserialize yet (feel free to add), but you can send it to simulateTransaction and get info from that.

https://github.com/itsmelodewyk/java-jup-ag/blob/f0ee3d1bd95a3b0fa18e42ea18d94c96bab814c9/src/main/java/utils/VersionedTransaction.java#L42
this might help you

Why can't I see anything on the link above?
Where is VersionedTransaction for java ? :(

为什么我在上面链接上看不到任何内容？ Java 的 VersionedTransaction 在哪里？:(

Have you found a solution yet @jekka001

为什么我在上面链接上看不到任何内容？ Java 的 VersionedTransaction 在哪里？:(

Have you found a solution yet @jekka001

No, this solution is not exist.
Now, I'm writing my own solution and I think It will be work

Any updates on this issue if anyone has found a solution? I am trying to deserialize Jupiter's swap API response.

Any updates on this issue if anyone has found a solution? I am trying to deserialize Jupiter's swap API response.

Yes I found solution, but I'm not ready to share it

Cool. I am also working on my solution and will share it here once I get it.

I have a solution here that deserializes the transaction. I also added the Jupiter program to swap tokens that use the deserializer. Feel free to give any feedback.
https://github.com/chintanpatel2634/solanaj/pull/1/files


Link to docs not working

Link to docs not working.

still not working

Since this package is registered in the General Registry, maybe it is worth adding a few lines to the readme explaining what it does (and honestly I am surprised that a package providing no explanation at all of its purpose got registered)

and honestly I am surprised that a package providing no explanation at all of its purpose got registered

Documentation or not, it is probably used more heavily throughout the ecosystem than most registered packages:
https://juliahub.com/ui/Packages/FunctionWrappersWrappers/e68Y1/0.1.3?page=2
FunctionWrappers supports only one set of input->return types. This library provides a wrapper holding multiple FunctionWrappers with different input types, and lets you dispatch to matching input types.


STORM-1861 Fix storm script bug to not fork java process

@harshach, @revans2, @ptgoetz, @hmcl  I am abandoning the PR in favor of https://github.com/apache/storm/pull/1448 which I made against the right branch, 1.x-branch


Parser cannot extract block heights from nonstandard blocks

Here are four regtest blocks generated with the following parameters:
regtest=1
nuparams=5ba81b19:0 # Overwinter
nuparams=76b809bb:1 # Sapling

040000000000000000000000000000000000000000000000000000000000000000000000db4d7a85b768123f1dff1d4c4cece70083b2d27e117b4ac2e31d087988a5eac40000000000000000000000000000000000000000000000000000000000000000dae5494d0f0f0f2009000000000000000000000000000000000000000000000000000000000000002401936b7db1eb4ac39f151b8704642d0a8bda13ec547d54cd5e43ba142fc6d8877cab07b30101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4d04ffff071f0104455a6361736830623963346565663862376363343137656535303031653335303039383462366665613335363833613763616331343161303433633432303634383335643334ffffffff010000000000000000434104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac00000000
0400000027e30134d620e9fe61f719938320bab63e7e72c91b5e23025676f90ed8119f02591cdaf793a2a4f61c4cec11705e8e4bb5d0f19e945fc8e21741181b0aae0f08fbc2f4300c01f0b7820d00e3347c8da4ee614674376cbc45359daa54f9b5493e66474f5c0f0f0f20280015f8919cd877c280445699d684f55821bb47996f2d71bc63262cd6fd00002402279992d0a33ce9ec16ebc9d761ef9952ed1092f0deb49742857b12f814fdb58c89a369010400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff03510101ffffffff0200ca9a3b000000001976a9144a659bad0ece8040f97a67ab4eb9605fc7f27b4988ac80b2e60e0000000017a9146708e6670db0b950dac68031025cc5b63213a4918700000000000000000000000000000000000000
040000003af9140b34e27951f813c509300001fb549fcb7a01ad0b00567c4948ec266a06600f0187179959aa78a042a728acebedfc99f5940a2d513cdd1f96c3467884aefbc2f4300c01f0b7820d00e3347c8da4ee614674376cbc45359daa54f9b5493e67474f5c0f0f0f202c00df39093dfb0e92f7ac46969bd48e0587bece099a8eacd4310488aba3000024035c15f6815e65db6123cb27d7c3bc2d1182062a84f3c3971a2bc41c479139a22b7d40d0010400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff03520101ffffffff0200ca9a3b000000001976a9144a659bad0ece8040f97a67ab4eb9605fc7f27b4988ac80b2e60e0000000017a9146708e6670db0b950dac68031025cc5b63213a4918700000000000000000000000000000000000000
04000000fe5e53211a36e5c35690d7cf46e0c0483e3c2b17aa48fbe6b579ec9a4174940acd04b0d436223932c841099681bd43abcc152f11ab61f4f93b651f3529d86659fbc2f4300c01f0b7820d00e3347c8da4ee614674376cbc45359daa54f9b5493e67474f5c0f0f0f2007006e5eea83495199cb3da05bf2cfe3f261b8887964ade88d62b85fbead000024048968f5d20494aceb48479937b48cc265a605ba317bd46481316b11144fbb932a3e93d4010400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff03530101ffffffff0200ca9a3b000000001976a9144a659bad0ece8040f97a67ab4eb9605fc7f27b4988ac80b2e60e0000000017a9146708e6670db0b950dac68031025cc5b63213a4918700000000000000000000000000000000000000

The expected result would be block heights 0, 1, 2, 3 (unclear actually on the genesis block behavior, but the others should work). In fact though all of them come out as height -1 (indicating a parse error of some sort).

Solved: it can't extract them because they are not there.

The parser also gets the wrong block height for the genesis block.

The genesis block is being parsed fine. What's wrong is that the genesis block contains a commitment to the initial target difficulty where the coinbase height should be. It does not contain the height. So in fact this bug is a failure to special-case the genesis block, not an incorrect parse.


refactor: Extract s3 related logic to seperate mod

This PR is part of https://github.com/tursodatabase/libsql/issues/887
I just moved s3 related settings and operations to seperate mod and didn't perform deep refactor. There are still some place refering to aws sdk directly, we will cleanup them in following PRs.

@Xuanwo I'm happy to discuss how we can adopt open-DAL, as well as what are our requirement  for it, for the rewrite :)

Maybe we can start a new issue for this?

Maybe we can start a new issue for this?

Created https://github.com/tursodatabase/libsql/issues/904