compute_flow() error：Error in calculating optical flow of only one frame

Recently, I'm trying to use restoration_video_demo.py to test the super-resolution effect, and the video we used have 321 frames in total, max_seq_length=10. In restoration_video_inference.py line 128, the data.size(1)=1, and errors occur when calculating optical flow.

What should I do to deal with the last frame left (321/10=21 .... 1)?

How about omitting the last frame? XD

Actually you can conscturct a sequence from data.size(1)-max_seq_len to data.size(1) and extract the  last frames to append to the result.

Closing due to inactivity, please reopen if there are any further problems.


Added readme for pruneOFA examples on SQuAD and GLUE

What does this PR do?
Add readme for pruneOFA examples on SQuAD and GLUE
Before submitting

[x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

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

@echarlaix This PR is to add some examples to reproduce the results published in NeurIPS'21 ENLSP paper "Prune Once for All: Sparse Pre-Trained Language Models" (link: https://arxiv.org/abs/2111.05754). Please review. Thanks.

Great idea to add prunce once for all it in the README. I added some minor comments concerning the two steps explanation

@echarlaix Thanks for your suggestions! I've modified the readmes accordingly.


WIP : Out of distribution statistics

Addresses #21
Hopefully this is the last bit of spaghetti code that codes in before the Birdman refactors.

So this doesn't work apparently since the case_control id transformer can't currently handle new ids.

Closing this pull request since it looks like this strategy is not feasible. We would need to figure out how to specify and freeze distributions in Stan in order for this to work.  This may require new features to be incorporated into Stan.


If disabled is set initially on the select, removing it doesn't work

The issue is when a select has a disabled attribute and ajax select is applied, a disabled class is added to a wrapper div.bootstrap-select that contains the select. Then if we want to remove the disabled to enable the ajax search, that should be done on the wrapper and in the the select.
It would be useful to have a .ajaxSelectPicker('enable') / .ajaxSelectPicker('disable') kind of function that applies the enable/disable to the correct DOM element, instead of manually adding and removing attributes and classes from dynamic DOM elements.
Also detected the plugin adds disabled attribute and class to the button when the initial select is disabled:
<button type="button" class="btn dropdown-toggle disabled bs-placeholder btn-light" data-toggle="dropdown" role="button" data-id="referred_to_id" tabindex="-1" aria-disabled="true" title="Start typing to search">

Start typing to search

</button>

This plugin is an extension of bootstrap-select, which handles the wrapper and dropdown (mostly).
There is an example of how to do this here: https://developer.snapappointments.com/bootstrap-select/methods/#selectpickerrefresh
$('.ex-disable').click(function () {
  $('.disable-example').prop('disabled', true);
  $('.disable-example').selectpicker('refresh');
});

$('.ex-enable').click(function () {
  $('.disable-example').prop('disabled', false);
  $('.disable-example').selectpicker('refresh');
});


#31 Solved throw payload message at baserequest

#31  @TimDaub
if (!(res && res.ok)) {
            throw {
                message: "HTTP Error: Couldn't reach requested webpage",
                status: res.status + " " + res.statusText,
                requestURI: res.url
            }
}

Result (for wrong API URL):
{
   message: 'HTTP Error: Couldn\'t reach requested webpage',
   status: '404 NOT FOUND',
   requestURI: 'https://test.ipdb.io/api/**v11**/transactions?asset_id=e77ab9036f4ae5c276502f02c825a8c03349ee1d8be139a44d0cb6ae7a8852f2&operation=TRANSFER'
}

Codecov Report

Merging #104 into master will decrease coverage by 0.29%.
The diff coverage is 0%.

@@           Coverage Diff            @@
##           master    #104     +/-   ##
========================================
- Coverage    82.5%   82.2%   -0.3%
========================================
  Files          21      21
  Lines         280     281      +1
========================================
  Hits          231     231
- Misses         49      50      +1

Impacted Files
Coverage Δ

src/baseRequest.js
72.41% <0%> (-2.59%)
:arrow_down:

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 db4054e...ce9e88b. Read the comment docs.

@jernejpregelj I assigned you here. Can you please help @michielmulders to test?


Add new us tx sources

Found a bunch of new sources here:
http://mapsatbis.com/bisgis/rest/services

Hey @trescube these look great!! Super excited to get these in.
About half of them failed on openaddresses/hooked but it looks like the server that we were hitting simply couldn't keep up and timed out. Going to merge these for now and watch the results the next time they are cached.


⚠ Fortnite has degraded performance

In c47827b, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1565 ms

Resolved: Fortnite performance has improved in 8cc4ce9.


set_dependency_version script

What this PR does / why we need it:
Regularly scan for new release versions of referenced gardener components. Create Update PRs for each found new component version.
Which issue(s) this PR fixes:
Fixes #

/lgtm


libcurl4-openssl-dev to avoid SSL errors in tests

Same as done at https://github.com/github/choosealicense.com/pull/540

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

And tests pass, compare with 9 SSL errors on link checking previously https://travis-ci.org/github/opensource.guide/builds/282009580

H


[5.6] Allow closure sub queries in wherePivot

This is a resubmission of #21970 with correct branch targeted (sorry, my bad) and refactoring suggested by @themsaid after his review.

I'm starting to wonder if this syntax makes as much sense as I originally thought. Functionally it works, but the more I look at this the more it feels wrong:
$query->where(...)->wherePivot(function ($query) {
    $query->wherePivot(...)->wherePivot(...);
})->get();

Really what we are trying to achieve is to have the ability to call the pivot methods in the closure. if we call wherePivot with a closure you would kinda assume that all queries within the closure are on the pivot.
Perhaps it would be nicer / more suitable if we override the where method on the BelongsToMany - check for a closure and pass a BelongsToMany query instance into the closure instead of dropping down to a base query as it current does - thus the syntax would be...
$query->where(...)->where(function ($query) {
    $query->wherePivot('column_1', $value)->wherePivot('column_2', $value);
})->get();

And in the closure we'd have access to the pivot where's as well as all the base query methods.

Closing this as there are a few issues I've discovered with this approach where you can still run into an ambigious column error


broken in 2020.2.0f1

Hi, Unity just releases 2020.2.0f1,
and unfortunately your hack fails now, it seems that some modifications have changed in that UI.
(m_viewVisualTree is null now)
Do you think you can find a way to still find the toolbar ?
Your plugin is sooo helpful !
The UI debugger works with the toolbar, if that can help you:

Thank you^^

Well, this package use same code and works well.
https://github.com/smkplus/CustomToolbar
So I think you can look into that

Oh thank you.
I see the error since my update, but I did not find that the package changes since I integrated it^^
Silly me, works great now ! (I close the ticket)


Handle STL empty mesh read and write

Handle Empty STL Mesh reading and writing

Closing in favor of #1189.


Is there a way to find nether seed in 1.19+?

Is there a way to find seed in nether 1.19+?

#180  https://github.com/19MisterX98/SeedcrackerX/issues/116#issuecomment-1279522387


docs: fix example in cli_oidc.md

This just removes the space in the example for the sub oidc claim so it reflects/matches the full example token at the base of the page.

Thanks very much @andrewjeffree ! Merging this in now :-)


Primary Side Bar empties it self after reopenning the VS Code, if Activity Bar is toggled off

Type: Bug
Steps to reproduce:

Open a folder ,which includes some files, in VS Code
Press Folders icon in Activity Bar to see File Explorer in Primary Side Bar (You can see the files)
Toggle the Activity Bar Visibility (View: Toggle Activity Bar Visibility)
Close VS Code and open it again
Now you see an empty Primary Side Bar.

Actual Result: User sees a useless Primary Side Bar and more importantly  doesn't looks like how you left it before closing the VS Code.

Expected Result: When restarting VS Code Primary Side Bar shows the last view it was showing(Eg. Folders, Source Control, Search, Extensions...)

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:18:39.991Z)
OS version: Linux x64 6.2.0-27-generic
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 4600H with Radeon Graphics (12 x 3970)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 1, 1

Memory (System)
14.99GB (7.68GB free)

Process Argv
. --crash-reporter-id 6919f149-b701-4f66-bbd9-42e7ed645c8e

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (46)

Extension
Author (truncated)
Version

markdown-mermaid
bie
1.19.0

vscode-chrome-extesion-manifest-json-schema
cez
1.0.2

js-codeformer
cms
2.6.1

doxdocgen
csc
1.4.0

c-cpp-compile-run
dan
1.0.50

dart-code
Dar
3.70.0

flutter
Dar
3.70.0

es7-react-js-snippets
dsz
4.4.3

prettier-vscode
esb
10.1.0

vscode-google-translate
fun
1.4.13

codespaces
Git
1.15.0

copilot
Git
1.106.367

gc-excelviewer
Gra
4.2.58

rest-client
hum
0.25.1

easy-snippet
inu
0.6.3

better-cpp-syntax
jef
1.17.2

vscode-docker
ms-
1.26.0

isort
ms-
2023.10.1

python
ms-
2023.14.0

vscode-pylance
ms-
2023.8.50

jupyter
ms-
2023.7.1002162226

jupyter-keymap
ms-
1.1.2

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.304.0

remote-ssh
ms-
0.102.0

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.0

vscode-remote-extensionpack
ms-
0.24.0

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

remote-explorer
ms-
0.4.1

remote-server
ms-
1.4.3

material-icon-theme
PKi
4.30.1

LiveServer
rit
5.7.9

rust-analyzer
rus
0.3.1641

vue-vscode-snippets
sdr
3.1.1

js-jsx-snippets
sky
11.0.1

tauri-vscode
tau
0.2.6

cmake
twx
0.0.17

intellicode-api-usage-examples
Vis
0.2.8

volar
Vue
1.8.8

JavaScriptSnippets
xab
1.8.0

google-translate-turkish
yas
0.2.0

material-theme
zhu
3.16.0

(13 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
282f8724:30602487
89544117:30613380
showlangstatbar:30737416
962ge761:30823813
a2ce3375:30757347
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572

Also when I have 2  or more VS Code windows opened and toggle the Activity Bar on one of them the other ones also toggles the Activity Bar. This might be related.

I can't reproduce this. Please try insiders
https://code.visualstudio.com/insiders/

You are right, I installed insiders and can't reproduce either but my second point still exists(Also when I have 2 or more VS Code windows opened and toggle the Activity Bar on one of them the other one also gets affected by this action and toggles the Activity Bar.).

Will we see the fix on the next stable release cause it is annoying to see an empty Primary Side Bar.

Insiders gets released as stable come end of next week. So this should be fixed soon.


Add deep merging of Schema property descriptors

Addresses issue #10: Add support for deep merging of Schema definition objects.
const s = new Schema({
  foo: {
    required: true
  }
}, {
  foo: {
    type: undefined
  }
}, {
  foo: {
    type: Schema.Types.String
  }
});

Now the above results in the same thing as a schema defined like so:
const s = new Schema({
  foo: {
    required: true,
    type: Schema.Types.String
  }
});

This is useful for chaining schema definitions for endpoints that differ only by a few properties or those properties requirements.

Coverage increased (+0.006%) to 99.449% when pulling 39828fc2bf121614da1c367c0e4cfbdb459702a3 on marcondag:master into 339fe10fb5cf0aab5ea3d228812cb286600e3e7f on moltijs:master.


feat(FOROME-790): add new UI for step selecting

https://quantori.atlassian.net/browse/FOROME-790
The logic for editing attributes from the right panel is coming soon!

https://user-images.githubusercontent.com/87524295/160122636-9b8f4fd6-526b-4c3e-9a9b-428644059d55.mp4

Refiner crashes after certain actions (recorded on video)

@Lapk1n FYI

Thanks! I will check that

The last element must contain data about problem groups.

No comments)


Remove left over reference to smallcheck dependency in stack.yaml

Thanks for opening a PR!  Always appreciated.
Looks like this already happened another way.  Sorry for not being more responsive, been busy.


Create a role based on an existing role

Creating a role is annoying because there are too many permissions。
so is it possible to create a new role based on the permissions of the existing role.
For example, subtract some permissions from Gamma to get a custom role. Keep the Gamma role the same
This may not be difficult to implement, but it should be helpful for creating new characters

100% support this.....extraordinarily annoying

Can't you have a base role and then create additional roles that supplement the original, and then just add the user to both roles?

This is easy to implement when you want to add permissions based on the Gamma role. However, it is very difficult to remove some permissions
Creating basic characters is difficult and tedious, and I prefer to build based on already provided characters such as Gamma.

Converting this to a discussion, as this isn't a bug, but rather a FAB feature request.


Change lists method to pluck - lists method is removed in Laravel 5.3

Hi @anlutro ,
Lists method is removed in Laravel 5.3 so please review and merge my pull request.
When it is merged, this package can work properly on Laravel 5.3.
Thanks.

@anlutro I can confirm that this will work the docblock for lists in 5.3 said:
    /**
     * Alias for the "pluck" method.
     *
     * @param  string  $column
     * @param  string|null  $key
     * @return array
     *
     * @deprecated since version 5.2. Use the "pluck" method directly.
     */
    public function lists($column, $key = null)

https://github.com/laravel/framework/blob/5.2/src/Illuminate/Database/Query/Builder.php#L1856

How-ever pluck doesn't have a different behaviour in Laravel 4 (I currently use Laravel 4) where it only plucks from the first result.

So basically if we want full backwards compatibility, we have to do an if (method_exists($query, 'lists')) to determine whether to use lists or pluck?

Provided a PR for him - sangnguyenplus/laravel-settings#1
Tests are for some reason failing.

I pushed the fix myself. Thanks for letting me know about this!


lock_mgr: let deadlock detector support callback

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Proposal: xxx
What's Changed:
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
No release note

/run-integration-common-test


Removed taskpaper

I see no direct link to the app on the website, though the link does work. If someone can point me to where it is officially said that is a valid link, we then need to add a # amazonaws.com is the official download host per the vendor homepage comment above url; otherwise, the cask should be removed.

There is a list of releases here on the website here: http://www.hogbaysoftware.com/products/taskpaper/releasenotes-mac

Thank you. Will readd it soon.


Enhancement Request: Ability to Mark and Delete Records in Automated Testing via UI

Currently, we are unable to perform the following actions via the user interface when it comes to automated testing:

Marking records
Deleting records

Could this limitation please be addressed
Thank you,
Sharan

Sorry, we cannot process this request, as it is missing details about your scenario and what exactly you would like to improve?
Please also consider that this is forum for extensibility requests, you can add your ideas to aka.ms/bcideas forum to be voted and processed.


Partially played if you play a large audio file remotely.

I just realized that for some of the audio files in my Android app, if the file is of a larger size, it will suddenly cut off when playing.  So only first part of the audio is played.  If the audio file size is small, it is ok.
This happened when playing remotely and also if the isLocal is enabled.
Anyone encountered similar issues for Android?

Even i had a issue when using "PlayerMode.LOW_LATENCY" .  But it was fixed when i changed it to
"PlayerMode.MEDIA_PLAYER"

@saisantosh2095
Yes, that solved it!  Thanks!
This issue can be closed!

@saisantosh2095 Can you give me please an example how to make this work? I had the same issue and I set PlayerMode to MEDIA_PLAYER when I initialize my player but this not solved problem.

@saisantosh2095 Tried to use this with AudioCache fixedPlayer, but it doesn't work

@Gradergage
So i have been using this code to play large audio files.This works good fo me.
AudioPlayer bgmPlayer = new AudioPlayer(mode: PlayerMode.MEDIA_PLAYER);
bgmPlayer.setVolume(1.0);
bgmPlayer.onPlayerCompletion.listen((event) {
if(autoPlay) {
playNextTrack();
 }
});
 bgmPlayer.play(localAudioPath[widget.tracks[currentVideoIndex].id],isLocal: true);

@saisantosh2095 IDK how, it worked once, but now isn't:
Init
    player =
        AudioPlayer(mode: PlayerMode.MEDIA_PLAYER, playerId: "main_player");
    cache = AudioCache();

usage
    File track = await cache.load(path);
    player.setVolume(1.0);
    player.play(track.path, isLocal: true);

I have this log as result
position changed 0:03:52.771000
V/MediaPlayer(31043): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(31043): cleanDrmObj: mDrmObj=null mDrmSessionId=null
V/MediaPlayer(31043): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(31043): cleanDrmObj: mDrmObj=null mDrmSessionId=null
I/flutter (31043): AudioPlayerState.COMPLETED

track was 4:48 length and stopped at 3:52, any tack longer than minute drops at some point as completed

I/flutter ( 8334): AudioPlayerState.PLAYING
I/flutter ( 8334): _platformCallHandler call audio.onDuration {value: 137665, playerId: main_player}
I/flutter ( 8334): _platformCallHandler call audio.onDuration {value: 137665, playerId: main_player}
I/flutter ( 8334): _platformCallHandler call audio.onCurrentPosition {value: 79587, playerId: main_player}
I/flutter ( 8334): position changed 0:01:19.587000
I/flutter ( 8334): _platformCallHandler call audio.onDuration {value: 137665, playerId: main_player}
I/flutter ( 8334): _platformCallHandler call audio.onCurrentPosition {value: 79614, playerId: main_player}
I/flutter ( 8334): position changed 0:01:19.614000
I/flutter ( 8334): _platformCallHandler call audio.onSeekComplete {value: true, playerId: main_player}
V/MediaPlayer( 8334): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer( 8334): cleanDrmObj: mDrmObj=null mDrmSessionId=null
V/MediaPlayer( 8334): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer( 8334): cleanDrmObj: mDrmObj=null mDrmSessionId=null
I/flutter ( 8334): _platformCallHandler call audio.onComplete {value: true, playerId: main_player}

This is audioplayers log, track doesn't completed and this is clearly. But IDK why it stops playing

Closing this due to reports of this being fixed on newer versions. Feel free to open a new issue in case of this still happening


Suggestion: tfc:metal/scrap/wrought_iron to tfc:metal/ingot/wrought_iron in BlastFurnace

In file Machines-ImmersiveEngineering.zs line:149
Change:
mods.immersiveengineering.BlastFurnace.addRecipe(tfc:metal/ingot/pig_iron, tfc:metal/scrap/wrought_iron, 598, immersiveengineering:material:7);
TO:
mods.immersiveengineering.BlastFurnace.addRecipe(tfc:metal/ingot/wrought_iron, tfc:metal/scrap/wrought_iron, 598, immersiveengineering:material:7);
In file Crafting-xnet.zs line:24
Change:
recipes.addShaped("xnet_facade", xnet:facade * 16, [[minecraft:paper, minecraft:wool, minecraft:paper], [minecraft:wool, minecraft:glass, minecraft:wool], [minecraft:paper, minecraft:wool, minecraft:paper]]);
TO:
recipes.addShaped("xnet_facade", xnet:facade * 16, [[minecraft:paper, ore:fiberHemp, minecraft:paper], [ore:fiberHemp, minecraft:glass, ore:fiberHemp], [minecraft:paper, ore:fiberHemp, minecraft:paper]]);
As, anything craft from minecraft:wool could be checked.:)

The IE blast furnaces cooking iron scrap to pig iron is the mid-game path for steel production before/instead of the arc furnace. This is an intentional decision.
As far as facades go, hemp fiber is much too cheap for this. Maybe burlap? I welcome your participation if you'd like to code that up and submit it as a Pull Request here!


Missing licensing information.

I noticed your Angular module for the whiteboard uses the MIT license, but this specific module does not have any licensing information. Is your intention to leave this license as the default one or an MIT open-source license?

Yes, sorry the MIT License was mentioned in package.json but I didn't include the LICENSE file. It's in there now.

Awesome, thanks!


[Event]Enable visualizations for promQL and prometheus PPL Queries.

Is your feature request related to a problem?

Need to verify if existing features work for promQL and prometheus PPL Queries. If existing features doesn't work need to enable them for prometheus Queries.

For eg: timestamp addition to Where clause has issues when customer makes prometheus queries.
The aim of the task is to verify if we are able to make prometheus ppl and promQL queries without any issue.
TODO:// will add if we get any UI changes to the query text area from the UX team. Most probably for promQL.

This enhancement should allow the visualization widget to display when a prometheus-sourced PPL is being used and does not have stats() pipe.

This is a tracking issue for some more ui updates. The main prometheus support ticker is here
https://github.com/opensearch-project/sql/issues/561
we need to improve on our issue labeling

Thanks @anirudha!


Add labels transform operations

Now, on labels, you can add operations like :

ToUpper
ToLower
ToUpperInvariant
ToLowerInvariant
Trim
TrimStart
TrimEnd

@Alteoris FYI. Can be usefull for your project.


k8s_status not found when running playbook

Type of question

How to implement a specific feature

Question
What did you do?
I'm trying to invoke k8s_status in the operator.  Right now just testing functionality to understand behavior.
- k8s_status:
    api_version: cne.cpe.kohls.io/v1alpha1
    kind: DemoInterconnect
    name: "{{ meta.name }}"
    namespace: "{{ meta.namespace }}"
    conditions:
      - type: "notReady"
        status: "False"
        reason: "Unknown"
        message: "{{ secretsInfo.msg }}"
        lastHeartbeatTime: "{{ ansible_date_time.iso8601 }}"

What did you expect to see?
I expected to have my playbook complete and see different information when I describe my custom resource.

What did you see instead? Under which circumstances?
The logs state that the pod continually fails because k8s_status is not found
{"level":"error","ts":1598901232.0453513,"logger":"runner","msg":"ansible-playbook 2.9.10\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = ['/usr/share/ansible/openshift']\r\n  ansible python module location = /usr/local/lib/python3.6/site-packages/ansible\r\n  executable location = /usr/local/bin/ansible-playbook\r\n  python version = 3.6.8 (default, Dec  5 2019, 15:45:45) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]\r\nUsing /etc/ansible/ansible.cfg as config file\r\nERROR! couldn't resolve module/action 'k8s_status'. This often indicates a misspelling, missing collection, or incorrect module path.\r\n\r\nThe error appears to be in '/opt/ansible/roles/eqx-common/tasks/main.yml': line 53, column 3, but may\r\nbe elsewhere in the file depending on the exact syntax problem.\r\n\r\nThe offending line appears to be:\r\n\r\n\r\n- k8s_status:\r\n  ^ here\r\n","job":"5263531936693774911","name":"cne-nx-dev-equinixinterconnect-c1-rtr1","namespace":"gcp-kohls-dev-cne-dev-lle","error":"exit status 4","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/ansible/runner.(*runner).Run.func1\n\tsrc/github.com/operator-framework/operator-sdk/pkg/ansible/runner/runner.go:239"}

Per the skeleton that the SDK setup for the Ansible operator, the collections are installed to ${HOME}/.ansible which is later moved to /opt/ansible/.ansible.  I can confirm that the k8s_status module can be found here:
/opt/ansible/.ansible/collections/ansible_collections/operator_sdk/util/plugins/modules
sh-4.4$ ls
k8s_status.py  requeue_after.py

Since the ansible.cfg found in /etc/ansible doesn't reference this location, I'm wondering if I mistakenly changed it somehow or if I'm missing a step to ensure that k8s_status is included.

Environment
Operator type:

/language ansible

Kubernetes cluster type:

GKE
$ operator-sdk version

➜  ~ operator-sdk version
operator-sdk version: "v0.19.0", commit: "8e28aca60994c5cb1aec0251b85f0116cc4c9427", kubernetes version: "v1.18.2", go version: "go1.14.5 darwin/amd64"

$ kubectl version
➜  ~ kubectl version Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.6-beta.0", GitCommit:"e7f962ba86f4ce7033828210ca3556393c377bcc", GitTreeState:"clean", BuildDate:"2020-01-15T08:26:26Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.11-gke.5", GitCommit:"baccd25d44f1a0d06ad3190eb508784efbb990a5", GitTreeState:"clean", BuildDate:"2020-06-25T22:55:26Z", GoVersion:"go1.13.9b4", Compiler:"gc", Platform:"linux/amd64"}
Additional context

Realized I missed this part of the documentation.
https://sdk.operatorframework.io/docs/building-operators/ansible/development-tips/#custom-resource-status-management
changing the module from k8s_status to operator_sdk.util.k8s_status worked for me.


"duplicate node key" when running two golink services on the same machine with different hostnames

My goal: use one machine to run two different instances of "golink", so that I can have two independent sets of bookmarks.
This didn't work out of the box - I created a new key, started up the second instance with the -hostname flag, and then got the error message on the console Duplicate node key.
My suspicion is that I'm running into this:
tailscale data files in the tsnet-golink directory inside [os.UserConfigDir](https://pkg.go.dev/os#UserConfigDir)

and that I have to set two separate os.UserConfigDir paths to keep the two things distinct.

Today, there are two ways you could get a different state directory... run the second instance as a different user, so that there is a different user config directory (basically what you're pointing out above), or copy the golink binary and rename it something else.  tsnet includes the binary name in the state directory so that two different tsnet programs can side by side.


jExcel logo not appearing

The jExcel logo is not appearing when using the library on other sites because the logo URL is relative rather than absolute. I.e.  should be .
That stated, I would rather have a smaller badge. Somewhere in the 20x90 px size like the Github/Travis build status bage.
Sure, I don't need this issue fix (I just get a twinge when I see the error in my console during dev); but hey, credit where credit is due.

Thanks seth, we decided to keep all visible reference in the right-click for now. Today is an JS alert, but we can move to a modal, with a logo a briefy description with a better looking.
Regards,


provide instructions of running Data API for on-prem usage of DSE6.9

https://github.com/stargate/data-api/pull/1502
related PR.


Missing types for TransitionToLeft and cleanup

List of changes

I added type definitions for TransitionToLeft as it was imported in .\src\lib\index.d.ts but not actually typed.
NavBar has an index.js to bring all of the sub-components together, so I added a index.d.ts to follow the same procedure
I changed the order of the imports and exports in .\src\lib\index.d.ts to match the order in index.js
This allows me to just use compare from vscode to see if somthing is missing

VSCode - Compare: index.js <-> index.d.ts

As you can see in the picture the files are almost identical which means we typed everything.
Only util classes / components are not typed and I don't know how to properly handle those.

Hi @Unluckymichell ,
You have done a really great job i appreciate the efforts,
now all the imports and exports are well ordered and fixed missing TransitionToLeft.d.ts

Hi @Unluckymichell ,
the rest util classes / components are consumed internally so we didn't need typings for them maybe not presently.
If you encounter any issue while developing through util classes / components please let us notify or pull request :D


hardware querying mechanisms

procfs
dmidecode
osquery
lshw, lspci, lsusb...

ACPI tables and OpenFirmware Device Tree

coreboot utils: autoport, inteltool, superiotool....


[BUG?] Eww filling up entire screen when :windowmode "dock" is set.

Checklist before submitting an issue

[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug
I'm using Gentoo Linux with i3 (default config), and every time i try to use my bar config on this setup, it seems to use up my entire screen. Setting :wm-ignore to false seems to fix this, however this wouldn't allow me to reserve space for the bar.
This exact same config works fine on my laptop using sway (wayland).
https://github.com/elkowar/eww/assets/122875392/2effa2e7-b36e-4c70-a383-f2ec35071881 (around 0:08)
eww.yuck: https://pastebin.com/Rr1nfEKC
Reproducing the issue
No response
Expected behaviour
Having a vertical bar with a width of around 45px on the left side of my screen.
Additional context
No response

I got the same bug. I think its a dependency that's causing this. I am building eww from source and didn't do it for at least 4 weeks, but today it just happend.

Hmm - weird. When launching eww with Openbox instead of i3 on the same system, it works fine.

So for me the bug was solved after removing a gtk3.0 theme, I had installed.

So for me the bug was solved after removing a gtk3.0 theme, I had installed.

Which theme did you uninstall exactly?

I had some random gruvbox theme from github installed. I just renamed the .config/gtk-3.0 folder and it worked again.


Adding postgres_exporter to k8s-monitoring

Hello,
I hava a Grafana stack (Grafana, Loki, Mimir) running on a k8s cluster. On another cluster with an application that should be monitored runs a k8s-monitroing stack. Now, I've deployed postgres-exporter on the app cluster. It works, it scrapes Metrics (can be seen in the /metrics endpoint of the postgres_exporter pod). Question is, how do I add the postgres_exporter to the k8s-monitoring configuration? It looks pretty easy with native prometheus: just adding following in prometheus.yaml:
  # PostgreSQL Monitoring with postgres_exporter
  - job_name: 'postgres_exporter'
    scrape_interval: 5s
    static_configs:
      - targets: ['<IP_ADDRESS>:9187']

Is there something similar for the k8s-monitoring helm chart?

That looks like it's just a simple scrape of that endpoint. You have a few options.
The easiest would be to add these annotations to the pod:
* k8s.grafana.com/scrape=true
* k8s.grafana.com/job=postgres_exporter
* k8s.grafana.com/metrics.portNumber=9187

It requires to changes to the chart. That'll likely only scrape at 60s, though.
Next best option would be to add some custom config in the extraConfig section of the values file.
extraConfig: |
    prometheus.scrape "postgres_exporter" {
        targets = [
            {"__address__" = "<IP_ADDRESS>:9187", "instance" = "one"},
        ]
      job_name = "postgres_exporter"
      scrape_interval = "5s"
      clustering {
        enabled = true
      }
      forward_to = [prometheus.relabel.metrics_service.receiver]
    }

Eventually, it'd be useful to replace the statically defined target IP address with a discovery.relabel to discover the postgres exporter pod. This doc will help there!

That looks like it's just a simple scrape of that endpoint. You have a few options.
The easiest would be to add these annotations to the pod:
* k8s.grafana.com/scrape=true
* k8s.grafana.com/job=postgres_exporter
* k8s.grafana.com/metrics.portNumber=9187

It requires to changes to the chart. That'll likely only scrape at 60s, though.
Next best option would be to add some custom config in the extraConfig section of the values file.
extraConfig: |
    prometheus.scrape "postgres_exporter" {
        targets = [
            {"__address__" = "<IP_ADDRESS>:9187", "instance" = "one"},
        ]
      job_name = "postgres_exporter"
      scrape_interval = "5s"
      clustering {
        enabled = true
      }
      forward_to = [prometheus.relabel.metrics_service.receiver]
    }

Eventually, it'd be useful to replace the statically defined target IP address with a discovery.relabel to discover the postgres exporter pod. This doc will help there!

Thanks, option 2 worked for me! Is it acceptable to use domain (service.namespace.svc) instead of IP as opposed to discovery-relabel?


Notice and Choice New Version 23

Related Ticket(s)
Noitce & Choice w3 Publisher
Description
Notice & Choice is a legally required component to create a form where IBM collects its customer information.
This section shows the specific product's legal links, terms, and conditions. Along with it, it collects users' consent regarding communication preferences.
Changelog
New

A new react component to create notice & choice user interface.

Changed

Notice and Choice content loaded by languages.

Removed

Postal option removed from new notice and choice version

I have read the DCO document and I hereby sign the DCO.


Container IP not correctly display in 0.15.0 and above

I'm using a Docker network plugin that assigns a routable IP address per container on a Docker container.
In Marathon 0.14.2 release the IP address of the container was correctly displayed
Host <IP_ADDRESS>
IP Addresses <IP_ADDRESS>
Ports [31830]
Endpoints <IP_ADDRESS>:31830
Service Discovery n/a
Status Started

From Marathon 0.15.0 and above, the IP address of the container is no longer displayed:
Host <IP_ADDRESS>
Ports [31781]
Endpoints <IP_ADDRESS>:31781
Service Discovery n/a
Status Started

Why is the actual container IP no longer available in Marathon?
I'm running Mesos 0.28 on CentOS 7.

@gkleiman Could this be from this check-in to MarathonTasks.scala?:
https://github.com/mesosphere/marathon/commit/e44c923fb29dd299653f146339f49f29a86deb2b
If so then I assume the problem is that the App definition has an IP address assigned in it ... but to be honest I'm not entirely sure what that means.
Any light on this issue would be hugely appreciated.
Rob

This seems to go beyond just the UI neglecting to show it, and seems to be the marathon engine/http server failing to calculate it.
I used an app definition which requested an IP in v0.14.0. When I then GET that app's information from marathon, I see the task's IP:
"tasks":[
         {
            "id":"star_probe-b.67428c31-f2a8-11e5-b537-0242ac110005",
            "host":"<IP_ADDRESS>",
            "ipAddresses":[
               {
                  "ipAddress":"<IP_ADDRESS>",
                  "protocol":"IPv4"
               }
            ],
            "ports":[],

Same app definition launched with Marathon v0.15.3:
      "tasks":[
         {
            "id":"star_probe-b.0cf0a396-f2a9-11e5-aec7-0242ac110005",
            "host":"<IP_ADDRESS>",
            "ipAddresses":[],
            "ports":[],

This is using net-modules. For a quick repro, you can clone the net-modules project, and run make cluster. Then bin/launch-probes.sh. Then tear down the demo, change marathon's version in docker-compose.yml, and repeat.

hi @aquamatthias can we triage this as a possible regression and shoot to include in next RC?

I'm also seeing this same behavior in all versions of 15.0,<IP_ADDRESS>, 15.3 as well as 16.0-SNAPSHOT. This effectively stops the API from reporting the IP address of container based tasks. This has now broken load balancing and container IP based architecture approaches for HA.

IP-per-Task support was introduced with the commit 8f770ce7b95f73902bb4d1e80cd200abd805ec9b and broken by commit 32b2407a8a7d5266b309e0e9aed7699e9684349e:
$ git log -S 'if (status.hasContainerStatus) builder.addAllNetworks(status.getContainerStatus.getNetworkInfosList)'
commit 32b2407a8a7d5266b309e0e9aed7699e9684349e
Author: Peter Kolloch<EMAIL_ADDRESS>Date:   Mon Dec 14 18:43:20 2015 +0100

    Toward #462 - create interface traits for TaskTracker

    ..to ease later replacement of the implementation.

    Also move `determineOverdueTasks` to `KillOverdueTasksActor` to
    shrink the TaskTracker interface since this method is only called
    there.

commit 8f770ce7b95f73902bb4d1e80cd200abd805ec9b
Author: Gastón Kleiman<EMAIL_ADDRESS>Date:   Fri Nov 20 10:11:31 2015 +0100

    Towards #2709 - Add IP-per-task support


fix preserveScrollPosition for ember 3.6+

fixes #197
opened a topic over at the ember forum to get some information if this is ok or if it actually might be touching private apis we should not be using

Note - this is similar, but different work to #195

Note - this is similar, but different work to #195

I believe this is a misunderstanding. This PR fixes a regression introduced in 1.1.0, which causes the preserveScrollPosition property to have no effect. This is especially bad, as this can impact the native behaviour of mobile browsers, where an active input element is automatically scrolled into the viewport.
However #195 adds a new feature that allows to control scrolling behaviour via a new service. #195 never touches any code related to the regression.

Thank you for the PR @st-h

@snewcomer I received an interesting comment on the ember forum regarding the use of private apis: https://discuss.emberjs.com/t/is-this-an-accepted-not-private-way-to-get-the-controller-from-a-transition/16551/2

new PR!

@snewcomer yes, this absolutely should be a separate PR. However, I am reluctant what the best option actually is. On the one hand, I think the service from #195 would be a clean way to solve this. On the other hand, this probably makes excluding a single route more complex as one has to set the flag on the transition and reset it when transitioning away. At least there should not be any downside (except being a breaking change) in moving the property from the controller to the route. But then lastly, currently we do not really gain anything in making that change as long as things work.

@snewcomer do you have plans/a date for a release? 1.0.2 is not affected by this issue, however it gives us plenty of deprecation warning, which should be fixed in 1.1.0.

Yep! Hopefully will have publish right sometimes this week so...relatively soon.  Thanks for the reminder


Update make_fake_spp_data.py

Updated injection to produce somewhat realistic ZTF-like light curves and keep track of parameters
Change Description

Code Quality

[ ] I have read the Contribution Guide
[ ] My code follows the code style of this project
[ ] My code builds (or compiles) cleanly without any errors or warnings
[ ] My code contains relevant comments and necessary documentation

I would just like to add here that I am so sorry for how bad I am at github, Melissa!!!

Implemented requested changes


Use Hamcrest assertions instead of JUnit in  examples/quickstarts/helidon-standalone-quickstart-mp (#1749)

Part of #1749
I've already signed OCA. It's an automation problem.
Backport 2.x

/oca-checked

/trigger


profile failed to update, despite being marked as "delivered successfully"

this happened after i followed my mas.to account from my bridgy fed account, then i tried pushing multiple updates to my h-card info that didn't go through. there were no logs generated with any of the subsequent profile updates, so this is the only thing i can show.

Hmm, sorry for the trouble! Will look.

Hi again! Looking at https://mas.to/<EMAIL_ADDRESS>, it seems to match your h-card on https://jasm1nii.xyz/ . Is there something specific you're expecting to see that's not there?

it's not an exact match, there's a couple details i've changed since the last successful update. my profile picture was also set as my header, despite not having one specified.

Ah, right. It defaults your header to your profile picture if you don't set a different one explicitly: https://fed.brid.gy/docs#profile
Which details did it miss? Looking at the BF logs for the profile updates, eg the latest one today at 15:47:33 UTC, here's the mf2 it parsed out of your home page (basically the same as eg https://pin13.net/mf2/?url=https://jasm1nii.xyz/ ), and the AS2 profile object it delivered to mas.to.
mf2:
{
  "type": [
    "h-card"
  ],
  "properties": {
    "photo": [
      {
        "value": "https://jasm1nii.xyz/assets/media/main/07042023 me.png",
        "alt": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
      }
    ],
    "note": [
      "\ud83d\udccd IDN \ud83c\udfa8 illustrator & multimedia designer \ud83d\udc18<EMAIL_ADDRESS>    ],
    "url": [
<EMAIL_ADDRESS>      "https://jasm1nii.xyz/"
    ],
    "uid": [
      "https://jasm1nii.xyz/"
    ]
  }
}

AS2:
{
  "id": "https://fed.brid.gy/r/https://jasm1nii.xyz/#update-2023-08-13T15:47:34.499697+00:00",
  "actor": "https://fed.brid.gy/jasm1nii.xyz",
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Update",
  "object": {
    "id": "https://fed.brid.gy/jasm1nii.xyz",
    "summary": "\ud83d\udccd IDN \ud83c\udfa8 illustrator & multimedia designer \ud83d\udc18<EMAIL_ADDRESS>    "url": [
<EMAIL_ADDRESS>      "https://jasm1nii.xyz/"
    ],
    "image": {
      "url": "https://jasm1nii.xyz/assets/media/main/07042023 me.png",
      "type": "Image",
      "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
    },
    "updated": "2023-08-13T15:47:34.499660+00:00",
    "type": "Person",
    "attachment": [
      {
        "type": "PropertyValue",
        "name": "Web site",
        "value": "https://jasm1nii.xyz/"
      },
      {
        "url": "https://jasm1nii.xyz/assets/media/main/07042023 me.png",
        "type": "Image",
        "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
      }
    ],
    "icon": {
      "url": "https://jasm1nii.xyz/assets/media/main/07042023 me.png",
      "type": "Image",
      "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
    },
    "preferredUsername": "jasm1nii.xyz",
    "publicKey": {
      "id": "https://fed.brid.gy/jasm1nii.xyz",
      "owner": "https://fed.brid.gy/jasm1nii.xyz",
      "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnyFvknXJvPHPEb2KWN32\n3H6ynKZQflXTVWrzRL845LHHhQLYBE++lTFdauAgB0HLs7rBwtyQQQ8Ka2U0bwmU\ndT/l87ZFi/y6JgskPWhzwTSRFpEwSvR1fJQqTuWnjqS0fkCpOA1JjnHaPjVJOn0+\nTVBzupItI79YctLY/yo8IGPRD1stzNfaD1vzDY5Q57JnZOYtuK/MsZ3zdbnlUpkq\nnQih9JMNdA1OJPx5goeYbRhs+ubWSoBGb1zAOkoeRo+KT2iGuwFYzquuduhc6Ez4\nBPNeH9F+zIxc9FYYtgwBhC+sMDzS/VZQJ1MEWlg9l+rHSzG8rcmUFbd59PY2VecL\nZwIDAQAB\n-----END PUBLIC KEY-----"
    },
    "@context": [
      "https://w3id.org/security/v1"
    ]
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ]
}

okay yeah, this is correct, sadly i've yet to see this reflected on my end when i check the account on my mas.to instance...

Hmm, what specifically do you not see reflected? Just to confirm, this is what I see on https://mas.to/<EMAIL_ADDRESS>right now:

it's in the first several lines of the AS2 profile object:
{   "id": "https://fed.brid.gy/r/https://jasm1nii.xyz/#update-2023-08-13T15:47:34.499697+00:00",   "actor": "https://fed.brid.gy/jasm1nii.xyz",   "@context": "https://www.w3.org/ns/activitystreams",   "type": "Update",   "object": {     "id": "https://fed.brid.gy/jasm1nii.xyz",
"summary": "\ud83d\udccd IDN \ud83c\udfa8 illustrator & multimedia designer \ud83d\udc18<EMAIL_ADDRESS> "url": [<EMAIL_ADDRESS>      "https://jasm1nii.xyz/"     ],
these are the details it's supposed to show:

Ah, you mean the 🐘<EMAIL_ADDRESS>at the end of summary? Yup, I'm not seeing that on https://mas.to/<EMAIL_ADDRESS>yet either. BF delivered it to https://mas.to/inbox in the Update below at 8/14 03:12:43 UTC. We've seen profile updates occasionally be flaky before, not sure why, maybe caching, we might be seeing that again here. 😐
{
  "id": "https://fed.brid.gy/r/https://jasm1nii.xyz/#update-2023-08-14T03:12:42.600872+00:00",
  "actor": "https://fed.brid.gy/jasm1nii.xyz",
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Update",
  "object": {
    "id": "https://fed.brid.gy/jasm1nii.xyz",
    "summary": "\ud83d\udccd IDN \ud83c\udfa8 illustrator & multimedia designer \ud83d\udc18<EMAIL_ADDRESS>    "url": [
<EMAIL_ADDRESS>      "https://jasm1nii.xyz/"
    ],
    "image": {
      "url": "https://jasm1nii.xyz/assets/media/main/07042023 me.png",
      "type": "Image",
      "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
    },
    "updated": "2023-08-14T03:12:42.600838+00:00",
    "type": "Person",
    "attachment": [
      {
        "type": "PropertyValue",
        "name": "Web site",
        "value": "https://jasm1nii.xyz/"
      },
      {
        "url": "https://jasm1nii.xyz/assets/media/main/07042023 me.png",
        "type": "Image",
        "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
      }
    ],
    "icon": {
      "url": "https://jasm1nii.xyz/assets/media/main/07042023 me.png",
      "type": "Image",
      "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
    },
    "preferredUsername": "jasm1nii.xyz",
    "publicKey": {
      "id": "https://fed.brid.gy/jasm1nii.xyz",
      "owner": "https://fed.brid.gy/jasm1nii.xyz",
      "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnyFvknXJvPHPEb2KWN32\n3H6ynKZQflXTVWrzRL845LHHhQLYBE++lTFdauAgB0HLs7rBwtyQQQ8Ka2U0bwmU\ndT/l87ZFi/y6JgskPWhzwTSRFpEwSvR1fJQqTuWnjqS0fkCpOA1JjnHaPjVJOn0+\nTVBzupItI79YctLY/yo8IGPRD1stzNfaD1vzDY5Q57JnZOYtuK/MsZ3zdbnlUpkq\nnQih9JMNdA1OJPx5goeYbRhs+ubWSoBGb1zAOkoeRo+KT2iGuwFYzquuduhc6Ez4\nBPNeH9F+zIxc9FYYtgwBhC+sMDzS/VZQJ1MEWlg9l+rHSzG8rcmUFbd59PY2VecL\nZwIDAQAB\n-----END PUBLIC KEY-----"
    },
    "@context": [
      "https://w3id.org/security/v1"
    ]
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ]
}

@snarfed I think I have a similar problem. My server rejects activity because the object of Update is not a valid actor object, as it doesn't contain inbox and outbox properties. Probably Mastodon rejects this activity for the same reason.

Oh interesting, good point! Looks like you're right, AP has those two additional properties as MUSTs: https://www.w3.org/TR/activitypub/#actor-objects
We've actually been seeing profile updates generally work on Mastodon instances they're delivered to, so that may not be the root cause here, but it sounds like it is with your server. Easy fix on my end, thanks for the nudge, will do.

Should be fixed now! Feel free to retry.

Thank you!
If I'll see a failing Update again I'll let you know.

just chiming in to say that my profile finally updated - i'm not sure if this was the exact fix, but i reattached the h-card class to a div element, instead of a semantic section element like before. both formats passed indiewebifyme's h-card validator, but i guess bridgy only picks up the former?

Glad it worked! No, it's not the HTML elements. Bridgy picked up your h-card ok before, you can see that the AS2 object it sent before had all of your h-card's contents. The diff of that one vs the one it sent yesterday is below, it has a couple small changes but nothing really different structurally.
26a34,38
>         "url": "https://jasm1nii.xyz/assets/media/main/la-creatura.png",
>         "type": "Image",
>         "name": "an ASCII drawing of the autism creatue meme"
>       },
>       {
29c41
<         "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
--
>         "name": "a self portrait of the webmaster"
35c47
<       "name": "a self portrait of the author wearing a hijab, glasses, jewelry, and a collared blouse; drawn against a pink background"
--
>       "name": "a self portrait of the webmaster"
36a49,50
>     "inbox": "https://fed.brid.gy/jasm1nii.xyz/inbox",
>     "outbox": "https://fed.brid.gy/jasm1nii.xyz/outbox",

My guess is this is either the same flakiness and delays we've seen with Mastodon profile updates before, or maybe the inbox/outbox fix in https://github.com/snarfed/bridgy-fed/issues/614#issuecomment-1685075587 .
Regardless, glad it's fixed!


By default, don't track Go dependencies.

Running the go list command to list dependencies are often much slower
than just re-running the compilation. This didn't use to be the case
before go modules, but since their introduction and the addition of the
Go build cache it very much is. It doesn't make sense to track Go
dependencies any longer since it's mostly handled internally by the go
tool.
Still keeping it as an option as disabling it makes ninja re-run stuff
on every run and it can't report "nothing to do" anylonger.

I hesitated a bit to merge this since I felt there might be other, better options. But I haven't gotten around to look for those so will merge this for now.


Revert "Reduce load on the Kubernetes API server and reduce the peak memory use of the cert-manager components by enabling the use of the WatchList (Streaming Lists) feature"

Reverts cert-manager/cert-manager#7175
I have learned that there is a general mechanism enabling client-go feature flags, using environment variables,
so PR #7175 was not necessary.
See Overriding client-go feature gates in the "Introducing Feature Gates to Client-Go: Enhancing Flexibility and Control" blog post.
Upgrading to client-go 0.31 is sufficient for users to test the WatchListClient feature,
by adding KUBE_FEATURE_WatchListClient=true to the environment variables of the components.

ℹ The Helm value extraEnv is currently only available for the controller.

https://github.com/cert-manager/cert-manager/issues/7316

You will see the state of the client-go features in the logs:
$ kubectl logs -n cert-manager deploy/cert-manager | grep -i feature
{"ts":1727789230397.5154,"caller":"features/envvar.go:172","msg":"Feature gate default state","v":1,"feature":"InformerResourceVersion","enabled":false}
{"ts":1727789230397.6208,"caller":"features/envvar.go:169","msg":"Feature gate updated state","v":1,"feature":"WatchListClient","enabled":false}

vs
$ kubectl logs -n cert-manager deploy/cert-manager | grep -i feature
{"ts":1727789316044.557,"caller":"features/envvar.go:169","msg":"Feature gate updated state","v":1,"feature":"WatchListClient","enabled":true}
{"ts":1727789316044.622,"caller":"features/envvar.go:172","msg":"Feature gate default state","v":1,"feature":"InformerResourceVersion","enabled":false}

/kind cleanup
Testing
I deployed cert-manager from this branch in a Kind cluster with 100MiB Secret resources.
With KUBE_FEATURE_WatchListClient=false and then KUBE_FEATURE_WatchListClient=true.
Measured the peak memory usage of controller using the VmHWM file in /proc/*/status.

component
before (MiB)
after (MiB)

controller
437
229

etcd
351
357

kube-apiserver
1131
891

See https://gist.github.com/wallrj/3cb36a09d8697f2ebc2a109dd8202b36
NONE

/retest

This will simplify our code, there will be only one way to configure these gates.
/lgtm
/approve

/cherry-pick release-1.16


Fix misspell of type of Pod condition at init container explanation

In explanation of init container, doc says 'Initializing' pod condition. However according to doc of pod condition, it should be 'Initialized'.
This commit fixes this misspell.

/assign

great catch. Looks correct
/lgtm
/approve


remove unecessary renderUI calls

Was looking at this app as an example Shiny app for Posit Academy and couldn't help but notice some low-hanging fruit that will improve the readability and responsiveness of the app.
I'd also recommend running renv::upgrade() and renv::clean() as I suspect there might be some unused packages in renv.lock

This might fix #46, although I don't exactly know why.


'Customizing the SSH daemon' doc doesn't show how to modify sshd_config params after first boot

This document page:
https://coreos.com/os/docs/latest/customizing-sshd.html
Demonstrates how to define sshd_config parameters, change service port, etc. with a Container Linux Config.
In the 'Customizing sshd after first boot' it then says:
"The following sections walk through applying the same changes documented above on a running machine."
Yet, it doesn't explain how to define sshd_config parameters, only how to specify which IP:port to bind the ssh service to. Can steps be added to the documentation?

Yes, it's possible. Since the sshd_config file is a symlink, it first has to be replaced with an actual file (e.g. via sudo sed -i '' /etc/ssh/sshd_config), and then it can be edited and reloaded (systemctl reload sshd) per normal.
Good catch that the docs miss mentioning this! Feel free to have a shot at fixing it if you have the time/desire, otherwise I can update them once I have spare cycles.


Where to set the required number of classifications

Normally in crowdsourcing projects, a lot of people complete the same task on the same subject. e.g. we ask 50 people if a galaxy is flat or round.
I cannot find where to set the amount of people required to complete each workflow/task, should it not be a parameter of the workflow? Also, since I cannot get all the classifications related to a specific subject, how do I know when the subject will be complete?

It's being added here, https://github.com/zooniverse/Panoptes/pull/536. This should be ready today sometime.
Note: this work relies on background worker processes to update the classification counts asynchronously external to the api web requests. This setup relies on sidekiq + redis (as a persistent storage engine) between processes. Admin users can access a UI component at http://panoptes-url/sidekiq. Everything should just work and is configurable via the sidekiq.yml file (with defaults from sidekiq.yml.hudson).

Thanks. So it is configurable as a server parameter? Not per subject (or at least per workflow).
If that is the case you should give it a second thought as this is very restrictive. It is my experience that different tasks require different number, and my research shows that you can fluctuate the number per subject and increase accuracy.
Also what will happen if midproject I decide the results I am getting are not good enough and I need to bump up the number. Will the old subjects restart?

It is an API configurable setting via the subject_set. I.e. each set of subjects for a workflow can have a set number of classifications before it retires.
Each workflow will have 1-N subject_sets, you can set the retirement for this workflow via the each subject_sets. This should be flexible enough for different tasks (workflows) across subjects.
Re bumping, nope you would have to reactivate the subjects via set_member_subjects via http://docs.panoptes.apiary.io/#reference/setmembersubject/setmembersubject/edit-a-setmembersubject. Ideally this should be captured before launching a project. We're getting closer to ideas about this (see here) but it'll be an iterative process. In my opinion you can run a beta / first attempt with a large retirement number to oversample and then do some analysis to optimize the retirement numbers.

Yep, I think one of the key goals of the beta is to figure out what the retirement rules should be. You put in a relatively small number of subjects with no retirement (or something crazy like 100 users), and then can do a bootstrapping analysis to see when accuracy levels off.
That being said, I suspect that it will absolutely be an iterative process. For example, say you need 5 people to get 90% accuracy and 10 people to get 95% accuracy. You might initially launch with a retirement rule of 10 people, but if you don't get enough volunteers, and it looks like it will take years to complete, you might decide to accept a lower level of accuracy and drop the retirement rules.


LDAP_Base_DN needs OU Group

Hello,
BookStack v0.31.4
we have tried every possible combination to setup LDAP connection to our Windows 2019 Domain.
The only way we got this to work is include OU in BASE_DN -> LDAP_BASE_DN=OU=BAB,DC=bab,DC=network
But we have other groups on the same Level (guest, users) and therefor is is not possible for users in that groups to log in.
In our case the should point to LDAP_BASE_DN=DC=bab,DC=network; But this doesnt work.
ErrorException
ldap_search(): Search: Operations error; app/Auth/Access/Ldap.php:55
Suggestion: can you make working both log variants (standard & ldap) ? if a use tries to log in, check LDAP and if the anser is false try standard?
with that setup a mix of domain members and extern users would be much more easier to maintain.
By the way - your applikation is awesome, you did a great job.

Hi @rneissl,
I don't have a way to test on Windows systems to hand, But I can connect fine on my dev OpenLDAP instance with only a dc-based LDAP_BASE_DN.
For the LDAP_DN value, are you using a complete DN path to the user?

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

Try this:
LDAP_BASE_DN=DC=bab,DC=network
LDAP_FOLLOW_REFERRALS=false


Devtools not work when use $mount append custom Component

Version
6.0.2
Browser and OS info
chrome 96
Steps to reproduce

// vue2
const instance = new Vue.extend({...})({
        propsData: {...},
});
document.body.appendChild(instance.$mount().$el);

// @vue/composition-api method
const a = createApp({...}, {...}).mount();
document.body.appendChild(a.$el);

6.0.*

5.3.4

What is expected?
should detect modalDialog.vue
What is actually happening?
no modalDialog.vue

Thanks from replying, I tried app selector, only 1 app1 exist

Here is repro to this issue
https://github.com/defghy/demos/tree/master/issues/web
try to access url
http://localhost:8081/devtool-inspect

click the button and try to inspect the dialog

I am experiencing the same issue. V5 worked fine, but I can longer view any dynamically created components since the Apps don't show in the selector.  Oddly, I'm quite certain it showed the additional App 3 on just the very first page load upon V6 being auto-updated, but I've been never been able to get it to reappear even after reboot.  My code is the same, as I do a Vue.extend() and append an element in the DOM for the purpose of opening a Modal Dialog.  I will need to revert to V5 for now.

Chrome Version 98.0.4758.80 (Official Build) (x86_64)
Vue 6.06

I'm encountering the issue as well. The app list updates the first time, but doesn't update again until the browser window is closed and re-opened.


Window resize may be causing mouse pointer errors

Mentioned in the Discord:

Also, there was a significant offset from my actual mouse pointer to where the line endpoints were created. However, it is true in each case that the very first thing I did after starting the tool was to maximize the window... so it is quite possible that the window resize was not being accounted for during clicking.

He's not 100% sure that resize is what causes the offset of the line tool to the cursor, but it's a good guess.
Let me know if this belongs to someone else @franknoirot

is this still a thing?

No, I never heard of someone else running into this. We can close


abs

did I got it wrong the first time?

Wait what? Can you improve the test?

Yes, they were both wrong. Tests are positive so not caught.
Sent from my iPhone

On Dec 10, 2020, at 1:13 AM, George Hotz<EMAIL_ADDRESS>wrote:
@geohot commented on this pull request.
In tinygrad/tensor.py:

@@ -204,7 +204,7 @@ def leakyrelu(self, neg_slope=0.01):
return self.relu() + (-neg_slope*self).relu()
I don't think this is right.

Assume self = -1
(-0.1*self).relu() = 0.1
You want
self.relu() + (-neg_slopeself).relu()(-1.0)
And abs is
self.relu() + (-1.0*self).relu()
Please improve the tests for this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

We need negative tests.

We need negative tests. For all the tests

uhm range change  -1 to 0 for random values may be


Concurrent requests for an image that has not yet been cached

During concurrent requests (even with concurrency as low as 2), if the image has not yet been cached, a FileExistsException gets thrown:

PHP Fatal error:  Uncaught exception 'League\Flysystem\FileExistsException' with message 'File already exists at path: 0fb98a01effea237c106d20fc335afb1'

I discovered this race condition issue while benchmarking performance on a VM running locally using ApacheBench v2.3:

ab -n 300 -c 2 http://images.domain.tld/item/test.jpg

Interesting. I guess this is possible given that there is a delay between the image being generated and actually being saved to disk.
We definitely need a second check right before saving a new image to disk. Unfortunately, that doesn't help prevent generating an image twice. Probably the simplest solution would be to simply write a blank file immediately, even before the image has been generated. Then, when the manipulated image has been generated, replace the temporary image with it.
Thanks for bringing this to my attention, I'll have to patch this in an upcoming release.

@reinink You could have the same issue writing a blank file (i.e. multiple requests trying to write the blank file at the same time). Is there any reason the second request wouldn't just do a silent overwrite (or silent fail)?
There would be a very small performance hit because you're generating it twice, but this would be pretty rare.

Yeah, maybe that's even a better and simpler option, especially given how infrequently this problem will occur. Good thinking Tim!

+1 for failing silently. Silent overwrite would require changes to Flysystem (the assertAbsent logic in Filesystem.php).

Fixed and tagged!

Thanks @reinink, that was quick! :+1:


feat: add sketchpad chain metadata and warp route config/addresses

Description
Type: New Network & Warp Route
Network(s): sketchpad
Other notes

fixes https://github.com/hyperlane-xyz/issues/issues/1266

Backward compatibility
Yes
Testing
No

LGTM 🫡


Fix the performance number for 405B

As title. We have updated the peak FLOPs for H100 so we need to use the correct number here

Originally this should be part of https://github.com/pytorch/torchtitan/pull/554, but I merged it early yesterday.


Adds new icons to precompile list

Following this commit: https://github.com/alphagov/govuk_template/commit/82d9459596581623ca70f8d415a9117026c20414
The icons will also have to be precompiled in order to be served to other projects.

Removed DNM as this is good to merge.


⚠ Bofrost.at has degraded performance

In fc5b841, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 994 ms

Resolved: Bofrost.at performance has improved in ceed92e after 6 minutes.


ItemTree pretty-printing

This adds a printer for ItemTree contents, and a few tests to ensure that ItemTree lowering works like we expect it to. It also adds a new "Debug ItemTree" command that can be used to see the ItemTree of the currently open file. The pretty-printed output is usually close enough to Rust syntax that we can even use Rust syntax highlighting.
This is similar to the old ItemTree tests we had, but produces significantly more readable output, so these should actually carry their weight.

bors r+


[feature request] remove SerialNumber getting function and make it general

Why you need it?

The function GetSerialNumber is not general, it is a little bit coupled with alibaba's system, see  https://github.com/alibaba/pouch/blob/master/pkg/system/system.go#L88
// GetSerialNumber gets serial number or a machine.
func GetSerialNumber() string {
	var sn string
	if b, e := exec.Command("dmidecode", "-s", "system-serial-number").CombinedOutput(); e == nil {
		scanner := bufio.NewScanner(bytes.NewReader(b))
		for scanner.Scan() {
			sn = scanner.Text()
		}
	}
	if len(strings.Fields(sn)) != 0 {
		sn = strings.Fields(sn)[0]
	}
	for i := 0; i < 10; i++ {
		if _, ex := os.Stat("/usr/alisys/dragoon/libexec/armory/bin/armoryinfo"); ex == nil {
			if b, e := exec.Command("/usr/alisys/dragoon/libexec/armory/bin/armoryinfo", "sn").CombinedOutput(); e == nil {
				sn = strings.TrimSpace(string(b))
			}
		}
		if sn != "" {
			break
		}
		time.Sleep(100 * time.Millisecond)
	}
	return sn
}

Since it is not general, I think we should remove the implementation part of alisys.
How it could be?

Use a general way to make it. Or encapsulate it into pouchd's daemon plugin.
Other related information

none

Remove the /usr/alisys/dragoon/libexec/armory/bin/armoryinfo part, use other method instead

either dmidecode or systemd-uuid might be useful for this case.

either dmidecode or systemd-uuid might be useful for this case.

Could you be more specific? @houstar


Issues receiving back button/gesture events on Android using KeyEvents

Current bug behavior
I'm trying to intercept the back button/gesture on Android, in order to prevent directly exiting the game  on such actions.  Using Flutter I'd do this with WillPopScope, but with Flame I tried using KeyEvents  / HasKeyboardHandlerComponents. The issue is the following: Tapping the back button triggers onKeyEvent only if I pressed another physical key in advance(only testable in emulator).
Expected behavior
Have onKeyEvent called any time the back navigation button is pressed.
Steps to reproduce
Complete code:
import 'dart:async';
import 'package:flame/components.dart';
import 'package:flame/input.dart';
import 'package:flame/flame.dart';
import 'package:flame/game.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  Flame.device.setLandscape();
  Flame.device.fullScreen();
  runApp(GameWidget(
    game: TestGame(),
    autofocus: true,
  ));
}

class TestGame extends FlameGame with HasKeyboardHandlerComponents, SingleGameInstance {
  @override
  KeyEventResult onKeyEvent(RawKeyEvent event, Set<LogicalKeyboardKey> keysPressed) {
    print('${event.runtimeType} ${event.logicalKey.keyLabel}');
    final isBackUp = event is RawKeyUpEvent && event.logicalKey == LogicalKeyboardKey.goBack;
    return isBackUp ? KeyEventResult.handled : super.onKeyEvent(event, keysPressed);
  }

  @override
  FutureOr<void> onLoad() {
    add(TextComponent(text: "Test"));
  }
}

Scenario 1

Run the app in the Android emulator
Click on the back navigation button in the emulator
onKeyEvent is not called, the game exits

Scenario 2

Run the app in the Android emulator
Press any key on your PC keyboard. Let's say I pressed X.
onKeyEvent is called twice, outputting RawKeyDownEvent X RawKeyUpEvent X
Click on the back navigation button in the emulator
onKeyEvent is called twice, outputting RawKeyDownEvent Go Back RawKeyUpEvent Go Back
As wished, the game does not exit.

Flutter doctor output
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.22621.1413], locale en-US)
    • Flutter version 3.7.0 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (3 months ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\an\AppData\Local\Android\sdk
    • Platform android-33-ext4, build-tools 33.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[√] VS Code (version 1.77.1)
    • VS Code at C:\Users\an\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.62.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.22621.1413]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 111.0.5563.147
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 110.0.1587.41

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

More environment information

This only works if I also wrap WillPopScope with MaterialApp. I'd like to avoid creating a MaterialApp just for fixing this. Is there really no other way?

If Flutter doesn't expose that button/action as a KeyEvent I don't see how we could handle it from within Flame.

I'd like to avoid creating a MaterialApp just for fixing this.

Having a WidgetsApp in the root of your application is always a good idea. In fact, one of the very reasons this widget exists is to provide context capture of user navigation.
See the docs:

One of the primary roles that WidgetsApp provides is binding the system back button to popping the Navigator or quitting the application.

So, the solution should either use a WidgetsApp widget (like MaterialApp) or look into its source code and reimplement that behavior yourself.
Regardless of that, I don't think this is a flame issue now should be resolved within the engine.

The interesting thing is, the back key was in fact captured, if another key was pressed in advance.
I ended up using MaterialApp and WillPopScope.


This seems bad. I think that user-defined domain is higher than envvar

@atrocities
@imawuman
So... it seems like we should take a user-defined domain over an environment variable.

DOMAIN OVERRIDE
TAGS
USER-DEFINED
BRANCH NAME (environment variable then 'git symbolic-ref HEAD`)
UNSPECIFIED

+1

Sounds good. Maybe split out #4 into 2 things just to make it more clear.

DOMAIN OVERRIDE
TAGS
USER-DEFINED
BRANCH NAME via Build System Environment Variable
BRANCH NAME via 'git symbolic-ref HEAD'
UNSPECIFIED


feat: unit test

unit test for utility

Thanks for your contribution.
However, I'm not sure if we really need a "test for the test". The code we use here is well established and not expected to ever change again.
@bboreham since you touched this in your refactoring, maybe you have an opinion?

This package is used in Prometheus non-test code; I think it’s fine to check it stand-alone.
I have not studied the values used to see if they cover most corner cases.

Needs DCO sign-off before we could merge.

https://floating-point-gui.de/errors/NearlyEqualsTest.java gives some inspiration for corner cases (with the notable exception that our function returns true if it compares two NaNs (which BTW should probably be mentioned in its doc comment.
@opensourcevk could you do the following:

Add a few more corner cases, those not yet covered from the link above.
Add a doc comment to the Equal function that it considers all NaNs to be equal to each other.
Squash your commits into one, give it a more descriptive description, and sign the DCO.

Thank you very much.

@opensourcevk will you return to this?  We can't merge it with a CI failure.


:rocket: Stable types/experimental API in preparation for 0.1.0

This PR contains:

[X] A stable experimental API
[x] Stable notebooks tested in a flake.nix
[ ] Fully tested functionality except for anything that will change

The goal is to have piel tested enough so that any changes on the API won't affect any repos where piel is used.

Awaiting for https://github.com/gdsfactory/gdsfactory7/issues/23 for a release

Since many aspects will change between 0.1 and 0.2 and now that we're running all examples as part of the nix CI kind of inclined to continue with the release and iterate accordingly.


bessels revisited

new syntax for bessel access. Not yet finished.
still need cleaning and outputs modifications

I have corrected all I have seen


use of update methods

Is there any specific reason for the use of update methods in all Bitcoin API getters rather than designating them as query methods?
https://github.com/dfinity/examples/blob/baa611185e2b118955419b22abafee058f4e916b/rust/basic_bitcoin/src/basic_bitcoin/src/lib.rs#L42

All functions that make inter-canister calls must be update functions.


maven.sumup.com is down again...

As of today (14 Sepetember 2022) , I have been unable to build our android app due to the following error:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugResources'.
Could not resolve all files for configuration ':app:debugCompileClasspath'.
Could not resolve com.android.support:support-v4:27.+.
Required by:
project :app

Skipped due to earlier error
Could not resolve com.google.android.gms:play-services-location:11+.
Required by:
project :app
Failed to list versions for com.google.android.gms:play-services-location.
Unable to load Maven meta-data from https://maven.sumup.com/releases/com/google/android/gms/play-services-location/maven-metadata.xml.
Could not get resource 'https://maven.sumup.com/releases/com/google/android/gms/play-services-location/maven-metadata.xml'.
Could not GET 'https://maven.sumup.com/releases/com/google/android/gms/play-services-location/maven-metadata.xml'. Received status code 503 from server: Service Unavailable: Back-end server is
at capacity
Could not resolve com.android.support:support-v4:26+.
Required by:
project :app
Skipped due to earlier error
Could not resolve com.android.support:appcompat-v7:26+.
Required by:
project :app
Skipped due to earlier error
Could not resolve com.android.support:support-v4:26.+.
Required by:
project :app
Skipped due to earlier error

when trying to access 'https://maven.sumup.com/' via browser, it comes back with the HTTP 503 error.

Same here.

For me, too.

👍


Missed translation of date and time for Russian

It was removed in the new version

Thanks for the report, however, translations are handled at Transifex.


Support for binary protocols on the server side

(reopening after rebasing on dev)

:watch:
appveyor is failing because it is broken and can't restore packages

:up::date:


Update to IdentityToolkit-V1 API and add more example use cases

@troyhen wow thank you for submitting this!  I am happy to merge it if you are willing to sign the CLA.

What is the CLA and how do I sign it?

@troyhen it's explained fully in this command:
https://github.com/FirebaseExtended/auth-without-play-services/pull/3#issuecomment-565683788
But basically visit https://cla.developers.google.com/ ... this is something you only have to do once ever and any future contributions to Google owned repos won't have this blocker.  Thanks again for the work!

@googlebot I signed it!

@troyhen don't worry about the last CLA thing, it's confused because your git commits are not signed with the same email as your GitHub account.  I did an override.  Thank you for signing it!

Can you tell me how to sign my GIT commits? I guess I didn't know that was a thing.

@troyhen thank you again for submitting this PR!
If you run this command you can see the email used to sign your commits:
$ git config --get user.email
<EMAIL_ADDRESS>
My guess is that on your system that's not the same email you use to sign in with GitHub.  You can change it either globally on a per-repo basis using these commands:
https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#setting-your-commit-email-address-in-git


Code and tests does not comile

Hi!
First of all I've to say that I like your extension very much.
It seems that not the latest version does not compile (even your tests):
C-Mock/test$ make
cc -c -fPIC math.c -o math.o
cc -shared -Wl,-soname,/home/roman/Documents/trainings/c/c-modern/libs/C-Mock/test/libmath.so -o libmath.so math.o
g++ -c -I'/home/roman/Documents/trainings/c/c-modern/libs/C-Mock/include' -I../../googletest/googlemock/include -I../../googletest/googletest/include add_function_mock.cc -o add_function_mock.o
In file included from /home/roman/Documents/trainings/c/c-modern/libs/C-Mock/include/cmock/cmock.h:38,
                 from add_function_mock.h:4,
                 from add_function_mock.cc:1:
/home/roman/Documents/trainings/c/c-modern/libs/C-Mock/include/cmock/cmock-function-mockers.h:193:27: error: expected identifier before ‘,’ token
  193 |     typedef GMOCK_RESULT_(, F) (*func_type)(GMOCK_ARG_(, 1, F) cmock_a1, \
      |                           ^
add_function_mock.h:8:1: note: in expansion of macro ‘DECLARE_FUNCTION_MOCK2’
    8 | DECLARE_FUNCTION_MOCK2(AddFunctionMock, add, int(int, int));
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/roman/Documents/trainings/c/c-modern/libs/C-Mock/include/cmock/cmock-function-mockers.h:193:33: error: expected identifier before ‘*’ token
  193 |     typedef GMOCK_RESULT_(, F) (*func_type)(GMOCK_ARG_(, 1, F) cmock_a1, \
      |                                 ^
add_function_mock.h:8:1: note: in expansion of macro ‘DECLARE_FUNCTION_MOCK2’
    8 | DECLARE_FUNCTION_MOCK2(AddFunctionMock, add, int(int, int));

Version of my compiler:
$ g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Version of googletest: actual master for day of 29.03.2021.

Hi @RomanUlan, C-Mock leverages internal Google Mock macros that have been deleted since the release 1.10.0 hence compilation errors. I've updated C-Mock to use the latest ones available in the current master branch.
I'm glad you like this project. Do you mind asking me what kind of project you use it for? I'm just curious 😉

Hi @hjagodzinski!
Sorry for late reply! Quite busy days behind me.
Anyway and long story short: I started with your framework in 2013 for on of our bigger customer from Ireland who delivers new generation switches for data centers. There was a bunch of code in C in user and kernel land (Linux) where we had strong KPIs for code quality verification (coverage: 100% functions, 75% of branches). Then I've started to use C-mock for other projects e.g. IoT platforms (still mostly networking code) and today I use it in project where we deliver a bit more advanced routers for office and home spaces (again networking).
I'm also a SW engineering trainer. I do a lot of trainings and for C parts (dev tests) i always recommend you framework as a very helpful tool!
Once you would like to know more, drop me an email, then I'll share you my mobile #.
BIG Thank you for taking a quick action!

Hi @RomanUlan,
No worries I can absolutely relate to that.
The projects you work on sound really interesting. I'm continuously surprised somebody is actually using C-Mock. I'm glad you find C-Mock useful to a degree you recommend during your classes. It turns out you started using it from the start of the project as it dates back to 2013.


QueryVariable: Sorting based on label property

I changed the property from text which does not exist in options to label

Closes #576

fixes #576


WebTransport support?

I'm interested to replace my WebSocket connections with WebTransport streams, Chrome (since 91) has supported it, is that feature on your radar here?

I also wonder how could this be done...


[1pt] PR: Enhanced Sierra Test plotting capabilities

[Short description explaining the high-level reason for the pull request]
Changes

tools/rating_curve_comparison.py:

New alternate plots that show a map of the HAND grid next to the rating curve comparison plot. The optional -alt flag enables the enhanced plots. Omitting this flag defaults to using the classic rating-curve-only facet plots.
Sierra Test comparison boxplots

tools/compare_water_surface_elev.py: small bug fix

Testing

Tested on full BED domain using:

python rating_curve_comparison.py -fim_dir /data/previous_fim/fim_3_0_24_14_ms/ -output_dir /data/tools/sierra_test/official_versions/fim_3_0_24_14_ms -gages /data/inputs/usgs_gages/usgs_rating_curves.csv -flows /data/inundation_review/inundation_nwm_recurr/nwm_recurr_flow_data/ -catfim /data/inputs/usgs_gages/catfim_flows_cms.csv -pnts /data/inputs/usgs_gages/usgs_gages.gpkg usgs_gages_stats.gpkg -alt -j 10

Used the same command above for FR by replacing _ms with _fr

Screenshots
New alternate plot shows HAND grid next to rating curve comparison

Notes

Todos

Add ability to make comparison boxplots

@CarsonPruitt-NOAA Do you mean for this PR to still be in draft mode?

@BradfordBates-NOAA Yes, I'm still working on the results comparison plot that Ryan brought up yesterday. I should be done with that today and I'll take it out of draft mode once that's done.

@CarsonPruitt-NOAA Can you please update changelog?


pxtsim class EventQueue is generic, but the EventBus class which uses it is not.

Easy opportunity here to let clients send event values of other than the number type.
The EventBus class is restricted to queuing events with values of type number. Internally it uses queues of type EventQueue<number>. It'd be a useful enhancement to have the current EventBus be an alias for type EventBusGeneric<number> for backward compatibility while EventBusGeneric<T> is basically a generic version of the current EventBus code with the template parameter being passed through as EventQueue<T>.
(granted I suspect the reason for just supporting the simple number type of bus event values is the heritage of pxtsim from micro controller buses)

Update:
Actually it's easier using default values for the generic type argument so no need for the interim EventBusGeneric<>.
e.g.
export class EventBus<T = number> {
...
}

:) I'm going to submit a PR.

PR 4043.
(alas had to go with the EventBusGeneric<T> approach given the need to keep backward compatibility and pass zero as the value when no value is provided for EventBus of type number)

Thanks for fixing this @matthewtebbs

Np. I’m using it to give me more flexibility on defining events. Actually I can now have a single ‘board’ bus: EventBusGeneric and party on it.
From: Sam El-Husseini<EMAIL_ADDRESS>Reply-To: Microsoft/pxt<EMAIL_ADDRESS>Date: Friday, April 6, 2018 at 11:35 AM
To: Microsoft/pxt<EMAIL_ADDRESS>Cc: Matthew Tebbs<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/pxt] pxtsim class EventQueue is generic, but the EventBus class which uses it is not. (#4041)
Thanks for fixing this @matthewtebbs
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Implement the new design for the awesome pages

Using the mockup created in #292 implement the HTML/CSS and deploy.
User Stories

As the DataHub team, we want to have more interactive layout of the awesome pages so users arriving there have great UX.
As user, I want a clear design for the awesome page,so that  I can clearly understand various types of data offered by Datahub

Acceptance criteria

[x] new design is live at /awesome

Tasks

[x] implement the new design in /views/awesome.html and /public/sass/_awesome.scss
[x] get reviewed
[x] fix requested changes
[x] deploy

FIXED. move to collections https://datahub.io/collections


add adc_publish_date and adc_update_date

close #472

@bcorrie are you still okay with this?

@schristley in https://github.com/airr-community/airr-standards/issues/472#issuecomment-768398018 we talked about having this for the Repertoire object. Where did we land on this? Currently these dates are in Subject.

@schristley in #472 (comment) we talked about having this for the Repertoire object. Where did we land on this? Currently these dates are in Study.

@bcorrie William was fine on holding off on something more detailed until it was actually needed, and I'm fine with keeping it simple until more is required.

Ok - and I see I made an error above as well - the dates are in Study, which it looks like you corrected?
Do we define any semantics on this, in particular adc_update_date? Or leave it up to the repository?
Also, are we talking about date-time or just date?

Do we define any semantics on this, in particular adc_update_date? Or leave it up to the repository?

Nothing beyond what's in the description for the field. Do we need something more precise?

Also, are we talking about date-time or just date?

The fields have format: date which is just the date, do we want the time also?

After CRWG, will use date-time, as it's reasonable that a study maybe be updated multiple times in a single day (e.g. fix a typo or missing data from an initial push). A client that just happened to read the data between updates (and maybe cached something in the process) wouldn't know the data has actually been updated again unless the time was available.

oops, forgot to change to date-time


[Documentation] Call wasm imports

Not sure this is the right place to ask, but is there a way to call imported wasm functions directly (or if not, indirectly) from Ruby?

@rkh Unfortunately, there is no easy way to call imported wasm functions directly with pre-compiled ruby.wasm since these import entries have to be determined statically during linking-time, and wasm doesn't support dynamic linking yet.
You need to build an extension library to call imported functions from Ruby script as ext/js does, then link it against ruby.wasm.
Sorry for the lack of documentation :bow:


Discussion on 【Hardware Monitoring】

🤩 Features description [Please make everyone to understand it]
研究者比较关心的监控指标主要包含：

GPU利用率
GPU显存占用
内存占用
磁盘利用率
磁盘IO
CPU内存
CPU利用率
显卡温度
...

细粒度：

整个进程占用的硬件情况
程序中每个网络模块所占用的硬件情况（一般是GPU显存相关的）

之前用的工具有：

gpustat: 精细监控每个user的GPU使用情况
PyTorch hook: https://pytorch.org/docs/stable/generated/torch.nn.Module.html#torch.nn.Module.register_forward_hook
Profiler: https://pytorch.org/tutorials/beginner/profiler.html

ps:

计算flops的包: https://github.com/facebookresearch/fvcore/blob/main/docs/flop_count.md
FLOPS计算文章：https://zhuanlan.zhihu.com/p/663566912

I think disk utilization, disk io. CPU memory, CPU utilization are also necessary

I think disk utilization, disk io. CPU memory, CPU utilization are also necessary

🍺Get，added to the top floor.

I think the temperature of hardware is also needed.

https://github.com/grafana/grafana
Is a good reference example.
I was attracted by the features of this software the first time I used it.
But the technology they use is not compatible with python.

grafana/grafana Is a good reference example. I was attracted by the features of this software the first time I used it. But the technology they use is not compatible with python.

是的。事实上我们的后台服务监控使用的就是grafana，但是它主要的方向是web端，而非深度学习训练。

大致的功能已经由 https://github.com/SwanHubX/SwanLab/pull/751 实现，如新的硬件监控需求将由新的issue跟踪。


Windows installer adjustments

Just a couple of adjustments - @maxtaco , you still like to see these first, right?

Sure, I don't quite understand what's going on, but always happy to look. :+1:


AndSelf has been replaced by AddBack since jQuery 1.8

AndSelf has been removed since jQuery 1.8, and it's been replaced by AddBack, though they does the same thing but AddBack accepts a selector.

Thanks for the heads-up! I didn't see that, will leave open until I find time to add this (or someone sends in a PR for it with tests). Should be simple enough, basically AndSelf should call a new *Selection.AddBack method without argument, and there should be new *Selection.AddBackFiltered and *Selection.AddBackMatcher methods (that take a selector string and a Matcher interface as argument, respectively).


Provide typing stubs

The following is mypy output when using Flagsmith SDK in a strictly typed project:
src/example_service/components/flagsmith.py:3: error: Skipping analyzing "flagsmith": module is installed, but missing library stubs or py.typed marker  [import]
src/example_service/components/flagsmith.py:4: error: Skipping analyzing "flagsmith.flagsmith": module is installed, but missing library stubs or py.typed marker  [import]

Hopefully, shouldn't be too hard to fix. (Famous last words before jumping in the Python typing rabbit hole.)

Let's do this. Any. preference on how you want me to approach this, a single PR or different PRs module-wise?

@tushar5526 I think a single PR should be fine, there isn't a lot of code in this repository. The only thing that might provide a little painful is the typing of flag values but you can check the typing approaches in the flagsmith-engine repository for approaches on that - it looks like we're just using typing.Any there.

@tushar5526 I have set up the necessary tooling and CI here: #70
Please use the feat/mypy branch as your base one. The acceptance criteria is the passing CI workflow.
Note that the SDK supports Python 3.8 so be sure to take it into account by using e.g. typing.Dict instead of dict and typing_extensions.TypeGuard instead of typing.TypeGuard.

Sure thanks!

Should there be type hints for tests as well?

Should there be type hints for tests as well?

Yes, please!

I think this one is closed!

Closing, released as https://github.com/Flagsmith/flagsmith-python-client/commit/ed535ded9ba4df12e9e9eddd9093a13db31219ec in 3.6.0 :)


Incorrect instructions

https://docs.microsoft.com/en-us/microsoftteams/rooms/manual-update links to this page for instructions on how to switch to the Admin account without logging out the Skype user, keeping the Teams app running. The instructions given in this page state that the actions will log the Skype user out and close the Teams app (which is the case). Missing are instructions for switching from the Skype user to the Admin user while keeping the Skype user logged in.

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

ID: fd52fe62-457b-c9e1-ad13-a9b1f24c9c38
Version Independent ID: 6a8c3285-30e1-15a8-6472-f0cfe5b30e20
Content: Microsoft Teams Rooms maintenance and operations - Microsoft Teams
Content Source: Teams/rooms/rooms-operations.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

@VladimirGluten47 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @VladimirGluten47, thank you for your feedback and help us to improve docs.microsoft.com.
I understand you are talking about step 7: "Enter the Administrator Password. This will gracefully log off the app and take you to the Windows login screen."
Really what the articles are saying is that you need to log on to the administrator account without logging off the sfb user. Did you try these steps and they didn't work? Did you get an error similar to "Prerequisite: The Skype user must be logged in for this script to work correctly. Please reboot the system, and run this script without signing the Skype user out."?

Hi Dario,
That's correct, I'm referring to step 7. I followed the instructions to log into the Admin user (same steps as for any troubleshooting within Windows), however when running the script I did receive an error similar to "Prerequisite: The Skype user must be logged in for this script to work correctly. Please reboot the system, and run this script without signing the Skype user out."
So I am wondering if there is an alternate method for logging into the Admin user which meets these requirements, or perhaps I'm just doing something wrong and the instructions are unclear?
Thanks.

@VladimirGluten47 let's try this:

When you are logged with the sfb user, press Windows Key 5 times. It should redirect you to the home/login screen.
Login with the admin user.
Run the script.
Press Windows Key 5 times again to return to the sfb user.

Please let me know if it works for you.


Add PhoenixIndustriesCubeSat

Closes https://github.com/KSP-CKAN/NetKAN/pull/3286

Spacedock and forum thread both say it's "compatible with" MechJeb and Tweakscale, so they should probably be no more than recommends. They're not needed for it to work.

Ah yeah, I use a template that has depends and forgot to switch it to recommends. Good catch.

Merged with my thanks. I've been wanting to check this one out.


[WIP] : Adds method to list project langauges and data structure changes 🚧

Summary
This PR adds a function to list all the languages used in a project, iterating over the assets. Currently, it does not recognize all the languages properly due to limited languages mapped in assets-config.js, which we can add later anytime. (not sure if the languages that there are keeping in mind their extensive use in research, and no need for extension to it)
Discussion around addition of scanResult object, within or separate from, checklists data needed!
Reviewer(s)
@lrasmus

Thank you @AdiAkhileshSingh15, reviewing now!


[FancyZones] Suggestion - click and hold a non-primary button to select multiple zones

How about being able to click and hold a non-primary mouse button to select multiple zones (similar to holding Ctrl)?  It would mean I could position windows without touching the keyboard.

@simhub1985
holding a second mouse button was used before we switch to second mouse button click to activate/disactivate the zones.
It was a poor user experience and we drop it.
We can consider offering the second mouse click for the activation of the zones or for the multi-zone selection based on a Settings option.

Tracked in https://github.com/microsoft/PowerToys/issues/6611

I would like to see this option as well. Click a non-primary mouse button to activate zones (as is available now), click-and-hold a non-primary mouse button while dragging the window to select multiple zones (as ctrl does now).


How to set state onTick

Hello :D
I'm trying to set a state in an onTick event for a clock.
   <Clock
        startTime={start.clone()}
        stopTime={stop.clone()}
        currentTime={start.clone()}
        multiplier={50}
        onTick={_.throttle(handleHeadingValue, 1000)}
      />

Here is the handleHeadingValue function.
  const handleHeadingValue = (clock) => {
//setting the state here
  setHeadingValue({
        heading: ref.current.cesiumElement._properties._heading.getValue(
         clock.currentTime
         ),
       });
    }
  };

The problem is that for some reason doing this the Cesium Viewer goes crazy and it looks like it tries to re-render over and over which freezes the app.
May I have some insight as to what Im doing wrong?
thank you!!

Any help here please? Here is a code sandbox showing my problem: https://codesandbox.io/s/resium-cesium-context-forked-bpjuw?file=/src/ViewerComponent.js

JSON.parse(...) is too heavy to exec every render time. Minimize the amount of processing during rendering.
I won't go into too much depth here, as this is a basic matter of React.