Android build fails on build server

Due to latest android version update we probably need to update the Android SDK there, until then we do not have snapshots of GH :/

What server you mean?

Our internal build/dev server ... or we need to somehow make creation of snapshots possible for travis. But this can be more complex due to Android SDK setup. Not sure how others handle this.

If it can help in Mapsforge and VTM I have organized lately their snapshots publishing, but via Gradle (see here).

Is it working on travis?

Is it working on travis?

What do you mean?
The publishing is on Sonatype (here), Travis is still used for code testing.

When we run tests on travis many people just do the deploy there for the snapshots, are you doing this on travis or on your own machine? On my own machine I had this working with the maven android stuff, just need to update the Android SDK I think

When we run tests on travis many people just do the deploy there for the snapshots, are you doing this on travis or on your own machine?

You mean the GH travis-build.sh script?

On my own machine I had this working with the maven android stuff, just need to update the Android SDK I think

A lot of things have broken lately with Android + Maven, I hope you make it working.

You mean the GH travis-build.sh script?

Yes, if we would add 'deploy' there we would get snapshots deployed (easily) but without android

That's a good thought, but what about Sonatype credentials?
For Android see our .travis.yml, very simple and works for both Android and Java modules in the project.

That's a good thought, but what about Sonatype credentials?

There was either some travis magic involved I think

For Android see our .travis.yml, very simple and works for both Android and Java modules in the project

Ah, this might work for us too. The android part is interesting and wasn't existent when I looked into it the last time I think.

See here for all options regarding Android.
You can even enable emulators for running tests.

You can easily publish maven snapshot artifacts to the (sonatype) central snapshot repository;
you need to:

add secure tokens for username and password to your .travis.yml (or environment), eg. https://github.com/GeoDienstenCentrum/sass-maven-plugin/blob/master/.travis.yml#L12
add a custom settings with the server specified, eg. https://github.com/GeoDienstenCentrum/sass-maven-plugin/blob/master/.travis/settings.xml#L6
add a maven deploy build step in your .travis.yml, eg. https://github.com/GeoDienstenCentrum/sass-maven-plugin/blob/master/.travis.yml#L70

@mprins really nice, also the other travis hacking :) ! Especially I always wanted to do a parallel build for JDK9 #701 and you seem to have it there already.
Regarding the security tokens: this means that everyone cloning your repository is able to publish snapshots or are they somehow bound to your travis account? If yes, how can this be done?

BTW: turned out to be some missing import statements but still a travis build would have catched this earlier

@karussell

Regarding the security tokens: this means that everyone cloning your repository is able to publish snapshots or are they somehow bound to your travis account? If yes, how can this be done?

the tokens are repository specific, that is the repo is part of the hash; see: https://docs.travis-ci.com/user/encryption-keys/ and https://docs.travis-ci.com/user/pull-requests#Pull-Requests-and-Security-Restrictions

Really nice - thanks! So, yes we need such a magic travis config with snapshot deployment and jdk9 build :) ! Would you have interests in doing this @mprins :) ?

I'll see If I can hack it over the weekend

Now that we use a script to install the JDKs (and test against them) we could try to switch to the android language on travis and build the android apk too: https://docs.travis-ci.com/user/languages/android/
Has someone from the community interests to try this :) ?


openmp 17.0.0.rc1

Waiting for builds from https://github.com/conda-forge/llvmdev-feedstock/pull/233

Also needs the builds from https://github.com/conda-forge/clangdev-feedstock/pull/237 now.


Allow flit to auto-bump the version number

Can we add a function that auto increases the version number according to a simple specification?
How?
Thinking of Having an optional section like this in the .toml file:
[bumpversion]
base_version = 1.0.0
bump_size = 0.0.1
This would increase my version number by +0.0.1 every time I publish. So the next release would be version 1.0.1, 1.0.2, 1.0.3 .... and When I want to move to to version 2, I would increase the base version to 2.0.0.
Assumption: Flit will always read the package wheel files to know my current version.
I know version names may involve characters but this can be a great start.
@Mariatta  @flying-sheep

I'd rather Flit didn't change anything like this. How to actually make releases is a complex topic in its own right - e.g. do you bump the version number just before or just after a release? How do you handle different release levels, e.g. major vs. minor.
There are a range of different tools for this kind of task, from single-purpose things like bumpversion to richer things like rever. I've even made a prototype myself, called modeltee, but I don't have much time to work on it. So I consider this set of challenges out of scope for Flit.

Versioneer and get_version do things right: If you’re exactly at a git tag, that tag provides your version number, else you have a dirty version like 1.4.2+33.af56c1 saying that we’re “33 commits after 1.4.2”.


Occasionally unable to sprint

The mod seems to randomly stop working occasionally and not auto sprint, sometimes even stopping you from being able to manually sprint all together. It usually comes back after 10-45 seconds or so. I haven't been able to figure out how to reproduce it unfortunately, however I have only seen it in multiplayer as far as I can remember. Doesn't seem to matter which player tho, we have had it happen to host and multiple clients at different points in the same game.

Sadly there is no "randomly stop working for no reason" block of code that I can remove to fix it, so I would need a bit more information, like what survivor, which skills and so on, to be able to do anything as I haven't had any issues while playing myself.
In the mean time, manually tapping sprint should make you walk and reset everything, so you at least don't need to wait 45 seconds.

Yeah that's really rough part, sometimes when it happens pressing sprint doesn't make you sprint, you are just locked to walking for that duration (or dying more likely). I know it has happened with the captain and engineer, next time it is happening we can see if we can find any better way to reproduce it

I've finished the rewrite of the mod which completely changes how skills are detected and autosprinting is handled which as a result should, assuming I haven't made any mistakes, pretty much completely eliminate the possibility of these kinds of issues.
Because of that though, the amount of testing I need to do before I can release it to Thunderstore is bonkers, but if you want to help, here's the link https://github.com/JohnEdwa/RTAutoSprintExtended/releases/tag/2.0.0 As an addition I've now made a separate mod/addon that adds support to some custom characters/skills - that can be found here: https://github.com/JohnEdwa/RTAutoSprintAddon/releases/tag/1.0.0


Make SplitLarge implement KeywordExecutable

Closes #2359

@milleruntime  - KeywordStartIT is up to date in both PRs.


Update tools README with submission helper documentation

Add documentation for the new submission_helper.py tool

You removed the "Example Integration with LLMs" part. I will merge it, but you will have to put it back in the next PR.


Issue in the samples

in http://l10ns.org/docs.html#gettingstarted
See below, there is requireLocalizations and requireLocalization
var requireLocalizations = require('path/to/output/all.js');
var l = requireLocalization('en-US');

Hi Chevdor,
I will update the docs, thanks for reporting!


bug: Clicking on a ion-tab goes to the previous page?!

Type: bug
Platform: all
I have 3 different pages, page A, B, and C. Clicking a button in page A goes to the first ion-tab of page B(where it has 2 ion-tabs), clicking on a button in page B goes to page C. Clicking the default back button on the header goes back to page B. The problem is when I now click the second ion-tab at page B, it acts like a back button and goes back to page A, but it should go to the second ion-tab of page B...
Is there any workarounds for this so I can force the click on a ion-tab actually shows the content inside...

Greetings @VolvoOlympian!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Please provide a codepen demoing your issue.

Is it OK if I only retain the minimum code that demonstrates the problem and then upload a zip of my ionic project instead?

Yes

Thanks very much, I have just emailed you my project and the steps to recreate the problem

Greetings @VolvoOlympian!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Toggle Code Block adds an unnecessary line break

What is the problem?
Any time I use the Toggle Code Block, it adds an extra blank line at the end of my code.

Whether I select every line of code (including or excluding the last line break) or just leave the cursor in the current single line of code.
Whether I use the keyboard shortcut or invoke the function via the Command Palette.

How can I reproduce it?
Invoke the function.

Just to clarify, if you select the following text:
Some code with
an empty line

and use Toggle Code Block, then you would expect the result to be:
```
Some code with
an empty line
```

correct?

I think the behaviour should be

do not modify the selected text (so don't remove any trailing or leading new lines if the user wants them their for whatever reason)
end with the entire code block plus the lines with surrounding bacticks selected so that the user can indent the whole lot if needed.

So if have my cursor in the middle of a single line when I run the code block function:
some code

I should end up with the following (all selected):
```
some code
```

And I direct these three lines when I run the function:
some code
with an empty line

I should end up with the following (all selected):
```
some code
with an empty line

```

I'm not sure how this is different from current behavior
Before:

After:

Before:

After:

If this doesn't match what you're seeing, can you tell me what OS you're using and the version of VSCode?

Going back and re-reading your last comment, is this about line breaks or is it about text selection? With the text selection, I agree, it doesn't currently select the entire text inside the code block.

Hi @mdickin , try putting some extra lines at the end of of your file, then you might see the behaviour..
Before:

After:

Before:

After:

My core issue is about the empty lines being added, but as I was typing my reply I thought I would try to sneak a feature request into a bug report... or something like that :)
Rob
:)

Ok, I see now. Thank you for being patient with me!
That's a weird one, I'll dig into it.


Add Additional Genetic Distance Models

e.g.:

0-1 Normalized SNPs
Euclidean Distance
Levenshtein Distance
Damerau-Levenshtein Distance
Hamming Distance

See Wikipedia: Models of DNA Evolution for more

Initial testing suggested that proper Levenshtein computation is too costly, even in conservative cases like the HIV genome. This also implicates Damerau-Levenshtein, though others shouldn't be affected.


Allow 0 as a valid ret value for mbedtls_ssl_write

This patch modifies the documentation for mbedtls_ssl_write() to allow
0 as a valid return value as this is the correct number of bytes that
should be returned when an empty TLS Application record is sent.
NOTES:

This fix is related to https://github.com/ARMmbed/mbedtls/issues/839
The change needs to be backported to mbed TLS 1.3 and 2.1.

Documentation-only change, so ok to merge despite the CI failed (and anyway all the CI steps suceeded??)

@gilles-peskine-arm: Indeed, I am not sure why the overall test reports a failure, but it seems that none of the individual pipeline stages failed.

I noticed we currently don't support request_size=0 in ssl_client2. I think it should be added at this occasion, together with a corresponding test in tests/ssl-opt.sh.

@andresag01 While I would prefer the test changes to be done in this PR, I might open a separate one on them to not block progress here. @gilles-peskine-arm What's your opinion on that?

Sending and receiving 0-sized application records is not well-tested, but documenting it well gives the impression that it's well-supported. Therefore, I'm holding off merging this for the time being.
Tracked internally in IOTSSL-1255

LGTM.

@andresag01 - Could you please rebase this PR and create backports?

@sbutcher-arm: I have rebased the PR and created the backports:

2.7: https://github.com/ARMmbed/mbedtls/pull/1768
2.1: https://github.com/ARMmbed/mbedtls/pull/1769


chore(package): update npm-pkgbuild to version 6.8.0

Coverage remained the same at 83.958% when pulling 3c201137e3f97e932022a9fa899a165a0f80e0e7 on greenkeeper/npm-pkgbuild-6.8.0 into 13ccba74fc142a600a60d835e0f821569f7410d2 on master.


(MAINT) Refactor puppetdb-middleware to central location

Prior to this change, each route (i.e. meta, admin, query etc) included
an explicit wrap of puppetdb-middleware. This pulls that wrapping up to
the top level (where the /pdb route is being defined). This reduces
duplication and centralizes that code to pdb-routing.

Nice!

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1821/

Transient ^


Fix up docs, stop switching between sudo and non-sudo

The installation docs occasionally mix between using sudo and not using it. This should obviously be harmonised at some point.

8af01bbf17e85fb53f6838d5c657cab8ee1d4c86 does this for CentOS


Fix stable/prometheus-operator README.md

Fix configuration parameter documentation for controller-manager Exporter
Signed-off-by: Eduardo Baitello<EMAIL_ADDRESS>

/assign @gianrubio

@eduardobaitello Sorry, but this needs another version bump - such is life in helm

@vsliouniaev @gianrubio The chart version was bumped

/lgtm


fix incorrect code for eslint rules

Pull Request check-list
Please make sure to review and check all of these items:

[x] Does npm test pass with this change (including linting)?
[x] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
I tried to change some test codes to satisfy with ESLint Rules. [indent, eqeqeq, eol-last, semi]

@TK-one thanks a lot!


how to change the clusteradmin email id after deployment?

hi
i have deployed openedx ficus version, i have to changed my cluster admin email id.
can anyone help me
thanks is advance..

Ideally, you'd want to specify this when deploying. Please see deployment instructions at https://aka.ms/laas


Integrate Mijia smart button with temperature sensor?

Is this possible to integrate with Home Assistant?
https://a.aliexpress.com/_EHFppLt

Check here https://github.com/AlexxIT/XiaomiGateway3/blob/master/custom_components/xiaomi_gateway3/core/devices.py


Replace cbor with maidsafe_utilities::serialisation

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Merged into #575


Fill the hands-on tutorial and the slides for MethylC Seq tutorial and add a Galaxy tour

Hi,
The tutorial and the associated slides on MethylC-seq needs to be filled.
We can take inspiration from the previous tutorial.
We also need to add a Galaxy tour
Thanks,
Bérénice

Hi @bebatut, can you refresh my memory, I don't remember on which platform/tool is based interactive tour functionality. @bgruening already gave me the info and I can't remember... This can help me finish the RADseq interactive tour with better content & maybe try to help for other interactive tours as for MethylC seq....

@yvanlebras it is based on http://bootstraptour.com!

Yes!!! I remember now ;) Thank you very much!!!!
----- Mail original -----

De: "Björn Grüning"<EMAIL_ADDRESS>À: "bgruening/training-material"<EMAIL_ADDRESS>Cc: "Yvan Le Bras"<EMAIL_ADDRESS>"Mention"
<EMAIL_ADDRESS>Envoyé: Samedi 26 Novembre 2016 22:26:14
Objet: Re: [bgruening/training-material] Fill the hands-on tutorial and the
slides for MethylC Seq tutorial and add a Galaxy tour (#96)

@yvanlebras it is based on http://bootstraptour.com !

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .

--
Yvan Le Bras, PhD @Yvan2935 <°))))><
Projet 65 Millions d'observateurs https://65mo.wordpress.com/
Bureau 34, Station de Biologie marine BP 225, 29182 Concarneau CEDEX --- MNHN EGB/CESCO UMR 7204 43 rue Buffon 75005 PARIS
tél.: +33 (0) <IP_ADDRESS>.51
<EMAIL_ADDRESS>/<EMAIL_ADDRESS>

The tutorial is available there http://galaxyproject.github.io/training-material/topics/epigenetics/tutorials/methylation-seq/tutorial.html


Integer Division issue

cell 20 of Quantopian Lecture Series: Discrete and Continuous Random Variables returns 0 as opposed to the correct ratio due to integer division

Created a PR for the fix. Will wait for the merge and we can close the issue.


Mapper docs tweaks

#709  👈
main

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

Join @dongreenberg and the rest of your teammates on  Graphite


No add on Android

If we use this plugin, everything is fine on ios. But the same code doesn`t work on Android.
The error event
document.addEventListener('onFailedToReceiveAd', function(data){
        console.log(data)
    });

shows the following:
bubbles:false
cancelBubble:false
cancelable:false
composed:false
currentTarget:null
defaultPrevented:false
error:0
eventPhase:0
isTrusted:false
path:Array(2)
reason:"Internal error"
returnValue:true
srcElement:document
target:document
timeStamp:2790.9700000000003
type:"onFailedToReceiveAd"
__proto__:Event

This happens only with the live Banner. If we call the banner in testmode, everything is fine and the banner is shown.
Our code:
function registerAdEvents() {
    document.addEventListener('onDismissInterstitialAd', function(){
        hideAdMob();
        window.plugins.AdMob.createInterstitialView();      //REMOVE THESE 2 LINES IF USING AUTOSHOW
        window.plugins.AdMob.requestInterstitialAd();     //get the next one ready only after the current one is closed
        //showAdMob();
    });
    document.addEventListener('onFailedToReceiveAd', function(data){
        console.log(data)
    });
}

window.plugins.AdMob.setOptions( {
        publisherId: admobid.banner,
        interstitialAdId: admobid.interstitial,
        adSize: window.plugins.AdMob.AD_SIZE.SMART_BANNER,  //use SMART_BANNER, BANNER, LARGE_BANNER, IAB_MRECT, IAB_BANNER, IAB_LEADERBOARD
        bannerAtTop: false, // set to true, to put banner at top
        overlap: false, // banner will overlap webview
        offsetTopBar: false, // set to true to avoid ios7 status bar overlap
        isTesting: false, // receiving test ad
        autoShow: false // auto show interstitial ad when loaded
    });
    registerAdEvents();
    window.plugins.AdMob.createInterstitialView();
    window.plugins.AdMob.requestInterstitialAd();
    showAdMob();

function showAdMob() {
    $(":mobile-pagecontainer").off("pagecontainershow").on("pagecontainershow", function( event, ui ) {
        var adMobOldHeight = parseInt($(window).height());
        document.addEventListener('onPresentAd', function (e) {
          var difference = adMobOldHeight - parseInt($(window).height());
          $('[data-role="panel"] .ui-panel-inner').css('margin-bottom', difference + 'px');
        });
        document.addEventListener('onDismissAd', function (e) {
          $('[data-role="panel"] .ui-panel-inner').css('margin-bottom', '0px');
        });
        if(typeof window.plugins.AdMob != 'undefined' && window.localStorage.getItem('isLoggedIn') == 0 || window.localStorage.getItem('isLoggedIn') == null) {
            if ( device.platform == 'android' || device.platform == 'Android' || device.platform == "amazon-fireos" ){
              //window.plugins.AdMob.createBannerView();
            } else if( window.localStorage.getItem('isLoggedIn') == 0 || window.localStorage.getItem('isLoggedIn') == null) {
              window.plugins.AdMob.createBannerView();
            }
            if($('.ui-page-active').attr('id') != 'StartOverview' && $('.ui-page-active').attr('id') != 'Login') {
                window.plugins.AdMob.showInterstitialAd();
            }
        }
    });
}

You need to check this before you initialize anything
if ( window.plugins && window.plugins.AdMob ) {
also where is this bit?
var ad_units = {                 ios : {                     banner: 'ca-app-pub-xxxxxxxxxxx/xxxxxxxxxxx',		//PUT ADMOB ADCODE HERE                     interstitial: 'ca-app-pub-xxxxxxxxxxx/xxxxxxxxxxx'	//PUT ADMOB ADCODE HERE                 },                 android : {                     banner: 'ca-app-pub-xxxxxxxxxxx/xxxxxxxxxxx',		//PUT ADMOB ADCODE HERE                     interstitial: 'ca-app-pub-xxxxxxxxxxx/xxxxxxxxxxx'	//PUT ADMOB ADCODE HERE                 }             };             var admobid = ( /(android)/i.test(navigator.userAgent) ) ? ad_units.android : ad_units.ios;

Thats not the problem. The check is there and the variables too. This work with ios and with the testbanner. And I can insert the ios Add-Ids and it doesnt work on Android.
if ( window.plugins && window.plugins.AdMob ) {
    var ad_units = {
        ios : {
            banner: 'ca-app-pub-xxxxx',
            interstitial: 'ca-app-pub-xxxxx'
        },
        android : {
            banner: 'ca-app-pub-xxxxx',
            interstitial: 'ca-app-pub-xxxxx'
        }
    };
    if ( device.platform == 'android' || device.platform == 'Android' || device.platform == "amazon-fireos" ){
        var admobid = ad_units.android;
    } else {
        var admobid = ad_units.ios;
    }
    window.plugins.AdMob.setOptions( {
        publisherId: admobid.banner,
        interstitialAdId: admobid.interstitial,
        adSize: window.plugins.AdMob.AD_SIZE.SMART_BANNER,  //use SMART_BANNER, BANNER, LARGE_BANNER, IAB_MRECT, IAB_BANNER, IAB_LEADERBOARD
        bannerAtTop: false, // set to true, to put banner at top
        overlap: false, // banner will overlap webview
        offsetTopBar: false, // set to true to avoid ios7 status bar overlap
        isTesting: true, // receiving test ad
        autoShow: false // auto show interstitial ad when loaded
    });
    registerAdEvents();
    window.plugins.AdMob.createInterstitialView();
    window.plugins.AdMob.requestInterstitialAd();
    showAdMob();
  }

When did you register the admob ids? Sometimes they dont serve ads to them for 24 hours. Also is the android app signed? If it's not signed when you test they may also not serve ads.

The Admob IDs are registered some month ago and the error happens also after build and sign the android app.

If Ads are like in-app-purchases on Android, you may have to build/sign the app with the same config versions that were approved in the App store?
For me, my config.xml has
  android-versionCode="27"  versionCode="27"

So after I publish that version to the store (and it's approved), when I am trying to debug my next version, I have to leave these version numbers the same. If I increment them, then my in-app-purchases do not work (since that newer "version" has not been approved to access that feature).
I only increment the version numbers when I do the final build just prior to uploading to the store.
Just a shot-in-the-dark as to what your issue may be....

Can you tell me your app id?


Do not show incorrect large @-mention notification warning for @-topic

This warning is incorrectly triggered when sending an @-topic mention to a large stream, even when the mention will affect a small number of users:

We should:

[ ] Not show this banner for @-topic mentions.
[ ] Show a corresponding banner when the topic itself is large, with slightly different text;

Are you sure you want to send @-mention notifications to the 3013 participants in #social > my topic name? If not, please edit your message to remove the @topic mention.

We might need to bold "#social > my topic name" to make it clear, with or without removing the bolding on the user count. So posting a few variants on what's bolded in the PR description would be helpful.

@alya can i work on this if this is not assigned yet ?

I'd like to give this a shot as well

@alya when I try @topic keyword in the stream, its not showing any warning

As noted in the contributor guide, please choose an issue with the "help wanted" label.


Create SECURITY.md

A

@jefferyq2
thank you! i've written the SECURITY.md.
i'll tidy up the repository by the end of this month.


Issue executing Deployment Report on develop branch using --include-pod-log-snips

This traceback was reported executing on develop branch.
Traceback (most recent call last):
  File "viya-ark.py", line 139, in <module>
    main(sys.argv[1:])
  File "viya-ark.py", line 77, in main
    command.run(argv[1:])
  File "...\viya4-ark\deployment_report\deployment_report.py", line 48, in run
    main(argv)
  File "...\viya4-ark\deployment_report\deployment_report.py", line 134, in main
    include_pod_log_snips=args.include_pod_log_snips)
  File "...\viya4-ark\deployment_report\model\viya_deployment_report.py", line 236, in gather_details
    log_snip: List = kubectl.logs(pod_name)
TypeError: logs() missing 1 required positional argument: 'container_name'```

This was run against deployment to AWS.

Release 1.2.0 satisfies this issue.


Add update command to the CLI

Proposed change
Run nex update and it will automatically update the nex binary.
Use case
For people who don't like having to remember what toolchain they used to install a given binary (was it brew? apt? nix? asdf? curl?), it just makes life so much easier if we can do nex update and have it update to the latest version. note that this just applies to replacing the binary being run, and doesn't affect a running process
Contribution
No response

I had this on my todo list... thanks for making the issue

Stage 1 complete: #174

Should we create another issue for supporting nex update, or is that what this issue covers?

Satisfied by #174 and #200


Special clicks and presses

Hi,
first of all, thank you for the wonderful library! I feel that it is very well written and documented.
I was wondering if there would be interest to add hooks for things like long clicks, keyboard presses and things like this. I have written a few of that in the past and thought that it would be nice to contribute them to the project but I don't want to create a pull request that is not compatible with the project goals and will never be accepted.
Please let me know if these would be of interest.

Hi, yes it's more than welcome! Thanks


Add a link to the delegator UI in the no hosts error message.

Fixes #445
Changed the no hosts exception message from
No hosts are available for /http/1.1/POST/api-close, Dtab.base=[/http/1.1/*=>/#/io.l5d.k8s/linkerd/http], Dtab.local=[]. Remote Info: Not Available
to
Error resolving /http/1.1/GET/foobar.  See <IP_ADDRESS>:9991/delegator?dtab.local=%2Fhost%2Ffoobar%3D%3E%2Fnope&router=http#%2Fhttp%2F1.1%2FGET%2Ffoobar for details. Remote Info: Not Available
which is a link to a pre-populated delegator UI.

"See <IP_ADDRESS>:9991" -- you can't actually visit that ;) it's going to be tricky to provide a routable address in a link? Furthermore, this link isn't particularly helpful when namerd is in play...  I'm not against the change but I'm skeptical how helpful it's actually going to be in practice.

How about putting something like <linkerd address>:9991? That would give a hint about how to debug this.
Re: not being useful when namerd is in play, per my comment in #447, I think the linkerd dtab playground should be able to use namerd for resolution.

@wmorgan re: driving delegator UI from namerd: I agree in principal, but this is quite a bit trickier than it sounds.

also, we should consider that linkerd's admin UI may not be externally routable/discoverable (in typical k8s & mesos deploys).  We rely on namerd being served at a well-known place, but outside of development, I think it's atypical for users to have easy access to linkerd's admin UI.

closing in favor of #453


As a Metric user I want logs to report correct application version

Currently application logs report that application version is 1.0.0, but the software was updated to 1.1.0
Software version:
1.1.0
Log example:
{"level": "INFO", "timestamp":<PHONE_NUMBER>, "local_timestamp": "2023-03-10 13:19:02 +0200", "module": "collector", "activity": "collector_end", "msg": "Total collected: 1, Total error: 1, Total time: 00:00:00", "version": "1.0.0"}

Source example:
https://github.com/nordic-institute/X-Road-Metrics/blob/develop/collector_module/opmon_collector/__init__.py#L23
But the problem is with other modules as well.
Solution:
Bump versions in __init__.py files.

This was fixed with v1.1.1.


[PCM-1247] Allow video resolution and also default to 4k

Codecov Report

Merging #119 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #119   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines         1020      1024    +4
  Branches       205       207    +2
=========================================
+ Hits          1020      1024    +4

Impacted Files
Coverage Δ

src/media-utils.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


⚠ Bofrost.fr has degraded performance

In ee54ca2, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 962 ms

Resolved: Bofrost.fr performance has improved in 9019ab2.


🚀 | Shutdown after [Time] idle

Feature Description
If the Box wasn't user for a while, the Raspberry shuts down.
What functionality would you like to see in your phoniebox?
Enable/Disable Option for idle Shutdown
Configurable Timer for Shutdown
How do you envision the feature to work from a users perspective?
If the Option is Enable an the box wasn't user für the configured Time it will shut down the pi to save power.

+1
I really miss this functionality in future3...

I also would appreciate this a lot.
https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/0326c9a60fbdb91ea36290979a8c488560187186/src/jukebox/components/timers/__init__.py#L80-L91
seems to indicate that someone has already thought about this before. Does a POC implementation of any of the options already exist?

I was wondering: are the rpc calls also published under a topic in the message cue?
As far as I can tell this is not the case, but would be useful.
To me having tracking:

time since the playerstatus has last been not paused -> could be derived by listening to the playerstatus topic
time since last rpc call -> listing to the rpc call topic -> additional filtering to ignore some call may be necessary

Together would enable to determine the idle time and decide for a shutdown

I think the functionality is already there.. and you hinted the right spot in the code. The only thing missing is a frontend integration.
You could try to execute the time command from the RPC CLI.

#2332 has a working attempt at implementing an idle shutdown timer.
@votti

time since the playerstatus has last been not paused -> could be derived by listening to the playerstatus topic

I have implemented that (a bit more generalized: any change in player status is considered activity).

time since last rpc call -> listing to the rpc call topic -> additional filtering to ignore some call may be necessary

I have not implemented that part. Instead, I chose to monitor relevant file changes (configs & audio content). That should capture any administration tasks such as adding new cards, changing configs and updating audio content.
In addition, I have added tracking for active SSH sessions (mostly aimed at developers or builders who are in the process of configuring/updating and don't want to be caught by an unexpected shutdown).
Do you think not implementing the rpc logic misses anything relevant? I couldn't think of something and was worried about false positives instead (i.e. if any component/extension would use some kind of polling via rpc calls that would be considered activity, without knowing if that makes sense at all).
@pabera

I think the functionality is already there.. and you hinted the right spot in the code. The only thing missing is a frontend integration.
You could try to execute the time command from the RPC CLI.

I haven't found that code though. Maybe I have missed it? :)

@votti

time since last rpc call -> listing to the rpc call topic -> additional filtering to ignore some call may be necessary

I'd be interested in some use cases. A few calls won't interfere with MPD, but ultimately it boils down to either "play" or "don't play". I think with the current implementation, a high percentage of use cases are covered. Thoughts?
@hoffie
I updated my comment. I believe I confused the Idle Timer with Sleep Timer :-)


Integrate node-red project

NODE-REDis very simple and convenient. it could be integrated into the OS.
nodered.org

I feel like this should be more of a package than a required OS thing.


Attribute lookup spews text if attribute is property that includes print statement

Just try the following: (Python 3.6, ptpython 0.41)
class Person:
    def __init__(self, name):
        self._name = name
    @property
    def name(self):
        print("fetch name...")
        return self._name

bob = Person("Bob")

Now start typing "bob.name":
Your output will look a bit like:
">>> bob.fetch name...
____________nfetch name...
_____________afetch name...
______________mfetch name...
_______________efetch name..."
bob.name
fetch name...
'Bob'

Interesting. I only get the 'fetch name' printed after trying to complete on name, which is understandable. bob.n completes to name without a problem.


how to set requestTemplates/responseTemplates to object in x-amazon-apigateway-integration

I want to set  requestTemplates/response  like
"application/json" : { "$ref": "#/definitions/Error"}

inx-amazon-apigateway-integration
currently, I only found it can accept string format, not array or object. any ideas for it?

requestTemplates and responseTemplates need to be sent as an escaped JSON String. The example above looks more like a json-schema model than a template. Have a look at http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html for some more info on mapping templates


Best validator design?

Hi there.
Im having design issues related to making a standardized way of using fluent validation in my development team. Let me try and explain my problem:
1, In my team we will be making over 100 different validators
2. I want it to be easy for new team members to start coding validators. At the same time I want the validator design to be consistent so I have defined a base class which every validator must inherit from. This way I can keep my concrete validators very small (and DRY) as the only code needed is the validation rule definition code.
3. I would prefer to keep all rule definitions in the constructors of my validators to separate rule definition and rule execution and make sure that the rule definition are only added once. Sometimes I need to perform custom validation on some data which is not available to me before I execute the validation. Therefore I currently dont have my rule definition in my constructor, but in a method defined as abstract on my base validator. It smells, but it works. I think there may be a better way of doing this, hence this question.
Any help appreciated.
public abstract class ValidatorBase : AbstractValidator
{
public abstract void InitValidationRules();
protected T ItemToValidate;
public void Validate(T itemToValidate)
{
ItemToValidate = itemToValidate;
InitValidationRules();
var result = Validate(itemToValidate);
...
}
public class CustomerValidator : ValidatorBase
{
public override void InitValidationRules()
{
//problem here is that my custom validator expects a concrete value rather than a lambda
RuleFor(x => ItemToValidate.Aktuelle).MustNotContain(ItemToValidate.Opret.Kred).
}
}
public static class FluentValidationExtensions
{
    public static IRuleBuilderOptions<T, IList<TElement>> MustNotContain<T, TElement>(this IRuleBuilder<T, IList<TElement>> ruleBuilder, TElement value)
{
  return ruleBuilder.SetValidator(new MustNotContain<TElement>(value));
}

}
public class MustNotContain : PropertyValidator
{
private readonly T _value;
public MustNotContain(T value)
		: base(string.Format("Value {0} for {{PropertyName}} is illegal, as it exists!",value))
{
  _value = value;
}

protected override bool IsValid(PropertyValidatorContext context)
{
	var list = context.PropertyValue as IList<T>;
	return (list == null || !list.Contains(_value));
}

}

I just noticed that some of the code I pasted was formatted wrongly. Hopefully you get the idea. Otherwise I will upload the working code.

So there's a few problems with this approach that I can see:
The rules themselves are designed to be created when the validator is instantiated - there shouldn't be any reason to create new rules during validation. This is to keep them thread safe, and also avoid the performance hit of parsing expression trees at runtime. So you can cache a validator instance (eg in an IoC container) and re-use it across threads (eg across web requests)
Storing the current item in the ItemToValidate property breaks this, as does adding rules at runtime.
Also, your rules should access the property within the lambda directly, so RuleFor(x => x.SomeProperty) not RuleFor(x => ItemToValidate.SomeProperty).

"Sometimes I need to perform custom validation on some data which is not available to me before I execute the validation"

There shouldn't ever be a reason for this - it's better to design the validators to obtain any data they need lazily, rather than up-front. I've re-written your MustNotContain rule as an example - you can then hopefully apply the same principle to any other validators you have:
public class MustNotContain<TModel, TElement> : PropertyValidator
{
	private readonly Func<TModel, TElement> _valueFunc;

	public MustNotContain(Func<TModel, TElement> valueFunc)
		: base("Value {ComparisonValue} for {PropertyName} is illegal, as it exists!")
	{
		_valueFunc = valueFunc;
	}

	protected override bool IsValid(PropertyValidatorContext context) {
		var comparisonValue = _valueFunc((TModel) context.Instance);
		var list = context.PropertyValue as IList<TElement>;
		var valid = (list == null || !list.Contains(comparisonValue));

		if (!valid) {
			// Rplace the {ComparisonValue} placeholder for the error message
			context.MessageFormatter.AppendArgument("ComparisonValue", comparisonValue);
		}

		return valid;
	}
}

public static class FluentValidationExtensions
{
	public static IRuleBuilderOptions<T, IList<TElement>> MustNotContain<T, TElement>(this IRuleBuilder<T, IList<TElement>> ruleBuilder, Func<T, TElement> value)
	{
		return ruleBuilder.SetValidator(new MustNotContain<T, TElement>(value));
	}
}

...Useable like this:
public class CustomerValidator : AbstractValidator<Foo> {
	public CustomerValidator() {
		RuleFor(x => x.Aktuelle).MustNotContain(x => x.Opret.Kred);
	}
}

So it now uses a delegate to obtain the comparison value lazily, and also uses custom placeholders in the error message to avoid you needing the comparison value in the constructor.
Hope this makes sense.

HI Jeremy.
First of all I want you to know that I am very grateful for your help. The question was maybe more related to the proper use of func and this concept is rather new to me. I replaced my MustContain with yours and it works as expected.
Your points make sense to me. My validation is often tied to data contained in a database. I am now using your approach enabling me to separate validation definitions and execution.
Many thanks


Adding preliminary unit tests and integration tests for wasm_runtime.so

Fixes #10. The idea is to run preliminary unit tests and integration tests (using GH actions) over wasm_runtime.so. Initially, just covers a couple of functions but code coverage will be increased over time.
Running in three different platforms since is testing low-level functions (as const_c_char_to_str) that may consider *const c_char as i8 or as u8.

Still LGTM! 😄


Create metro map just for dependable systems and safety

From the linkedin post: just to collect the items.
[..] in a full map from iso26262, sotif 21448, ul4600, STAMP, from Hazop to..
[..] and UNECE regulation 155 needs a spot on your map.. [..]

Started here: https://github.com/quarterbit/SoftwareDefinedCarMap/blob/735e5e16387f3ba05c9315bfcce87ec503363820/safety/topicsDependableSystems.md


uniporter activity (GO:0015292)

Chatting with @hattrill about this term:
name: uniporter activity
def: "Catalysis of the transport of a single molecular species across a membrane; transport is independent of the movement of any other molecular species." [GOC:mtg_transport, ISBN:0815340729, PMID:10839820]
synonym: "facilitated diffusion carrier" EXACT []
synonym: "single-species transporter activity" EXACT []
synonym: "uniport" RELATED []
is_a: GO:0015291 ! secondary active transmembrane transporter activity

'uniporter activity' does not fit the definition of "GO:0015291 ! secondary active transmembrane transporter activity" , which is:
def: "Enables the transfer of a solute from one side of a membrane to the other, up its concentration gradient. The transporter binds the solute and undergoes a series of conformational changes. Transport works equally well in either direction and is driven by a chemiosmotic source of energy, not direct ATP coupling. Secondary active transporters include symporters and antiporters." [GOC:mtg_transport, ISBN:0198506732, ISBN:0815340729, PMID:10839820]
That is, uniporter activity is not driven "by a chemiosmotic source of energy,". since it is "independent of the movement of any other molecular species."
Supporting this, here is the wikipedia definition of uniporter (https://en.wikipedia.org/wiki/Uniporter):
Uniporters, also known as solute carriers or facilitated transporters, are a type of membrane transport protein that passively transports solutes (small molecules, ions, or other substances) across a cell membrane.[1] It uses facilitated diffusion for the movement of solutes down their concentration gradient from an area of high concentration to an area of low concentration.

[ ] So, 'GO:0015292 uniporter activity' parentage should be changed to this term:

name: passive transmembrane transporter activity
namespace: molecular_function
alt_id: GO:0022814
def: "Enables the transfer of a single solute from one side of a membrane to the other by a mechanism involving conformational change, either by facilitated diffusion or in a membrane potential dependent process if the solute is charged." [GOC:mtg_transport, ISBN:0815340729]
synonym: "facilitated diffusion" RELATED []
synonym: "porters" BROAD []
synonym: "uniporter activity z" NARROW []
xref: Wikipedia:Facilitated_diffusion
is_a: GO:0022857 ! transmembrane transporter activity

However, making this change creates a problem for this child term of 'uniporter activity':
id: GO:0022810
name: membrane potential driven uniporter activity
def: "Enables the active transport of a solute across a membrane by a mechanism involving conformational change, where energy for active transport is derived from membrane potential if the solute is charged." [GOC:mtg_transport, ISBN:0815340729]
synonym: "porter" BROAD []
is_a: GO:0015292 ! uniporter activity

Definition here says this is a form of "active transport derived from membrane potential", so:

[ ] change the parent on "GO:0022810 membrane potential driven uniporter activity" to "GO:0015291 ! secondary active transmembrane transporter activity"

Then also:

[ ]  for the def "of GO:0022803 passive transmembrane transporter activity", change ", either by facilitated diffusion or in a membrane potential dependent process if the solute is charged." to "by facilitated diffusion.."

This child term of 'uniporter activity' has no GO annotations or xrefs:
GO:0015544 phenyl propionate uniporter activity
I think it might be the same as this RHEA:
https://www.rhea-db.org/rhea/29747 (maps to 3-phenylpropionate CHEBI:51057)
Which also has no annotations in UniProt.
So could delete this one?

Looks like GO:0015544 phenyl propionate uniporter activity could be used to annotate
https://www.uniprot.org/uniprotkb/Q47142/entry
https://ecocyc.org/gene?orgid=ECOLI&id=G7330
@amandamackie what do you think ?

That entry is annotated as a putative 3-phenylpropionate transporter in EcoCyc. It looks like the transport mechanism has not been characterized so I would not assign a uniporter GO term.

Hi,
I think GO:0015267  channel activity should not be a child of GO:0022803  passive transmembrane transporter activity which states  " by a mechanism involving conformational change" which is exactly what makes the difference between channels and solute careers"
According to PMID: 10839820:
Two primary modes of facilitated transport
have been recognized in biological systems: channel type and
carrier type (Fig. 1). In channel-type facilitated diffusion, the
solute passes in a diffusion-limiting process from one side of
the membrane to the other via a channel or pore that is lined
by appropriately hydrophilic (for hydrophilic substrates), hydrophobic (for hydrophobic substrates), or amphipathic (for
amphipathic substrates) amino acyl residue moieties of the
constituent protein(s).

That is, uniporter activity is not driven "by a chemiosmotic source of energy,". since it is "independent of the movement of any other molecular species."

I do not agree as it is its own gradient that has been generated by a source of energy.

I think GO:0015267 channel activity should not be a child of GO:0022803 passive transmembrane transporter activity which states " by a mechanism involving conformational change"
Or should "by a mechanism involving conformational change" be removed from the definition of 'passive transmembrane transporter activity' ?

Or should "by a mechanism involving conformational change" be removed from the definition of 'passive transmembrane transporter activity' ?

Yes, as there are pores/channels that are just open all the time.

I think GO:0015267 channel activity should not be a child of GO:0022803 passive transmembrane transporter activity which states " by a mechanism involving conformational change"

Or should "by a mechanism involving conformational change" be removed from the definition of 'passive transmembrane transporter activity' ?

Yes Steven, I was also thinking of something like this.

That is, uniporter activity is not driven "by a chemiosmotic source of energy,". since it is "independent of the movement of any other molecular species."
I do not agree as it is its own gradient that has been generated by a source of energy.

Hi @lbreuza
But do you agree that the GO 'uniporter activity' term belongs under 'passive transmembrane transporter activity' rather than "active transmembrane transporter activity" -> "secondary active transmembrane transporter activity"?
Or are you saying the uniporter activity is a form of active transport?

I usually refer to TCDB and the paper we have as evidence for the GO terms (PMID: 10839820), and what disturbs me is that they consider uniporters like symporters and antiporters, I assumed (but i might be wrong) using a gradient (their own for uniporters) created by an upstream mechanism. I would only consider channels for a passive transmembrane transporter activity.

@lbreuza probably results from uniporter being used inconsistenly.
Faciltated diffusion is passive, but there has to be a gradient for it to take place, channel or uniporter. Otherwise, the ion channels involved in nerve conduction would be secondary.
I think that classification of transporters into passive and secondary active is not very useful. TCDB, doesn't really try to capture this in it's current stucture. It uses these groupings:
1: Channels/Pores
2: Electrochemical Potential-driven Transporters
So separate out channel and carriers and they cheat a bit on the definition to make it fit with secondary:
"Electrochemical Potential-driven Transporters" Secondary carrier-type facilitators. Transport systems are included in this category if they utilize a carrier-mediated process to catalyze uniport (a single species is transported by facilitated diffusion in a process not coupled to the utilization of a primary source of energy), antiport (two or more species are transported in opposite directions in a tightly coupled process not directly linked to a form of energy other than chemiosmotic energy) and/or symport (two or more species are transported together in the same direction in a tightly coupled process not directly linked to a form of energy other than chemiosmotic energy)
but in many other places:
e.g. https://neurotext.library.stonybrook.edu/C1/C1_7/C1_7.html
transport down a gradient of one solute is classed as passive.
So, perhaps, like TCDB, we should ditch the primary and secondary classifications and have:
-Channel activity
-Carrier activity
as seems that really we want to capture the mechanism here.

Thanks @lbreuza for pointing to the TCDB and PMID: 10839820 - definitely need to consider those sources.
As @hattrill said, the classification used in current TCDB seems to have moved on since PMID: 10839820 was published (in 2000).
Though I note that they still have 'primary active transporters' as a main and separate axis.
So, are we proposing that the GO hierarchy would change from this:
transmembrane transporter activity
    |__active transmembrane transporter activity
        |__primary active transmembrane transporter activity
        |__secondary active transmembrane transporter activity
            |__antiporter activity
            |__symporter activity
            |__uniporter activity
    |__passive transmembrane transporter activity
        |__channel activity

to this:
transmembrane transporter activity
    |__carrier activity
        |__primary active transmembrane transporter activity
        |__antiporter activity
        |__symporter activity
        |__uniporter activity
    |__channel activity

Or were you suggesting to ditch the 'primary active transmembrane transporter' grouping in your previous comment @hattrill ?

Sorry, I meant passive and secondary rather than @sjm41 - I will correct that. Definitely keep primary active transmembrane transporter - it is the only one that can be well-defined!
I think that primary active transmembrane transporters should not be under carrier though, but I'd need to double check that.

Think this is right:
transmembrane transporter activity
|__primary active transmembrane transporter activity
|__carrier activity
|__antiporter activity
|__symporter activity
|__uniporter activity
|__channel activity
Might have to call carriers something like: "transmembrane transporter carrier activity" to distinguish it from other carrier activities in GO,

Think this is right:
transmembrane transporter activity |__primary active transmembrane transporter activity |__carrier activity |__antiporter activity |__symporter activity |__uniporter activity |__channel activity
Might have to call carriers something like: "transmembrane transporter carrier activity" to distinguish it from other carrier activities in GO,

Shouldn't  carrier activity be a parent of
|__antiporter activity
|__symporter activity
|__uniporter activity?

I think Helen's formatting/nesting got lost - I've just reformatted it (but let me know Helen if I got it wrong!)

Think this is right:
transmembrane transporter activity
    |__primary active transmembrane transporter activity
    |__carrier activity
        |__antiporter activity
        |__symporter activity
        |__uniporter activity
    |__channel activity

Might have to call carriers something like: "transmembrane transporter carrier activity" to distinguish it from other carrier activities in GO,

Yes, I agree that it would be wise to use "transmembrane carrier activity" to distinguish from other carrier activities.

@sjm41 and @hattrill are you going to update the ontology accordingly?
Just wanted to follow-up before it drops from my radar.

@lbreuza
Yesterday, I started to make some tickets to tidy up some of the problematic child terms of 'active transmembrane transporter activity':
e.g. https://github.com/geneontology/go-ontology/issues/27488
I will make new ticket to change this branch after I've checked the child terms.

Great! Thanks.
From: Helen Attrill @.>
Sent: Wednesday, April 3, 2024 9:03
To: geneontology/go-ontology @.>
Cc: Lionel Breuza @.>; Mention @.>
Subject: Re: [geneontology/go-ontology] uniporter activity (GO:0015292) (Issue #27340)
@lbreuzahttps://github.com/lbreuza
Yesterday, I started to make some tickets to tidy up some of the problematic child terms of 'active transmembrane transporter activity':
e.g. #27488https://github.com/geneontology/go-ontology/issues/27488
I will make new ticket to change this branch after I've checked the child terms.
—
Reply to this email directly, view it on GitHubhttps://github.com/geneontology/go-ontology/issues/27340#issuecomment-2033709887, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADMGFHHGVCCZWVCJ23W33U3Y3OSUBAVCNFSM6AAAAABE5RPB5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZTG4YDSOBYG4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Also, we will need a parent term for 'group translocator activity' which is a TC 4 set. https://tcdb.org/search/result.php?tc=4
TCDB description:
"Group translocation involves a combined chemical and vectorial reaction where the transported substrate is modified during the transport process.  This can be in a tightly coupled process where transport can not occur at an appreciable rate without substrate modification, or in a more loosely coupled process where transport can occur without  derivatization, but the normal process involves coupling.  Such processes can involve sugar phosphorylation using phosphoenolpyruvate (PEP) mediated by the phosphotransferase system (PTS; 4.A), nucleoside phosphorylation using ATP as the phosphoryl donor (PnuC; 4.B), or carboxylic acid thioesterification using Coenzyme A as the derivatizing agent (FAT; 4.C)."
Parent for terms:
GO:0008982 protein-N(PI)-phosphohistidine-sugar phosphotransferase activity
GO:0090563 protein-phosphocysteine-sugar phosphotransferase activity


Update mysql-connector-java to 8.0.23

Updates mysql:mysql-connector-java from 8.0.21 to 8.0.23.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "mysql", artifactId = "mysql-connector-java" } ]

labels: test-library-update, semver-patch

Superseded by #166.


sync ci labels

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Update poetry lock file format to 2.0

This PR locks poetry files with format 2.0.
Close #710.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Nice!
Three comments:

by launching poetry lock, you updated the format of the lock file (because they were generated with poetry 1.2, and you are using poetry 1.3), but you also updated the minor versions of the dependencies. It should be OK, but it's good to know that side effect of poetry lock.
I didn't find a way to force the use of a given version of poetry (ie >=1.3.2). It's a problem because if I run again poetry lock with an older version, I would revert the change. So: we have to ensure everybody (@huggingface/datasets-server) is using poetry >= 1.3.2.
Please, could you also update the poetry version both in github actions and in dockerfiles?

Also, it's weird that the CI has not been raised by the changes in poetry.lock. I think it's because the PR comes from a fork, hence the github actions that are triggered by push are not run:
https://github.com/huggingface/datasets-server/blob/290f5be529d8c040b5638437cf25fa2fc6da0a53/.github/workflows/j-migration-build-docker.yml#L7-L11
We should add pr: below push: I think

Yes, let me fix the triggering. We have it like that also in datasets.

Not sure if we have to copy the list of paths, or if the same list will apply to both push: and pull-request:

This branch is out-of-date with the base branch

Maybe you have to rebase, by the way...

@severo do you think it is OK to fix the CI in this PR? Or better in other PR and the merge that into this one?
I ask because the topic of each are different: update poetry lock format, vs. fix GitHub Actions for forks.

Please to it here too, it's minor, and this way we ensure the CI is run on this PR.

ah, OK, you can also do another PR on this branch, you're right

Closing, as it has been replaced by #714 which is not affected by #712.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.16 to before v4.14.259",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=80105befdb4b8cea924711b40b2462b87df65b62",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f3fde37d3f0d429f0fcce214cb52588a9e21260e"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "80105befdb4b8cea924711b40b2462b87df65b62",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "f3fde37d3f0d429f0fcce214cb52588a9e21260e",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: systemport: Add global locking for descriptor lifecycle\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.14.259 by commit f3fde37d3f0d429f0fcce214cb52588a9e21260e, it was introduced in version v3.16 by commit 80105befdb4b8cea924711b40b2462b87df65b62. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002637


Collection::mergeRecursive appends a *items element

Laravel Version: 8.46.0
PHP Version: 7.3.28-2+ubuntu18.04.1+deb.sury.org+1
Database Driver & Version:

Description:
In some cases Collection::mergeRecursive appends an *items key.
Steps To Reproduce:
$collection1 = collect([     'level_1' => collect([         [             'id' => 1,             'name' => 'One',         ],[             'id' => 2,             'name' => 'Two',         ],     ]), ]); $collection2 = collect([     'level_1' => collect([         [             'id' => 3,             'name' => 'Three',         ],[             'id' => 4,             'name' => 'Four',         ]     ]) ]); return $collection1->mergeRecursive($collection2)->first();
Couldn't get the code properly formatted, I apologize.

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

@xstat did you find a resolution? Experiencing this as well.

@xstat @JonErickson @driesvints Experiencing the same.. Did you guys find a solution?


[TA] Fix the regression result in extractive summarization test

Regression on the Extractive Summarization test result.
It happens when the machine learning model is upgraded sometime.

/azp run java - textanalytics - tests

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


Livesync does not ignore changing .git folder on Windows 11 WSL

Hello.
When using the Windows 11 WSL, it seems that the .git folder is not ignored.

I added some debug output to give a bit more information:

even though .git/ is part of the .syncignore for the field_friend folder, changes to the .git folder of field_friend are still reported.

here is also a list of the compiled regex patterns

Here is also a list of the compiled regex patterns

On further inspection, it seems as if watchfiles reports the git folder without the / at the end.
It could be that watchfiles reports folders differently on WSL (or perhaps ubuntu, since ubuntu is running in WSL).
Another possibility I considered is that changes in the .git folder happen every time the summary for the folder is made because of a quirk with the way the mounting of the C: drive works in WSL (I the creation, modification and access time reported by os.stat() changes everytime).
It could also be the case that pathspec compiles the wrong regex for the pattern, since (I think) the (?<ps_d>/) group is not optional. This could how could however be correct, since the documentation for git says:

If there is a separator at the end of the pattern then the pattern will only match directories, otherwise the pattern can match both files and directories.
https://git-scm.com/docs/gitignore

This would suggest that the pattern cannot simply be compiled to a regex (if watchfiles is not supposed to report directories with a slash at the end).

Ok, I can reproduce the issue on Mac/Linux as follows:

start LiveSync in an empty directory
create a folder which is in the .syncignore file (for example .git/)
you will see that it is still synced -- and following touch commands (which update the mtime) will retrigger a sync
expectation: the folder is not synced because it is in the .syncignore file
observation: due to the trailing slash in the folder spec pathspec only matches everything inside the folder, not the folder itself


This Week in Rust and WebAssembly 004

I am kinda catching up after the pox.

Yikes :( I hope you are feeling better!


[WIP] Bumped up python version

Fixes #33

Updated the workflow matrix in tests.yml to use [3.7, 3.10, 3.11] instead of [3.6, 3.7, 3.8].

Updated PostgreSQL version 9.5 -> 11 in /doc/admin/installation

Please remove support for v3.7 also. We will support v3.10 onward.
The tactics is to support the Python included in the latest Ubuntu LTS. At the time of writing this, latest Ubuntu LTS is Ubuntu 22.04, and it comes with Python v3.10.

Made the changes now it only refers to versions 3.10 and 3.11

hey @hongquan any updates?

I am sorry, @elle-Bee. Because the current codebase of eventyay-tickets is depending on very old libraries, I'm not sure if they are really compatible with Python v3.10+, especially libraries which are written in C/C++. So I have to hold your PR in pending until another task, which is to upgrade Django, finishes. The other task will involve upgrading dependencies as well, and help us test this PR easier.

Could you work on another task to remove Python 3.6, 3.7 from GitHub Action script?

Please resolve conflict @elle-Bee

resolved the conflicts with the dockerfile

hey @hongquan any updates?

The Python upgrade can only be done as part of the Django system upgrade. The build does not work with the updates in this issue currently.

oh okay

We have successfully progressed with the Django upgrade. Please make your PR against the dev branch now.

This has been solved in the meantime. Therefore closing it.


Add IPv6 support (Terraform 0.12 edition)

Add variable enable_ipv6 to allow enabling IPv6 support (resulting in passing assign_generated_ipv6_cidr_block to aws_vpc).
Enabling IPv6 support further results in an egress-only internet gateway being provisioned and routing tables of subnets being adjusted.
Additional variables allow to choose the indices out of the /64 subnet based on the assigned /56 range.
This is based on @bcenker's work in #16 as well as @dekimsey's on #218, but based on a clean master branch (after the Terraform 0.12 upgrade).

v2.10.0 has been released (see #317).


youtube only download songs at 32kbps per channel while uploads are normally capped at 256kbps

i am a paid user
viztube youtube only download songs at 32kbps per channel while uploads are normally capped at 256kbps

Hi dakristof,
Could you provide sample video url for which you are facing the issue.
Thanks

It must be 32kBps . i.e
If you convert 32kBps into kbps.
It will be in 256kbps
32kBps*8 = 256kbps
so you are getting exactly same.

see attachment

Van: Rishabh Bhardwaj @.>
Verzonden: woensdag 11 januari 2023 10:27
Aan: rishabh3354/VIZTUBE @.>
CC: dakristof @.>; Author @.>
Onderwerp: Re: [rishabh3354/VIZTUBE] youtube only download songs at 32kbps per channel while uploads are normally capped at 256kbps (Issue #2)
Hi dakristof,
Could you provide sample video url for which you are facing the issue.
Thanks
—
Reply to this email directly, view it on GitHubhttps://github.com/rishabh3354/VIZTUBE/issues/2#issuecomment-1378462665, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5GD5JOVTC6MIZP37D423YDWRZ4J5ANCNFSM6AAAAAATXYCP3E.
You are receiving this because you authored the thread.Message ID: @.***>

i tried to send you 3 attachments, but github not accept it, please give me your email address or something where i can upload my downloads
thank you

Just paste video url here..

ok give me a moment

https://www.youtube.com/watch?v=ugNGKgnfdr0
bits per sample in vlc media player with codec info 32aac

File Name
09-dj-weirdo-dr-phil-omanski-young-birds-original-version_audio_super.m4a
 File Size
5.4 MB
 File Type
M4A
 File Type Extension
m4a
 Mime Type
audio/mp4
Major Brand
Apple iTunes AAC-LC (.M4A) Audio
Minor Version
0.2.0
CompatibleBrands
0
isom
1
iso2
Movie Header Version
0
 Create Date
0000:00:00 00:00:00
 Modify Date
0000:00:00 00:00:00
Time Scale
1000
 Duration
0:05:35
Preferred Rate
1
Preferred Volume
100.00%
 Preview Time
0 s
 Preview Duration
0 s
Poster Time
0 s
Selection Time
0 s
Selection Duration
0 s
Current Time
0 s
Next Track Id
2
Track Header Version
0
Track Create Date
0000:00:00 00:00:00
Track Modify Date
0000:00:00 00:00:00
Track Id
1
 Track Duration
0:05:35
Track Layer
0
 Track Volume
100.00%
Matrix Structure
1 0 0 0 1 0 0 0 1
Media Header Version
0
Media Create Date
0000:00:00 00:00:00
Media Modify Date
0000:00:00 00:00:00
Media Time Scale
48000
Media Duration
0:05:35
 Media Language Code
eng
Handler Description
SoundHandler
Balance
0
Audio Format
mp4a
 Audio Channels
2
 Audio Bits Per Sample
16
 Audio Sample Rate
48000
Handler Type
Metadata
Handler Vendor Id
Apple
Encoder
Lavf58.29.100
Media Data Size
5381138
Media Data Offset
63647
Avg Bitrate
129 kbps
 Category
audio
 Raw Header
00 00 00 18 66 74 79 70 4D 34 41 20 00 00 02 00 69 73 6F 6D 69 73 6F 32 00 00 F8 77 6D 6F 6F 76 00 00 00 6C 6D 76 68 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 E8 00 05 1B 86 00 01 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
streams
Index
0
 Codec Name
aac
 Codec Long Name
AAC (Advanced Audio Coding)
Profile
LC
 Codec Type
audio
 Codec Tag String
mp4a
 Codec Tag
0x6134706d
 Sample Fmt
fltp
 Sample Rate
48000
 Channels
2
 Channel Layout
stereo
 Bits Per Sample
0
Initial Padding
0
Id
0x1
 R Frame Rate
0/0
 Avg Frame Rate
0/0
 Time Base
1/48000
 Start Pts
0
 Start Time
0
 Duration Ts
16066128
 Duration
334.711
 Bit Rate
128610
 Nb Frames
15691
Extradata Size
5
disposition
Default
1
Dub
0
Original
0
Comment
0
Lyrics
0
Karaoke
0
Forced
0
Hearing Impaired
0
Visual Impaired
0
Clean Effects
0
Attached Pic
0
Timed Thumbnails
0
Captions
0
Descriptions
0
Metadata
0
Dependent
0
Still Image
0
tags
Language
eng
Handler Name
SoundHandler
Vendor Id
[0][0][0][0]
format
Nb Streams
1
Nb Programs
0
Format Name
mov,mp4,m4a,3gp,3g2,mj2
Format Long Name
QuickTime / MOV
Start Time
0
Duration
334.711
Size
5444785
Bit Rate
130136
Probe Score
100
Major Brand
M4A
Minor Version
512
Compatible Brands
isomiso2
Encoder
Lavf58.29.100

Thanks for sharing, i will look into it

patrick-bunton-young-birds_video_480p.mp4
35MB
vlc codec info
aac SBR 32kbps

i putted vizztube on highest qualiity and tried changing flipping servers nothing worked i cant get higher then 64KBPS

andain-beautiful-things-taken-from-tiesto-in-concert_audio_super.mp3
128KBPS MP3 ripped from the stream to music goes higher then in the video itself

heroes-of-hardcore-dj-weirdo-1996_audio_super.m4a
72MB audio only big
32kbps codec on vlc

if you select video you get worse quality, if you select audio file convert you generally get higher quality

video ripped stefano binotto ok
32 kbps codec in vlc
and all other meta analysing systems

https://www.youtube.com/watch?v=ib7YN4jK-oM
32KBPS in VLC CODEC INFO

medium high low quality settings change also nothing
everything comes in 32 kbps
i tried 2 countries Belgium and USA, no results 32kbps for audio as video, analised with external online audio/video anylisers

Thanks for reporting. I will look into it

brulux-kb9-clip-officiel_audio_super.mp3
128kbps is the maximum
in video is 32kbps the maximum

File Name
brulux-kb9-clip-officiel_audio_super.mp3
 File Size
3.6 MB
 File Type
MP3
 File Type Extension
mp3
 Mime Type
audio/mpeg
Mpeg Audio Version
1
 Audio Layer
3
 Audio Bitrate
64 kbps
 Sample Rate
44100
 Channel Mode
Stereo
Ms Stereo
Off
Intensity Stereo
Off
Emphasis
None
Id3 Size
144
User Defined Text
(compatible_brands) isomiso2mp41
Encoder Settings
Lavf58.29.100
 Duration
0:07:25 (approx)
 Category
audio
 Raw Header
49 44 33 04 00 00 00 00 01 06 54 58 58 58 00 00 00 12 00 00 03 6D 61 6A 6F 72 5F 62 72 61 6E 64 00 69 73 6F 6D 00 54 58 58 58 00 00 00 13 00 00 03 6D 69 6E 6F 72 5F 76 65 72 73 69 6F 6E 00 35 31 32 00 54 58 58 58 00 00 00 20 00 00 03 63 6F 6D 70 61 74 69 62 6C 65 5F 62 72 61 6E 64 73 00 69 73 6F 6D 69 73 6F 32 6D 70 34 31 00 54 53 53 45 00 00 00 0F 00 00 03 4C 61 76 66 35 38 2E 32
streams
Index
0
 Codec Name
mp3
 Codec Long Name
MP3 (MPEG audio layer 3)
 Codec Type
audio
 Codec Tag String
[0][0][0][0]
 Codec Tag
0x0000
 Sample Fmt
fltp
 Sample Rate
44100
 Channels
2
 Channel Layout
stereo
 Bits Per Sample
0
Initial Padding
0
 R Frame Rate
0/0
 Avg Frame Rate
0/0
 Time Base
1/14112000
 Start Pts
353600
 Start Time
0.025057
 Duration Ts
3139706880
 Duration
222.484898
 Bit Rate
128000
disposition
Default
0
Dub
0
Original
0
Comment
0
Lyrics
0
Karaoke
0
Forced
0
Hearing Impaired
0
Visual Impaired
0
Clean Effects
0
Attached Pic
0
Timed Thumbnails
0
Captions
0
Descriptions
0
Metadata
0
Dependent
0
Still Image
0
tags
Encoder
Lavc58.54
format
Nb Streams
1
Nb Programs
0
Format Name
mp3
Format Long Name
MP2/3 (MPEG audio layer 2/3)
Start Time
0.025057
Duration
222.484898
Size
3560110
Bit Rate
128012
Probe Score
51
Major Brand
isom
Minor Version
512
Compatible Brands
isomiso2mp41
Encoder
Lavf58.29.100


Add to basket files in sandbox

The add to basket button  redirects to an error page.
is there a problem with the sandbox demo ?

Yes, there was a problem which has been fixed now.


Authentication enhancements

Enforce algorithms in jwt.verify. The lib we use is already protected, this adds an additional security to ensure no-one can mess with the algorithm used to decode the tokens.

Add a kid field in JWT headers. This doesn't change anything now, but it will help with migrations strategies if we later want to update the keys or the algorithm used.

Remove an unused function: authenticateInternalUserByJwt

New token format (decoded):

Could that be a good time to review the content of the payload also?

@znarf I've removed email and id from the payload as I could not find any usage for them (user id is already provided by sub)


Define widths for BEAM and UNDERLINE cursors. Fixes #1372

This is a pretty self-explanatory commit ⚡
 border-left affects BEAM,
border-bottom affects UNDERLINE
I didn't take the time to familiarize myself with Hyper's preferences, but this could definitely be something configurable.

Neat!

We're going to revert this, and introduce opacity later.

Sure!


Fix DAO proposal for farmers veto

It appears in code that same council member can veto a proposal multiple times.
This is due to the fact that we don t check if such veto from this council member already exists.
Since a proposal is disapproved with 3 vetos, a single council member could disapprove it by himself which is not what we expect.

@renauter is this released cause I tried twice and it didn't work for me, can you take a look.

I created a proposal for farmers

I used council member to veto,

And it was added as seen.

3.I repreaded the vote two more times and both were accepted,

Second veto

Third veto closed the proposal.

Indeed it is related
Code has been merged to main branch but not been deployed yet on devnet.
As you can see above I closed it by mistake and reopened it.
Maybe I should have put status to "in progress" instead of "in verification"?
Still getting used to processes ;)

Verified, Devnet
When I tried veto first time it was accepted,

But in the second time veto was rejected as duplicate.


Fix flake8 in cuda atomic test from merge.

As title.

I checked this locally with flake8 -- master is broken and this fixes it!

Thanks @esc merging.


Add SAIS

Add Stamford American International School as a school in Singapore

@cytronicoder First stage of verification passed, official domain is sais.edu.sg as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@cytronicoder Thank you for your patience while waiting for a review and processing your request. Pull request merged.

@philipto Thank you for adding the school into the directory 🚀


all docs.angularjs.org examples point to angular.js on DAO

examples should point to http://code.angularjs.org/angular-x.y.z.min.js

This has been already fixed, closing...


Pool decommissioning

Added new TxOutput::DecommissionPool type and the code that supports decommissioning.
The main challenge for this PR was to handle new rules for input/output combinations in input_output_policy.rs. Please pay attention there. I think I've covered all of them, but the tests still don't prove there are no false positives. If you know how to improve the testing please let me know.

Looking good. A few issues should be addressed, then I'll look into it again. Cheers!


pt-BR is missing

pt-BR is missing

As far as I'm aware, CLDR treats pt as pt-BR so it should be included by default. But as always, you can customize your locales to suit your needs based on anything included in the CLDR data.


Bugfix #4978 |  AppDefinition.Container validation

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

retest this please

^^ just a trigger for CI, don`t worry :)

retest this please

Rebased

retest this please

retest this please

Thanks! Merged master and will squash merge after tests

Thanks @janisz !
    .  o ..
     o . o o.o
          ...oo
            __[]__          Shippin'
         __|_o_o_o\__         it!
         \""""""""""/
          \. ..  . /
     ^^^^^^^^^^^^^^^^^^^^


MONDO:0020802 is obsolete with subclass

Mondo term (ID Label)
MONDO:0020802 (obsolete_basal cell cancer)
Bug/Typo/Error description
This obsolete term still has the subclass of "basal cell carcinoma", which was picked up as an error in the EFO release build.

Thanks @zoependlington I'll look at this asap.

Thanks @zoependlington I'll look at this asap.


python311Packages.asyauth: 0.0.15 -> 0.0.16

Changelog: https://github.com/skelsec/asyauth/releases/tag/0.0.16
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 257584 run on x86_64-linux 1

26 packages built:

crackmapexec
crackmapexec.dist
python310Packages.aardwolf
python310Packages.aardwolf.dist
python310Packages.aiosmb
python310Packages.aiosmb.dist
python310Packages.asyauth
python310Packages.asyauth.dist
python310Packages.lsassy
python310Packages.lsassy.dist
python310Packages.msldap
python310Packages.msldap.dist
python310Packages.pypykatz
python310Packages.pypykatz.dist
python311Packages.aardwolf
python311Packages.aardwolf.dist
python311Packages.aiosmb
python311Packages.aiosmb.dist
python311Packages.asyauth
python311Packages.asyauth.dist
python311Packages.lsassy
python311Packages.lsassy.dist
python311Packages.msldap
python311Packages.msldap.dist
python311Packages.pypykatz
python311Packages.pypykatz.dist


Adding Pie Charts, among other bug fixes

Adding Pie Charts, widening cards, editing colours for Transactions and font sizes on the pie charts, as well as fixing logic to calculate Balance

Great job! I'll take a look over this in morning, from preview deploy all appears to be working nicely 😃


Fix: Push merged changes for fixes

Push merged changes for fixes.

No longer relevant due to migration to new environment


Ignore empty space after a name

For example:
in the measurement data file I have the name 'IR1_P ' and in the SBML model I have 'IR1_P'. It would be good to be able to automatically ignore spaces at the end of the string.

to avoid:
Unknown observables in measurement file: {'observable_IR1_P '}

Let's not ignore that. They should be corrected in the input data.


[Health Checks] Document security considerations of health checks endpoints

The ServiceDefaults templates are being updated to only add the health checks endpoints in development environments and have a comment saying that details in the Aspire health checks docs should be reviewed before enabling them in non-development environments.
We should update the health checks docs to discuss protecting health checks using routing features like host filtering and/or authorization (existing ASP.NET Core docs on this) as well as how to configure the health checks endpoints to use request timeouts and output caching. We're going to add a sample of how to configure health checks endpoints with request timeouts and output caching in the Aspire samples repo (see https://github.com/dotnet/aspire-samples/issues/158).

To confirm, this is a preview-5 change, right?

Correct


Windows 7 install issue

PowerShell 3 but issue downloading the installer
https://prnt.sc/j9e0qn

Try installing .NET 4.5 or upgrade you PowerShell if possible.
Your current Setup doesn't support TLS 1.2. It's recommended to use TLS 1.2 because some Websites don't allow TLS 1.0 or 1.1 anymore.


Cody Timing Out

Version
1.53.1734584341
Describe the bug
https://capture.dropbox.com/BqpLqzAKiW6mIsqU
Note that the chat also fails when it gets into this state
Expected behavior
Cody works :)
Additional context
I've been using cody for months without an issue. THis only started happening within the last week.
I tried the prerelease version to and I'm running into the same issue.

I'm also sometimes seeing an error like this in the chat bar:

Hey @iloveitaly
Thank you very much for the detailed report.
The team will have a look into it.
Sorry for the inconvenience.

Another related issue: I can't add a file to chat. Here's a walkthrough.
https://github.com/user-attachments/assets/26e6361b-00d3-41ba-b163-373b3a20bea4


Support return of repo SecurityAndAnalysis data via ListByOrg endpoint

GitHub Changelog announcement: https://github.blog/changelog/2022-12-20-code-security-enablement-settings-on-the-list-organization-repositories-rest-api/
Affected endpoint: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-organization-repositories
Repo method: https://github.com/google/go-github/blob/master/github/repos.go#L300-L326
These features have already been implemented and are available in version v48.2.0 of this repo.
This issue is for informational and search purposes only.
Closing issue immediately after opening.

Closing as already implemented.


up-8student-13q-omr-9digits-new.pdf layout generation,configuration and testing

up-8student-13q-omr-9digits-new.pdf layout generation,configuration and testing

layout is generated and implemented properly in backend .


Select Processor Option for Solar Powered Sensor

Building a Solar Powered Frog Sensor would be great for the sustainability of the project. However, the power consumption of a large always-on device like a Raspberry Pi is too much to have a reasonably sized solar panel + battery.
There are at least two ways to solve this:

Build a custom power management system to turn of power to the compute module (Raspberry Pi) periodically to reduce power consumption.

Challenge: Custom hardware engineering to support this

Use a different process option like a microcontroller that has a proper sleep mode.

Challenge: Creating a fleet management / Over-Air-Update System for a microcontroller fleet. Our current solution (Balena) does not support this

@eren-rudy and @djgood FYI.

I've been thinking of additional possible solution which is a hybrid approach to the two possible ways you've already suggested above: Keep a Linux-capable chip so that we can keep using Balena since it's giving us the huge benefit of simplifying provisioning and deployment (for free! 🤯), but have it turn off / sleep and delegate most of the data acquisition to a lower power microcontroller.
Best of both worlds but highest level of complexity.

Indeed but perhaps it’s the best solution! There is a Balena playground
example where the balena image can flash firmware to an ESP32
microcontroller for example, which might be a good approach to realize what
you mentioned below!
https://github.com/balena-io-playground/esp32
On Wed, Nov 3, 2021 at 4:15 PM Desmond Good @.***>
wrote:

I've been thinking of additional possible solution which is a hybrid
approach to the two possible ways you've already suggested above: Keep a
Linux-capable chip so that we can keep using Balena since it's giving us
the huge benefit of simplifying provisioning and deployment (for free! 🤯),
but have it turn off / sleep and delegate most of the data acquisition to a
lower power microcontroller.
Best of both worlds but highest level of complexity.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Ribbit-Network/ribbit-network-frog-sensor/issues/63#issuecomment-960286682,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATQ3FRKCYC2PBZCIPE6RY3UKHGD7ANCNFSM5HKCN5QQ
.

Seems like a significant amount of hardware overhead and cost driven by a desire to use Balena to update a linux platform I suspect there are lower power solutions out there.

Definitely so! I would reframe that statement as saying it is a priority of the project to have a good Over-The-Air Update system. Balena is just the only option we've identified that will work easily without us writing a TON of software.
Definitely open to trialing other options as we find them! For example, I've been trialing as a service for OTA with ESp32 devices, but that feature isn't done in development yet.

The other comment to note that is we're an open-source project, so minimizing recurring software costs is a big priority! That's the biggest advantage to Balena is that we can use their service for free as an open-source project, which is a big cost savings.

I was introduced to https://toit.io/ as a fleet management software tool for ESP32. It seems really new, but at least seems done. I Will attempt to get trial access for that tool to assess if it is suitable. I'm a bit wary because this requires a propritary language.

Here's my slack chat with the Toit developer team.
The summary is that there isn't a way for end device users to reconfigure their wifi connections via ToiT at the moment and we would need to wait on the Toit team to add support for this before it's possible.

See https://github.com/toitware/public/issues/31 for the feature request on the Toit side.

Hey @keenanjohnson can you explain the need for OTA updates to the sensor?

Hey @Derek-Gutheil! It's a good question!
The main reason is that I consider our backend database (currently based on influxdb), to be a prototype at best. Given that, it's extremely likely we'll need to update the software on devices in the future as we learn and grow the project and establish he best practices for collecting this data.
In theory, we don't "need" OTA, however, I believe it is possible to ship a system with it, so I think it's a goal worth shooting for unless we prove that it can't be done.
Another point of information, I have heard that Golioth.io now supports OTA for ESP32, if someone wanted to try that out, it could unlock that as a processor option!

I don't have experience with fleet management for IOT devices, so forgive my ignorance. I'm looking at this from more of an embedded device perspective.
Doing a bit of digging, it looks like the ESP32 supports OTA updates natively
Looking up a tutorial here they show how the ESP32 can be triggered via serial to look for updated firmware from an AWS S3 bucket. Could the devices simply be triggered from a timer (once a week, once a month, etc.) or a response variable from the server when they upload data to check the S3 bucket for new firmware? The rollout of new firmware images wouldn't be instantaneous, but it seems like a vast majority of devices could feasibly be updated within a week or so without using an external service like balena, golioth, toit, etc.
Again, apologies if I don't understand the complexities of fleet management.

That is definitely possible @Derek-Gutheil ! The challenge comes from dealing with security and edge cases which is where the additional services you have mentioned create value. For example, what is the power to the device is disrupted during the update download? For security,
These are solvable engineering challenges to be sure, but in my experience, it takes significant software engineering effort to solve them (person-months generally). As an open-source project, ensuring that we take on the least technical risk with our technology decisions is important to keep shipping products given that we don't have a full-time staff. So I just want to be sure that we do an adequate make vs buy trade study here.

Got it, that makes sense! I'd love to help with that make vs buy study, let me know how I can.

This gets me thinking:
Rspberry PI Zero with a solar panel https://www.arrow.com/en/research-and-events/articles/can-you-run-a-raspberry-pi-on-solar-power

That's a great goal @fosteman ! Cold resilience is something we should definitely prioritize!
The raspberry pi zero is a good option for low power, but here are a few challenges (that are probably solvable), which have caused us to stay away from it:

Even though the raspberry pi zero is the lowest power of all the raspberry pi options, it still doesn't have a proper "sleep" mode, meaning the power draw is still in the 10s or 100s of milliamps all the time. This is really challenging to use with any reasonably sized battery to have a persistently "on" device.
The wifi antennae on the pi zero is quite bad compared to the big external one on the CM4 for example, which isn't great for a sensor that goes outside.

Like I said all of these are certainly solvable, but so far our take has been that using an easier hardware like an ESP32 microcontroller for example is the better hardware choice in exchange for more software complexity ex: https://github.com/Ribbit-Network/ribbit-network-frog-sensor/issues/128.
Definitely curious for your thoughts though.

We're moving to an esp32-based frog for the foreseeable future, so closing this as selected since the esp32s3 should be adequate for future solar developments.
New software repo below:
https://github.com/Ribbit-Network/ribbit-network-frog-software


No audio on downloads

When downloading anime and trying to play after download complete the video has no audio. It has the whole episode but no audio for the entire thing. Maybe I am doing something wrong. If so i do apologize.
this was for jujutsu kaisen episode 22 and 23. I did notice on the site you have to choose a language for these episodes. I tried picking the language and then also trying to download with the episode url instead of the season url but had same result.

Keep track on issue #16
I'll work on this soon.


Optional generation of per-tag RSS feeds

New customizable flag `org-static-blog-enable-tag-rss', which indicates
whether to generate per tag RSS feeds.
When this flag is set, an RSS file with name given by prefixing
org-static-blog-rss-file' with '<tag>-' is created for each existing tag.  The options org-static-blog-rss-extra',
org-static-blog-rss-max-entries' and org-static-blog-rss-excluded-tag' are also used to construct
per-tag RSS feeds."

I haven't had the time to look at the code in detail. But I like the idea. Does it change the RSS feed of existing blogs at all?

On Tue, Mar 02 2021, Bastian Bechtold wrote:

I haven't had the time to look at the code in detail. But I like the
idea. Does it change the RSS feed of existing blogs at all?

No.  The regular RSS feed with all posts is generated with the exact
same contents as before; we just add new ones.  Barring bugs, of course
:)

OK, cool. I like it!


ADR for the mechanism for running tests

Create the ADR for how we intend for tests to be run, both locally and in CI.
This first draft is intended to stimulate discussion and debate, in the hopes that we come to a solution that the team likes and enjoys working with.

I can't argue with anything here. We did take a stab in the gilab capability with using the github action that dubbd uses to spin up a test k3d cluster for use. https://github.com/defenseunicorns/uds-capability-gitlab/blob/main/.github/workflows/build-test.yml. That seems to work pretty well.
But I understand the desire to have the tests be the same for local and ci.
How do we address testing across the other k8s distros and environments?

How do we address testing across the other k8s distros and environments?
TBD. The existing pattern is Terratest, which I'm still a fan of.

Waiting to merge until more people see this and have a chance to respond to it.

@RothAndrew have you compared the proposed solutions here to what is being used across the rest of the UDS effort? While we might not use the same shared workflows off-the-bat, the solutions will eventually converge.

@RothAndrew have you compared the proposed solutions here to what is being used across the rest of the UDS effort? While we might not use the same shared workflows off-the-bat, the solutions will eventually converge.

Yes

Based on the conversation we had I'm going to go create the PR for this in the UDS repo (will try and figure out some way of designating that it is a SWF-specific decision), then I'll close this PR.

OBE. Replaced by https://github.com/defenseunicorns/uds/pull/170


hi gurkirt. Can you provide the test script which can test a single image. thx

You could use evaluate.py for it.


[Bug] Not working on Linux

I am using Arch Linux (btw), with hyprland, and wayland (which I think may be the root of this issue.).
After downloading linux-musl, and running the program I get the following log in console:
2024-07-29 11:29:18 | INFO  | sf_scrapbook_helper:105 | Starting up
thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/iced_winit-0.12.2/src/application.rs:119:10:
Create event loop: Os(OsError { line: 80, file: "/usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.15/src/platform_impl/linux/wayland/event_loop/mod.rs", error: WaylandError(Connection(NoWaylandLib)) })
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
/home/daniel/Downloads/sf-scrapbook-helper_v0.2.3_x86_64-unknown-linux-musl/sf-scrapbook-helper failed with error: signal: aborted (core dumped)
Steps to reproduce:

Thanks for the detailed report!
I have 3 machines using arch (btw), but all of them headless servers.
I used to test the linux cli compatibiity on one of them a while back and (IIRC) saw the same error there, because well it was a headless server with no window manager or anything. I got it working on there by manually running a wayland compositor weston --no-config --socket=wl-test-env --backend=headless and then running the tool with an explicit request to use that: env WAYLAND_DISPLAY=wl-test-env PATH_TO_HELPER. That means wayland should be compatible, I was just expecting it to correctly pick all of that up, when running in an actual wm/de. Guess I was wrong...
You might have some luck explicitly setting WAYLAND_DISPLAY to the hyprland compositor, or somehow making it fall back to Xorg compatibility mode or something. I don't know what the hyprland experience is like, but I remember wasting a day getting sway working on an nvidia machine a year ago and pretty much everything had some sort of problem, or was straight up not working... so yeah, if that does not work, I am probably not going to be able to help you, I am not too keen on debugging linux compositor errors again 😅

Arch (btw) and Hyprland I got the same problem with the prebuilded release binary.
But build from source is working.

But build from source is working.

That almost makes me think this is related to the gui framework having some sort of compile time flags, that somehow break the binary on hyprland, when build on a headless (maybe headless x) server.
Might also be, that arch is just so ahead in terms of drivers, wayland version, etc. compared to the github actions vm, that whatever library it is expecting to find has already been updated (lib3.so -> lib4.so) and that breaks something, whilst compiling on that machine correctly gives the current lib version at compile time, which means the binary will run.
Whatever it is, I should  probably have a look at this again. If compiling from source works, I might want to upload this to crates.io and suggest to cargo install this on linux.
Thanks for the update


fix: window.ipfs streaming

There were two issues at play here:

pull-postmsg-stream was using an old version of postmsg-rpc so wasn't getting the data from a message correctly and caused it to error when pulling over web extension port messaging
Companion was actively disallowing bi-directional messages. For pull streams to work, messages need to flow in both directions

Both js-ipfs-api and (to some extent) js-ipfs have bugs that prevent adding files with pull streams:
https://github.com/ipfs/js-ipfs-api/issues/745
https://github.com/ipfs/js-ipfs/issues/1317