Replace ManifestCache with PSR-16

Follow up from #6252. These caches were kept separate from Zend_Cache because we needed to instanciate them before the app had a chance to configure anything. The only way to configure a ManifestCache is through an SS_MANIFESTCACHE class name.
I suggest we replace this with standard symfony/cache, and make them configurable by manually setting injector services during a customised boot process (e.g. a custom main.php). Sam's got some ideas regarding an App object which feeds into this approach.
Roughly speaking, this would be the content of an index.php with custom caches:
require_once __DIR__ . '../vendor/autoload.php';

use Psr\SimpleCache\CacheInterface;
use Symfony\Component\Cache\Simple\MemcachedCache;
use SilverStripe\Core\DefaultAppFactory;
use SilverStripe\Control\DefaultRequestFactory;

$app = DefaultAppFactory::create();

// custom
$memcached = new Memcached();
$app->setService(new MemcachedCache(
  $memcached,
  'thememanifest',
), CacheInterface::class . '.thememanifest');
$app->setService(new MemcachedCache(
  $memcached,
  'classmanifest',
), CacheInterface::class . '.classmanifest');
$app->setService(new MemcachedCache(
  $memcached,
  'configmanifest',
), CacheInterface::class . '.configmanifest');

$request = DefaultRequestFactory::create();
$response = $app->getDirector()->direct($request);
$response->output();

There's some new bits in here (e.g. DefaultAppFactory) which should be solved first, in a separate ticket.

You could also inject custom code with a files composer-included file. This is the same way that framework injects Constants.php (even when running in other apps, e.g. phpunit).

Related: https://github.com/silverstripe/silverstripe-framework/issues/3940

WIP:

https://github.com/open-sausages/silverstripe-framework/commits/pulls/4.0/manifest-cache
https://github.com/open-sausages/silverstripe-config/commits/pulls/1.0/simplecache

PR at https://github.com/silverstripe/silverstripe-framework/pull/6706


Add test cases for ZkLendLoanEntity

Read our Contributor Guidelines and README.
add new folder data_handlers and then inside data_handlers add loan_states. here
Create new test file test_zklend_loan_entity inside loan_states folder
Use this already created mock classes for it here
Add positive and negative test cases for this class ZkLendLoanEntity

I am python dev and returning contributer to this project .I contributed to this project .I think i can make the TC's on ZkLendLoanEntity  pretty fast .btw I love 🍍

I’d like to help with this.

I'll like to work on this, I love 🍍

Can I jump on this task?
Familiar with was is being asked.
I'll make a draft PR within the alloted time period.

I'd be happy to do this.
please kindly assign :)

Can I attempt this issue?

Could I try solving this?
please kindly assign :)

May I take this issue on?

@TEMHITHORPHE Please prepare during next 2 hours your draft PR, otherwise you will be unassigned

@TEMHITHORPHE You were unassigned, because I can't see any draft PR

@Kaminar-i Please, start working as soon as possible, the hackathon is going to end

@djeck1432  i can do this asap

@djeck1432, thank you and don't worry, I'm on the issue

@Kaminar-i  will anticipate your PR during next 4 hours

hi @djeck1432 if this task is avaliable am open to take it. ETA <= 8hrs

hey @djeck1432 please i'm creating a PR soon


Testnet

Do you have a test network?

Testnet is online and active, please use testnet flag.

does not work
neox@s486059:~/pool$ ./neoxa-cli getblocktemplate
error code: -9
error message:
Neoxa is not connected!

Same here, can't connect to any peer on testnet. We are developping a mining pool, really need a testnet for it.

Hi, this will be fixed shortly.


Tag new release with version based dependencies

The latest 0.7.0 version still uses a ~master dependency to memutils. It would be nice to have a versioned dependency included in the upcoming 0.7.23 release of vibe.d. Can you make a quick tag (assuming that things are stable enough) and possibly quickly test on DMD 2.067-rc.1 in advance?

I've added R/W access to the repositories currently involved as vibe.d dependencies. It's mostly your code tweaked and put together differently anyways.


[DBAAS-188] security related changes

Description
Improvements recommended by prod sec team. Unable to add probes for kube rbac proxy container due to following known issue.
https://github.com/kubernetes/kubernetes/issues/43784
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist (Definition of Done)

[x] All acceptance criteria specified in JIRA or in issue number have been completed
[ ] Unit tests added that prove the fix is effective or the feature works
[ ] Documentation added for the feature
[x] all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer

@JoshuaMulliken i've dropped all caps

thanks for pitching in @JoshuaMulliken !


Jump in num.answer.rcode.refused and num.answer.rcode.nxdomain after upgrading from 1.9.6 to 1.11.0 on Centos 8

Hi there,
We are testing latest version of unbound and right away we see a strange jump in these 2 metrics:

We are positive it's not an actual increase of refused because we also monitor queries via dnstap and there is no jump:

As you see numbers on these 2 graphs match before the upgrade to 1.11 and the second graph (dnstap) continues the same trend after the upgrade.
In addition, with tcpdump we were unable to find any valid increase in number of refused nor nxdomains.
We see this across all upgraded servers.
Build spec was not changed compare to 1.9.6.
Any known/expected change in calculating refused/nxdomains counters?
Thanks in advance!

We also see a counter jump on servers which never had "refused":

And again, there are no REFUSED seen via dnstap.

I do not (yet) have an explanation for the last graph. Do you one these machines also not observe REFUSED answers in dnstap and/or tcpdump?

Correct, dnstap does not show ANY REFUSED on the hosts from the last graph. And there were no REFUSED before the update.
Let me try to test your commit and see if it helps.

Other than that small thing we are good to close it. All other metrics look very good!


Trust model

Allow trust-model argument to be passed to encrypt. Also changed command to be an array.

@zeos90 Thank you! Will release that later.

@907th Cool, welcome. Thanks for accepting.


DB interaction refactor

Description:
Currently in PSC lot of code duplicated which is error prone so need to re-factor them.
We do see same code been used across all 3 files types ie CSV, Parquet and raw files.
what code does:

DB interface which exposes certain methods
DB-Utility for Database connection
SQLite implementation
In memory implementation for Junit testing.

Verified these changes in windows server(C:\Users\services\PSC\psc-longevity-test\windows-service-functional-test) and its working fine.


Android: Picker's dropdown arrow disappears when backgroundColor is set

The right-most dropdown arrow is invisible for picker rendered with the code below
<Picker
  mode="dropdown"
  style={{backgroundColor: 'beige'}}
  selectedValue={this.state.language}
  onValueChange={(lang) => this.setState({language: lang})}>
  <Picker.Item label="Java" value="java" />
  <Picker.Item label="JavaScript" value="js" />
</Picker>

I agree, why there is no arrow?

+1

When style is provided the triangle disappears. Looking for a way to keep the triangle while styling it.

+1

+1

+1

+1

Is there any solution to that?

just remove the background color for the picker.

That works, but I was trying to make the dropdown arrow to appear and have the same color as the text. But when I set color to the picker, the text changed its color, but not the arrow

I solved it by setting the background color to white, and replace it inside a parent view after that i added icone to the view just next to the picker with absolute position above the picker like right:10. And this gave me what you looking for

If you wrap the picker in a View with a background color, it works fine:
<View style={{backgroundColor: '#FFF'}}>
  <Picker ... />
</View>

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, it does not seem like there has been any traction on this issue for some time.
The issue is being copied over to our feature request tracker at Canny: https://react-native.canny.io/admin/board/feature-requests/p/android-pickers-dropdown-arrow-disappears-when-backgroundcolor-is-set
There you can upvote issues that are important to you. This will help contributors identify the issues that the community cares about.
If you think this issue should definitely remain open here in the issue tracker and not on Canny, let us know.

@nrathi works fine but this issue is still there.
It means you can not set backgroundColor in Picker

it worked by simply wrapping your picker in a view:

<Picker
mode= "dropdown"
selectedValue={this.state.language}
onValueChange={(itemValue, itemIndex) => this.setState({language: itemValue})}>
<Picker.Item label="language"  />
<Picker.Item label="French" value="French" />
<Picker.Item label="Spanish" value="Spanish" />

it worked by simply wrapping your picker in a view, then adding a background to the view

How i can change drop down icon color of picker

I have the same problem. Does anyone know how to change the color of the dropdown icon?

Here's a way to change the dropdown icon/carrot color @manojbhardwaj @CristianeMayara,
In styles.xml...
<resources>
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
         <item name="android:colorControlNormal">#FFFFFF</item>
    </style>
</resources>


Trailing Stop - Dynamically updating existing positions

Hi There,
Is it possible to create a position -
auth_client.buy(price='100.00', #USD
               size='0.01', #BTC
               order_type='limit',
               product_id='BTC-USD')

And then somehow update that position with a trailing stop at user-defined intervals?

I would track it in python and when the actual sell or buy needs to execute, call the sub with the buy or sell in.
Mat
Matthew Carpenter
07715370228
From: KitHaywood @.>
Date: Monday, 16 May 2022 at 19:14
To: danpaquin/coinbasepro-python @.>
Cc: Subscribed @.***>
Subject: [danpaquin/coinbasepro-python] Trailing Stop - Dynamically updating existing positions (Issue #467)
Hi There,
Is it possible to create a position -
auth_client.buy(price='100.00', #USD
           size='0.01', #BTC

           order_type='limit',

           product_id='BTC-USD')

And then somehow update that position with a trailing stop at user-defined intervals?
—
Reply to this email directly, view it on GitHubhttps://github.com/danpaquin/coinbasepro-python/issues/467, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGGID4DGAC34A7RSAFDJYNLVKKF6VANCNFSM5WCKJRWQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sweet understood - was a long shot


Twinning rate - Kenya

Find and insert twinning rate per live birth - from: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0025239

Standardized rate: 0.16
Updated on kenya-calibration branch 11.15.22


[AutoPR datalake-analytics/data-plane] [ADLA] - Support catalog list table fragments

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2944

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/1728


WIP: Implementation of cross frequency coupling.

Includes some functions to compute the cross frequency coupling and the modulation index as described in: -

High gamma power is phase-locked to theta oscillations in human neocortex, Canolty 2006. (http://www.ncbi.nlm.nih.gov/pubmed/16973878)

Measuring phase-amplitude coupling between neuronal oscillations of different frequencies, Tort, 2010.
(http://www.ncbi.nlm.nih.gov/pubmed/20463205)

Things to be done: -

Extensive testing of implementation with reliable sample data.
Improve API, make more mne (structure, documentation, logging etc.)
Decide how to integrate / use with raw and epochs.

Any suggestions/ideas on how best to do this?

coucou @pravsripad, where are we here? Any chances we can make this mergeable soonish?

@dengemann sorry, have put this on hold for quite sometime now. Will give it a go again this weekend, are we approaching a release soon?

Yes, we're releasing soon.
2015-04-17 9:05 GMT+02:00 Praveen Sripad<EMAIL_ADDRESS>
@dengemann https://github.com/dengemann sorry, have put this on hold
for quite sometime now. Will give it a go again this weekend, are we
approaching a release soon?
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/pull/1388#issuecomment-93924143.

@pravsripad ping ping. This is almost 1 year in the air ...

Ah I see this is already well underway. I think that the methods you guys have worked out in there are more thoroughly developed, though less diverse. My guess is that (at least for a first round) you guys would want to get this code implemented and merged before adding any extra CFC computation methods, right? (e.g. CFC by linear model).
Quick thought - it looks like these are all implemented to be done within a single signal, is that correct? Any plans to allow for calculating PAC / CFC between two signals? E.g., include a data_high flag that would allow you to supply a signal for the high-frequency component, and if it is none then just default to the current behavior. Alternatively supply data in the form of shape(n_epochs, n_chans, n_times) and then specify a connectivity array the same way that the other connectivity functions work?

everything is doable :)

Haha, but is it "doable in this PR"?

this PR is dead sadly...

or needs love I should say...

haha, don't we all. ok well I can put some time into this next week w/ folks if that'd be helpful.

What is left to be improved on this PR? It seems to be quite close, no? Alternatively is it worth writing out a roadmap for any other changes / enhancements to make?

can you do a review of what's left to do for you?

ya, just wanted to see if this already existed in case someone else had already done it

Hello, sorry to join into the discussion late and I am sorry I have not been able to put more time into this PR. It is nearly done except that the unit tests are not extensive, the coverage does not exceed 90% yet.
@choldgraf yes, in this cfc, pac is implemented within one signal only. I just pushed the last of my changes.

@agramfort @choldgraf The last of the above comments have been implemented as well. The functions for stats and plotting are decoupled and cosmetic changes suggested above have been added. Only improving the test coverage remains.
We can discuss how to take this further.

Ok cool - is it close enough to being ready that it's better to just review this and pull it soon, or worth it to consider making changes before then? Would it be much work to include an option to provide a separate signal (e.g. signal_high) and for now make it default to "None"? I think at some point someone will want to do CFC or PAC between signals rather than within a signal, no?

@choldgraf it is my sense that you should take over the PR.  Do you know how to take it over?
I can describe if not.

@choldgraf  To modify the code to pass a single signal would involve quite a few changes. It is currently suited to compute CFC/PAC between different frequency bands only. I am not sure of the use case to compute CFC between different signals, but I think it is a good idea since it is more a generic approach.
+1 from me if you would like to take over this PR.

There are currently some conflicts, is a rebase required from my end?

@pravsripad yes either you or @choldgraf will need to rebase, up to you

If you rebase then I am happy to take over from there. @Eric89GXL does it basically just entail forking his fork, and then setting the upstream to the MNE master branch?

No, forking means "make a copy of code on GitHub", which you don't need to do. What you need to do is make a branch (on your local machine) that looks like his (out on github). The way you make local branches look like remote ones is by populating entries in your git remote. For example, on my machine:
$ git remote -v
larsoner@bunk:~/custombuilds/mne-python$ git remote -v
adykstra	git://github.com/adykstra/mne-python.git (fetch)
adykstra	git://github.com/adykstra/mne-python.git (push)
agramfort	git@github.com:/agramfort/mne-python.git (fetch)
agramfort	git@github.com:/agramfort/mne-python.git (push)
...
choldgraf	git://github.com/choldgraf/mne-python.git (fetch)
choldgraf	git://github.com/choldgraf/mne-python.git (push)
...
origin	git@github.com:Eric89GXL/mne-python.git (fetch)
origin	git@github.com:Eric89GXL/mne-python.git (push)
...
upstream	git@github.com:mne-tools/mne-python.git (fetch)
upstream	git@github.com:mne-tools/mne-python.git (push)
...

This is because I have added entries for folks whose branches I've needed to work on, test, etc. So you should be able to do:
$ git remote add pravsripad git://github.com/pravsripad/mne-python.git
$ git fetch pravsripad
$ git checkout -b cross-freq pravsripad/cross_freq_coupling

This will 1) add an entry in your remote list, so your computer knows about his fork, 2) goes out and finds all branches/changes in his fork, and 3) creates and checks out a new branch on your local machine named cross-freq that looks like (and tracks) his remote one.

So then in that case I would have push access to @pravsripad's branch, and this PR would update automatically as I pushed things?

It would if you had push access to his repo. In most cases you just close the PR and open a new one so that everyone doesn't have to give out write access, though.

ah ok, so here’s what I’d do:

He rebases to master and I rebase to master (just to make sure we're
on the same page)
I pull his branch to my MNE repo w/ the instructions you just said
I push this branch to my own MNE repo on github
I open a PR with my branch
Further changes are made to my branch and we go from there

That sounds correct?

On Mon, Jul 13, 2015 at 7:52 PM, Eric Larson<EMAIL_ADDRESS>wrote:

It would if you had push access to his repo. In most cases you just close
the PR and open a new one so that everyone doesn't have to give out write
access, though.
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/pull/1388#issuecomment-121004895
.

Yes, except there should only ever be one rebase. Either you wait until he rebases, then check out his branch, or you check out his branch now, and then rebase it yourself.

ah good point - once @pravsripad is rebased / up to date then I will pull the branch to mine.

@choldgraf the branch is rebased and up to date.. If all the checks pass, it should be ready to pull.

:facepunch:  Git-Fu Tip:  A faster way to copy a PR in your own computer is to use :
git fetch upstream pull/1388/head:my_copy_of_pr_1388
(where upstream is the usual name of the main remote)
Then you can easily test it, rebase it, push it to your github fork, ...
It also helps keeping your remote list clean.

What's wrong with having 100 entries in your remote? :)

welcome to mne-python @TomDLT :)

@choldgraf has taken over in another PR, closing


New Maintainer needed

Hi Everyone,
since I am not working with ROS anymore and due to the lack of spare time, I am searching for people who are willing to maintain this piece of software, like making sure it works with newer ROS and libfreenect2 releases, responding to issues, etc.
So if you are using this software and you would like to use it in future ROS versions too, than think about becoming a maintainer. Just respond here. ;-)
@JimmyDaSilva wouldn't this be something for you? I saw that you frequently responded to issues to help people and did a great job with it.

Hi all,
We (IAI) are willing to continue maintaining the repo, and making sure that it compiles and works for future ROS or libfreenect2 releases, mergin PRs and so on. With the departure of Thiemo, we did loose in-depth know-how about how the package works, implementation details, etc, hence we would appreciate some help from the community in responding to issues.

I also want to try.

Just give me the chance, though I‘m not very sure I have the ability.


test: tfm: move tfm tests to test subdir

Two of the 'samples' in the tfm_integration sample directory are actually just tests.  Move these into a similar directory under tests.

Might want to kick CI off again ... looks like the doc build failed. On my phone so I don't see the details well, though.

Might want to kick CI off again ... looks like the doc build failed. On my phone so I don't see the details well, though.

The failure is real, though. I need to figure out why the docs can reference samples but not tests. There are broken links because the docs are referring to tests they can't see anymore.

@d3zd3z Should this have been closed?


Add batch_id param to profile  to pass along with dataproc_v1.CreateBatchRequest

resolves https://github.com/dbt-labs/dbt-bigquery/issues/671
Description
This PR enables an optional profile parameter batch_id which gets passed into the dataproc_v1.CreateBatchRequest, so users can give their batch jobs a name.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

Tested locally:

![Screenshot 2023-05-17 at 13 10 12](https://github.com/dbt-labs/dbt-bigquery/assets/14976256/49e6cc6c-5edf-4d63-89fe-8cd87428512d)

Sure thing, added in latest commit @colin-rogers-dbt

Please update the test environment template as well: https://github.com/dbt-labs/dbt-bigquery/blob/main/test.env.example. Otherwise it looks good.

Thanks for the suggestion, added in latest commit @mikealfare


[API Feature Request] A method that return the selected Finder items

Describe the feature and the current behavior/state.
A method that return the selected items in Finder (files and folders). I've asked @thomaspaulmann about this on Slack and he suggested something like getSelectedFile, that would fit nicely with getSelectedText. I'm not completely convinced by the naming though because the method would ideally return an array of finder items, something like this:
interface FinderItem {
  path: string;
  isFile: boolean;
  isDirectory: boolean;
}

And that could be used like this:
const selection = getSelectedFiles();
const files = selection.filter(item => item.isFile);
files.forEach(file => { console.log(file.path) });

Will this change the current api? How?
No.
Who will benefit with this feature?
Extensions that act on the selected files and/or folders, like #147 – Open Finder Selection With…. Some examples:

an extension with commands to open the selection with specific applications, so you could assign a keyboard shortcut to open files with your code editor for example;
an extension to upload the selected file to an online file sharing service;
an extension to display the summed size of the selected files;
an extension to compress the selected files;
an extension to convert the format of the selected image files.

Any Other info.

I would suggest making this behave like Launchbar's Instant Send. If frontmost selection is Finder items, that is what gets passed. If it is text (in any app), then that gets sent.

you can already access the selected text (in any app) with getSelectedText. This will add getSelectedFinderItems to get the finder items if it is the frontmost app


Add GR 09: restrict public IPs for VMs and SQL instances via organization policy

IAM organization policy - restrict SQL public IPs - https://console.cloud.google.com/iam-admin/orgpolicies/sql-restrictPublicIp?organizationId=743091813895&supportedpurview=project
AM organization policy - allowd external IPs for VMs - https://console.cloud.google.com/iam-admin/orgpolicies/compute-vmExternalIpAccess?organizationId=743091813895&supportedpurview=project

https://github.com/canada-ca/accelerators_accelerateurs-gcp/issues/51
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/155

20240406: Closing issue during retrofit/rebase of this TEF V1 based/modified repo to TEF V4 standards
This issue may participate in the LZ refactor after rebase
Query on all issues related to the older V1 version via the tag
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/labels/2024-pre-tef-v4


make bootstraping from an existing server easier

bacalhau serve --bootstrap-server=<IP_ADDRESS> --bootstrap-token=a98oegua9o8euga9oe8gua9e8ugaoe98 (if on)

querying (with permission) should output the correct connection string to join a cluster, ideally one that can be an input to bacalhau serve. E.g.
curl myserver.com/connection-string | bacalhau serve

Or:
curl myserver.com/connection-string > foo.txt
cat foo.txt | bacalhau serve

Right now - the service outputs a set of strings I need to deconstruct into a real working server and/or things i need to manually fix to use from a client - e.g.:
export BACALHAU_NODE_CLIENTAPI_HOST=<IP_ADDRESS>

we no longer need a connection string or multiple flags to connect to a network. We only need the requester's ip address (and optionally a token), which is similar to your suggestion of only providing --bootstrap-server=ip, except we don't need another service for bootstrapping as the requester node is doing that


chore: Log requests to widget endpoints

We have no logs for these endpoints in any environment but Mercury uses them to create images for the e-inks. Adding some logging so we have a way to tell when something goes wrong.

The existing logs may make the info log I added redundant, but I think having some visibility into bad requests would be helpful. I would be curious to see if an error indicates an issue on the screen so being notified of them could help answer that. What do you think?

Error logging sounds good — this is kind of an "exceptional" scenario rather than something we'd expect to hit regularly. If we want to be notified proactively about it, maybe a Sentry report instead? But I think just making it stand out a bit more in the logs is fine.


[Question] How to use Int32 schema type?

https://www.npmjs.com/package/mongoose-int32

there was somewhere an documentation for "custom" types, but i cant find it, will probably add an test & documentation in 6.0.0

@Ben305 this can be closed in favor of https://github.com/hasezoey/typegoose/issues/36


chore: infer the right type of chromeai() overload

fix:

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (31f9054) to head (8f8a9b8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          579       581    +2
  Branches       102       102
=========================================
+ Hits           579       581    +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Loading/Refresh State

When redrawing the table, let’s keep the data persistent until it’s refreshed. The refresh can happen quickly which can create a flashing effect.
Create a zone loader like effect, something like:

@morgan Awesome, I think I've got this working with pretty minimal effort, fairly plug 'n play, works well in the dummy app, also works if you are using the route to make the request and bind the response to the component, you just need to toggle the isLoading property before and upon success/failure of the request (and bind it to the controller). I've updated the route example as well.
Looks pretty much like the screenshot above.


Update update_senders when an update proposal is removed from the bundle

Description of changes:
'update_senders` is now updated when the list of update proposals changes to ensure they stay in sync.
Call-outs:
N/A
Testing:
A test was added to check that the resulting group state is correct when an invalid update proposal was submitted.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (f74a5cc) 91.63% compared to head (1267e9c) 91.95%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
+ Coverage   91.63%   91.95%   +0.32%
==========================================
  Files         167      167
  Lines       30048    30204     +156
==========================================
+ Hits        27535    27775     +240
+ Misses       2513     2429      -84

Files
Coverage Δ

mls-rs/src/group/mod.rs
95.43% <100.00%> (+0.26%)
:arrow_up:

mls-rs/src/group/proposal_filter/filtering.rs
95.33% <80.00%> (-0.24%)
:arrow_down:

mls-rs/src/tree_kem/mod.rs
96.33% <0.00%> (-0.10%)
:arrow_down:

... and 8 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Output folders are not created for Automatic1111

Hello I do not think that output folders are created

Same problem here, two days ago i ran the AUTOMATIC1111 web ui colab and it was correctly saving everything in output folders on Google Drive, today even though the folders are still there, the outputs are not being saved

I'll fix that today, it's the result of fixing the freezing when doing big batches


[API] [Friend list] [/friends/not-friends-yet] The response contains users that do not have a "+" in the search name portion

Environment: Windows 10 Pro, Postman
Reproducible: always
Build found: 21.09.23
Preconditions

The user is logged in, and the token is gotten.
At least one user, who is not a friend yet, exists (e.g. name: 'Nataliia-Hrusha+Наталія_Груша')

Steps to reproduce

Send the request: GET greencity.greencity.social/friends/not-friends-yet?name={parameter}
(e.g. {parameter}: '+')
Check a response.

Actual result
The status code is 200 OK. There are users without {parameter} in the part of the name in the response.

Expected result
The status code is 200 OK. There is the user with {parameter} in the part of the name in the response.
User story and test case links
User story #1003

This endpoint works correctly, retest, please via swagger or send such request (http://localhost:8080/friends/not-friends-yet?name=%2B&page=0&size=5) from postman


Connection problem

Hi,
I have problem when i connect webui to aria2.
ARIA2:

[NOTICE] IPv4 RPC: listening on TCP port 6800
[NOTICE] IPv6 RPC: listening on TCP port 6800

WEBUI:

Oh Snap! Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings

Command to launch aria2c:

aria2c --enable-rpc --rpc-listen-all --rpc-secret=*********************************************

Config in Configuration.js:

host: location.protocol.startsWith('http') ? location.hostname : 'localhost',
path: '/jsonrpc',
port: 6800,
encrypt: true,
auth: {                          // either add the token field or the user and pass field, not both.
token: '*******************************************'
/-----------------------------/
// user: 'YOUR_USERNAME',
// pass: 'YOUR_SECRET_PASS'
},
directURL: ''

Aria2 and webui are on same server:

Debian 8 headless

Thanks for helping.

Same here. Some time ago stopped working in Firefox, but Chrome was OK. Yesterday stopped working with Chrome too, so now have no access to my aria2 server on Raspbian.

What does the Chrome developer tools Network tab show?


Make the /admin/searchedTerms page actually display data from the database

User Story
As a user I can bring up the table of searched terms so that I can see all of the terms that were searched and how often.
Discussion
The data shown at this point will still be fake data, since the story to update the table with real data is still in progress.
You can use the file data.sql.SAMPLE to put in SQL commands that will populate the table.   When you copy that file to data.sql (temporarily), then on localhost that data will be put into the table for testing.
Do not commit data.sql to the repo; only data.sql.SAMPLE.
Acceptance Criteria

[ ] There is a data.sql.SAMPLE that can be used to populate the searched terms table.
[ ] On localhost, when data.sql is used to populate that table, we can see that data when we bring up the searched terms table on the front end route /admin/searchedTerms

Implementation Todos
Back end:

[ ] Rename Search entity and repository to SearchedTerm entity and SearchedTermRepository to avoid confusion (the word "Search" is already being used in an existing controller.
[ ] Add a SearchedTermsController that has a method in it to list all of the contents of the SearchedTerms table, on the route /api/member/searchedterms

Front End:

[ ] Add code to the page javascript/src/main/pages/Admin/SearchedTerms.js to fetch data from that api and display it in the table

Testing:

[ ] Front end tests pass and there is adequate coverage
[ ] Back end tests pass and there is adequate coverage

This is now a duplicate so closing


context is not defined

The code above/below won't run, context is not defined (it's turnContext).
else {
await turnContext.sendActivity([${context.activity.type} event detected]);
}

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

ID: 2c94a4c9-e988-3b42-a7db-3634d15e9c47
Version Independent ID: 68765289-1d77-6e4a-c6fb-1abbc067fcbd
Content: Manage conversation and user state - Bot Service
Content Source: articles/v4sdk/bot-builder-howto-v4-state.md
Service: bot-service
Product: bot-framework
GitHub Login: @ivorb
Microsoft Alias: v-ivorb

@cmayomsft - Fix is pushed to the live site. Changes should percolate through the system in 15-20 minutes.


requirements.txt: do not fix versions of base pip dependencies

they are already fixed in base template: https://github.com/neuromation/template-base-image/blob/ca9f7cae744fb0769197c1b015b4835299583ca5/targets/Dockerfile.python36-jupyter-pytorch-tensorflow-jupyterlab#L98-L102
So we'll have difficulties if versions differ.

This is true. We should have exactly the same list of dependencies in base image and in requirements.txt.

let's better do https://github.com/neuromation/cookiecutter-neuro-project/pull/136#issuecomment-544491778


incorrect ScriptUri in example

Under the "Tips for building Windows images" section the scriptUri under the For example is incorrect. It is currently pointing to:
https://raw.githubusercontent.com/azure/azvmimagebuilder/master/solutions/14_Building_Images_WVD/0_installConfFSLogix.ps1 - which results in a 404.
It should point to:
https://raw.githubusercontent.com/Azure/azvmimagebuilder/main/solutions/14_Building_Images_WVD/0_installConfFsLogix.ps1

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

ID: fdd1ceed-3b0d-e6ea-c508-c17a7cadddd1
Version Independent ID: 1ec9906b-ea9d-535b-9523-5f45aa34212f
Content: Create an Azure Virtual Desktop image by using Azure VM Image Builder - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/image-builder-virtual-desktop.md
Service: virtual-machines
Sub-service: image-builder
GitHub Login: @kof-f
Microsoft Alias: kofiforson

@davegoebel
Thanks for the feedback! We will check and update the document as appropriate.

@kof-f
Can you please check and update the link on this doc as applicable.

Thanks for bringing this to our attention, @davegoebel! I've created a PR to fix the link. The update should be published later today.
#please-close


Empty line in line protocol body causes rest of file to be ignored

Bug report
System info:
OSX, built from a0004b68577cdbfc921463404eab839c50f14a0c
Steps to reproduce:
Run this shell script:
#!/bin/bash

curl -s -XPOST http://localhost:8086/query --data-urlencode "q=CREATE DATABASE test"

POINTS_FILE=$(mktemp)

echo "foo,s=A n=0i" >> "$POINTS_FILE"
echo "foo,s=B n=1i" >> "$POINTS_FILE"

curl -XPOST "http://localhost:8086/write?db=test" --data-binary "@$POINTS_FILE"

echo "This should have count = 2:"
curl "http://localhost:8086/query?db=test" --data-urlencode "q=SELECT count(n) FROM foo"

echo > "$POINTS_FILE" # By putting a newline at the start of the file, the rest of the file will not be parsed.
echo "foo,s=A n=2i" >> "$POINTS_FILE"
echo "foo,s=B n=3i" >> "$POINTS_FILE"

curl -XPOST "http://localhost:8086/write?db=test" --data-binary "@$POINTS_FILE"

echo "This should have count = 4:"
curl "http://localhost:8086/query?db=test" --data-urlencode "q=SELECT count(n) FROM foo"

Expected behavior:
Count is 2 on the first query and 4 on the second query.
Actual behavior:
Count is 2 on both queries. The second write is cleanly accepted, with no indication to the user that there was any kind of parse error. It would be nice if the response, or at least a header, indicated how many points were parsed, so that the developer could more easily diagnose that not all points were accepted properly.
Offending line is here: https://github.com/influxdata/influxdb/blob/a0004b68577cdbfc921463404eab839c50f14a0c/models/points.go#L169-L171

I think that should be a continue. @jwilder can we get this into RC2 or should it go into the final release for 1.0?

Fixed via #7241.


can't read dataset

File "train.py", line 125, in
train(arguments[""], arguments["--ckpt"], arguments[""])
File "train.py", line 55, in train
X_train, y_train, X_valid, y_valid, X_test, y_test = get_data(dataset)
File "/home/unist/Documents/CapsNet/capsnet-traffic-sign-classifier/data_handler.py", line 23, in get_data
train = pickle.load(f)
File "/usr/lib/python3.4/codecs.py", line 319, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
I have this problem. I am using python3.
Please help me to solve this problem or any comments about this one.
Thank you a lot

Hi, what is your current os?

I'm using Ubuntu14.04

I can't reproduce your issue.
Maybe you can try to add encoding='utf8' in each 'open' method in the file data_handler.py and/or adding this line at the beginning:
import sys
sys.setdefaultencoding('utf-8')
Let me know if you keep stuck

Thank you a lot for your attention.
I found a way to fix it, add one more option to data_handle
with open(training_file,'rb') as f:
    train = pickle.load(f)
with open(validation_file,'rb') as f:
    valid = pickle.load(f)
with open(testing_file, 'rb') as f:
    test = pickle.load(f)

Once, thank you.
Best wishes,

Thank you a lot for your attention.
I found a way to fix it, I've removed the "model" in reading part of data_handle
with open(training_file,'rb') as f:
train = pickle.load(f)
with open(validation_file,'rb') as f:
valid = pickle.load(f)
with open(testing_file, 'rb') as f:
test = pickle.load(f)
Once, thank you.
Best wishes,


tests: Fix off-by-32 bits in LPM tree

The integration tests started failing starting with kernel 6.8, and after some checks, it pointed to this commit
https://github.com/torvalds/linux/commit/9b75dbeb36fcd9fc7ed51d370310d0518a387769.
The tests fail now because the prefix length we pass is 32 bits higher (see initialiser) than the maximum prefix length. After this commit was introduced, any prefix length that's higher than the key size will return NULL earlier, rather than returning the value with the longest match, even if it's beyond the size the key can encode.
Test Plan
Ran the tests and some profiles on a box running 6.8.7-200 (Fedora) without issues.
Also added an assertion to ensure that the prefix_len is not bigger than the LPM trie key size.

Many thanks to @florianl for noting that this was not a kernel regression, but a bug on my code!


dependabot losing markers in requirements.txt files

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
pip, pipenv
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
dependabot started losing markers in generated requirements.txt:

https://github.com/Taxel/PlexTraktSync/pull/1558 (restored manually https://github.com/Taxel/PlexTraktSync/commit/2ddc216b8e018f130851e9779cbb61a931c269a4)
https://github.com/Taxel/PlexTraktSync/pull/1553 (restored manually https://github.com/Taxel/PlexTraktSync/commit/846d2e0131616da377fd05d280722272a4cb64db)

...
-idna==3.4; python_version >= '3.5'
-importlib-metadata==6.8.0; python_version >= '3.8'
+idna==3.4
+importlib-metadata==6.8.0

Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

Another examples:

Taxel/PlexTraktSync@4b799d0 (#1563)
Taxel/PlexTraktSync@7a89229 (#1564)

anyone even recognizing this as a bug?

We just updated the pipenv version used by Dependabot. Can you verify whether the problem is fixed, or still present?

it's not removing them anymore it seems, but sort order seems different:

Taxel/PlexTraktSync@ed42141 (#1600)

and why it's removing now "index": "pypi" from Pipfile.lock?

I guess the original problem is resolved.


.NET download links in releases.json files are broken

Description
.NET SDK and runtime download links mentioned in releases.json are not working. For example: https://github.com/dotnet/core/blob/main/release-notes/releases-index.json fails with 404 error.
This is causing azure pipelines tasks to fail as it takes dependency on this file.
cc @leecow
Regression?
Yes

The http url seems to work fine: http://download.visualstudio.microsoft.com/download/pr/c7afc344-acf0-4a6c-8e53-4455f2bcfc85/321418f6300e475f6c5d52849efa2e2e/dotnet-sdk-3.1.411-linux-x64.tar.gz works

We're investigating some 404 issues. I think it depends where the pipeline is configured. Some folks are also having trouble the link directly. This seems like a duplicate of #6496.

I was wrong about http working fine. Even https works fine intermittently. So indeed looks like an issue with CDN servers.
@mairaw is there an ETA on this issue? This may potentially start impacting azure pipelines for large number of customers.

Dupe: https://github.com/microsoft/azure-pipelines-tasks/issues/15086

I'll close this one then since we have at least two issues covering the same problem and the team is aware of this. Didn't get an ETA from this yet.


HTML

HTML
User Story
As a boot camp student
i want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
Given a Prework Study Guide website
WHEN i visit the website in my browser
THEN i see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed.

done


Make an exception class that pre/post processors can raise to skip formatting

Would like to have a pre/post processor function that can raise a special exception that tells ufmt to skip formatting a file without triggering an error status.

Fixed by #79


PhishingController - ChainPatrol list consume

Explanation

Add named key for ChainPatrol so that we can consume their list
They have forked MetaMask/eth-phishing-detect so it is the same shape as eth_phishing_detect_config named key

References

Changelog

@metamask/package-a

: Your change here
: Your change here

@metamask/package-b

: Your change here
: Your change here

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

related: https://github.com/MetaMask/metamask-extension/pull/18841/


Filters (Options) By Channel #, By Channel Name instead of Group Ttitle?

I installed Telly and Plex Media Server on an Open Media Vault server in my basement. Everything is working, but I really need to understand the Filters options available in the config file.
My IPTV has 20,000 channels and over 100 groups. I was restricted by the Plex error on Telly for the "480" limitation. I filtered by "USA LOCALS". Problem is when I actually program Plex and select the channels I watch from within that group, 4 channels appear in Plex. If I add any other groups it is immediately cut because of the "limitation" error.
Is there a way to filter by channel. I basically just need a handful of channels so I can record, but they are scattered throughout various groups.
Also... FYI - Kudos on an ingenious backend for Plex.

Have you read the filtering article in the wiki?
https://github.com/tellytv/telly/wiki/Running-Telly%3A-Filtering
I feel like I've covered it pretty well in there, but if there are ways it could be made more clear I'd like to update it.

Have you read the filtering article in the wiki?
https://github.com/tellytv/telly/wiki/Running-Telly%3A-Filtering
I feel like I've covered it pretty well in there, but if there are ways it could be made more clear I'd like to update it.
There are some testing scripts linked in that article that I use to fine-tune filters.
But overall, you can filter on any field in the m3u, or on the line as a whole.  Almost every IPTV service has way too many channels, so this is something that has to be done by every user.

Also, you might consider bringing this to the discord; it can be easier to discuss over there.

I figured it out. Unfortunately the only consistent variable for the channels I want within the m3u_plus file is tag-id"name.us" - so I have filtered by this instead of categories.
Lots of searching and typing... but it works.


CAMEL-20382: camel-kafka - RecordMetadata header naming convention

Description
Update the KAFKA_RECORDMETA header name for the List<RecordMetadata> metadata from org.apache.kafka.clients.producer.RecordMetadata to kafka.RECORDMETA

Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

/component-test kafka

Can we name the header Kafka.RECORD_METADATA

Yes of course.

/component-test kafka


2018 Nissan Leaf Instrument Cluster

Today my C2 refused to work. It did not recognize the car. This is what I had in the Useradmin -> carParams -> carFW section:
carFw = [
( ecu = engine,
fwVersion = "5SH4A\003AB\a5SH4APSMT04\000\000\000\x80",
address = 1943,
subAddress = 0 ) ],
radarTimeStep = 0.05,
communityFeature = true,
steerLimitTimer = 0,
fingerprintSource = can,
networkLocation = fwdCamera,
minSpeedCan = 0.3,
stoppingBrakeRate = 0.2,
startingBrakeRate = 0.8,
maxSteeringAngleDeg = 0,
fuzzyFingerprint = false,
enableBsm = false,
hasStockCamera = false ) )
...
And this is the end of this 'file'. It seems to have only recognized the engine ECU.
I had several drives today, I even rebooted C2, but nothing changed. I could not use OpenPilot as it did not recognize my car.

I noticed the same. The number of recognized ECUs varies quiet a lot for each start of the vehicle. Maybe a timeout problem? (Also an issue might be that we spam each ECU with multiple messages due to the 6 different response offset values.)

That is interesting. I am on fingerprinting v2 since a month and I had no issues like that. Always recognized the car.
@robin-reckmann This is not supposed to be the final solution. Currently we are trying to get "everything" by shooting with a shotgun. Maybe it would be a good idea to make a "stable" branch and a testing branch so that nissan leaf IC owners can use this as solution till it is merged.
@tibora can you ssh into the device and execute the fw python script as shown in the readme and report the output here? Also one run with --scan as command line argument.

Today it has worked again. I did not change anything.
When next time it fails to recognize the car I will SSH in (if I have a computer with me) and run the script.

I investigated a bit further and saw some asserts (AssertionError: isotp - rx: invalid consecutive frame index) (also present in @tibora s last issue). They cause the fwquery to stop at some point and lead to the missing FWs.


Have wrong when I run evaluate.py

When I run evaluate.py, it has wrong about "AttributeError: 'Config' object has no attribute 'processing_tag'."  Could you please tell me how can I solve it?
Thank you!
The detail is shown below
python evaluate.py /usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88   return f(*args, **kwds) /usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88   return f(*args, **kwds) Initializing tf session 2018-09-26 15:53:01.238774: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA 2018-09-26 15:53:02.296384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1405] Found device 0 with properties:  name: Tesla P40 major: 6 minor: 1 memoryClockRate(GHz): 1.531 pciBusID: 0000:3b:00.0 totalMemory: 22.38GiB freeMemory: 22.21GiB 2018-09-26 15:53:02.296457: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1484] Adding visible gpu devices: 0 2018-09-26 15:53:02.623675: I tensorflow/core/common_runtime/gpu/gpu_device.cc:965] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-09-26 15:53:02.623747: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971]      0  2018-09-26 15:53:02.623760: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] 0:   N  2018-09-26 15:53:02.624118: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1097] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 21549 MB memory) -> physical GPU (device: 0, name: Tesla P40, pci bus id: 0000:3b:00.0, compute capability: 6.1) Variable: pos1/_pos1_embeddings:0 Shape: (500, 5) Variable: pos2/_pos2_embeddings:0 Shape: (500, 5) Variable: conv/conv/kernel:0 Shape: (3, 60, 1, 230) Variable: conv/conv/bias:0 Shape: (230,) Variable: proj/W1:0 Shape: (690, 53) Variable: proj/b:0 Shape: (53,) Reloading the model in ./results/test/model.weights/early_best.ckpt... INFO:tensorflow:Restoring parameters from ./results/test/model.weights/early_best.ckpt Restoring parameters from ./results/test/model.weights/early_best.ckpt Traceback (most recent call last):   File "evaluate.py", line 69, in <module>     main()   File "evaluate.py", line 61, in main     config.processing_tag, config.max_iter) AttributeError: 'Config' object has no attribute 'processing_tag'

You have figure out the problem by yourself, welcome to fix and pull.


Lab 3 - Exercise 4 - Configure Event-based Retention Task 4 no option to apply label

Module: 03
Exercise: 04
Task: 04
Step: 08
Description of issue
Hello, I'm unable to see any option to apply the label on the Operations site even after waiting for a few hours, can I get some guidance on what I might be doing wrong? Although the label shows up successfully on other sites see the 2nd screenshot.

Repro steps:

Perform all steps till step 8
No option to apply the label shows up.

Thank you for bringing this to my attention, and apologies on the late reply as I was researching this issue.
I was able to reproduce the same issue, and am this time I'm unsure as to why this retention label was available in some SharePoint libraries and not in others. For now I'll be rewriting this step to apply the retention label to a document that is not in a SharePoint library experiencing this issue while I continue to investigate.


Gk exercise resource combine

All exercises spell and grammar checked. Standardized format for exercises. Added icons for prerequisites and notes.

@gregkorte 👍


Display 'Linux Preview' tag next to the new created function app when deploying one python project

Repro Steps:

Create one function project with Python.
Click 'Deploy to Funcrion App...' -> Select 'Create New Function App' -> Enter a unique name for the new function app -> Choose a resource group and storage account.
Check the created function app.

Expect:
No tag 'Linux Preview' displays next to the function app name.
Actual:
Display the tag 'Linux Preview' next to the function app name.

This is by-design. Python only works on Linux function apps, which are still in preview.


tailscale package repo moved?

getting this failure w/ v1:
Run tailscale/github-action@v1
  with:
    authkey: ***
    version: 1.48.1
  env:
    AWS_DEFAULT_REGION: us-west-2
    AWS_REGION: us-west-2
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_SESSION_TOKEN: ***
Run MINOR=$(echo $VERSION | awk -F '.' {'print $2'})
  MINOR=$(echo $VERSION | awk -F '.' {'print $2'})
  if [ $((MINOR % 2)) -eq 0 ]; then
    URL="https://pkgs.tailscale.com/stable/tailscale_${VERSION}_amd64.tgz"
  else
    URL="https://pkgs.tailscale.com/unstable/tailscale_${VERSION}_amd64.tgz"
  fi
  curl $URL -o tailscale.tgz
  tar -C ${HOME} -xzf tailscale.tgz
  rm tailscale.tgz
  TSPATH=${HOME}/tailscale_${VERSION}_amd64
  sudo mv "${TSPATH}/tailscale" "${TSPATH}/tailscaled" /usr/bin
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    AWS_DEFAULT_REGION: us-west-2
    AWS_REGION: us-west-2
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_SESSION_TOKEN: ***
    VERSION: 1.48.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    81  100    81    0     0    247      0 --:--:-- --:--:-- --:--:--   248

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Error: Process completed with exit code 2.

looks like that URL is now a redirect:
curl -v  https://pkgs.tailscale.com/stable/tailscale_1.26.0_amd64.tgz
*   Trying <IP_ADDRESS>:443...
* Connected to pkgs.tailscale.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=pkgs.tailscale.com
*  start date: Jul 22 17:17:19 2023 GMT
*  expire date: Oct 20 17:17:18 2023 GMT
*  subjectAltName: host "pkgs.tailscale.com" matched cert's "pkgs.tailscale.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /stable/tailscale_1.26.0_amd64.tgz]
* h2h3 [:scheme: https]
* h2h3 [:authority: pkgs.tailscale.com]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x12e00e800)
> GET /stable/tailscale_1.26.0_amd64.tgz HTTP/2
> Host: pkgs.tailscale.com
> user-agent: curl/7.88.1
> accept: */*
>
< HTTP/2 302
< content-type: text/html; charset=utf-8
< location: https://dl.tailscale.com/stable/tailscale_1.26.0_amd64.tgz
< strict-transport-security: max-age=63072000; includeSubDomains
< content-length: 81
< date: Fri, 25 Aug 2023 21:12:47 GMT
<
Found.

* Connection #0 to host pkgs.tailscale.com left intact

i see v2 uses the same URL and doesn't follow redirects, so i suspect it's still a problem there, though I haven't yet tried to bump it

Hey! Thanks for the report. We were indeed moving our package infrastructure around, and looks like our github action needs fixing. I've rolled back the change, so the existing action should work again if you rerun it. Can you confirm?

Yes, working now after your rollback. Thanks!

agreed, looks good now, thanks for the quick response!


viewer: Use raw colors instead of converting them to numbers

Codecov Report
Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 84.74%. Comparing base (043b7b9) to head (c141191).

Files
Patch %
Lines

ext/GeoTablesMakieExt/viewer.jl
0.00%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
- Coverage   85.75%   84.74%   -1.02%
==========================================
  Files          21       21
  Lines         948      944       -4
==========================================
- Hits          813      800      -13
- Misses        135      144       +9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


chore: update a deprecated usage of resume function Kotlinx coroutines in okhttp-coroutines

It seems that the project uses a modern version of Kotlin
https://github.com/square/okhttp/blob/54238b4c713080c3fd32fb1a070fb5d6814c9a09/gradle/libs.versions.toml#L13
Which already supports using the new function

It seems the old function was experimental before Kotlin 1.9.0 which might be one reason why executeAsync requires @ExperimentalCoroutinesApi annotation

Should we remove the annotation too then?

Should we remove the annotation too then?

The version of the okhttp-coroutines module says it's in alpha (5.0.0-alpha.11)
it works just like expected for me, I'm not sure what's missing and why this annotation is used in the first place, my guess is it was required on older versions of Kotlinx coroutines, see this issue: https://github.com/Kotlin/kotlinx.coroutines/issues/4088
It was created by a developer from Square (the same community/organization that developed OkHttp) and it seems to be fixed, I'm still not sure why it's not removed, maybe they use the experimental annotation from Kotlinx coroutines as a way to indicate the functionality is not production ready, subject to change, miss something, have bugs or they have some other reasons
For me, it was working perfectly fine, the code seemed to compile successfully without annotating the function and requiring to mark the functions that are using executeAsync()
Not related issue: using this module makes the bundle size a little bit bigger (compared to the size of the current project I'm working on), there might be unused dependencies or some libraries that are meant to be used in tests only or some other imports, I tried to use this extension function by copying the code to a blank project vs using the extension function from okhttp-coroutines

The size is smaller when copying the code of the extension function inside this module, since now the extension function executeAsync is stable, it's possible to publish the okhttp with okhttp-coroutines with the same version

Doesn't this require bumping to the 1.9.0-RC of Kotlinx coroutines
https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.9.0-RC

Promoted CancellableContinuation.resume with an onCancellation lambda to stable, providing extra arguments to the lambda

Doesn't this require bumping to the 1.9.0-RC of Kotlinx coroutines
https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.9.0-RC

Promoted CancellableContinuation.resume with an onCancellation lambda to stable, providing extra arguments to the lambda

It does, though this is the minimum supported version by Kotlin 2.0.0. Most projects are already working on migrating to use K2.
Otherwise, we would need to wait for a while before increasing the minimum version.
This change might need to be done to OkHttp 5.0.0 instead. Closing this PR.

We should follow Okio, even if not strictly neccesary.  I think they are on 1.9.21
Pending PR https://github.com/square/okio/pull/1483


[otbnsim] Assorted improvements

A large set of small changes to improve otbnsim in various ways. These are random things I found when trying to generate more statistics from simulation runs. (The actual PR implementing that will come shortly after a bit more testing.)
Please have a look at the individual commit messages for more details.

Thanks for your review @rswarbrick!
I addressed your comments and additionally added a doc rewrite pass to transform the state.set_next_pc() call into the same syntax we had before (PC <= offset).
(And I found that git absorb (https://crates.io/crates/git-absorb) worked great!)


Update e2e-wine UAT for Kubeflow 1.9

Context
For the Kubeflow 1.9 we must update  e2e-wine UAT because it uses Seldon to deploy the trained model. With Kubeflow 1.9 seldon wont be part of the bundle.
While we are working on this we should also use kfp v2 SDK in the test rather then the older v1.
What needs to get done

Use Kserve for serving model in e2e-wine UAT for Kubeflow 1.9
Use kfp v2 SDK  in e2e-wine UAT for Kubeflow 1.9

Definition of Done

UAT is updated
Tests are passing (manual, AKS, EKS)

Closed with https://github.com/canonical/charmed-kubeflow-uats/pull/104
Key things I have learned:

KFP v2 introduces new syntax for writing pipelines. This includes changes in how components and data passing are handled.
Each pipeline step defaults to Python 3.7, which should always be overridden to Python 3.11 for consistency.

Example:
@component(
    base_image="python:3.11",  # Use Python 3.11 base image
    packages_to_install=["requests==2.32.3", "pandas==2.2.2"]
)
def download_dataset(url: str, dataset_path: OutputPath('Dataset')) -> None:
    # Import necessary packages within the function
    import requests
    import pandas as pd

    # Download the dataset from the provided URL
    response = requests.get(url)
    response.raise_for_status()

As shown above, you can install the necessary requirements directly for each pipeline step using packages_to_install.
Ensure that required packages are imported within the function body for each step.

Passing Data Between Steps:

To pass data between steps in the pipeline, KFP v2 now uses InputPath and OutputPath annotations. Please use the correct annotation type within the brackets; otherwise, data may be incorrectly passed between steps. Some useful annotations include Dataset for passing dataset files through S3 and String for passing strings as arguments in the Argo workflow outside of S3.

Example:
@pipeline(name='download-preprocess-train-deploy-pipeline')
def download_preprocess_train_deploy_pipeline(url: str):
    # Step 1: Download the dataset from the URL
    download_task = download_dataset(url=url)

    # Step 2: Preprocess the downloaded dataset
    preprocess_task = preprocess_dataset(
        dataset=download_task.outputs['dataset_path']
    )

OutputPath typed arguments can be accessed through the outputs attribute, as shown above.
Unfortunately, there is no simple way to pass secrets to KFP v2 steps as we did in v1. To work around this, I am mounting environments directly to the step with the same values I use in my notebook.

Note: Most online resources focus on KFP v1, so I highly recommend consulting the official documentation for KFP v2.5.0, which is compatible with our kserve 0.13.1 SDK due to the protobuf requirement conflict. You can find the relevant documentation here.


DotNetFunctionInvoker Duplicated compilation errors

Create a new C# Http function from our template. Run it once. Then create a compilation error (e.g. change log.Info to logxxxInfo. You'll see the error written twice:
2016-09-12T20:55:28  Welcome, you are now connected to log-streaming service.
2016-09-12T20:55:30.825 Function completed (Failure)
2016-09-12T20:55:30.825 Exception while executing function: Functions.HttpTriggerCSharp1. Microsoft.Azure.WebJobs.Script: Script compilation failed.
2016-09-12T20:55:44.792 Script for function 'HttpTriggerCSharp1' changed. Reloading.
2016-09-12T20:55:44.886 run.csx(5,5): error CS0103: The name 'logxxxInfo' does not exist in the current context
2016-09-12T20:55:44.886 run.csx(5,5): error CS0103: The name 'logxxxInfo' does not exist in the current context
2016-09-12T20:55:44.886 Compilation failed.

This is due to a change (fix) in Roslyn, and since we've updated with the latest release, our workaround is now causing this issue. Will remove the workaround, which should give us the expected results.


Tile.colorTransform not working in html5

With openfl 8.6.4 it works with flash, but not with html5. (I'm aware of the dirty-flag)
I have looked into the rendering code of CanvasTilemap and FlashTilemap. The latter uses the colorTransforms, but CanvasTilemap seems to ignore colorTransforms completely.
If performance impact of colorTransform was too bad in html5, maybe just add a hint in the comments (e.g. to use shaders instead)

colorTransform doesn't seem to work on html5, HL, and cpp. Any updates or leads on this issue?

The following code is working for me on HTML5, Neko, and HL. Additionally, I am not using hardware="false".
var bmd = new BitmapData(100, 100, false, 0xffffffff);
var ts = new Tileset(bmd, [new Rectangle(0, 0, 20, 20)]);
var tm = new Tilemap(200, 150, ts);
addChild(tm);

var tile1 = new Tile(0);
tile1.colorTransform = new ColorTransform(0, 0, 0, 0, 255);
tm.addTile(tile1);

var tile2 = new Tile(0);
tile2.colorTransform = new ColorTransform(0, 0, 0, 0, 0, 0, 255, 0);
tile2.x = 10;
tile2.y = 10;
tm.addTile(tile2);

My bad, I thought FlxCamera's were using Tiles, they are not


Error message when installing full version of PGBM

Describe the bug
I have Python 3.6.5 on a windows 10 machine. I don't use anaconda environment; so I install Python packages using pip command.
I would like to install a full version of PGBM, and following the documentation I used this command:
pip install pgbm[all] --find-links https://download.pytorch.org/whl/cu102/torch_stable.html
and I get this error message:
Collecting pgbm[all]
Could not find a version that satisfies the requirement pgbm[all] (from versions: )
No matching distribution found for pgbm[all]
You are using pip version 9.0.3, however version 21.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
To Reproduce
Run this pip installation command:
pip install pgbm[all] --find-links https://download.pytorch.org/whl/cu102/torch_stable.html
Expected behavior
I was expecting to have a  normal installation process, in which PGBM and all its dependencies are installed
Many thanks for your help,
Ivan

Hi,
Thanks for trying to install and unfortunate that you ran into an error. You need at least Python 3.7, so that's why the installer exited. If you don't want to create another virtual environment with Python 3.7 (or higher), you could also try adding --ignore-requires-python to the installation command. However, I can't guarantee that the package will work as intended.
To be complete, I never tested under Python <3.7. Personally I would not expect any issues with Python 3.6, it's just that I haven't tested it and there might be unexpected behaviour that I am unaware of.
Hope this helps and let me know if you can't succeed with the installation,
Kind regards,
Olivier

Hi @elephaint,
Thanks for the quick response. Unfortunately, my hands are tied with Python version. I will follow manual installation instructions and hopefully everything will work fine.
Question, if I ran into issues that could be related to Python 3.6. Can I still submit these issues for you to review?
Kind regards,
Ivan

Hi @elephaint ,
I was able to install all requirements and PGBM (see attached zip file for a log of the manual installation of PGBM). Then, I ran the following script to test the installation:
C:\Users\imarroquin\Downloads\Important_Python_Libraries_VisualBuildTools\pgbm-main\pgbm-main\examples\pytorch>python example01_housing_cpu.py
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0'
Using C:\Users\imarroquin\AppData\Local\torch_extensions\torch_extensions\Cache as PyTorch extensions root...
Creating extension directory C:\Users\imarroquin\AppData\Local\torch_extensions\torch_extensions\Cache\split_decision...
C:\Temp\Python_3.6.5\lib\site-packages\torch\utils\cpp_extension.py:305: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
Emitting ninja build file C:\Users\imarroquin\AppData\Local\torch_extensions\torch_extensions\Cache\split_decision\build.ninja...
INFO: Could not find files for the given pattern(s).
Traceback (most recent call last):
File "example01_housing_cpu.py", line 22, in
from pgbm import PGBM
File "C:\Temp\Python_3.6.5\lib\site-packages\pgbm-1.6-py3.6.egg\pgbm_init_.py", line 1, in
from .pgbm import PGBM, PGBMRegressor
File "C:\Temp\Python_3.6.5\lib\site-packages\pgbm-1.6-py3.6.egg\pgbm\pgbm.py", line 50, in
verbose=True)
File "C:\Temp\Python_3.6.5\lib\site-packages\torch\utils\cpp_extension.py", line 1092, in load
keep_intermediates=keep_intermediates)
File "C:\Temp\Python_3.6.5\lib\site-packages\torch\utils\cpp_extension.py", line 1303, in _jit_compile
is_standalone=is_standalone)
File "C:\Temp\Python_3.6.5\lib\site-packages\torch\utils\cpp_extension.py", line 1401, in _write_ninja_file_and_build_library
is_standalone=is_standalone)
File "C:\Temp\Python_3.6.5\lib\site-packages\torch\utils\cpp_extension.py", line 1834, in _write_ninja_file_to_build_library
with_cuda=with_cuda)
File "C:\Temp\Python_3.6.5\lib\site-packages\torch\utils\cpp_extension.py", line 1950, in _write_ninja_file
'cl']).decode().split('\r\n')
File "C:\Temp\Python_3.6.5\lib\subprocess.py", line 336, in check_output
**kwargs).stdout
File "C:\Temp\Python_3.6.5\lib\subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.
Is this error caused by the version of Python that I have?
Kind regards,
Ivan

installation_log.zip
forgot to attach the installation log!

Hi,
According to the error message, you do not have the compiler cl installed (which is a requirement when using PGBM under Windows - please see the documentation to ensure you install all the required dependencies). For Windows, this means you need to install cl, and you can verify this by typing where cl in a command line interface (which is also the error that returned - the process cannot find compiler cl at the moment).
Best,
Olivier

Hi @elephaint ,
I have already installed visual studio. But, I noticed that the path were no set in windows environment. Thanks for the hint!
Ivan

Great, hope it works now!

Once I added the required path of visual studio to windows environment, the installation worked. Thanks for sharing the links in the installation procedure


absolute path for features/auth directory

Found the problem and fixed the big PR, so let's just go with that


Introduce HTML viewer to display html file on azkaban

Currently html files are treated as plain text on azkaban, for super simple html files, that works fine since they are still readable. For complicated and large html files, this will be unreadable. The new html viewer allows user to open up html files and view it like an actual html file. This viewer is used to display files with ".htm" or ".html" extension.

@chengren311 in the future, please describe the reason for the revert in the commit message. Thanks

@HappyRay sure, thanks for reminder.


Autobump semantic version number

User story
As a developer, I want github actions to manage the semantic version, so I don't have to worry about it.
Acceptance criteria

[x] When a PR  is merged into main, a github action will automatically increment the version based on the commit message.

Sprint Ready Checklist

[x] Acceptance criteria defined

[x] Team understands acceptance criteria

[x] Team has defined solution / steps to satisfy acceptance criteria

[x] Acceptance criteria is verifiable / testable

[x] External / 3rd Party dependencies identified

[x] Ticket is prioritized and sized

Notes
Add any helpful notes here.

Closed by https://github.com/AllenNeuralDynamics/aind-ccf-registration/pull/9


img-reponsive in file \src\Multilingual\Service\UserInterface\Flag.php

Hi,
Just a minor issue in the file "\src\Multilingual\Service\UserInterface\Flag.php" in v5.7:
the css style "img-reponsive" is used instead of "img-responsive" (with a "s").
Thanks,
Ruben

@aruben-c if you open this file on github, you can click edit and make this change, that way you're listed as a contributor!

Here's a link to that: https://github.com/concrete5/concrete5/edit/develop/web/concrete/src/Multilingual/Service/UserInterface/Flag.php

Fixed it and added a pull request: https://github.com/concrete5/concrete5/pull/3362


April Fools gone wrong

Idk if you already know.
https://www.reddit.com/r/feedthebeast/comments/3hxrky/very_not_cool_better_storage_csa/

Not about the thread, but definitely about the issue. Thanks.


buck2 rebuilds all sources in a library when new source is added.

I tried this two separate ways: with a glob and with an explicit source file list.  In both cases, if you add a new file to a library buck2 fully recompiles all other objects in the library.
Example 1:
$ cat BUCK
cxx_library(
    name="test",
    visibility=["PUBLIC"],
    srcs=["foo.cpp", "bar.cpp"]
)

$ buck2 build //:test && buck2 log what-ran
<snip>
Cache hits: 0%. Commands: 3 (cached: 0, remote: 0, local: 3)
BUILD SUCCEEDED
Showing commands from: buck2 build //:test
build   <snip>  deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\foo.cpp.obj"<EMAIL_ADDRESS>-c ".\\foo.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\bar.cpp.obj"<EMAIL_ADDRESS>-c ".\\bar.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/lib.exe "/OUT:buck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\libtest.lib"<EMAIL_ADDRESS>
$ touch baz.cpp
$ echo "Edit the BUCK file to add baz.cpp to the srcs list"
$ cat BUCK
cxx_library(
    name="test",
    visibility=["PUBLIC"],
    srcs=["foo.cpp", "bar.cpp", "baz.cpp"]
)

$ buck2 build //:test && buck2 log what-ran
<snip>
Cache hits: 0%. Commands: 4 (cached: 0, remote: 0, local: 4)
BUILD SUCCEEDED
Showing commands from: buck2 build //:test
build   <snip>  deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\baz.cpp.obj"<EMAIL_ADDRESS>-c ".\\baz.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\bar.cpp.obj"<EMAIL_ADDRESS>-c ".\\bar.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\foo.cpp.obj"<EMAIL_ADDRESS>-c ".\\foo.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/lib.exe "/OUT:buck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\libtest.lib"<EMAIL_ADDRESS>
Example 2:
$ cat BUCK
cxx_library(
    name="test",
    visibility=["PUBLIC"],
    srcs=glob(["*.cpp"])
)

$ buck2 build //:test && buck2 log what-ran
<snip>
Cache hits: 0%. Commands: 3 (cached: 0, remote: 0, local: 3)
BUILD SUCCEEDED
Showing commands from: buck2 build //:test
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\foo.cpp.obj"<EMAIL_ADDRESS>-c ".\\foo.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\bar.cpp.obj"<EMAIL_ADDRESS>-c ".\\bar.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/lib.exe "/OUT:buck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\libtest.lib"<EMAIL_ADDRESS>
$ touch baz.cpp && buck2 build //:test && buck2 log what-ran
$ buck2 build //:test && buck2 log what-ran
<snip>
Cache hits: 0%. Commands: 4 (cached: 0, remote: 0, local: 4)
BUILD SUCCEEDED
Showing commands from: buck2 build //:test
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\baz.cpp.obj"<EMAIL_ADDRESS>-c ".\\baz.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\foo.cpp.obj"<EMAIL_ADDRESS>-c ".\\foo.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/cl.exe "/Fobuck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\__objects__\\bar.cpp.obj"<EMAIL_ADDRESS>-c ".\\bar.cpp"
build   <snip> deps/msvc-hermetic/msvc/bin/Hostx64/x64/lib.exe "/OUT:buck-out\\v2\\gen\\root\\23b3e4bdecafe14a\\__test__\\libtest.lib"<EMAIL_ADDRESS>
I know that in a remote execution environment or with a cache this matters less.  But even with a cache, this is not ideal from a bandwidth perspective, and bandwidth = money.  So performance aside, there is still considerable cost savings to be had by making it a little bit smarter here.

This is another case (similar to #340) where hash_all_commands seems to fix this, but it seems like this should be supported even without hashing commands.

I'm not sure why it should necessarily work without hash_all_commands - the actions after we run analysis are distinct fresh actions, so you need to link them back to the previous ones. You can do that by indexing the actions by a stable key and doing some kind of equality, or by hashing the command, and since the latter has value anyway that seems reasonable. @krallin - is there a reason hash_all_commands isn't the default?
I tried this benchmark internally and it worked, because we do have hash_all_commands turned on.

@krallin - is there a reason hash_all_commands isn't the default?

Because it requires the deferred materializer. I guess if you were an end user you could just enable that + paranoid mode and you'd be happy.
Alternatively, we can add support for kicking off materialization immediately (in the background) in the deferred mateiralizer  and I think you could make it the default easily.

but hashing commands is still work

I'd be very surprised if you were to ever see this (and I'll note checking mtimes is also work if you have to check a lot of mtimes — hashing commands is something Buck2 does without doing any I/O to disk).

TL;DR, if I were you, I would suggest actually giving this .buckconfig a shot:
[buck2]
materializations = deferred
sqlite_materializer_state = true
defer_write_actions = true
hash_all_commands = true
restarter = true

If you're using RE, the risk of enabling the deferred materialization is that if outputs expire in your RE backend, Buck2 might try to download them (with a fairly descriptive error message that invites you to restart your Buck2 daemon). Enabling the restarter should mitigate that as it'll just restart your Buck2 if you hit this conditon.

In fairness the caveats of deferred materialization is literally the only thing we document our buckconfigs!
https://www.internalfb.com/intern/staticdocs/buck2/docs/users/advanced/deferred_materialization/

Ah yes, here it is:
https://buck2.build/docs/users/advanced/deferred_materialization/


How to install opencv on NVIDIA L4T TensorFlow container

I have pulled nvcr.io/nvidia/l4t-tensorflow:r32.5.0-tf1.15-py3 image. By default it has tensorflow, numpy, tensorrt. I want to install opencv as well. If i try  to install opencv ussing pip, when I import the package, it throws core dumped error. What is the right way to install opencv on the above container.

Hi @thasin96, are you able to import numpy?  If you get the same segfault, try running export OPENBLAS_CORETYPE=ARMV8 from your terminal.  There is some bug in newer numpy, and it may be possible that pip upgraded numpy.
Alternatively, you can instead install OpenCV in container through apt:  apt-get update && apt-get install -y python3-opencv
I would exit and restart the container before doing this to reset the changes you made previously.
You can also install OpenCV the way I am doing in l4t-ml dockerfile:
https://github.com/dusty-nv/jetson-containers/blob/d1b4e40af1b29d19d4658de1e745ca273bbd86d9/Dockerfile.ml#L112
This way installs pre-built debian packages of OpenCV that I compiled with CUDA/cuDNN support.

Hi @dusty-nv , the problem was  due to pip upgradation. It installed incompatible numpy. I have resolved the issue with installing proper numpy version and now it works.
I have gone through your hello world ai repo. It's interesting. I am currently stuck at converting uff model file to tensorrt engine. Any lead, how to convert uff model files to tensorrt engine file?

I am currently stuck at converting uff model file to tensorrt engine. Any lead, how to convert uff model files to tensorrt engine file?

This tool is how I converted the SSD-Mobilenet TensorFlow model to UFF:   https://github.com/AastaNV/TRT_object_detection
However I have found PyTorch->ONNX to be much easier and more reliable.   I believe TensorFlow has support for ONNX too.

Thanks for the response. I appreciate. Anyhow, I want to convert uff files to tensorrt engine files.

The trtexec tool can do it or the repo I linked to above shows it done from Python.
jetson-inference can do it, like in detectNet.cpp, but it requires that you hardcode the expected input image dimensions of the UFF model.  It is not meant to support general UFF models in jetson-inference

Oh okay. Thanks I will have a look.


Inspect middleware parameters before passing in lifespan

Fixes #1682
This PR inspects the parameters of a Middleware class before passing in the lifespan keyword argument. I was doubting to check the class instead (isinstance(LifespanMiddleware)), but that's less flexible if users want to write custom middleware to handle the lifespan.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 17 (100.0%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 93.631%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
3337

Relevant Lines:
3564

💛  - Coveralls


Using random name for PVC during tests

Allows for multiple consecutive executions of the same test.

/assign @dmage

/retest

/lgtm


Fix 404 for Elm effects link in Readme

not sure if it is similar to what was originally there
looks like they don't refer to "effects" anymore - but the URL still references it.

Thanks!


All charts lose height and width if dragged and option responsive = true

Firstly, thank you for the quick response last time!
I have been working with a drag and drop library, VueDraggableNext on my project and wanted to use your VueChart3 wrapper for my project. However if you have the option responsive selected and try to drag the chart the height and width are set to 0.
I made a CodeSandbox and gave the chart a toggle to make responsive or not to show the error. Any idea why the size is being set to 0? Is there a way to set a minimum size in the options?
Anyway, cheers for the cheers for the great wrapper, this working with composition API and Typescript is a huge help; I just hope I can figure out this responsiveness error. Cheers!
https://codesandbox.io/s/draggable-charts-8uck7?file=/src/components/Chart2.vue

Hi and thanks @LovelyAndy !
I will look into this, it could be Chart.js related because I only pass the props to the chart constructor.
Try using the styles prop for setting width and height as a workaround!

Just an update to the error. This is from the Chartjs repo. Things work with a react drag n drop project, but not one with Vite. Perhaps this is where help ends at this end as well, but I figured I'd let you know how far I got with this issue. I suspect I am not the only person with a Vue3 and Vite app trying to use charts, but only time will tell😅
https://github.com/chartjs/Chart.js/issues/9875#issuecomment-975628206

@LovelyAndy Thanks for the update! Yeah you're not the first one to open bugs with Vite related bugs 😅

@victorgarciaesgi Yeah, I'm not too sure the potential errors that come from Vite, but I'm sure more and more people will be attempting to do what I'm doing now; hopefully they're better at debugging it than I am haha

@victorgarciaesgi Just wanted to give you a quick update! Looks like the fix that I was able to get them to implement (#9876 Detect detach/attach in same observation) in Chartjs has been added as of their 3.6.1 version. This should solve the issue:D

Cool thanks for the update! I can consider it closed? :)


[glyph] add remaining d3 symbols

adds support for the missing d3 symbols from d3-shape
<GlyphDot /> should be considered deprecated in favor of <GlyphCircle /> for a consistent api across all Glyphs, but I'll keep GlyphDot around just in case folks are already using it as legacy

<GlyphCircle />

<GlyphSquare />

<GlyphWye />

<GlyphTriangle />

<GlyphStar />

<GlyphCross />

Coverage decreased (-0.7%) to 26.758% when pulling c51e7e63cefcd9598f2a874ed13bf8138032e45b on harry-glyphs into 8c963264af350e3e6f908f08d6b3bc430e2ed75e on master.

Coverage decreased (-0.7%) to 26.758% when pulling c51e7e63cefcd9598f2a874ed13bf8138032e45b on harry-glyphs into 8c963264af350e3e6f908f08d6b3bc430e2ed75e on master.

adding glyphs in the custom legend demo

Coverage decreased (-0.7%) to 26.758% when pulling ef63e98712569dd6bec30758f14a09dc8257647e on harry-glyphs into 8c963264af350e3e6f908f08d6b3bc430e2ed75e on master.


GuiScrollPanel api improvement

GuiScrollPanel is kind of annoying to use right now because it requires you to set up the scissor and offset all the controls that should be drawn inside it. The api could be improved if it instead worked like so:
// this draws the panel, sets up the scissor, calls rlPushMatrix and rlTranslatef
GuiBeginScrollPanel(scroll_panel_bounds, "title", content_size);
    // draw everything you want in the scroll panel
GuiEndScrollPanel(); // restores scissor and pops the matrix

I tried to minimize raylib-dependencies and OpenGL functions inside raygui, to make it standalone overwriting some "simple" functions, for that reason clipping is moved to user side. Also raygui does not use the Begin/End approach for now but I considered a similar approach for auto-layout placement... for the moment it's on the user-side...


Left join for versioned-kv streams

Use case

As a user, i would like to do left join for multiple versioned kv streams in an incremental way, and materialize the joined results to a target system like ClickHouse for further processing. The target system is supposed to have upsert (kv semantic). Only in this way, the intermediate joined result can be overridden by a later join and eventually converge.
Since we don't need necessary do stream aggregation in the same joined query, Proton shall be able to have a more effective way to do the join and emit update instead of changelog
Describe the solution you'd like

Describe alternatives you've considered

Additional context

In my mind, version_kv <left> join version_kv currently has two scenarios:
one is with aggregation, we need to output changelog results
the other is without aggregation,
i. If the target table is version_kv, we only need to join to output the intermediate results (without changelog)
ii. If the target table is changelog_kv, we still output changelog results

For syntax:
--- case 1, with aggregation , the join result is changelog, and the aggr result is append-only
select id, max(v) from kv1 join kv2 using(id);

--- case 2, with aggregation, the join result is changelog, and the aggr result is changelog
select id, max(v), _tp_delta from kv1 join kv2 using(id) emit changelog;

--- case 3, without aggregation, the join result is append-only
select id, kv1.v, kv2.v from kv1 [left] join kv2 using(id);

--- case 4, without aggregation, the join result is changelog
select id, kv1.v, kv2.v, _tp_delta from kv1 [left] join kv2 using(id) emit changelog

In my mind, version_kv <left> join version_kv currently has two scenarios: one is with aggregation, we need to output changelog results the other is without aggregation, i. If the target table is version_kv, we only need to join to output the intermediate results (without changelog) ii. If the target table is changelog_kv, we still output changelog results

Right, we just need support another emit strategy like EMIT UPSERT, it's users responsibility to pick the right emit strategy. For aggregation, we pick changelog for them, for plain join, we pick changelog by default as well but user can override it with EMIT UPSERT ? We don't need consider target stream since that will be very complex and some times  it is hard like an external target table (we don't know what it is). This seems good enough ?

I don't like to support another emit strategy EMIT UPSERT, which is not a common strategy and is just used in versioned_kv join versioned_kv.
Introducing a special emit strategy will make it more complex and difficult for users to get started
I prefer that the default is append-only unless emit changelog is specified.
@chenziliang

Make sense to me


ALS-759 adding jobs to backup and restore docker-config dir

add backup and restore jobs for docker-config dirs.

https://hms-dbmi.atlassian.net/browse/ALS-759


Upgrade to using Environment Files

GitHub Actions: Deprecating save-state and set-output commands
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This is not an issue.


set up conda-forge build

We also need a conda-forge package, e.g. to add poligrain as dependency of pycomlink which (currently) has not up-to-date pypi package.
Some links with info for building conda-forge packages

https://conda-forge.org/docs/maintainer/adding_pkgs/
https://github.com/conda-forge/staged-recipes/blob/main/recipes/example/meta.yaml
https://github.com/conda-forge/staged-recipes

This is in progress in https://github.com/conda-forge/staged-recipes/pull/26753


Update mysql2 version

Which service(blob, file, queue, table) does this issue concern?
N/A
Which version of the Azurite was used?
Azurite 3.30.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
mcr.microsoft.com/azure-storage/azurite:3.30.0
What's the Node.js version?
v20.10.0
What problem was encountered?
I noticed that the version of mysql2 (3.7.0) being used is several months old. I know that there were a couple of significant CVEs that were resolved in 3.9.7, and there was a new version created not too long ago (3.10.0).
When do we think that Azurite will be using a newer version of mysql2 for testing?
Steps to reproduce the issue?
N/A
Have you found a mitigation/solution?

@nicholas-lockhart
Thanks for raising the issue!
Could you please help to clarify which mysql2 version do you mean?
Do you mean mysql client, Azurite currently refer to "mysql2": "^3.2.0", see link.
We are currently working on some other new features and improvements, so this might won't be our recent priority.
Azurite welcome contribution!
It would be great if you could raise a PR to update mysql2 version!

@blueww
Yes, the mysql client is the dependency in question. You can see here that is resolves to 3.7.0 for this project. Looking at NPM's versions available, it can be seen that there is now a 3.10.1 version available which has been a popular download, assuming it fixed some security issues based on the download count trends.

Hi @nicholas-lockhart
Azurite welcome contribution!
It would be great if you could raise a PR to update mysql2 version!
We are currently working on some other new features and improvements, so this might won't be our recent priority.

@blueww, PR opened https://github.com/Azure/Azurite/pull/2418


Is reanimate suitable for real-time rendering?

I just found out about reanimate from https://github.com/Twinside/svg-tree/issues/23, and it looks very cool!
I couldn't find any explicit mention of this, but I am guessing that it is only intended to be used for generating video files, and isn't intended for real-time rendering using the GPU, is this correct?

Yes, reanimate is only for generating videos and isn't suitable for anything real-time or interactive. SVG images are really difficult to render on a GPU, unfortunately, so there' not much that can be done.


Initial release 0.0.4

This linter is in alpha stages. It should still be enough to start supporting the specification RFC.
Codebase Context Spec and Linter: Initial Project Setup
Overview
This PR introduces the initial setup for the Codebase Context Lint project, a CLI linter for validating AI Context Convention files. This tool is designed to enhance AI-assisted development by ensuring proper implementation of the Codebase Context Specification.
Changes

Created the initial project structure for the TypeScript-based linter
Implemented core functionality for validating .context.md, .context.yaml, .context.json, .contextdocs.md, and .contextignore files
Set up the CLI interface for easy usage
Added comprehensive README with installation and usage instructions
Configured package.json with necessary dependencies and scripts
Updated license to MIT for maximum permissiveness

Features
The linter provides the following key features:

Validation of structure and content for various context files
Checking for required fields and sections
Verification of .contextdocs.md file format
Validation of ignore patterns in .contextignore files
Detailed error messages and warnings

Next Steps

Implement unit tests to ensure reliability
Set up continuous integration for automated testing
Create a logo for the project
Add issue templates for bug reports and feature requests
Publish the package to npm registry

How to Test

Clone this branch
Navigate to the linters/typescript directory
Run npm install to install dependencies
Build the project with npm run build
Use npm link to create a symlink for local testing
Run ai-context-lint <directory_to_lint> to test the linter

Questions for Reviewers

Are there any additional validation rules we should consider?
Should we add more detailed documentation for each type of context file?
Are there any performance optimizations we should implement for large codebases?

This PR sets the foundation for the Codebase Context Lint project, providing a crucial tool for teams adopting the AI Context Convention. Your feedback and suggestions are greatly appreciated as we work to refine and enhance this linter.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Sort versions in status output in natural order.

Use natural sort comparison to list versions in the expected order.
Before:
$ juliaup status
 Default  Channel  Version                       Update
--------------------------------------------------------------------------------------------------
          0.6      0.6.4+0.x64.linux.gnu
          1.10     1.10.0-beta1+0.x64.linux.gnu  Update to 1.10.0-beta2+0.x64.linux.gnu available
          1.6      1.6.7+0.x64.linux.gnu
          1.6.7    1.6.7+0.x64.linux.gnu
          1.7      1.7.3+0.x64.linux.gnu
          1.8      1.8.5+0.x64.linux.gnu
          1.9      1.9.2+0.x64.linux.gnu         Update to 1.9.3+0.x64.linux.gnu available
       *  release  1.9.2+0.x64.linux.gnu         Update to 1.9.3+0.x64.linux.gnu available

After:
$ juliaup status
 Default  Channel  Version                       Update
--------------------------------------------------------------------------------------------------
          0.6      0.6.4+0.x64.linux.gnu
          1.6      1.6.7+0.x64.linux.gnu
          1.6.7    1.6.7+0.x64.linux.gnu
          1.7      1.7.3+0.x64.linux.gnu
          1.8      1.8.5+0.x64.linux.gnu
          1.9      1.9.2+0.x64.linux.gnu         Update to 1.9.3+0.x64.linux.gnu available
          1.10     1.10.0-beta1+0.x64.linux.gnu  Update to 1.10.0-beta2+0.x64.linux.gnu available
       *  release  1.9.2+0.x64.linux.gnu         Update to 1.9.3+0.x64.linux.gnu available

See also: https://github.com/JuliaLang/juliaup/pull/685
While we're at it, we might as well also human sort the juliaup override status list https://github.com/JuliaLang/juliaup/blob/1c1b9367fe3261406ddb526e760db9544c750e51/src/command_override.rs#L34

I was looking at that sort as well but I have never used overrides and haven't even investigated what they are good for, so my list was empty, making it difficult to verify that a sorting change is effective or meaningful at all.

I'm also not clear on whether it's a good idea to natural sort paths. Natural sorting version names is a clear winner, so lets go ahead with that and we can open an issue for natural sorting of paths.


fixed metrics errors by refactoring the compare function

does this address issue #42 ? or do we also want to do event only based metrics?

does this address issue #42 ? or do we also want to do event only based metrics?

Hmmm, it probably addresses it. Let's take a look at the resulting metrics.


Neo4jlabs plugins

Hi,
Leverage the usage of NEO4JLABS_PLUGINS for helm installation.
Tested example to install apoc plugin
--set "core.plugins={apoc,n10s}"

or
image: "neo4j"
imageTag: "4.0.3"
core:
    plugins:
      - apoc

/assign @cpanato

/unassign @cpanato
apparently existing extraVars should do the work

using extraVars instead. closing PR


Find annotation like "@NonNull" to replace "checkIfArgIsNull()"

Need to work with @arun-gupta on this