Update: Twilio.Authy version 2.3.0

- [X] Have you signed the Contributor License Agreement?

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.4 schema?


update(app): close inspectors at teardown time

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind cleanup

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area engine

What this PR does / why we need it:
See https://github.com/falcosecurity/falco/pull/3140#issuecomment-2059234096 , basically if we want to allow the server thread to access inspectors we need to close them as the last thing before shutting down which is what this patch proposes.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 3b4aa135421eacc39083f6d8a124e8a19b9c7812

/milestone 0.38.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, jasondellaluce, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I suspect that tide is dead :/
See https://github.com/falcosecurity/falcoctl/pull/520 for example.


frozen funds is off when shorting

these are prob related.
short YesNo market. User shorted 5 at 0.25 and current value is -3.75.
frozen funds was current before trade, after frozen funds goes to 56.6514.
(new ff value) 341.569 - (previous ff value) 294.3953 + (short trade) 3.6 + (recent short trade) 0.81 = 51.5837 off

Closed with #3376


Dark mode

Description

Added dark mode feature in the website
#41

How has this been tested?
Deployed locally.
Screenshots when deployed in local server

Checklist

[x] I have followed the Contribution Guidelines.
[x] My changes do not edit/add any unrequired files.
[x] My changes are covered by tests.

@Praful932 @maneprajakta Kindly review and leave a feedback if any.

@maneprajakta It's deployed already for some reason not showing up on the PR here.
https://kitabe-pr-191.herokuapp.com/

Check this :

The moon loads before the preloader.
Signup and login form both are not aligned with the side image.
Keep the same font style for Signup and login welcome heading.

1st and 3rd point noted. But in 2nd point, image is not properly displaying if I try to alter that because both are specified in same class. I cannot alter the class as it will affect the display in light mode.

Will check that later on.

@maneprajakta Both of the font is same !! you can check the code as well as demo.

Dark mode button now loads after the preloader.
@maneprajakta

Check when user logins in there are many faults.
Check for the small screen the nav-bar is not responsive now we prefer 360-640px.
More details button text by default white would look better.

Kindly understand that I cannot alter responsiveness of page with dark mode. You need to change the code in light theme, which will automatically gets inherited for dark theme. Even if I wish to change code in light theme, the result is not being seen in the server.
1st and 3rd point will be rectified soon.
Thank you.

@maneprajakta Review it now please

@SnehaVeerakumar also there are some UI bugs write know in the website which might affect your work check #30 for that.

Nav bar - resolved. If I add 1 more space, it changes the alignment
Rate this button after login - Doesn't have a class to call in the css file I created
Size of moon and sun - reduced.
Comments for css is not necessary as it is just changing light mode css. Only ".dark-mode" is added to each class. Every frontend developer is aware of that.
Login/signup page - aligned properly

@maneprajakta @Praful932

The login/signup seems a bit out of alignment also can we come up with consistent font, the font seems to be different for the pages

Fix the alignment in light mode, it will be changed here.
@maneprajakta

I will rwmove the font for this. Whatever you keep in light mode will be inherited.
@maneprajakta

Please expect what you have in light mode. Not everything will be changed in dark mode

That's all I can do. If you want, approve or reject. No more requirements can be satisfied as your light mode already has lots of bugs.
@maneprajakta @Praful932

There's an ongoing PR for that fix #206 , After that is fixed, we can proceed with this

There's an ongoing PR for that fix #206 , After that is fixed, we can proceed with this

Wow, you said it finally after 1 week of my work !!

Closing due to improper communication between mentor and project admin.
Unrealistic expectation : Having same class for both forms and expecting different alignments.

@SnehaVeerakumar
Left is your dark mode and right is the current project's
So would the alignment changes be required in your code(This PR) or the website's page?
Is the alignment an unrealistic expectation?
It's not nice to call out admins/mentors by posting chat screenshots after calling the project and all the contributors spent their time on a mess.

@Praful932  As i already said, there is no comkunication between you people. I informed mentor that image and form has same class. Image is getting altered. She said that is fine for now, just view in mobile mode. 360×640 is what we need now and in that dimension image is not visible only !!!

Check when user logins in there are many faults.
Check for the small screen the nav-bar is not responsive now we prefer 360-640px.
More details button text by default white would look better.

Mentor asks for 360*640 whereas project admin views in laptop. Well organized, right?

Do you think having same class for image, login form,signup form will have 4 different functionalities ?

Do you think having same class for image, login form,signup form will have 4 different functionalities ?

That sounds unreal.

Check when user logins in there are many faults.
Check for the small screen the nav-bar is not responsive now we prefer 360-640px.
More details button text by default white would look better.

Mentor asks for 360*640 whereas project admin views in laptop. Well organized, right?

Just Some last comments from our side

If you could read it carefully what is asked in the review I am talking about nav-bar it's not responsive why because the moon logo was added that comes under this PR.
Sorry to say you don't try to understand what the other side person is saying read carefully every PR review what we are asking you to do we are even adding ss for that what we mean.
Most important you are stuck on login page alignment let us assume it's our fault then also there are so many normal css fixes for dark mode.
It's for the first time we have come acrossed such a participant.
I don't know but this is how we work and till today no participant had any issue with it and everything was going peacefully.
No further comments from @Praful932 and my side!
It was nice you showed interest in our project just assume it's was a new learning for you whatever you feel and move on no further comments we expect. After all it's open-source !
Keep on Hacking!
PS: I feel to add this : just once go through the way you are putting your point to us such things are not entertained by anyone.

Mentor asks for 360*640 whereas project admin views in laptop. Well organized, right?

So if the maintainers see a bug in the PR, they ignore it?
Every maintainer can review and flag concerns in the PR before it gets approved.
It's a step by step process, you fix one at a time, not all in one shot and the PR gets merged. Have some patience.
It's unfortunate to see such behaviour in open source. Good luck with your future endeavours in open source.
Locking this conversation.


RD-4466 dep-up: add the force-reinstall flag

This will make the changed nodes be just reinstalled, bypassing
the update interfaces

Related to cloudify-cosmo/cloudify-common#1109


Locking key as in QMK

I have one keyboard with QMK, and would like to replicate its functionality with KMonad. I went through tutorial, and browsed documentation, but it seems locking functionality is not supported.
It works this way, QMK specifies KC_LOCK key, and upon pressing it, next pressed key will be locked. Lock is released when this locked key is pressed again. This is very useful, because it allows to have dynamical sticky keys.without time limit.
https://github.com/qmk/qmk_firmware/blob/master/docs/keycodes.md#key-lock-idkey-lock

Indeed, not implemented right now; marking this as a feature request


[FIX] - remote snippets

This PR aims to:

Fix those links to snippets that weren't updated according to the new IA (mainly asset transfer api page)
Remove those snippets that can be replaced by a remote source tied to a specific version or tag

Note: I double checked before pushing, but please review this PR carefully since I made many changes that are prone to error

Removing High and Pre-Launch labels, this PR is a nice to have


Add use command to setup configuration for the user

Summary

Add use command https://github.com/TheThingsNetwork/lorawan-stack-migrate/issues/56#issuecomment-1328938591
Why do we need this?

To simplify the migration tool setup process for the user, as some of the users have problems with setting up the environment.
What is already there? What do you see now?

We use env variables and flags to setup the environment.
What is missing? What do you want to see?

A simple to use command to setup everything for the user.
Environment

n/a
How do you propose to implement this?

Implement a use command similarly to the lw-stack's use command. The user could provide a URL to a device or app he'd like to export (or a server if he wants to export multiple devices/apps) and the environment would be set automatically.
I'm not sure if it would be easy for other sources, but should be doable for TTS.
How do you propose to test this?

Use the command to setup the migration tool for some deployments and export devices.
Can you do this yourself and submit a Pull Request?

Yes.
cc @adriansmares @johanstokking

In ttn-lw-cli we have a configuration file .ttn-lw-cli.yml which is created/edited by the use command. The file itself is processed using viper. Since we already use pflag, I think tying everything together with viper shouldn't be too bad, but this needs some digging.


Dead link on main readme

This link that is mentioned in the main readme is no longer working: https://appsecco.com/books/dvna-developers-security-guide/
Can we view the guide somewhere else now?
Thanks!

Yes, it would be great if we could get the main readme.


add plugin hexo-typora-asset

hexo-typora-asset
Check List
Please read and check followings before submitting a PR.

[ ] I want to publish my theme on Hexo official website.

[ ] I have read the theme publishing doc.
[ ] name is unique.
[ ] link URL is correct.
[ ] preview URL is correct.
[ ] preview URL web site is rendered correctly.
[ ] Add a screenshot to source/themes/screenshots.
[ ] Screenshot filename is same as value of name.
[ ] Screenshot size is 800 * 500.
[ ] Screenshot file format is png.

[x] I want to publish my plugin on Hexo official website.

[x] I have read the plugin publishing doc.
[ ] name is unique.
[x] link URL is correct.

[ ] Others (Update, fix, translation, etc...)

Languages:
[ ] en English
[ ] ko Korean
[ ] pt-br Brazilian Portuguese
[ ] ru Russian
[ ] th Thai
[ ] zh-cn simplified Chinese
[ ] zh-tw traditional Chinese

这个是typora插入相对路径，html渲染出来是相对的，替换成某名


network: support creating dummy interfaces and creating link devices

extend role network for creating dummy interfaces and creating link devices
/etc/systemd/network/10-lo-bgp.netdev
[NetDev]
Name=lo-bgp
Kind=dummy
/etc/systemd/network/20-lo-vxlan.netdev
[NetDev]
Name=lo-vxlan
Kind=dummy
ip link add vrrp100 link bond-XX addrgenmode random type macvlan mode bridge
ip link set dev vrrp100 address 00:00:5e:00:01:64

extend tasks/main with something like

name: Include dummy interfaces tasks
ansible.builtin.include_tasks: dummy-interfaces.yml
when: dummy_interfaces|bool

and work with templates

https://major.io/2015/10/26/systemd-networkd-and-macvlan-interfaces/

Closed by 32d91a6c501a8863d732e4f932b672c3601c8b02


How to define max file size

I tried to give max file size upto 10 mb. But unable implement.Right now plugin is taking max 6 MB. Ho can  I increase it upto 15 MB

js: maxSize: 15
php: maxSize: 15
php.ini: upload_max_filesize=15, post_max_size=15


Integrate Okta login widget

Set up environment variables for Okta login widget, added logo and changed the app name on login screen
As a user I want to be able to log in using OKTA in order to search for apartments.
https://trello.com/c/tJWlPa1u

Looks good from my end. Nice job! Now once I get everything to clone properly on my end, I will compare our code and work with you to make sure we get the perfect look for the UI!

Sound goods!

Looks good from my end. Nice job! Now once I get everything to clone properly on my end, I will compare our code and work with you to make sure we get the perfect look for the UI!

Sound goods!


Update pytest-cases dependency to main package

Waiting for this PR to get merged and released then update requirements-dev.txt to use the official package.
TODO: Add an issue to change this once it is merged.
Originally posted by @pjbull in https://github.com/drivendataorg/cloudpathlib/pull/364#discussion_r1349609194

The fix was released yesterday. It was part of 3.7.0 although we're already up to 3.8.0—I guess the maintainer blazed through a backlog of PRs.


Add java support for local testing

Usage:
From root dir :
RUNTIME=java ./local_tests/build-docker-runtime.sh
RUNTIME=java ./local_tests/invoke.sh 0
see results in ./local_tests/logs.txt

Suggestion: the build steps would be better in the Dockerfile so it is reproducible in the specified image environment and doesn't need the user to install extra tools on his machine, such as gradle here. Using a multi-stage dockerfile.

Suggestion: the build steps would be better in the Dockerfile so it is reproducible in the specified image environment and doesn't need the user to install extra tools on his machine, such as gradle here. Using a multi-stage dockerfile.

Good idea, done ✅


Different results in predict when passing np.nan and None values

Environment info
Operating System: MAC OS
CPU/GPU model:
C++/Python/R version: 3.6.8
LightGBM version or commit hash: version=2.3.0
Steps to reproduce

train a classifier with data containing NaN values
predict test data containing NaN values of numpy.nan and None types
enjoy different results

Why does it happen?

@oksanadanilova What data type are you using? Are there any categorical columns in your dataset?
Can you please provide MCVE?

@oksanadanilova could you try the latest master branch?


Support subqueries for values in QueryBuilder::insert()

Currently Yii2 supports specifying subqueries as \yii\db\Query objects in some places of query, for example:
Model::find()
    ->where(['country_id' => Country::find()->select('id')->where(['name' => 'USA'])])
    ->all();

The same should be allowed in other places (if allowed by SQL), in particular in INSERT statement, for ex.:
$model = new Model();
$model->country_id = Country::find()->select('id')->where(['name' => 'USA']);
$model->insert(false);

duplicate of #8293

@cebe
My issue is NOT a dupe of https://github.com/yiisoft/yii2/issues/8293 at all. https://github.com/yiisoft/yii2/issues/8293 deals with queries like INSERT INTO tbl SELECT a, b FROM tbl2 while my issue deals with queries like INSERT INTO tbl(a,b) VALUES(123, (SELECT x FROM tbl2 WHERE id=456)) - completely different things! Please reopen.

Oh right, sorry. Was not aware that this case is even possible :)


behavior_planning_container process died after the second goal reached

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
I have download the last updates /main branch of autoware where I insert my maps, lanelet, vehicle and sensor.
In the previous version everything works fine, but now, launching the planning simulation, the behavior_planning_container died after have reached the second goal, so the new goal can be set, but the AUTO button isn't enable, the trajectory seems to be identified but not completely set and starting to publish ERROR on the terminal related to the not met departure condition.

From now on the vehicle is freezed and nothing can be done to avoid this situation.
It is not a problem of vehicle or sensor because it happens also with the sample-vehicle and sample-sensor and with your map.
Expected behavior
I expected a different behavior, exactly as in the previous version of the planning: where the vehicle move and reach the goal in the simulation without problem or constraints. It is able also to go out of lane in the parking phase and going out from the park slot.
Also trying to reset the initial position nothing changes, the system crashed.
Actual behavior
Now the system crashed after the vehicle has reached one/two goals and nothing can be do to avoid it even if I try to reset the initial position.
Steps to reproduce

launch the docker container: rocker --nvidia --x11 --network host --devices /dev/vid* --user --volume $HOME/autoware --volume $HOME/autoware_map --volume /dev/shm/:/dev/shm -- ghcr.io/autowarefoundation/autoware-universe:latest-cuda && export RCUTILS_COLORIZED_OUTPUT=1 && export RCUTILS_CONSOLE_OUTPUT_FORMAT="[{severity} {time}] [{name}]: {message} ({function_name}() at {file_name}:{line_number})"
vcs import src < autoware.repos && sudo apt update && rosdep update && rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
launch the planning simulation
set the initial position and goal poses more than once after have reached the previous goal.

Versions

OS: Ubuntu 20.04.6 LTS
ROS 2: HUMBLE
Autoware: docker developer download - your branch is up to date with 'origin/main'
Docker container launched as: rocker --nvidia --x11 --network host --devices /dev/vid* --user --volume $HOME/autoware --volume $HOME/autoware_map --volume /dev/shm/:/dev/shm -- ghcr.io/autowarefoundation/autoware-universe:latest-cuda && export RCUTILS_COLORIZED_OUTPUT=1 && export RCUTILS_CONSOLE_OUTPUT_FORMAT="[{severity} {time}] [{name}]: {message} ({function_name}() at {file_name}:{line_number})"

This happens also in the 'origin/humble' branch
Possible causes
Not finished to develop the planning stack?
Additional context
No response

you can try to change RMW to cyclone dds

Thanks a lot @greensky0802, now it is more stable, thanks also to the pushed updates (planning package related), so it doesn't crash anymore for this reason!
I can close the issue.

Thanks a lot @greensky0802, now it is more stable, thanks also to the pushed updates (planning package related), so it doesn't crash anymore for this reason! I can close the issue.

Hello, have you not encountered this issue again after that? My autoware 1.0 version still encounters this issue.


Recurring not allowed

Please add recurring payment plan method

Hi @AshokRadadiya thank you for your feedback. We will look into it and get back to you soon.

Please add Recurring Payment Method and release new SDK version for iOS.
Thanks! Regards!
On Fri, Mar 5, 2021 at 4:30 PM Rotimi Joshua<EMAIL_ADDRESS>wrote:

Closed #18 https://github.com/Flutterwave/RaveSDK/issues/18.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Flutterwave/RaveSDK/issues/18#event-4412934953, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEODZP3OUKAL3LRXK456GZTTCC2TRANCNFSM4XZ5SGQA
.


Module 3 exercises [Reneilwe Dipheko]

Please "drag & drop" exercise 1 pdf file below.
Land condition in Pandamatenga.pdf

Please "drag & drop" exercise 2 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 3 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Well done, Reneilwe. You clearly grasped the material outlined in Module 3 and successfully applied it to this exercise. Thank you for your participation!


crash keyword

Based on discussions on Zulip, we should introduce a new crash keyword with the following semantics:

crash "uh oh" is a valid expression which has the type *
crash is a language keyword, not a function; you can't do (for example) List.map myList crash - you always have to apply it to a string right away, like crash myCrashMessage. (You can of course wrap it in a lambda, like List.map myList \str -> crash str)
When crash gets run, it calls roc_panic passing the given string, and also a discriminant of 0 (indicating a panic due to the user running the crash function explicitly, as opposed to say a builtin panic due to arithmetic overflow).
It's not necessary for version 1, but in the future we should give warnings for unreachable code due to crash. For example, |> Result.withDefault (crash "uh oh!") should warn that Result.withDefault will never get run; in fact, nothing in this entire pipeline will get run, because crash "uh oh!" will happen instead.

This exists now!


[Feature]: Run with TMDB or TVDB Flag

Is your feature request related to a problem? Please elaborate.
Use Case - Have Radarr/Sonarr post-processing trigger PMM run an update immediately against a newly added Movie/Show...and only that specific Movie/Show as opposed to an extended/full PMM run.
For example, Radarr grabs new Movie --> Post-Process Script triggers PMM to instantly/efficiently update the Poster Overlay accordingly and skip looking at other Movies/Shows.
Describe the solution you'd like
Requesting a Run Flag to initiate PMM run against a single Movie/Show via its TMDB or TVDB number.
This would allow PMM to run in a very fine-targeted fashion.
Additional Information
No response

PMM has to know where to find that movie, and you probably don't want it to run against all instances in all libraries.  For example, My Plex server has six versions of Avengers: Endgame.  That movie appears in a variety of collections across all those libraries.  It may be in playlists.
If PMM gets a request to act on 299534, it's not clear how it would know which libraries, collections, playlists, and/or metadata updates are required without running through them all and looking for TMDB 299534, which doesn't save any time.

Also pmm doesn't listen for any webhooks or anything on when to run and atm I have no plans of adding that in as a feature.

PMM has to know where to find that movie, and you probably don't want it to run against all instances in all libraries. For example, My Plex server has six versions of Avengers: Endgame. That movie appears in a variety of collections across all those libraries. It may be in playlists.
If PMM gets a request to act on 299534, it's not clear how it would know which libraries, collections, playlists, and/or metadata updates are required without running through them all and looking for TMDB 299534, which doesn't save any time.

Doesn't the cache keep track of that kind of information for better performance? It doesn't seem logical to me that scanning every movie in the entire system would take the same time as a specific one but i dont know the code.. Even if it doesn't cache it, it seems like it would still be faster to loop a list to find matches vs running a full scan of everything

Also pmm doesn't listen for any webhooks or anything on when to run and atm I have no plans of adding that in as a feature.

Arguments instead of wehooks? pmm.py --tmdb=12345

It caches information about the item:

but it doesn't cache all the libraries, collections, and playlists that TMDB ID is included in.
Utilizing Smart Collections as much as one can will get as close as possible to ensuring that when TMDB 299534 shows up in Plex it gets added automatically added to relevant collections like a Marvel collection or the like, but there's no way to know if TMDB 299534 is or would be included in some arbitrary Trakt list, IMDB search, etc. without processing the collection, which means you effectively have to process every collection in every movie library in order to find the ones that TMDB 299534 is part of to update them.
I suppose some minor amount of time might possibly be saved in some situations since PMM wouldn't actually have to create or update collections, but it still has process every collection up to the point of having the final list ready to send to Plex to determine whether TMDB 299534 is in there.

Chaz summed up why this isnt going to be a thing

For example, Radarr grabs new Movie --> Post-Process Script triggers PMM to instantly/efficiently update the Poster Overlay accordingly and skip looking at other Movies/Shows.

but what you can do is set up something to just process your overlay collections when a new movie is added it takes a nominal amount of time to check all the overlays tbh i load all the items at once so just set up a pmm run that only runs the overlay collection


Process content from extenal links to the folder Vault/attachements/$(notename)/

Thanks for grate plugin!
It is good to take control of all download images and content from web pages and use subfolders with $(notename) to storage them.
MarkDownloader can't download images to relative pathnames to actual
" $(notename) " location.
There for I've created a folder attachments in the root of Valt and it saves content of all markdown files from various folders in one specific location - Vault/attachements/$(TitleName) and it's work fine.
While using you Pligin, I've found In you settings no option to use 'Media folder' not relative to the
" $(notename) "
pathname, but only fixed location. Is it possible to add option to set hard path to 'Media folder' and not to use only ralative paths to " $(notename) " location?
Grate thanks!

Hi. Version 0.15.0 will have a more universal/intelligent way of assigning paths using templates. e.g. /myrootfolder/${date}/

Great!

Closing this as completed since the feature was implemented in 0.15.0


bug operate incr php strong type

$db->increment($key,'a','1');   yes
but
$operations = array(
array("op" => Aerospike::OPERATOR_INCR, "bin" => "a", "val" =>"1")
);
$status = $db->operate($key, $operations, $returned);      is wrong
only can use:
$operations = array(
array("op" => Aerospike::OPERATOR_INCR, "bin" => "a", "val" =>1)
);

php is not strong type   "1" eq 1, so when i put   bin  a string number such as "1" on  exist bin name "a","a" is a string,   when i use incr will error;    what  can i to ?  if($db->errorno() == 12){
$db->get($Key,$a);
$db->put($Key,array('a'=> intval($a['a']+ $inc)));
}  ?

Hey, thanks for finding that bug. It's not really a misunderstanding of the nature of PHP :stuck_out_tongue_winking_eye:

i think you can refer   redis  incr    ,when it is string number  , you can change it type to number; thanks, i like aerospike ,but i think it hard use.

I can see the convenience of type casting a numeric string for you, but it's pretty common and simple to use (int) $val or intval($val) in PHP code. PHP 7 is coming soon with scalar type hinting, so get ready. This will become standard.

This should be fixed with release 3.3.16. Please verify.


Try out to backport the NBD driver from 3.2 in recent kernels

:ok_hand: XMS

Done (trivial fixes), testing.

still having the crash

:(


Link to VBCable should be updated

Hi there, I've noticed the old link to the audio driver (http://vbaudio.jcedeveloppement.com/Download_CABLE/VBCABLE_Driver_Pack43.zip) doesn't work anymore, which means sound won't work on newly installed machines (or I couldn't get it to work :) ).
Googling a bit, it looks like the link below is a good alternative:
https://download.vb-audio.com/Download_CABLE/VBCABLE_Driver_Pack43.zip

Great catch. Just made a commit to update this link in the powershell utils file, thanks !
Unfortunately, until I do some testing (which might be in a long time), I can't confirm this works. I don't see why it shouldn't though, so I'll submit a PR.

Thanks for the issue and the PR. I wonder if this is still needed. I believe Steam will install an audio driver by default.

When I had opened this issue it didn't install any audio driver, if it does now then they've updated it in the meantime :). I remember having to dig in a bit through the scripts to debug this, having Steam install that for me would have been great.


⚠ ClamAV has degraded performance

In 40d5b35, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 84 ms

Resolved: ClamAV performance has improved in ebaa5db.


Add Wikiclustering benchmark for multiple languages:))

In the style of BlurbsClusteringP2P and similar datasets, I have created relatively generic benchmarks using top-level Wikipedia categories. I cover the following languages:

Danish
Latvian
Manx
Albanian

The languages (except for Danish) were arbitrarily chosen as low-resource European languages.
As evident below, I have not yet run the benchmarks as I cannot access sufficient compute. If I could get help (@KennethEnevoldsen) that'd be 🔥 - otherwise, I will try my best to leave my laptop on overnight:)).
I look forward to contributing to this great project!

Checklist for adding MMTEB dataset

Reason for dataset addition:

[x] I have tested that the dataset runs with the mteb package.
[ ] I have run the following models on the task (adding the results to the pr). These can be run using the mteb run -m {model_name} -t {task_name} command.

[ ] sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
[ ] intfloat/multilingual-e5-small

[ ] I have checked that the performance is neither trivial (both models gain close to perfect scores) nor random (both models gain close to random scores).
[x] I have considered the size of the dataset and reduced it if it is too big (2048 examples is typically large enough for most tasks)
[x] Run tests locally to make sure nothing is broken using make test.
[x] Run the formatter to format the code using make lint.
[x] I have added points for my submission to the POINTS.md file.

Note for later: This dataset might supersede WikiCitiesClustering

Re adding new langs, I'd probably prefer to do this in a separate PR once the main structure and all that has been approved:)). Regarding model runs, I have done MiniLM but am stilling missing the other one - should those results be saved somewhere, @KennethEnevoldsen?

Regarding model runs, I have done MiniLM but am stilling missing the other one - should those results be saved somewhere, @KennethEnevoldsen?

By default it should be in the results folders, you just need to submit them


Update jenkins to deploy ogr/develop to the OSH Staging Environment

Jenkins is currently building the ogr/develop branch, but is not automatically deploying it. the cipublish script needs to be added to the jenkins pipeline for that branch so it can automatically build and deploy that branch to staging

this ended up not being necessary. the ogr/develop branch was automatically deployed when #1863 was merged


Change value of "CI_COMMIT_BRANCH" for pulls to source branch

Describe the bug
Somewhat related to " PR triggers the CI twice #2888 ".
To reproduce:

Create a simple yaml in main branch:

steps:
  test-when:
    when:
      branch: main
    image: ....
    commands:
      - echo "running on CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH"

Create a new branch new-branch based on main and open a PR on Gitea
Make some changes in new-branch branch
When woodpecker receives the pull_request_sync event for the PR branch new-branch, it still runs it and considers it as main branch
Expected behavior: such event should be skipped

System Info
server & client: 2.4.1

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

But it is quite counter-intuitive that a non-main branch runs with when: branch: main.
I think the filter should be respected.

Thank you, but it is just counter-intuitive at first glance ....

Might actually make a bit more sense to have branch = source branch instead of target branch. That would however be a breaking change we could only consider for 3.0

Should I reopen this issue?

I can see there could also be breaking changes in 2.x, eg:  Use map on all environment keys in our config #3500
So is it possible to take this breaking change in 2.5.x ?

How, did I removed that. 🤔 Sorry @qwerty287 that wasn't on purpose.
The comment was basically:

I can see there could also be breaking changes in 2.x, eg: Use map on all environment keys in our config https://github.com/woodpecker-ci/woodpecker/pull/3500#issuecomment-2024396711

This should not be a breaking change and might be a bug, if so we should open a new issue.

So is it possible to take this breaking change in 2.5.x ?

As it is a breaking change, we can only change that in version 3.0

I can see there could also be breaking changes in 2.x, eg: Use map on all environment keys in our config #3500 (comment)

This should not be a breaking change and might be a bug, if so we should open a new issue.

OK, I managed to figure it out .... I guess it is the changed behavior of handling dots . in environment names.
For example:  ES 7 documents use "environment: node.name=..." https://www.elastic.co/guide/en/elasticsearch/reference/7.17/docker.html . These environments don't work for the latest.

Summary from the last two linked PRs: more complicated than it looks.
ATM I think the only proper way to solve this would be to split the branch filter var into source_branch and target_branch for PRs and only allow these in PR events.
IMO branch should always evaluate source_branch (and not target_branch as it is right now in PRs). If PR-specific branch filters are needed, one should use target_branch then.


Get hashtag #vegan: JSON Query to explore/tags/vegan/: 404 Not Found

Describe the bug
instaloader do not download hashtags
To Reproduce
trickle -s -v -d 100 instaloader --login=USER --fast-update    --user-agent "Mozilla........." --abort-on=302,400,401,429,403  "#vegan"
Expected behavior
To download hashtags
Error messages and tracebacks
Loaded session from .......
Logged in as .......
JSON Query to explore/tags/vegan/: 404 Not Found [retrying; skip with ^C]
JSON Query to explore/tags/vegan/: 404 Not Found [retrying; skip with ^C]
Get hashtag #vegan: JSON Query to explore/tags/vegan/: 404 Not Found
Saved session to /home/.........
Instaloader version
4.10.2

same here

it's been an issue for some months now, I have no idea why not even one of the developers has addressed it yet

i have the same issue

Duplicate of #2144


Move the claims generate csv service

Context
The GenerateClaimsCsv service is scoped to the Claims::Claim model but the service isn't scoped to the model.
Changes proposed in this pull request

Move the Claims::GenerateClaimsCsv service to Claims::Claim::GenerateCSV.
Add the CSV acronym and rename the affected classes.
Add an ApplicationService for a service object base class in place of the ServicePattern concern.

Guidance to review

Tests should all pass

I'll refactor. I forgot to mention in the PR that if all is good, I'll update all services. I just did the 1 service to show an example.


Update to peft 0.8.2

What does this PR do?

Before submitting

[x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[x] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[x] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[x] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@OlivierDehaene OR @Narsil

@Narsil How can I test this? I need to build this into a docker image somehow.

Opened another PR in order to get the CI working: https://github.com/huggingface/text-generation-inference/pull/1540 (this one will be merged instead it's. just a trick for GH).
Do you mind sharing what was failing before ?

It looks like the vocabulary of the Peft model was extended by 4 tokens. Loads / trains fine with Peft 0.8.2 but gives this error on 0.4.
Loading checkpoint shards: 100%|██████████| 14/14 [00:15<00:00,  1.03s/it]
Loading checkpoint shards: 100%|██████████| 14/14 [00:15<00:00,  1.11s/it]
2024-02-06T13:56:31.947066874-05:00 Traceback (most recent call last):
2024-02-06T13:56:31.947072601-05:00
2024-02-06T13:56:31.947078328-05:00   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/peft.py", line 15, in download_and_unload_peft
2024-02-06T13:56:31.947083496-05:00     model = AutoPeftModelForCausalLM.from_pretrained(
2024-02-06T13:56:31.947089153-05:00
2024-02-06T13:56:31.947094880-05:00   File "/opt/conda/lib/python3.10/site-packages/peft/auto.py", line 103, in from_pretrained
2024-02-06T13:56:31.947124633-05:00     return cls._target_peft_class.from_pretrained(
2024-02-06T13:56:31.947133642-05:00
2024-02-06T13:56:31.947139300-05:00   File "/opt/conda/lib/python3.10/site-packages/peft/peft_model.py", line 271, in from_pretrained
2024-02-06T13:56:31.947151173-05:00     model.load_adapter(model_id, adapter_name, is_trainable=is_trainable, **kwargs)
2024-02-06T13:56:31.947156341-05:00
2024-02-06T13:56:31.947162068-05:00   File "/opt/conda/lib/python3.10/site-packages/peft/peft_model.py", line 561, in load_adapter
2024-02-06T13:56:31.947167236-05:00     load_result = set_peft_model_state_dict(self, adapters_weights, adapter_name=adapter_name)
2024-02-06T13:56:31.947172405-05:00
2024-02-06T13:56:31.947177224-05:00   File "/opt/conda/lib/python3.10/site-packages/peft/utils/save_and_load.py", line 126, in set_peft_model_state_dict
2024-02-06T13:56:31.947184208-05:00     load_result = model.load_state_dict(peft_model_state_dict, strict=False)
2024-02-06T13:56:31.947191332-05:00
2024-02-06T13:56:31.947197478-05:00   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2152, in load_state_dict
2024-02-06T13:56:31.947205579-05:00     raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
2024-02-06T13:56:31.947212633-05:00
2024-02-06T13:56:31.947219268-05:00 RuntimeError: Error(s) in loading state_dict for PeftModelForCausalLM:
2024-02-06T13:56:31.947226881-05:00 	size mismatch for base_model.model.transformer.wte.weight: copying a param with shape torch.Size([49156, 6144]) from checkpoint, the shape in current model is torch.Size([49152, 6144]).
2024-02-06T13:56:31.947232957-05:00 	size mismatch for base_model.model.lm_head.modules_to_save.default.weight: copying a param with shape torch.Size([49156, 6144]) from checkpoint, the shape in current model is torch.Size([49152, 6144]).

@Narsil Where can I access the docker container generated by the CI?


Provide snap support

Will be really useful  to support Snap format. It's available on mutliple linux distros.
http://snapcraft.io/
This maybe need the classic approach as AdoptOpenJDK will be used by external projects and may need access to external files.
https://docs.snapcraft.io/snap-confinement/6233

Considering that "native" packages for most of the major distributions supported by Snap are forthcoming (all except Arch), what exactly would be the benefit of a Snap package? As Snaps are self-contained (and geared towards end-user apps like IntelliJ) anyway, not having AdoptOpenJDK available doesn't hinder other apps from using it. I also have doubts that Snap is popular, even on Ubuntu.

I don't know how common Snap and Flatpak are. Flatpak seems to be more "Standard" because it comes from freedesktop.org. There is also AppImage but i havn't tried this. The good thing is that these packages contain all dependencies besides base dependencies shipped with another package.
The good thing is also the bad thing. Besides general security debates about these package formats and how the integrate in Linux Distributions those packages must be updated much more often because they all ship dependencies. For every security fix in one of the dependencies the whole snap or flatpak has to be updated. There is also the problem about the integration. I don't think that it will be possible to integrate a snap or flatpak with for example the debian "update-java-alternatives".

I'm closing the issue because there does not seem to be enough demand. Please open a new issue if you think otherwise. In that case add a compelling reason why we should provide Snap packages (see reservations above).


[Proposal] Common Stats Reporter

Per https://github.com/knative/eventing/pull/1352/files#r290953838
Is there interest in refactoring the current stats reporter to have this interface:
// StatsReporter reports reconcilers' metrics.
type StatsReporter interface {
	// ReportReady reports the time it took a resource to become Ready.
	ReportReady(kind, namespace, service string, d time.Duration) error
}

This would have to be refactored a bit, but it is implemented in eventing like:
var (
	KindToStatKeys = map[string]StatKey{
		// Eventing
		"Broker": {
			ReadyLatencyKey: BrokerReadyLatencyN,
			ReadyCountKey:   BrokerReadyCountN,
		},
		"Trigger": {
			ReadyLatencyKey: TriggerReadyLatencyN,
			ReadyCountKey:   TriggerReadyCountN,
		},
		// Messaging
		"Channel": {
			ReadyLatencyKey: ChannelReadyLatencyN,
			ReadyCountKey:   ChannelReadyCountN,
		},
		"Subscription": {
			ReadyLatencyKey: SubscriptionReadyLatencyN,
			ReadyCountKey:   SubscriptionReadyCountN,
		},
		// Sources
		"ContainerSource": {
			ReadyLatencyKey: ContainerSourceReadyLatencyN,
			ReadyCountKey:   ContainerSourceReadyCountN,
		},
		"CronJobSource": {
			ReadyLatencyKey: CronJobSourceReadyLatencyN,
			ReadyCountKey:   CronJobSourceReadyCountN,
		},
		"ApiServerSource": {
			ReadyLatencyKey: ApiServerSourceReadyLatencyN,
			ReadyCountKey:   ApiServerSourceReadyCountN,
		},
	}

	KindToMeasurements map[string]Measurements

	reconcilerTagKey tag.Key
	keyTagKey        tag.Key
)

then realized with :
	for kind, keys := range KindToStatKeys {

		readyLatencyStat := stats.Int64(
			keys.ReadyLatencyKey,
			fmt.Sprintf("Time it takes for a %s to become ready since created", kind),
			stats.UnitMilliseconds)

		readyCountStat := stats.Int64(
			keys.ReadyCountKey,
			fmt.Sprintf("Number of %s that became ready", kind),
			stats.UnitDimensionless)

		// Save the measurements for later marks.
		KindToMeasurements[kind] = Measurements{
			ReadyCountStat:   readyCountStat,
			ReadyLatencyStat: readyLatencyStat,
		}

		// Create views to see our measurements. This can return an error if
		// a previously-registered view has the same name with a different value.
		// View name defaults to the measure name if unspecified.
		err = view.Register(
			&view.View{
				Description: readyLatencyStat.Description(),
				Measure:     readyLatencyStat,
				Aggregation: view.LastValue(),
				TagKeys:     []tag.Key{reconcilerTagKey, keyTagKey},
			},
			&view.View{
				Description: readyCountStat.Description(),
				Measure:     readyCountStat,
				Aggregation: view.Count(),
				TagKeys:     []tag.Key{reconcilerTagKey, keyTagKey},
			},
		)
		if err != nil {
			panic(err)
		}
	}

See https://github.com/knative/eventing/blob/master/pkg/reconciler/stats_reporter.go

Why wouldn't Ready be also a dimension? And just `Report?

Happy to make changes... it was a minor port from what serving was doing. Feedback welcome.


Yarn install process fails using windows-latest image

Description
Since the windows-latest image has been updated, I get an error when building an electron app on windows related to a package install that needs to download binaries from AWS to recompile native modules using node-gyp. This error did not occur in previous versions of the image.
Area for Triage:
JavaScript and Node.js
Question, Bug, or Feature?:
It is possible that some of the changes in the development environment changes are producing this error since with the previous version of the image and even with the 2016 version it works perfectly. How could this be solved?
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[x] Windows Server 2019

Image version
windows-latest Version: 10.0.17763 Build 1697
virtual-environments/Windows2019-Readme.md at main · actions/virtual-environments
Expected behavior
The affected package should compile normally and continue with the job process
Actual behavior
yarn install process fails. You can see the logs here:
5_yarn_install_log.txt
Repro steps
You can test it using this test repo:
https://github.com/ajmasia/vue-electron-playground

Hello, @ajmasia
I've made some investigation about your issue. The last Windows 2019 release has no any yarn changes, only Node version changes: 14.15.1 -> 14.15.4, but I don't think that it can affect your build. You can check all changes in PR: https://github.com/actions/virtual-environments/pull/2523/commits/6d4d75e7e86a12715cd888a787c2c1c25acd93df
Also I've forked your repository and tried to reproduce your build here:
https://github.com/andy-mishechkin/vue-electron-playground
I've tried to add the next code before yarn install:
```
npm config set msvs_version 2015
npm install --global --production<EMAIL_ADDRESS>After that `yarn install` step has been successful:
https://github.com/andy-mishechkin/vue-electron-playground/runs/1872289414?check_suite_focus=true
But in this case I've got the failed build of your application.
Btw, Windows Server 2016 image  contains the next Visual Studio component:
`Microsoft.VisualStudio.Component.Node.Build`, which doesn't contain in Windows Server 2019 image, because Visual Studio 2019 has no this component (https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-enterprise?view=vs-2019&preserve-view=true).
Did you really get the successful build in previous Windows Server 2019 images, or in Windows Server 2016 only ?
Thank you.

Hi @AndreyMaslennikov,
It's true that in January we were using the windows-2019 version, but since it has been updated by Github it has stopped compiling well doing an error trying to download package binaries from AWS. Currently, we have had to migrate to the windows-2016 version, and works fine!

Hi, @AndreyMaslennikov,
I add a test workflow adding your recommended tools before yarn install and works fine using the windows-latest image. You can test here: Add test workflow · ajmasia/vue-electron-playground@90cc98d
Is it possible that the error you get is due to a temporary problem with Github communications?
Thanks again!

Sounds good!
Is it possible that the error you get is due to a temporary problem with Github communications?
may be. To tell the truth I didn't check it twice.
Thanks for your response, @ajmasia
I think, we can close this ticket.
Btw, me - @andy-mishechkin, @AndreyMaslennikov - my colleague :-)


Split index packs out into a separate library. [phab:D469]

Created by zarko at 2015-08-27 01:58:22:

fromberger commented inline (context lost during migration) at 2015-08-27 03:36:52:
I don't feel strongly about it, but we called this "indexpack" in Go, and it might be worth using the same name here. Your choice, though.
(I don't care about the filename so much, though I guess it matters more in C++ because the #includes are explicit)

fromberger accepted this revision at 2015-08-27 03:36:52

zarko closed via commit eee1267b9092ae22280ea7f9c14eb1f830fcf978 at 2015-08-27 16:39:13


Inventory Challenge Toolkit resources

Add references to Challenges - Documentation
Tasks

[x] Search Sage Google shared drive
[x] Search Sage GH repositories
[ ] Add known and new manuscripts on ladder boot algorithms shared bt @echaibub

I have invited the member of the Slack channel #challenge to submit resources and documentation.

@echaibub
Hi Elias, are there recent manuscripts on Ladder Boot techniques that you think would be relevant before we start collecting use cases for the Challenge Toolkit? Thanks!

Shared by Elias:
Hi Thomas,
I went through the references of the original Ladder paper. Most of them are just either using it or arguing that it would be helpful to use it.
There are only a few methodology papers that built/extend upon it:
Zheng (2015) Toward a better understanding of leaderboard. arXiv:1510.03349. Proposes a simplification of the algorithm.
Hardt (2017) Climbing a shaky ladder: Better adaptive risk estimation. arXiv:1706.02733. Proposes an improved noisy version of the ladder.
Feldman (2019) The advantages of multiple classes for reducing overfitting from test set reuse. Shows how multiclass classifiers are less prone to overfitting than binary classifiers. (All theoretical results in the original ladder paper and the above two papers are based on binary classification.)
All the above papers provide theoretical guarantees that their algorithms will avoid overfitting of the public leaderboard. But, unfortunately, they only work when the public leaderboard holdout set is large … They do not work in small datasets …
Another algorithm that we could use if we have large datasets is the Thresholdout algorithm (Dwork et al. 2015. The reusable holdout: Preserving validity in adaptive data analysis. Science, 349(6248):636-638.) This algorithm, again, comes with theoretical guarantees and has been extended to work with AUROC metrics.
I also found a very interesting paper (Roelofs et 2019. A meta-analysis of overfitting in machine learning) with presents an empirical analysis of 120 Kaggle competitions and does not find strong evidence of overfitting to the public leaderboard. (And, therefore, suggests that standard practices we already use might work fine in practice …)


Treat attribute={true} like attribute=""

Fixes https://github.com/solidjs/solid/issues/1101 by making
 (and
 behave like
 and
 i.e. HTML Boolean attributes.
It would be good to add tests for this... but I could use help as I haven't touched the tests before.

Thanks for the PR. Not going this direction though from the conclusion of the discussion. The decision was to keep the current behavior and update SSR to reflect it.


Exclude some dependencies in jar

some dependencies are in the jar file like dependencies for unit testing which should not be included

excluded dependencies of junit and postgres on commit:
e2a65587c93d51c300d12fe445f1de854ab7ca7c
f3a1385e9fc4f0f86470e4e049043d4935f1bc3c


Copies of Records

Producing copies of records held in common portable formats when records are maintained in these formats.
Using established automated conversion or export methods, where available, to make copies in a more common format (examples of such formats include, but are not limited to, PDF, XML, or SGML).
TL;DR: Export data

https://github.com/Danny-Talor/SCE24-BioMedSW-Blood_Establishment-WPF/commit/9c95c188b2a8ed5ba51259e767ed70c8d59ce322


Poison.EncodeError when using storage_objects_insert_iodata

Hello
I am having a problem with the GoogleApi.Storage.V1.Api.Objects.storage_objects_insert_iodata method.
Please note that I am a beginner elixir usage, so if I am doing something incorrectly, I am happy to learn it.
What I am trying to do is, step by step:

I'm fetching a binary file from an url:

response = HTTPoison.get!(external_url)

I am expecting the response to be a mp4 file. I know this is a correct file, that plays properly.
In elixir, I can see that it's body is:
iex(8)> response.body
<<0, 0, 0, 32, 102, 116, 121, 112, 109, 112, 52, 50, 0, 0, 0, 0, 109, 112, 52,
  50, 109, 112, 52, 49, 105, 115, 111, 109, 97, 118, 99, 49, 0, 0, 132, 234,
  109, 111, 111, 118, 0, 0, 0, 108, 109, 118, 104, 100, 0, 0, ...>>

As I understand it, this is a binary type, and binary type is concidered an iodata type as well.
Therefore it should be accepted into storage_objects_insert_iodata.
However, when I am trying to actually do it, I receive:
iex(9)> Foo.CloudStorage.store_from_memory(response.body)
** (Poison.EncodeError) unable to encode value: <<132, 234, 109, 111, 111, 118, 0, 0, 0, 108, 109, 118, 104, 100, 0, 0, 0, 0, 216, 200, 142, 226, 216, 200, 142, 226, 0, 0, 2, 88, 0, 0, 131, 89, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>
    (poison) lib/poison/encoder.ex:209: Poison.Encoder.BitString.chunk_size/3
    (poison) lib/poison/encoder.ex:168: Poison.Encoder.BitString.escape/2
    (poison) lib/poison/encoder.ex:135: Poison.Encoder.BitString.escape/2
    (poison) lib/poison/encoder.ex:170: Poison.Encoder.BitString.escape/2
    (poison) lib/poison/encoder.ex:135: Poison.Encoder.BitString.escape/2
    (poison) lib/poison/encoder.ex:170: Poison.Encoder.BitString.escape/2
    (poison) lib/poison/encoder.ex:135: Poison.Encoder.BitString.escape/2
    (poison) lib/poison/encoder.ex:122: Poison.Encoder.BitString.encode/2
    (poison) lib/poison.ex:40: Poison.encode!/2
    (google_gax) lib/google_api/gax/connection.ex:182: anonymous fn/2 in GoogleApi.Gax.Connection.build_body/3
    (elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3
    (google_gax) lib/google_api/gax/connection.ex:178: GoogleApi.Gax.Connection.build_body/3
    (google_api_storage) lib/google_api/storage/v1/connection.ex:25: GoogleApi.Storage.V1.Connection.execute/2
    (google_api_storage) lib/google_api/storage/v1/api/objects.ex:561: GoogleApi.Storage.V1.Api.Objects.storage_objects_insert_iodata/7
    (foo) lib/foo/cloud_storage.ex:33: Foo.CloudStorage.store_from_memory/1

store_from_memory here does a call to storage_objects_insert_iodata plus some boilerplate. I don't think it's specific contents matter, but I'm happy
to share if needed.
Please note, that "unable to encode" is complaining about sub-part of the binary I am passing to the method, it begins in the 2nd row, 2 chars from the end.
It fails as well when I send it this:
<<0, 0, 0, 32, 102, 116, 121, 112, 109, 112, 52, 50, 0, 0, 0, 0, 109,112, 52, 50, 109, 112, 52, 49, 105, 115, 111, 109, 97, 118, 99, 49, 0, 0, 132, 234, 109, 111, 111, 118, 0, 0, 0, 108, 109, 118, 104, 100, 0>>

for similiarily derived substring. However I can send it different, seemingly random, binaries, and they are accepted as well.
The big picture here is: I am trying to fetch those mp4 files from an external server and reupload to google cloud. Current solution is hitting disk IO
limits, so it's fairly slow. I was hoping to bypass disk io by sending it straight from memory.
Am I doing something wrong here, or is there an error in the lib?

I actually recall creating a workaround for this before storage_objects_insert_iodata was available, and I basically just copied storage_objects_insert_simple but changed a few lines. When I tried updating to version 0.14.0 which has the storage_objects_insert_iodata function, I got this same error. After comparing the two, and running a few quick tests, I believe the culprit is add_param(:body, :data, data). In my own version I did add_param(:body, :body, data), which works presently, but only if I remove add_param(:body, :metadata, metadata) (that function wasn't present in my own workaround since I didn't need per-object ACL definitions).
The Problem
To understand why this is happening, we have to look at the build_body function in connection.ex. If we have body parameters :data and :metadata then we'll use line 174 (which is evident from the error trace) and we'll try to Poison.encode! a binary payload, which isn't a valid object for conversion to a JSON string. This makes sense: how would the Poison library know the correct way to turn the raw binary data of e.g. an audio file into a valid JSON string? It doesn't.
However, if we use add_param(:body, :body, data) and omit the metadata from the body, we instead use line 161, which simply puts the binary data, as-is, into the request body. This works.
The (Maybe) Fix
I see two immediate solutions:

Use Poison.encode in the build_body function and check for success/error. If successful, add the resulting string and set the content type to application/json. If there was an error, add the data as-is and use whatever content type the API expects for raw binary data.
Use add_param(:body, :body, data) and add the Object metadata some other way that doesn't add anything additional to the body. That will ensure the request is prepared properly. I'm not sure what the effort is to add the metadata via alternate means though, so maybe this isn't feasible.

Example of Working Code
    request =
      Request.new()
      |> Request.method(:post)
      |> Request.url("/upload/storage/v1/b/{bucket}/o", %{
        "bucket" => URI.encode(bucket, &URI.char_unreserved?/1)
      })
      |> Request.add_param(:query, :name, name)
      |> Request.add_param(:body, :body, data)
      |> Request.add_optional_params(optional_params_config, optional_params)
      |> Request.library_version(@library_version)

    connection
    |> Connection.execute(request)
    |> Response.decode(opts ++ [struct: %GoogleApi.Storage.V1.Model.Object{}])

Any chance this fix gets merged in soon?


users can mount host device in RW mode after installation

Hi, I was able to install PWD on a local Ubuntu machine. I put the steps I used into https://github.com/chunhualiao/freeCompilerCamp/wiki/Deploy-Play-With-Dock-on-a-local-Ubuntu-18.04-machine
However, users can mount host device in RW mode from within the terminal,  using the instructions documented by the first part of https://securityboulevard.com/2019/01/how-i-hacked-play-with-docker-and-remotely-ran-code-on-the-host/
[node1] (local<EMAIL_ADDRESS>~
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.0.0-32-generic root=UUID=6dd99ba4-749e-486f-9289-0b0ac9638869 ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
[node1] (local<EMAIL_ADDRESS>~

$ findfs UUID=6dd99ba4-749e-486f-9289-0b0ac9638869
/dev/sda1
[node1] (local<EMAIL_ADDRESS>~

$ mkdir /mnt1
[node1] (local<EMAIL_ADDRESS>~

$ mount /dev/sda1 /mnt1
[node1] (local<EMAIL_ADDRESS>~

$ ls /mnt
mnt/  mnt1/
[node1] (local<EMAIL_ADDRESS>~

$ ls /mnt1/
bin             etc             lib             mnt             run             srv             usr
boot            home            lib64           opt             sbin            swapfile        var
cdrom           initrd.img      lost+found      proc            snap            sys             vmlinuz
dev             initrd.img.old  media           root            src             tmp             vmlinuz.old
[node1] (local<EMAIL_ADDRESS>~

Did I miss any critical steps?  Thanks!

Now, you didn't. That's how it works by default. The environment in play-with-docker.com has some extra security and scalability features which are not part of the open source project. If you want to know more about enterprise pricing you can send me a private message.


Vision Update to Main

Nearly complete work-in-progress to bring the vision pipeline back online.

Hey @a-krawciw
Any way we can help get this merged in? Seems very useful!

Merging of real Visual Teach and Repeat back into main!
There are a few changes to the compilation workflow to support multiple pipelines.
We have decided to make sensor selection a compile-time decision. While it is possible to decide at run-time, this ensures that the code is optimized for the sensor in use, and prevents accidental subscription to multiple sensors at the same time.
Additionally, this reduces compilation time significantly because unused pipelines are skipped.

To select the pipeline at compile-time the new env variable VTR_PIPELINE has been added. Use the options LIDAR, RADAR, VISION, RADAR-LIDAR to select your preferred pipeline.
The default dockerfile uses the GPU with a full open-CV build. The OpenCV build is slow, but the hassle of removing the dependency is too high.
Config files exist for the common configurations of the robots. Testing was performed on the Warthog robot. Other robots will require new config files.


error question

ModuleNotFoundError: No module named 'data.build_mscoco_data'
how can I find this function?or this can be written by reader?

Have you followed the instructions here https://github.com/fengyang0317/unsupervised_captioning#requirements?
The file is available https://github.com/tensorflow/models/blob/master/research/im2txt/im2txt/data/build_mscoco_data.py


docs: プロンプト表示を削除

copy to clipboard ボタンで一緒にコピーされてしまうため。

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.595%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
217

Relevant Lines:
227

💛  - Coveralls


How to check if a model is V1 or V2?

Is there a way to check which version a model is if you don't know which one it is? I can't seem to figure it out.

ckpt processing tab->View model information


Update viz.clustered_scenarios to allow confidence interval plot

Updated functions _clusters_colors and _cluster_color to _get_colors and _get_alphas
Added return type to all functions in this file
Adapted the whole file to the style guide

There is an option to fill or not the area inside the confidence interval - the best visualization option may depend on the situation. The default value of :fill_confint is currently set to true:

This is how it looks with :fill-confint set to false:

Closes #464

This is how it looks with :fill-confint set to false:

I'm struggling to see where this is useful - I suggest :aggregate or :summarize (defaulting to true) which plots either the individual series or the aggregated version with filled confidence intervals.
Incidentally, I'm not against confint, but also putting ci (or CI) as an option as it's an established acronym.

This is how it looks with :fill-confint set to false:

I'm struggling to see where this is useful - I suggest :aggregate or :summarize (defaulting to true) which plots either the individual series or the aggregated version with filled confidence intervals.

100% agree.

Incidentally, I'm not against confint, but also putting ci (or CI) as an option as it's an established acronym.

I know about ci, but I really think it's better to avoid acronyms when possible.

:summarize = true
:summarize = false

@ConnectedSystems ready for another review.
About the timestep() function:
This function is already being used (line 39) when the Axis is created, BUT I have to pass an array to band! with x-axis values. You can see that the previous plots doesn't have x-axis labels. I had to use this range (line 84) to fix that. This is the final result:

:summarize = true
:summarize = false

@ConnectedSystems
I just made a small change, so this summary visualization works with other types of timeseries, not only scenarios. This is how it looks for coral cover and different sites (target cluster == 1 and non-target == 2):

Coral Cover (target high values)
Shelter Volume (target low values)

Hi @Zapiano , you don't need to merge in unrelated changes if they aren't relevant to the PR.

Hi @Zapiano , you don't need to merge in unrelated changes if they aren't relevant to the PR.

I know... it was by accident


tabline: add command for skip to tenth buffer.

Expose <Plug>AirlineSelectTab0 to jump to tenth buffer, as <Plug>AirlineSelectTab10 has same prefix with <Plug>AirlineSelectTab1 which will add an delay when you want to skip to the first buffer.

thanks looks okay. But I think we also need to do this for tabs.vim (which handles the actual tab case, while buffers handles the way when no tabs are open).

I've thought about it (quit that thought as in my view people hard to open ten tabs).
I'll have a try as people will ask why you think ten buffers is needed though I did open ten buffers yesterday, lol.
If I do this for tabs.vim, should I just commit it or squash it with my first commit by rebase?

@chrisbra I squashed it.

thanks, looks good.


Adding changes to support use monovsdbg to debug wasm apps.

Adding changes to support debug wasm apps using monovsdbg.

Tested scenarios with the new setting enabled and this PR:

With Assets and C# DevKit Not Installed targetting .NET 8 (Blazor Wasm) - DISABLED

With Assets and C# DevKit Not Installed targetting .NET 8 (Blazor Server Wasm) - DISABLED

With Assets and C# DevKit Not Installed targetting .NET 9 (Blazor Wasm) - ENABLED

With Assets and C# DevKit Not Installed targetting .NET 9 (Blazor Server Wasm) - ENABLED

With Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) - DISABLED

With Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) - DISABLED

With Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) - ENABLED

With Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) - ENABLED

Without Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) - DISABLED

Without  Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) - DISABLED

Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) - ENABLED

Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) - ENABLED

Tested scenarios only updating C# DevKit with the monovsdbg support:

Without Assets and C# DevKit Installed with C# extension without this PR targetting .NET 8 (Blazor Wasm) - DISABLED
Without  Assets and C# DevKit Installed with C# extension without this PR targetting .NET 8 (Blazor Server Wasm) - DISABLED
Without Assets and C# DevKit Installed with C# extension without this PR targetting .NET 9 (Blazor Wasm) - DISABLED
Without Assets and C# DevKit Installed with C# extension without this PR targetting .NET 9 (Blazor Server Wasm) - DISABLED

Tested scenarios with this PR and C# DevKit without the monovsdbg support:

With Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) - DISABLED

With Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) - DISABLED

With Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) - ENABLED

With Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) - ENABLED

Without Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) - DISABLED

Without  Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) - DISABLED

Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) - DISABLED

Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) - DISABLED

@gregg-miskelly can you please review again?
I think I addressed all your comments.

@gregg-miskelly I think I'm done again. If you can review again it will be great.

Did you want to update a case for the updatePackageDependencies script?
https://github.com/dotnet/vscode-csharp/blob/602cd792949d79d86333fa5cadad0aa1f3b8eb08/src/tools/updatePackageDependencies.ts#L276

Did you want to update a case for the updatePackageDependencies script?
https://github.com/dotnet/vscode-csharp/blob/602cd792949d79d86333fa5cadad0aa1f3b8eb08/src/tools/updatePackageDependencies.ts#L276

I'm using npm run updatePackageDependencies to update the webassembly package but I didn't need to change this file.


Not Found

After running the server with env RACK_ENV=production bundle exec rackup -p 4567 config.ru and connecting to <IP_ADDRESS>:4567, I only get
Not Found
...

That's expected, there is no root route.  There is nothing to view in a web browser, since this is just an API server.

Ok sorry for that I misunderstood. Since my point is to perform a 1Password import, how do I create my initial user account with bitwarden-ruby?

You can use the Bitwarden Firefox or Chrome extension.  Before logging in, click the settings icon in it and set a custom server URL of http://<IP_ADDRESS>:4567/


Mockery doesn't work as expected

I setup the mockery and fetch-mock as following code:
import mockery from 'mockery'
import fetch from 'node-fetch'
import fetchMock from 'fetch-mock'
import MyModule from './MyModule'

fetchMock.useNonGlobalFetch(fetch)
// ...
    beforeEach(() => {
      mockery.enable({ useCleanCache: true })
      mockery.registerMock('node-fetch', fetchMock.mock(pattern, 'POST', 200).getMock())
    })

    afterEach(() => {
      mockery.deregisterMock('node-fetch')
      mockery.disable()
    })

And during the test, I found the request doesn't get mocked as expected, all request hit the real server and fetchMock.called() returns false
Did I missed something or what should I do?!?!

You need to import MyModule after calling mockery.registerMock, which you can only do if using require('./MyModule'). I don't know if there are any other libraries that mock modules that deal with import better than mockery does. I doubt it though because they'd need to pretty closely coupled with babel

I realized the issue, and trying to figure out a solution.
It is kind of painful while writing test for library rather than application.
I think the only way to solve the issue is to add another abstraction layer in the lib to enable developer to inject fetch ployfill into it.
Thanks for the help anyway

I'm also having the Problem, that fetchMock does not actually mock away my request, and requests are running against real url.
I am using import fetch from 'isomorphic-fetch'; in my react action.
I cant use mockery since it does not work with Webpack (https://github.com/mfncooper/mockery/issues/37). Do you have any different Idea?

try import  'isomorphic-fetch' instead of import fetch from 'isomorphic-fetch';

Great! I then first ran into #60 but with adding require('isomorphic-fetch'); before my actual tests (e.g. loadtests.js) now everything runs smooth. You saved my day (and my code) Thanks!!

hi there,
i am currently using fetch API to get the data from the server so i am using it like this
callApi.js
import fetch from 'isomorphic-fetch';
class CallApi {
static getInfo(){
fetch(url,body).then(res=>{res.json()})
}
}
export default CallApi

and in my  other file book.js i am using like this
import CallApi from (./callApi.js)
...
.......
CallApi.then(res=>{do something})

it was working fine when i tried to unit test the book.js the fetch-mock was not mocking , so by referring this issue i have changed the way of importing
i have changed it go just
import 'isomorphic-fetch'
all my unit test worked properly when i ran in the karma environment
But the problem is when i have started the application in localhost by running the command npm start
i am not able to fetch the data from the server due this small tweak which i have done it .. I am the error like this
10:2356 Uncaught Error: Cannot find module "imports?this=>global!exports?global.fetch!whatwg-fetch"
    at webpackMissingModule (10:2356)
    at eval (10:2356)
    at Object.<anonymous> (react.js:835)
    at __webpack_require__ (react.js:713)
    at fn (react.js:118)
    at Object.eval (NavigationComponent.js?b43f:5)
    at eval (828:414)
    at Object.828 (home.js:200)
    at __webpack_require__ (react.js:713)
    at fn (react.js:118)

but i revert the changes , which is importing the fetch like this
import fetch from ''isomorphic-fetch'
my application ran perfectly but my test cases dint run .. because the fetch-mock library was unable to mock
what is the solution for this


Add dummy GPIO pins

This is an implementation of #141 to get the ball rolling.
I put everything into a single DummyPin since the level can be put into a typestate for zero cost and then it can be used for cases where the requirement is InputPin + OutputPin.
Alternatives:

Separate DummyOutputPin, DummyInputPin, DummyStatefulOutputPin.
Accept a bool on creation time for a DummyInputPin and DummyStatefulOutputPin.

r? @therealprof
(rust_highfive has picked a reviewer for you, use r? to override)

I added a changelog entry now, albeit quite short.

I mentioned that it is zero-cost and improved the documentation a bit now. Sorry for the re-review.

hmm i am not so convinced by this approach, it would seem to me to introduce ambiguity that is better expressed via the type system (which does perhaps require more exploration and documentation).
as an example, if a driver can use a pin but does not require it, i believe it should be implemented over both conditions in the manner that is correct for the device, rather than via a dummy pin that the driver cannot be aware of. i have an example of this planned, but, haven’t yet had a chance to implement it...
for the mentioned SPI case i believe further work is required to accurately represent and abstract over transactions and busses with managed or unmanaged CS pins (#180).

rather than via a dummy pin that the driver cannot be aware of

Why would the application need to be aware of a dummy pin? In the end it's always the user who needs to decide how to wire the hardware and how to configure it.
We do have dummy pins of the required type/implementing the required traits pretty in pretty much any HAL impl which is okay but not great. The larger issue here is that in generic drivers you cannot make use those so either you require the user to provide the correct types or implement the dummy pin themselves. I think having these here provides a nice and coherent addition to the traits which might also be useful to write tests, etc.

i wrote a whole thing but i don't have the time / energy to edit it and the majority of the issues are already raised by the author in #141. the cliff-notes follow, i apologise if it comes off as brisk but it's what i can manage at the moment 🙃

optional pins should be represented in the driver API

providing an unexpected dummypin to a driver violates the driver type constraints
designing drivers in this manner precludes compile or run-time decisions about pin availability (eg. use of optional IRQs if they are available)
in pretty much all existing drivers, an application providing a dummy pin would break the driver in unpredictable and difficult to debug ways, especially where the CS pin is involved

this stated issue already be expressed in a type-safe manner

via Option<T> (as detailed in #141, though still requiring a dummy type)
via trait defaults and specialisation over type constraints
both approaches (as with all the driver-author-tricks) really need to be documented

i am uncomfortable with the current PR as it would appear to me that the issues with this approach raised in #141 are not adequately addressed, and that there are better mechanisms to represent this without providing a blessed approach to functionally violate the driver type constraints. i would really like to see more discussion of the possible approaches and limitations of each in #141 before landing this (or similar), but my current feeling is:

if the issue is providing a type for use instantiating drivers that take an Option<T> there is no need for the dummy pin type to be instantiable and calling any methods could cause a panic

this seems to me to address #141, be less surprising, and brings the scope back to application use rather than impacting driver authors (who see only Some or None)
i think this would be a good candidate for inclusion here

if there is a clear reason to need this to be instantiable, then it is expressly being provided to violate type constraints which imo should be justified and treated as such

construction should be marked as unsafe, documentation should be full of warnings and should not suggest usage as except for very specific situations this will break the driver
this is unfortunately incompatible with causing a fault if it were used in an Option<T> then actually called :-(
i am unsure whether this would be better located here or in a third party crate


Fix B2C templates

I verified I can log in B2C and Individual user accounts with both, MVC and Razor.


Create an EFCore example

Create an EFCore example project to verify everything is working.

Hi,
what is the example for, can you please provide more details

We need an EFCore based application to show how the Infinispan cache layer works.
I would split this issue in two steps:

create an example application with:

an entity model. No need to be complex: this one would be ok;
an underlying DB with a schema that fits the mode. (The DB should be easy to run both on linux and windows. maybe sqlite?)
a Main method that does some insert, update, select on the model.

integrate and enable the cache layer and show that data is correctly cached. This depends from #13, which is a TODO.

@HumairaSid let me know if you need more info

Please assign to me,
Just a conformation - Are we looking for DB first approach or Code first approach

Hi,
I have started working on it, facing some issue with EFCore sqllite "table does not exist"
My code branch https://github.com/HumairaSid/EFCoreBasicCaching

Hey nice job @HumairaSid
you need to ensure that the schema is created on the DB.
Easiest way to do that is adding an EnsureCreated method call.
I've added it in your Program.cs, something like:
...
            Console.WriteLine($"Database path: {db.DbPath}.");
            // Ensure the schema is created
            db.Database.EnsureCreated();
            // Create a menu
...

and seems to work. Not sure if it's the proper place, though.
More info in the doc, i.e.: https://learn.microsoft.com/en-us/ef/core/managing-schemas/ensure-created

Sure, I am new to git hub so I am figuring out how can I contribute in this repo

@HumairaSid you can refer to this article   for opening a pull request.

@NeerajGartia21 I tried that for a moment I was able to see all my files there for merge, but I am still not sure that those are uploaded? Can you see any pull request from my side

No, there are no pull requests at this moment.
You can follow these steps :

Fork this repo.
Clone the the forked repo to your local machine.
Create a new branch.

Create a pull request from there.

Thanks, I have actually done step 4 and was missing the step to create a pull request. I hope now you can find a new pull request.
What next?

Nice!
Let us review your pull request and after that it will be merged.
You can explore other issues as well.

@NeerajGartia21 Thanks, please guide me to explore more eager to contribute and learn

@HumairaSid I've commented your PR with some change requests. Please let me know if you need more info!

closed via #14

@rigazilla Apologies, I was unable to look into it as I accidentally injured my index finger so it was tough to type. Please let me know now what needs to be done next.

@rigazilla Apologies, I was unable to look into it as I accidentally injured my index finger so it was tough to type. Please let me know now what needs to be done next.

@HumairaSid hope you recovered from your accident.
Do you want to have a look at #15 ?


Small Typo in UseCase_I Notebook

Step 3 (Filter the NED Results) in the UseCase_I notebook has a typo in the second code box.  Instead of printing out the data type of the entry (string or byte string), the code prints out the type of the object that is listed in the table, which in this case is "G".

This has been fixed in #78.


Angular structure

Angular structure

After thinking about it I don't like having to define routes in two places: once in app routes files and once in RouteService. Thats too much to do & remember :)
I upgraded RouteService to publish a RouteServiceProvider you can use instead of routeProvider to define routes that include a name, and then use RouteService.open(route_name, arguemnts) to open it. see https://github.com/domasx2/django-angular-docker-seed/commit/5affc0c9d1b9effc7a7c1e4c73c28d68d8f30c68
example:
javascript
//define route
angular.module('myapp').config(function(RouteServiceProvider) {
RouteServiceProvider.when({
name: 'home',
url: '/',
templateUrl: 'js/app/routes/home/home.html',
controller: 'HomeController',
controllerAs: 'ctrl',
});
});
//open route
angular.module('myapp').controller('HomeController', function($scope, Task, RouteService) {
this.edit = function(task) {
RouteService.open('edit-task', {id: task.id});
};
});

Could also write a matching directive to upgrade  elements, so you can write something like  instead of

edit: found a pacakge that does the same thing: https://github.com/airtonix/angular-named-routes

Regarding templates: maybe have a template folder for each separate route folder? eg routes/home/templates/*.jade. This way you don't have to spend time visually identifying similarily named js files from jade files. Anyhow, we then need a different naming scheme to src/*js*/ :)


Add support for referencing synonym routes

What I mean by this is sometimes you have two different routes that are essentially the same thing.   For example:
GET class/{classId}/student/{studentId}
GET student/{studentId}
Instead of duplicating api doc code, you could just reference the other existing route.

Closing this in favor of #213. Feel free to provide more information there.


[WIP] :sparkles: Add projects api

Add /2.0/teams/<owner>/projects API
Ref: #128
Detail
Add projects API on team.
Tasks

[ ] Check that work the projects API
[ ] Add testcases.

Coverage decreased (-0.06%) to 94.893% when pulling 8952063ab1449f633eb8c9c358a7ec666cfda599 on add_projects_apis into 121074b05877bd48b987f2f3b6c86dab696f3b25 on master.

This code does not work yet.
D, [2017-07-02T22:04:31.221510 #99958] DEBUG -- : [api.bitbucket.org] GET /2.0/teams/altabjpworks/projects (0.792 s)
/Users/hirakiuc/repos/src/github.com/hirakiuc/tinybucket/lib/tinybucket/response/handler.rb:13:in `on_complete': GET https://api.bitbucket.org/2.0/teams/altabjpworks/projects 404 {"type": "error", "error": {"message": "Resource not found", "detail": "There is no API hosted at this URL.\n\nFor information about our API's, please refer to the documentation at: https://developer.atlassian.com/bitbucket/api/2/reference/"}} (Tinybucket::Error::NotFound)
        from /Users/hirakiuc/repos/src/github.com/hirakiuc/tinybucket/.bundle/ruby/2.3.0/gems/faraday-0.11.0/lib/faraday/response.rb:9:in `block in call'
        from /Users/hirakiuc/repos/src/github.com/hirakiuc/tinybucket/.bundle/ruby/2.3.0/gems/faraday-0.11.0/lib/faraday/response.rb:61:in `on_complete'
        from /Users/hirakiuc/repos/src/github.com/hirakiuc/tinybucket/.bundle/ruby/2.3.0/gems/faraday-0.11.0/lib/faraday/response.rb:8:in `call'
        from /Users/hirakiuc/repos/src/github.com/hirakiuc/tinybucket/.bundle/ruby/2.3.0/gems/faraday_middleware-<IP_ADDRESS>/lib/faraday_middleware/response_middleware.rb:30:in

Coverage decreased (-0.06%) to 94.893% when pulling d68e39774cac7ee2e6e27505a18630111773a278 on add_projects_apis into 121074b05877bd48b987f2f3b6c86dab696f3b25 on master.

https://community.atlassian.com/t5/Answers-Developer-Questions/Will-it-be-possible-to-access-team-project-resources-for/qaq-p/506906
It looks like that the API is not provided yet to users... 😩

https://community.atlassian.com/t5/Bitbucket-questions/Can-I-use-quot-GET-2-0-teams-lt-owner-gt-projects-quot-API/qaq-p/604644#M17361

Suggest raising an issue at https://bitbucket.org/site/master/issues rather than relying on the community forum.
Thanks for the work you've done so far.

Thanks for your suggestion 👍
I'll create the issue at the https://bitbucket.org/site/master/issues if there is no answer from the community in few days.

I created a new support request and waiting for the answer...

Coverage decreased (-0.06%) to 94.893% when pulling d830a78c97b1d3159eee03890f7c085765fd3237 on add_projects_apis into 121074b05877bd48b987f2f3b6c86dab696f3b25 on master.

I received a message from Bitbucket support team and fixed the issue! 👍
This code works for me with this branch.
bucket = Tinybucket.new
bucket.teams('admin').each do |team|
  p team
  team.projects.each do |project|
    p project
  end
end

That code works for me as well!
Could you include support for finding the repos belonging to a team – /2.0/teams/{username}/repositories
https://developer.atlassian.com/bitbucket/api/2/reference/resource/teams/{username}/repositories
Thanks!

Oh, Sorry. I found your comment, just now.

Could you include support for finding the repos belonging to a team – /2.0/teams/{username}/repositories

I'll try to do that after this pull request. 😄

Perfect, thanks :)

Coverage increased (+0.2%) to 95.162% when pulling 07bc9854e978245c05b4512875b4536df69fb5ec on add_projects_apis into 121074b05877bd48b987f2f3b6c86dab696f3b25 on master.

This pull request just implements 'GET' methods only.
#131, #132 remains yet.

Coverage increased (+0.2%) to 95.162% when pulling ff12ec6a8c9eea9578c8dbc3a4fe3b35e219e69c on add_projects_apis into 121074b05877bd48b987f2f3b6c86dab696f3b25 on master.

LGTM 👍


Rendering Response message on browser

Render helpful successful import message on client
I can run my importSchema API successfully server-side and receive this helpful message when I console.log() the response:
Schema imported successfully.
Use the following HTTP header to connect to the FaunaDB GraphQL API:
{ "Authorization": "Bearer <SECRET_KEY" }

Perhaps this is forbidden due to potential security issues regarding the secret key, but I've been trying to render this message on the browser.
I can successfully receive the Response object from my API endpoint; however, when I console.log() it, what is returned is not the helpful message, but instead, an entire Response object which is void of such a helpful message.
Is there some way to replicate this "Schema imported successfully." message on the client/browser?
More context
Currently, I've been experimenting in trying to render this message on the browser using a hook like the following:
function useImportSchema() {
  const [schema, setSchema] = useState([])
  const [loading, setLoading] = useState(true)

  useEffect(() => {
    fetch('api/importSchema')
      .then(data => data.body.getReader().read())
      .then(text => {
        setSchema(text)
        setLoading(false)
      })
  }, [])

  return [schema, loading]
}

I've tried .json(), text(), and .body response objects, and none seem to be returning the desired message (excluding the full Response object returned when using body.
Any possible workarounds to still provide a success message to the user on the browser?

Looks like there are a few things coming together, including the response from fauna's api, your API function, and the browser fetch api.
I've not tried to use this proxied through an API before so will need to try a couple of things and get back!

I've had a chance to tinker today.  I can confirm that the result of importSchema function is a plain javascript string.
I am guessing that this is something in the API function.  You can share if you are okay with that and I will try to work it out with you.  I am going to close this though.
Sorry that it took this long to respond, I hope that you've got things working by now.

No worries. I did get the importSchema function to work, but never figured out a way to display similar helper text on the front-end if importing a schema was successful or not (if not, display text that says so).


Decide how to replace azcore.Credential

We've decided to shift responsibility for knowing how to use a credential from the credentials themselves to clients. This entails removing the azcore.Credential interface and its implementations (azidentity's NewAuthenticationPolicy methods). Clients will then need another way to distinguish credential types. This issue tracks exploring the proposed alternatives and choosing one to implement:

clients have one factory function per supported credential type

e.g. NewClientWithKeyCredential, NewClientWithTokenCredential

client factories use variadic config to accept different credential types

e.g. NewClient(azcore.WithTokenCredential(cred))

Option 2 won't do because failing to pass a necessary credential to a constructor should be a build error. If the constructor gets its credential via a variadic parameter, this would be a runtime error instead. Having one constructor for each credential type makes the credential and its type a clear part of the API contract, and uses the compiler to enforce that contract.
So, we'll go with more constructors, following a pattern like this:

NewClient() takes azcore.TokenCredential
NewClientWith* for any other credential type, e.g. NewClientWithSharedKey()
NewClientWithNoCredential() for anonymous authentication, where supported


Add postgreSQL adapter

Hi! I'm working on this issue now and found a problem.
 So this library's feature and familiar naming like 'user.created' are not available.
So the question is: is it OK to add a postgreSQL adapter with such limitations?

I think we can create new issue with custom separator :)
Something like:
event = Event.new(:memory, seporator: '_') # => will allow to use user_created event names

WDYT?

Well, I found a way to make naming like 'user.created' available. But still, no patterns :(
https://github.com/hanami/events/pull/67

Hey, sorry but after discussion with @jodosha, we decide to make hanami-events as a pub/sub lib with simple memory and redis adapters only. That's why I should close this issue. I'm sorry for spending you time with it 😞

hi @davydovanton I'm new to Hanami and very interested in this aspect of the framework. I use Wisper currently, and gathered that Hanami has removed Wisper in favor of a custom event API. Where is the best place to see the current status/roadmap/thoughts on this event-driven architecture for Hanami? Happy to contribute as well. Thanks!

hey, yep, we want to create pub/sup system without global state and with adapters (and ability to use custom adapters). I'm thinking about roadmap and I hope, I'll create it soon 👍

The ability to use custom adapters would be nice!


Error returned from server: UNSUPPORTED_LANG

                  ,MMMM.           Host        -<EMAIL_ADDRESS>                .MMMMMM            Machine     -  MacBookPro18,1
                MMMMM,             Kernel      -  22.5.0
      .;MMMMM:' MMMMMMMMMM;.       OS          -  macOS 13.4.1 Ventura
    MMMMMMMMMMMMNWMMMMMMMMMMM:     DE          -  Aqua
  .MMMMMMMMMMMMMMMMMMMMMMMMWM.     WM          -  Quartz Compositor
  MMMMMMMMMMMMMMMMMMMMMMMMM.       Packages    -  23 (Homebrew)
 ;MMMMMMMMMMMMMMMMMMMMMMMM:        Terminal    -  alacritty
 :MMMMMMMMMMMMMMMMMMMMMMMM:        Shell       -  zsh
 .MMMMMMMMMMMMMMMMMMMMMMMMM.       Uptime      -  14d 17h 30m
  MMMMMMMMMMMMMMMMMMMMMMMMMMM.     CPU         -  Apple M1 Pro (10)
   .MMMMMMMMMMMMMMMMMMMMMMMMMM.    Resolution  -  3456x2234@120fps (as 1728x1117)
     MMMMMMMMMMMMMMMMMMMMMMMM                     2880x5120@60fps (as 1440x2560)
      ;MMMMMMMMMMMMMMMMMMMM.                      2360x1640@60fps (as 1180x820)
        .MMMM,.    .MMMM,.         Brightness  -  46%
                                   CPU Load    -  36%
                                   Memory      -  14.5 GB/33.6 GB
                                   Battery     -  96% & Discharging

CrystalFetch
Version 1.0.0 (1)

duplicate with #6.
You need to upgrade to version 1.0.1

I didn't receive any notifications from the Apple Store to update Crystal Fetch.

according to the duplicate issue, app store version hasn't been updated. I think you can download from github release. https://github.com/TuringSoftware/CrystalFetch/releases

Thank you for your response. Can you please explain why the App Store version hasn't been updated? Is there a specific reason to download from the GitHub release?

I don't know why either. Maybe the repo owner knows more.

Duplicate of #2


How to open keyboard on appear?

How to open keyboard on appear via xamarin forms focus dosent work..

There is a method called FocusBox() that lets you set focus on the hidden text entry.
/// Calling this, will bring up the soft keyboard, or will help focus the control
/// </summary>
public void FocusBox()
{
    boxTapGestureRecognizer?.Command?.Execute(null);
}

So in your code-behind you can just call:
protected override void OnAppearing()
{
    base.OnAppearing();
    XfPinView.FocusBox();
}


Update change_me.txt

this is my first commit

I'll close this since it was for practice - but congrats on the first PR! 🎆


gomod(deps): Bump github.com/vishvananda/netlink to latest commits

Prerequisite checklist

[x] Read the contribution guidelines regarding submitting new changes to the project;
[x] Tested your changes against relevant architectures and platforms;
[x] Ran make fmt on your commit series before opening this PR;
[ ] Updated relevant documentation.

Description of changes

As no tag was made since 2022, we switch to the latest commit from their default branch.

@craciunoiuc just needs a rebase :)


Use our own hashing in getQSet  instead of relying on Stellar's

Currently we have this code:
https://github.com/bpfkorea/agora/blob/b20a58d39bc3ae3d9993fa9a69763bb85ea1a62b/source/agora/consensus/protocol/Nominator.d#L117-L119
This is used mostly here  (fetching it):
https://github.com/bpfkorea/agora/blob/e35e09a740e335f1d0695d7ddaa2ca0e9c4db966/source/agora/consensus/protocol/Nominator.d#L403-L409
(BTW, nice typo)
However, we don't need to use ByteSliceHasher and the likes, we can just hash things using our own hash function. This would avoid the underlying vector being copied also.

Can we? StellarHash is a 32-byte type, and our own hash is 64-byte.

Can we? StellarHash is a 32-byte type, and our own hash is 64-byte.

The answer is yes we can, but we need to change the Hash definition in SCPP:
diff --git a/source/scpp/src/xdr/Stellar-types.h b/source/scpp/src/xdr/Stellar-types.h
index 28ecc823..5d989d3f 100644
--- a/source/scpp/src/xdr/Stellar-types.h
+++ b/source/scpp/src/xdr/Stellar-types.h
@@ -9,7 +9,7 @@

 namespace stellar {

-using Hash = xdr::opaque_array<32>;
+using Hash = xdr::opaque_array<64>;
 using uint256 = xdr::opaque_array<32>;
 using uint32 = std::uint32_t;
 using int32 = std::int32_t;

I need to do this as part of https://github.com/bpfkorea/agora/pull/621, so I'll give this a go.

Hmm there's another problem. SCP sets its own quorum set hash:
https://github.com/bpfkorea/agora/blob/05bfe591aec457544bfe9fc8b799f592d4d6b303/source/scpp/src/scp/LocalNode.cpp#L27
and https://github.com/bpfkorea/agora/blob/05bfe591aec457544bfe9fc8b799f592d4d6b303/source/scpp/src/scp/LocalNode.cpp#L49
So the hash passed to Nominator.getQSet is the one generated by SCP (which uses xdr_to_opaque). So what Nominator does has to match what LocalNode does.
So there's two problems here:

SCP deals with SCPQuorumSet, not QuorumConfig. That's not a big problem because we can implement hashing routines for SCPQuorumSet.
SCP hardcodes the way hashing should be done on SCPQuorumSet. And then it expects the SCPDriver (Nominator) to use the same hashing in its constructor. This is leaky abstractions IMO. The hashing of SCPQuorumSet should be customizable..

I'm not sure about the best way to proceed. I could try to modify SCPP and declare a hashing function implemented on the D side. There's also the option of doing this upstream, but it requires careful design and the work might be rejected by Stellar.


Running out of space for build.

I have built all but rtsys.as in situ.
CP/M 2.2 running on an SC131.
D>zas rtsys.as
RTSYS.AS:1456:  Out of memory
I have  55302 Bytes in TPA.

Solved, see github for the new rtsys1.as and rtsys2.as, plus new make.subLadislau
On Saturday, August 14, 2021, 05:09:35 AM GMT+3, Jay Cotton @.***> wrote:
I have built all but rtsys.as in situ.
CP/M 2.2 running on an SC131.
D>zas rtsys.as
RTSYS.AS:1456: Out of memory
I have 55302 Bytes in TPA.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Choose the type of role

If the secret is in another namespace, the webhook cannot read it.
This pull request gives the possibility to choose the type of the role (Role or ClusterRole)

Manually merge and improved. Thank you @Alissia01


[AutoPR] notificationhubs/resource-manager

Created to accumulate context: notificationhubs/resource-manager

(message created by the CI based on PR content)

Codecov Report

Merging #2610 into master will decrease coverage by 0.7%.
The diff coverage is 47.34%.

@@            Coverage Diff             @@
##           master    #2610      +/-   ##
==========================================
- Coverage   56.24%   55.53%   -0.71%
==========================================
  Files        6434     6847     +413
  Lines      140006   148358    +8352
==========================================
+ Hits        78743    82391    +3648
- Misses      61263    65967    +4704

Impacted Files
Coverage Δ

...shared_access_authorization_rule_resource_paged.py
80% <ø> (ø)
:arrow_up:

...tionhubs/models/notification_hub_resource_paged.py
80% <ø> (ø)
:arrow_up:

...otificationhubs/models/namespace_resource_paged.py
80% <ø> (ø)
:arrow_up:

...re/mgmt/notificationhubs/models/apns_credential.py
30.76% <10%> (-2.57%)
:arrow_down:

...odels/notification_hubs_management_client_enums.py
100% <100%> (ø)
:arrow_up:

...icationhubs/azure/mgmt/notificationhubs/version.py
100% <100%> (ø)
:arrow_up:

...icationhubs/notification_hubs_management_client.py
100% <100%> (+2.77%)
:arrow_up:

...cationhubs/models/check_availability_result_py3.py
100% <100%> (ø)

...tificationhubs/models/check_availability_result.py
100% <100%> (ø)
:arrow_up:

...cationhubs/models/check_availability_parameters.py
100% <100%> (ø)
:arrow_up:

... and 489 more

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 3cdb837...f32c290. Read the comment docs.

@AutorestCI rebase

Rebase done and pushed to the branch

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/notificationhubs/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/notificationhubs/resource-manager/readme.md for you!!!

Nothing to rebuild, this PR is up to date