boost/dynamic_bitset/dynamic_bitset.hpp:111:20: -Wdeprecated-copy warning

clang-linux.compile.c++ ../../../../bin.v2/libs/spirit/test/qi/qi_range_run.test/clang-linux-12/release/cxxstd-11-iso/stdlib-libc++/threading-multi/visibility-hidden/range_run.o
In file included from range_run.cpp:12:
In file included from ../../../../boost/dynamic_bitset.hpp:15:
../../../../boost/dynamic_bitset/dynamic_bitset.hpp:111:20: error: definition of implicit copy constructor for 'reference' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
        reference& operator=(const reference& rhs) { do_assign(rhs); return *this; } // for b[i] = b[j]
                   ^
../../../../boost/dynamic_bitset/dynamic_bitset.hpp:306:16: note: in implicit copy constructor for 'boost::dynamic_bitset<unsigned int>::reference' first required here
        return reference(m_bits[block_index(pos)], bit_index(pos));
               ^
range_run.cpp:67:13: note: in instantiation of member function 'boost::dynamic_bitset<unsigned int>::operator[]' requested here
            bset[j-const_min] = set;
            ^
range_run.cpp:193:9: note: in instantiation of function template specialization 'acid_test<char>' requested here
        acid_test<char>();
        ^

Is this still an issue?


Account show token is not working in Firefox

Show token is not working in Firefox, but Chromium is fine.
Console error: TypeError: p.findDOMNode(...).showModal is not a function[Learn More]  app.js:1984:719
Drone: 0.6
Firefox: 53
Ubuntu 17.04

merge with https://github.com/drone/drone-ui/issues/112


Fixed MOB-1686 iOS - Video Playback Screen

Controls on video playback screen taking 5 seconds to hide

@aleffert Do i need to commit the project configuration changes too?

Closing this since it was obviated by https://github.com/edx/edx-app-ios/pull/140


LaunchbarController cleanup, too much variable unpacking.

At a second glance, it was not so bad. There was mostly handler functions and different combobox lists.


feat💥: allow for iterables of str for msg prefixes

What type of pull request is this?

[ ] Non-breaking code change
[x] Breaking code change
[x] Documentation change/addition (technically)

Description
As of right now, message commands can have dynamic prefixes via get_prefix, and that is very useful. However, the problem is that get_prefix only allows for one prefix to be returned when it is used. This results in something like this happening:
async def get_prefix(bot: dis_snek.Snake, msg: dis_snek.Message):
    prefixes = database_handler.get_prefixes(msg.guild.id) # returns a list of prefixes
    for prefix in prefixes:
        if msg.content.startswith(prefix):
            return prefix

...to which dis-snek would check again if the message's content started with that prefix. Not to mention it's just not convenient at all, especially when discord.py didn't require this (and I know we aren't discord.py, but still).
In an ideal world, you would be able to do something like:
async def generate_prefixes(bot: dis_snek.Snake, msg: dis_snek.Message):
    return database_handler.get_prefixes(msg.guild.id)

...and let dis-snek handle it from there, finding out which of the prefixes were used. That's what this PR does.
(I type a lot, don't I?)
Changes

💥 Change get_prefix to generate_prefixes for clarity.

Technically, this could be made non-breaking by leveraging kwargs when initing Snake and have it check for get_prefix if generate_prefixes is at its default. This hasn't been done before in this library, however, and I figure we're, well, in alpha, so might as well.

Allow for default_prefix to be Iterable[str], and for generate_prefixes to return Iterable[str] (they both can still use str). You can see the implementation yourself, but at the end of the day, it's just a for loop.
Import collections.abc.Iterable into client.py so things are typehinted correctly.

Checklist

[x] I've formatted my code with Black
[x] I've ensured my code works on Python 3.10.x
[x] I've tested my code

Additional Notes

Static, one-entry prefixes (aka something like "s!" passed into default_prefix and nothing else) may seem like they're being treated inefficiently, having to be added to a set of just itself and for-looped from there. However, testing revealed that this resulted in less than a millisecond of delay compared to just checking the prefix directly. It's not worth adding a special case to bypass the for loop.
Ignore the weird commit history - just squash this, please! sync_interactions being changed to be default True messed things up since I was working on this for a little while.

Ignore that little draft thing there - I mis-clicked 😅


Replacing token by suggestion is not a good idea

By using the replacement function you might replace tokens that are correct.
Let's say that you have in a sentence 2 times the token 'their'
And only one needs to be corrected by 'there' then both will be replaced by the 'Replace' function
What would be incorrect.

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

ID: e4a39e8c-61c2-834f-bdb1-88e74ada6fbb
Version Independent ID: e6a5503b-e676-6d08-74de-3aa3ec8816ba
Content: Spell Checking Using the Bing Spell Check API - Xamarin
Content Source: docs/xamarin-forms/data-cloud/cognitive-services/spell-check.md
Product: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Good point - we just did that for simplicity. Adding a note to warn other implementors, thanks!


rename sendAndCacheRequest; run [*****]

so called because it doesn't cache anything :)
Bit of cleanup tangentially related to #4655

Warnings

:warning:

:books: Remember to ensure any changes to config.private in core/base-service/base.js are reflected in the server secrets documentation

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against 1ab9983ba2337be7aa12eb73d9cf89d741a4c715

failing services unrelated


Session gets interrupted with timeout

If extension is opened for more duration than the session timeout time, the _client gets removed as the chrome.alarms.onAlarm is called.
Session can not be interrupted while the app is running, this needs a fix or clever way to prompt the user to reconnect.

Fixed in #102


The mention of "minor" release

I think interactive is really cool, but starting out the release notes with "This is a minor release" really downplays it and people might not be interested in checking it out! Technically it's correct in terms of semantic versioning, but not a great marketing strategy in my opinion~

.interactive is a big deal, but it was already in previous releases. The improvements in this release are important, but not major changes (in code terms anyway). We do need a blog post about interactive now, in any case...

I'm also waiting for communication of .interactive. My feeling is that .interactive not really being communicated much is 1. lack of resources to do so 2. the implementation needed to mature and especially with regards to Pandas DataFrame support.

the implementation needed to mature - especially with regards to Pandas DataFrame support.

That was definitely the main reason, I think it's getting there particularly as we developed the whole HoloViz tutorial around it. So now would be a good time to write a blog post about it and record some short bite-sized videos.

The issues in #646 with dataarray.hvplot.x do seem like they need addressing before such a push.


Malformed URL causing socket hang up

Steps to Reproduce:
Executing GET with a malformed URL (Note "api" misspelled as "a1pi"):
https://b65d3f4e-0fb0-4375-b39c-3d6a07e25728-southcentralus.apps.astra.datastax.com/a1pi/rest/v2/schemas/keyspaces
Causes the following on Postman:
Error: socket hang up
Request Headers
x-cassandra-token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
content-type: application/json
User-Agent: PostmanRuntime/7.26.8
Accept: /
Cache-Control: no-cache
Postman-Token: df954a9e-65ec-4c84-97a5-807cb01c4662
Host: b65d3f4e-0fb0-4375-b39c-3d6a07e25728-southcentralus.apps.astra.datastax.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Expected Outcome
Either a "500 Internal Server error", which happens if you change the misspelling from "a1pi" to "api1" or "404 Not Found" which is what you get if you misspell "rest" as "rest1".
This behavior can be challenging during development (python 3.7 using requests library (2.26.0)) as socket hang up was leading me to believe an authentication error was happening as opposed to a malformed URL.

Sorry I neglected to mention, this happens when accessing an Astra database.  So set up a free Astra database, set up the access credentials and attempt to use the REST API through postman.
If "api" is misspelled as "a1pi", you'll get a socket hang up and no status code.  Oddly enough, misspelling it as "api1" will get you a "500 Internal Server error" so something changes when evaluating URL.  Either way, I think you should just be getting a "404 Not Found" as the most clear indication of an error in the URL.

Thanks @mbiciunas for the report, we will pass this along. Most likely the request is not even reaching the Stargate, but we will inform you when this gets solved.


SFINT-4124 subjectInput Component added

SubjectInput added.
Description:
The subjectInput component is an input for the subject of the case.
Demo:
https://user-images.githubusercontent.com/86681870/141354025-154e2a8e-d143-48bf-a05d-192164c7c5cd.mov
Design file:
https://www.figma.com/file/mGZNYe9DbqIL1NO4m292PG/Case-Assist-User-experience?node-id=348%3A30227
Note:
This component will be part of the case assist cookbook and not quantic.

Made some comments for improvements. But honestly i'm not sure of the usefulness of this component as a separate component. Seems to just be an input component with some extra styling. Maybe i'm wrong though.

Simply put, we are trying to keep a 1:1 mapping between the headless controllers and the atomic/quantic components. Also, one goal of Headless is to have each controller target a very specific use case. When discussing how the Case Assist controllers and components should be split, it was decided that having separate controllers for each field would be more modular and less confusing to the developer using the library (mostly because of the reduced number of options).

Made some comments for improvements. But honestly i'm not sure of the usefulness of this component as a separate component. Seems to just be an input component with some extra styling. Maybe i'm wrong though.

Simply put, we are trying to keep a 1:1 mapping between the headless controllers and the atomic/quantic components. Also, one goal of Headless is to have each controller target a very specific use case. When discussing how the Case Assist controllers and components should be split, it was decided that having separate controllers for each field would be more modular and less confusing to the developer using the library (mostly because of the reduced number of options).

Oh so this component will house a headless case-input controller? makes more sense then thanks


Clean up biblio

File names are a mess, and not sure all papers are relevant.

No longer shared on GH


Size of the whole bundle is large - proposal

Hi!
It appears that the whole bundle has lots of repeating code (looking at https://cdn.jsdelivr.net/npm/@zeit-ui/vue-icons@latest/dist/index.umd.min.js).
I think it is because currently the package consists of multiple files that don't share common code:

icon
icon
icon

AFAIK the only difference between each icon's Vue component - is the SVG path data while the rest of the code is common between all icons, but it still gets duplicated because they're all separate files...
What if the icon would be made into a component that would take the SVG paths from a set of files that just export SVG paths instead of complete SVG code?
Like this:

icon.vue

paths (folder)

twitter.js
facebook.js
otherIcon.js

Icon.vue would take in icon name as param and import that icon's path data
Files like twitter.js would only contain array of paths:
export default ['M22 12h-4l-3 9L9 3l-3 9H2', 'M12 15l5 6H7l5-6z']

This is just a proposal. Basically instead of a bunch of files with common code, you'd only end up with single Vue component that can import only the paths. Obviously, it would be a breaking change between previous version, but can significantly reduce the size of the bundle.
Let me know what you think about this!

Good point.
Unfortunately, not all SVGs are standard. The stork and fill or other attributes are filled dirrerently, and some SVGs use circle:
// svg1
<svg stroke="currentColor" fill="var(--geist-fill)"></svg>

// svg2
<svg stroke="var(--geist-stroke)" fill="none"></svg>

// svg3
<svg stroke="var(--geist-stroke)" fill="none">
  <circle cx="12" cy="12" r="10" fill="var(--geist-fill)"></circle>
</svg>

If we use abstract text to describe the template of multiple conditions, the volume of their meta information is very close.
But you proposal is very good, there are still a few attributes and scripts that can be abstracted. I'll try to  optimizing their volume later, when I have a minimum available version, I will create a new PR link to here.

The icon library of React needs similar optimization: issue#8

Version 3.1.0-rc.4 has been released.
min.js
diff changes

Thanks @unix ! This is a big improvement already. Nice job!
Btw, I don't know if you already ran the icons through SVGO, but it looks like it's possible to convert circles to paths (if you want all icons to only have paths) and also trim to single decimal instead of two decimals without affecting quality.

@msurguy
Brilliant! This repo can make us better, I will  continue to test and improve them.
I will remind you here if we have any new changes in optimization.

@unix I moved the files into svg-raw and ran the repo through SVGO CLI tool with this config.yaml in the root of the project:
plugins:
  - cleanupNumericValues
  - convertShapeToPath
  - convertEllipseToCircle
  - collapseGroups
  - convertPathData
  - convertTransform

svgo -p 1 -f svgs-raw -o svgs --config=config.yaml
The size of optimized SVG folder is now 123kb (vs 172kb unoptimized) and they appear to be working the same way as before. Feel free to use that config and maybe put it into your pipeline :)


assessSI from a concrete date does not work

When the date "from" parameter is specified, the dashboard tries to look for the historical metrics of that day, if there are no values, it cannot do the factor assessment. The same thing in going on for the case of strategic indicators.
To correct this behavior, when this case is taken, we can take the last values calculated of metrics or factors and proceed with factor or strategic indicators assessment.


<EMAIL_ADDRESS>has released

Update peerDependencies in package.json.
https://github.com/graphql/graphql-js/releases/tag/v14.0.0

I pushed version 3.6.1 which adds support for it:)


Add support for minZoom and maxZoom

Simple fix to pass minZoom and maxZoom properties to the underlying Leaflet.VectorGrid instance...

Thanks @gendronb for contributing.


DCP-3473 Enable Welsh toggle in prod

Proposed changes
What changed
Enable Welsh toggle in int and prod
Why did it change
Switching on for Welsh toggle go-live
Issue tracking

DCP-3473

HOLD until we get the green light


Github actions

Changes:

switched to github actions
added app configs and unique labels for all 3 test apps
made migration files for test apps so dependencies can be resolved
i switched from ambition timezone field to the regular timezone field and pinned it to a slightly older version. this is to keep support for tzinfo and use a new enough version to work with django>=4.

Bug fixes

There was a bug with some new rrule code where it was calling a function with the wrong number of arguments

Other

There were lots of flake issues that were resolved, mostly whitespace issues
I had to lower the coverage to 99% because there was apparently some code added last year in the postgres lock app that doesn't have tests, but it was during that period where we couldn't get things to run on travis-ci.

@geophphrie we talked recently about the timezone field project, and i can't remember what you concluded. do we need the fork anymore, or are we fine switching to the main project?

@tylerneu @geophphrie i went back and revisited the original timezone field pr to see why it was ever forked. in an old version of django, they changed how custom model fields were handled when you access them. here is the relevant change https://github.com/ambitioninc/django-timezone-field/pull/1/files#diff-045103e563771678972ccf52a093454db0843a046fdde3054fdd0e878eda6559
previously, if you set model.field = 'string' then accessed model.field, it would cast it and return the object. in this case it would return a timezone object instead of a string. at some point during django upgrades, they changed this behavior to return the string instead of casting it to an object, so this code was meant to maintain backwards compatibility. our other custom fields like kmatch and regex fields do the same thing. ideally we need to just update all of our code to make sure it can work with the newer django behavior, but i am torn on the best solution here.

here is what i am thinking for a solution:

add a field mixin in ambition-utils that has contribute_to_class, which uses CastOnAssignDescriptor
subclass TimeZoneField and make use of the mixin
update all TimeZoneField usages to use our subclass across our projects for any of them that are using our forked project
update other custom fields (regex, kmatch) to use the mixin

this will consolidate all of the CastOnAssignDescriptor code and we can abandon our timezone field fork. @geophphrie thoughts?

there is one more change in our fork with the field's valid choices where the default choices are changed to allow "all" instead of "common" time zones. rather than making that change on the class itself, the field is designed to allow a choices kwarg to be passed to the field. we can just update our usages to choices=x where x is a reference to all time zones.

accidentally pushed this from develop, so closing in favor of https://github.com/ambitioninc/ambition-utils/pull/69


Update version: Cube.CubePlatform version <IP_ADDRESS>

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Manifest Error: Duplicate installer entry found.


Pretraining performance on Megatron

Hi all!
Since the initial training is based on Mindspore, I'm wondering if there is any training result for the first stage on the Megatron.

Hi all!
Since the initial training is based on Mindspore, I'm wondering if there is any training result for the first stage on the Megatron.

Hello, i'm wondering how to initial training on Mindspore, which script should be executed? Thanks for your help!


Fixed box.search.new

box.search.new was throwing a TypeError because of the way the uri was being encoded, also NPM was failing to install because package.json had a trailing comma.

Thank you!


I wanto to ask if it is possible to send only text with this plugin

You can save the text into a file stored on the phone, then upload from there.


Config crashing game

I'm using csgosimple to develop my hack but i cant seem to get the config system to work
every time i click save it crashes with some error in the file xstring
https://imgur.com/a/0mDE04L
any ideas?

show the full debug info (call stack)

Here you go https://imgur.com/a/e70CE1w
The fout works cause the config file gets created in my game folder so my guess is it's the bytestostring function, i have no idea though

Solved the problem, i had a uint32_t in my options which was causing the exception. Replaced with regular int and problem went away


Log Compression & Sharpen may not be correct methods in processing.py

Fixed sharpening. Log Compresion still needs work


Binary search

Binary search in O(log n)

great work bro thanks for contributing pls star this repository and follow me ur pr will be merge


Add system test support

@CoolSpy3, hold off on reviewing this. I just realized I did it wrong and what I thought was success was a false positivie.

@CoolSpy3, hold off on reviewing this. I just realized I did it wrong and what I thought was success was a false positivie.

@CoolSpy3, should be fixed now.

@CoolSpy3, should be fixed now.

Ok, @CoolSpy3 , I think this is finally ready for review.

Ok, @CoolSpy3 , I think this is finally ready for review.

@brettle I'm running into a problem building your PR. When trying to run the example project, the systemTest task hangs indefinitely :/ Here's the build log.

> Task :licenseReport
Wrote HTML report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.html.
Wrote JSON report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.json.
HAL Extensions: Attempting to load: halsim_gui
Simulator GUI Initializing.
Simulator GUI Initialized!
HAL Extensions: Successfully loaded extension
HAL Extensions: Attempting to load: halsim_ds_socket
DriverStationSocket Initializing.
DriverStationSocket Initialized!
HAL Extensions: Successfully loaded extension
HAL Extensions: Attempting to load: halsim_ws_server
Websocket WS Server Initializing.
Listening at http://localhost:3300
WebSocket URI: /wpilibws
Websocket WS Server Initialized!
HAL Extensions: Successfully loaded extension
********** Robot program starting **********
Telling WebotsSupervisor that we're ready
Waiting for WebotsSupervisor to be ready

> Task :example:systemTest
If you receive errors loading the JNI dependencies, make sure you have the latest Visual Studio C++ Redstributable installed.
That can be found at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Waiting for simulation to finish...
<==========---> 82% EXECUTING [5m 23s]
> :example:systemTest
> IDLE```

@brettle I'm running into a problem building your PR. When trying to run the example project, the systemTest task hangs indefinitely :/ Here's the build log.

> Task :licenseReport
Wrote HTML report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.html.
Wrote JSON report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.json.
HAL Extensions: Attempting to load: halsim_gui
Simulator GUI Initializing.
Simulator GUI Initialized!
HAL Extensions: Successfully loaded extension
HAL Extensions: Attempting to load: halsim_ds_socket
DriverStationSocket Initializing.
DriverStationSocket Initialized!
HAL Extensions: Successfully loaded extension
HAL Extensions: Attempting to load: halsim_ws_server
Websocket WS Server Initializing.
Listening at http://localhost:3300
WebSocket URI: /wpilibws
Websocket WS Server Initialized!
HAL Extensions: Successfully loaded extension
********** Robot program starting **********
Telling WebotsSupervisor that we're ready
Waiting for WebotsSupervisor to be ready

> Task :example:systemTest
If you receive errors loading the JNI dependencies, make sure you have the latest Visual Studio C++ Redstributable installed.
That can be found at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Waiting for simulation to finish...
<==========---> 82% EXECUTING [5m 23s]
> :example:systemTest
> IDLE```

You need to be running Webots with the world in the example open.
--Dean
On Tue, Jan 12, 2021, 6:17 PM CoolSpy3<EMAIL_ADDRESS>wrote:

@brettle https://github.com/brettle I'm running into a problem building
your PR. When trying to run the example project, the systemTest task
hangs indefinitely :/ Here's the build log.

Task :licenseReportWrote HTML report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.html.Wrote JSON report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.json.HAL Extensions: Attempting to load: halsim_guiSimulator GUI Initializing.Simulator GUI Initialized!HAL Extensions: Successfully loaded extension       HAL Extensions: Attempting to load: halsim_ds_socketDriverStationSocket Initializing.DriverStationSocket Initialized!HAL Extensions: Successfully loaded extensionHAL Extensions: Attempting to load: halsim_ws_serverWebsocket WS Server Initializing.Listening at http://localhost:3300WebSocket URI: /wpilibwsWebsocket WS Server Initialized!HAL Extensions: Successfully loaded extension********** Robot program starting **********Telling WebotsSupervisor that we're readyWaiting for WebotsSupervisor to be ready

Task :example:systemTestIf you receive errors loading the JNI dependencies, make sure you have the latest Visual Studio C++ Redstributable installed.That can be found at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloadsWaiting for simulation to finish...<==========---> 82% EXECUTING [5m 23s]
:example:systemTest
IDLE```

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DeepBlueRobotics/WPILibWebSocketsToWebots/pull/32#issuecomment-759158515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA43MBG4PFZZ2CKO66BR73SZT7EHANCNFSM4VZ6CVLA
.

You need to be running Webots with the world in the example open.
--Dean
On Tue, Jan 12, 2021, 6:17 PM CoolSpy3<EMAIL_ADDRESS>wrote:

@brettle https://github.com/brettle I'm running into a problem building
your PR. When trying to run the example project, the systemTest task
hangs indefinitely :/ Here's the build log.

Task :licenseReportWrote HTML report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.html.Wrote JSON report to file:///A:/FRC/2021/WebotsWebSocketsImpl/build/reports/licenses/licenseReport.json.HAL Extensions: Attempting to load: halsim_guiSimulator GUI Initializing.Simulator GUI Initialized!HAL Extensions: Successfully loaded extension       HAL Extensions: Attempting to load: halsim_ds_socketDriverStationSocket Initializing.DriverStationSocket Initialized!HAL Extensions: Successfully loaded extensionHAL Extensions: Attempting to load: halsim_ws_serverWebsocket WS Server Initializing.Listening at http://localhost:3300WebSocket URI: /wpilibwsWebsocket WS Server Initialized!HAL Extensions: Successfully loaded extension********** Robot program starting **********Telling WebotsSupervisor that we're readyWaiting for WebotsSupervisor to be ready

Task :example:systemTestIf you receive errors loading the JNI dependencies, make sure you have the latest Visual Studio C++ Redstributable installed.That can be found at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloadsWaiting for simulation to finish...<==========---> 82% EXECUTING [5m 23s]
:example:systemTest
IDLE```

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DeepBlueRobotics/WPILibWebSocketsToWebots/pull/32#issuecomment-759158515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA43MBG4PFZZ2CKO66BR73SZT7EHANCNFSM4VZ6CVLA
.


Downloading Errors On Some Music Files

Some downloads just go really fast, while others take their time. It acts like these downloads finish, and creates an .mp3 that's the same name as the download. These songs are unplayable and corrupt.

please make a tutorial picture for windows i have a folder in the scripts folder but no work, im no a expert


undefined symbol: EVP_PKEY_get_utf8_string_param

Hello...
When I want load module from nginx.conf, test failed and I have this error "undefined symbol: EVP_PKEY_get_utf8_string_param" and I don´t know Why I can´t enable module. Do you know something why?

It may depend on the version of OpenSSL.
Please provide build and runtime environment details.
The target seems to be a deprecated low-level key parameter getter function, so we will consider refactoring.

Hello! Thanks for answering. How do I give you build and runtime environnent? How do I see that?

Please describe your environment (OS, library version, etc.) and the steps you took so that we can reproduce it.

Sorry for the delay, I've installed Jannson, everything ok. When I wanted to install nginx with module, this needed openssl. I install openssl with package downloaded from openssl.org, and don´t recognize. Then, I install libssl-dev and install nginx.
Debian GNU/Linux 11 (bullseye)
nginx-1.25.3
jansson-2.14
libssl-dev/oldstable,now 1.1.1w
openssl 3.2.0

Is the version of libssl that nginx links to 1.1.1w?
Is the module built with OpenSSL 3.2.0 and executed with 1.1.1w?
If so, of course it won't work.

After I've installed openssl 3.2.0, for built it asked me for openssl. Didn't recognize the installatio. Later, i've installed libssl from repositories and it proceed to built, to finish configure (./configure). I think that was configured with libssl-dev and not openssl 3.2.0. Do you recommend to build again?

I assume you used libssl-dev instead of OpenSSL 3.2.0?
I would also like to know what you installed from where, as it seems to be different from the default package version.
If possible, please provide (re-) build instructions.

Are you sure you are not building with OpenSSL 3.2.0 and running with 1.1.1w ?
src/jwt/jwt-openssl.c :
    260 #if OPENSSL_VERSION_NUMBER >= 0x30000000L
    261     char curve_name[64];
    262     size_t curve_name_len = 0;
    263     EC_GROUP *ecgroup;
    264
    265     if (!EVP_PKEY_get_utf8_string_param(pkey, OSSL_PKEY_PARAM_GROUP_NAME, curve_name, sizeof(curve_name), &curve_name_len))
    ...
    408 #if OPENSSL_VERSION_NUMBER >= 0x30000000L
    409     char *curve_name[64];
    410     size_t curve_name_len = 0;
    411     EC_GROUP *ecgroup;
    412
    413     if (!EVP_PKEY_get_utf8_string_param(pkey, OSSL_PKEY_PARAM_GROUP_NAME, (char *)curve_name, sizeof(curve_name), &curve_name_len))

EVP_PKEY_get_utf8_string_param() is only used with OpensSSL 3

I solved! I've uninstalled openssl 3.2.0 and re-compiled. The issue was solved. Later I wrote "load_module" at top of code out of http{}. Any error display. Thanks a lot for your advice and answering.


design doc to use optimized OSD store

This design doc contains information on how OCS operator can be used to update OSD store for new and existing ODF customers using Regional Disaster Recover

/override ci/prow/ci-bundle-ocs-operator-bundle

/override ci/prow/ocs-operator-bundle-e2e-aws


luci-lib-docker: fix chunked decode

cherry-pick form lisaac/luci-lib-docker/commit/98a6634
@feckert
Signed-off-by: Ren Zongjia<EMAIL_ADDRESS>

Can you please write an explanation? Why we need this now. Unfortunately, there is nothing in the upstream commit.


Added 4 python programs

Added 4 python programs. Pls check and merge my PyPy !

You have conflicting files, please sync your fork before contributing.
Also, all 4 of these files will count as 1 pr


The pre selected values show up in the Text Field but are not selected when the dropdown menu opens up.

Hi Sharlaan,
Great work.
I have been using it for last 1 month and wotks great. Now I have a requirement where I need to show a list of pre-seleced elements. The user can select more or deselect any of the select ones.
The pre selected values do show up in the Text Field but are not selected when the dropdown menu opens up.
Is this a bug?
Regards
Abhishek

Yes definitely a bug.
Now have to find out the cause: can you show more code on how you implemented it please ? So i can reproduce before trying to pinpoint the cause, thanks.

import SelectField from '../../components/SelectField'
  handleSelection = (values, name) => {
      this.state.workfile.staffs = values
      this.forceUpdate()
    }

<SelectField
name='value2' multiple
hintText='Staff Access'
onChange={this.handleSelection}
value={this.state.workfile.staffs}
menuStyle={{height:'350px', maxHeight: '230px',overflowY:'auto'}}
innerDivStyle={{fontSize:'14px', height:'15px'}}
style={{ color:Colors.grey800, height:'60px', fontSize:'17px'}}>
                          {itemStaff}
                        </SelectField>

Please let me know if you need anything else

Never ever use forceUpdate(), means almost always an architecture problem
never mutate state directly

this.state.workfile.staffs = values

should be :
const workfile = { ...this.state.workfile } // neutral copy
workfile.staffs = values
this.setState({ workfile })

tell me if it works better ?

Thanks for the advice. I did some reseacrh on this and now understand the importance of it. Wont mutate state directlty again. Thanks.


Question: what is the purpose of schema?

I'm seeing the schema in swagger, as well as used in the rswag gem, but I don't understand its purpose.  Is it to test the results of a call?  When is it required?  Is it ever advisable to leave it off?

You can use schema to indicate the expected structure (JSON Schema) of the response payload for a given status code. If it's included and you use run_test or assert_response_matches_metadata as described in the readme, then rswag will automatically validate the structure of the actual response payload against that schema. If your testing an operation that does return a payload, you should use schema to describe it.


Metal iOS

Great framework!
Is the usage of Metal already possible on iOS? I'm trying to run the Phi example on iOS and I can only get it to work with a CPU device but not with Metal. MTLStorageModeManaged isn't available on iOS.

I've never tried compiling for iOS but this issue seems related #1759

Have had a try at it here but something based on candle-examples/examples/phi is generating mostly blank tokens on my iPad. Not sure what the issue is at this point. TBC

Thanks a lot @LaurentMazare for the great work.
I tried running it on iOS and as the OP noted, it works well but only on CPU.
When using the GPU, the Metal code crashes because candle is explicitly using MTLResourceOptions::StorageModeManaged in a few places. The managed mode is not available on iOS and tvOS so the code panics.
I tried simply changing it to be shared everywhere, but that also panics because shared has a buffer size limitation of 256MB.

ref https://github.com/huggingface/candle/issues/2322 ... @filipw i've stumbled upon the same issue, did you eventually manage to make it work on iOS?

I'll report here my comment on #2322 because I think it's super relevant and might be a very good lead to fix the issue:
After a bit of digging into Apple MLX and especially how they handle buffer allocation on both macOS and iOS, I found this https://github.com/ml-explore/mlx/blob/main/mlx/backend/metal/allocator.cpp#L207
You will see that all allocations are centralized there and they always and only use ResourceStorageModeShared (you won't find references to other storage modes in their metal backend). So it seems like on iOS at least, managed buffers are not needed. It makes sense if we think about it as Metal on macOS must support both Intel (where GPU and RAM are not unified) and Apple Silicon, while Metal on iOS only cares about unified memory, hence no syncing needed / supported.
Looking forward for your thoughts.


379 preview repeat

implemented previewRepeat to repeat preview animation
implemented previewRepeatDelay to change the delay between repeats
fixed a type
removed some unused imports
updated ts
updated readmes for new logic
refactor animation into its own function
added logic to remove preview repeat on change of previewRepeat

summary:

reverted changes
refactored total time delay into a state on prop change to clean it up a bit
prevState.timeBetweenPreviewRepeats =           nextProps.previewDuration * 2 +           nextProps.previewOpenDelay +           PREVIEW_CLOSE_DELAY +           nextProps.previewRepeatDelay; So we take the duration that applied on open then close, so * 2 and then we need to add the open and close delay to get the "total animation timing" then we add the prop for the repeat delay on the end.
moved out an initial call to animation as i derped and thought settimeout fires THEN timer kicks in. it does not opps.

I agree the first implementation wasnt right, i missed the previewDuration being applied on open then close rather than being so magic for the total open + close. So now  300 + (700 * 2) + 300 = 2000 ms + delay prop. As far as i can tell it works well now.
Let me know if you notice any other issues
Thanks!


Assign buildNumber as bundle number for Dev Build

Issue #, if available:
The bundle number for dev bundles currently are defaulted to 1. This prevents us from running E2E test for workload cluster creation with previous minor release when management cluster is created from main, as there is a pre-flight validation checking the bundle numbers of workload and management cluster. This change assigns the build number as bundle number for dev builds.
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/lgtm

/approve


chore/playground: replace all uses of eval with safe alternatives

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


Please allow monetary contributions for this project

I've been hammering my head for a whole day trying to make a 3rd party application written in Erlang to work behind a reverse proxy when everything looked just fine an the application logging was enough at best
This container did help me to understand what this app was expecting to see and how... and oddly how much (it didn't like multiple values on the X-Forwarded-* headers) xD
I'll happily pay for a coffee/beer is you provide a way for doing this ;)

Paypal
https://github.com/sponsors

Hey it's really nice to hear stories like yours, because it's motivating to know that the tool is useful!  I'm not familiar with Erlang, but when I looked it up it seems to be behind some well known projects like RabbitMQ, CouchDB, very interesting.
I won't say no to coffee! if you'd like, you can send to my Paypal which is<EMAIL_ADDRESS>Thanks!


check if current user still holds the write lock when upload changes

iTwin/itwinjs-backlog#1170
There is a possible scenario that two users try to upload local changes to the same cloud container:

User1 grabs the write lock and sit there for a very long time. User1 does not release the write lock even after it has expired
User2 grabs the write lock after User1's write lock expires, and upload something to the cloud container
User1 then tries to upload changes,  we should disable User1 from uploading his changes because the write lock has expired

However, if there are no other users grab the write lock after User1, we allow User1 to upload changes(and refresh the write lock) even if the write lock has expired.
Tests are added in itwinjs-core
itwinjs-core: https://github.com/iTwin/itwinjs-core/pull/7000

If CloudSqlite throws an exception and the operation fails (unable to upload changes), it is likely that iModelDb will execute abandonChanges(). However, the CloudSqlite local cache may still contain changed blocks.
If an exception is thrown and the application exits, then restarts with the same iModel, the local cache might still have dirty pages.
To abandon changes in the local cache when abandoning changes on the iModel, you would need to ensure that the local cache is also cleared or synchronized to reflect the abandonment of changes.
Is there a method on ClouldSqlite that i can call in SchemaSync to discard any changes after sync operation but before upload?

If CloudSqlite throws an exception and the operation fails (unable to upload changes), it is likely that iModelDb will execute abandonChanges(). However, the CloudSqlite local cache may still contain changed blocks.
If an exception is thrown and the application exits, then restarts with the same iModel, the local cache might still have dirty pages.
To abandon changes in the local cache when abandoning changes on the iModel, you would need to ensure that the local cache is also cleared or synchronized to reflect the abandonment of changes.
Is there a method on ClouldSqlite that i can call in SchemaSync to discard any changes after sync operation but before upload?

Not sure if I understand this correctly, but there is another abandonChanges() in CloudContainer(JsCloudSqlite.cpp/IModelJsNative/JsCloudContainer/AbandonChanges()) which is used to abandon/revert all changes in the local cache. In SchemaSync we have nativeDb object so we can all nativeDb.cloudContainer?.abandonChanges() to discard all changes in local cache.

Thanks for pointing me to that method. I will update schema import code to call it when schema import fails.


go generate is broken inside mixer/adapter

Bug description
I'm following this tutorial: https://github.com/istio/istio/wiki/Mixer-Out-of-Process-Adapter-Walkthrough but unfortunetaly, when executing go generate ./... inside my mixer adapter directory ($ISTIO/istio/mixer/adapter/mygrpcadapter) I got the following error:
/common-protos: warning: directory does not exist.
gogoproto/gogo.proto: File not found.
mixer/adapter/mygrpcadapter/config/config.proto:6:1: Import "gogoproto/gogo.proto" was not found or had errors.
mygrpcadapter.go:18: running "/Users/damian.pacierpnik/workspace/golang/src/istio.io/istio/bin/mixer_codegen.sh": exit status 1

when I execute go generate ./... -v from the mixer adapter directory ($ISTIO/istio/mixer/adapter):
can't load package: package -v: malformed module path "-v": leading dash
stat /mixer/tools/codegen/cmd/mixgeninventory/main.go: no such file or directory
doc.go:16: running "go": exit status 1
bypass/bypass.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
circonus/circonus.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
cloudwatch/cloudwatch.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
denier/denier.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
dogstatsd/dogstatsd.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
fluentd/fluentd.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
kubernetesenv/kubernetesenv.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
list/list.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
memquota/memquota.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
/common-protos: warning: directory does not exist.
gogoproto/gogo.proto: File not found.
mixer/adapter/mygrpcadapter/config/config.proto:6:1: Import "gogoproto/gogo.proto" was not found or had errors.
mygrpcadapter/mygrpcadapter.go:18: running "/Users/damian.pacierpnik/workspace/golang/src/istio.io/istio/bin/mixer_codegen.sh": exit status 1
opa/opa.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
prometheus/prometheus.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
redisquota/redisquota.go:20: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
signalfx/signalfx.go:18: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
solarwinds/solarwinds.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
stackdriver/stackdriver.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
statsd/statsd.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
stdio/stdio.go:16: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory
zipkin/zipkin.go:15: running "/bin/mixer_codegen.sh": fork/exec /bin/mixer_codegen.sh: no such file or directory

I saw similar issue, which is already closed: https://github.com/istio/istio/issues/4307 however I still get this error.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[X] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[X] User Experience
[X] Developer Infrastructure
Expected behavior
I should be able to generate code for the adapter from the tutorial.
Steps to reproduce the bug
Follow the following tutorial https://github.com/istio/istio/wiki/Mixer-Out-of-Process-Adapter-Walkthrough on MacOS. Error occurs in Step 2: Write adapter configuration when executing go generate ./....
Version (include the output of istioctl version --remote and kubectl version)
Istio source code revision: 20a7a7f0cc072b2aa23ba919a9e6acdc587e4823

@geeknoid @kyessenov

Sorry, the wiki is out of date. I'll go fix it.
To generate code, you now need to go to the top of the repo and do:
BUILD_WITH_CONTAINER=1 make gen
The BUILD_WITH_CONTAINER=1 part is temporary, we'll hopefully get rid of that soon.

I've updated the wiki.

Thanks for fast reply!

There must be other stuff broken in the example then. I haven't looked at this stuff in a long time, but I'll spend some time today walking through the example and figure out the problem.

I've updated a few more things that were out of date on the Wiki, but I don't have time at the moment to run through the whole example to make sure it's working.
@bianpengyuan Can you lend a hand here with any further problems?

@geeknoid Sure I will run through the example.

@mgwizdz-jamf It works fine for me now, let me know if you still have any issue.

@bianpengyuan yeah right now it works fine for me too. Thanks for help


Feature Request: We should be unsetting default values from "update = true" input types

According to the docs (https://graphqlite.thecodingmachine.io/docs/input-types) when you use an update=true input type, it removes default parameters:

Note that update: true argument for UpdateUserInput. It should be used when input type is used for a partial update, It makes all fields optional and removes all default values

Inspecting the GraphQL schema proves that this is the case - default parameters exist for the "create" input type, and do not exist for the "update" input type.
However, the actual PHP "update" input object still has the default parameter.
Full example:
/**
 * @GraphQL\Input(name="CreateBlogPostInput", default=true, update=false)
 * @GraphQL\Input(name="UpdateBlogPostInput", update=true)
 */
class BlogPostInput {
	/**
	 * @GraphQL\Field
	 */
	public string $title;

	/**
	 * @GraphQL\Field
	 */
	public string $content;

	/**
	 * @GraphQL\Field(inputType="Boolean")
	 */
	public bool $published = true;
}

The GraphQL schema for CreatePostInput is generated as:
title: String!
content: String!
published: Boolean = true

The PHP object will default $input->published to true if it's not passed in.

The GraphQL schema for UpdatePostInput is generated as:
title: String
content: String
published: Boolean

However, the PHP object will still default $input->published to true if it's not passed in.
I believe that for the Update input, we should unset($input->published) in this case, which would make it null/not initialised depending on the PHP version.

If people agree, and can point me to the area, I can have a poke at implementing this.

@MattBred absolutely.  I don't think this functionality is widely used yet.  There were many things holding people back from really implementing the input types using #[Input].
That said, I'm confused as to why published would be false for the CreatePostInput.  I'm assuming you meant true?
Regarding an "update" input type, can we never hydrate the property in the first place?  Also, I'm not sure how property hydration is handled when there is a constructor for "update" inputs.  That's a scenario we should look into.  The type resolver typically attempts to construct the object with field/arguments first, then hydrates the remaining properties.
At any rate, I agree that we shouldn't be defaulting to false.

@oojacoboo
Whoops, yeah I meant true - just edited my post to fix that.
Totally makes sense to not even hydrate the field in the first place - I'm not sure how the whole flow of the input class gets created, but that would be the most ideal solution for sure.
Kind of a side note, but we have been using the pattern of public typed properties on our input types with no constructors quite well. The only downside we've come across is that if you can have a legitimate null value, it's difficult to check if it's been passed in with PHP as it doesn't have a native is_initialized type of function, and will throw an error if you check an un-initialized property.
To get around this, we've developed an ugly is_initialized function ourselves that takes in a closure, tries executing it, and catches the exception & returns true/false. e.g.
function is_initialized(\Closure $check): bool
{
	try
	{
		$check();
	}
	catch (\Error $e)
	{
		// str_contains() not available until PHP8+ use strpos() instead.
		if (strpos($e->getMessage(), 'must not be accessed before initialization') !== false)
		{
			return false;
		}
		throw $e;
	}
	return true;
}

$fieldSet = is_initialized(fn () => $input->published);

@MattBred checkout TheCodingMachine\GraphQLite\FieldsBuilder.

I've completely changed this code in #466 i think i should be able to fix this if i have a clear idea of what is actually expected instead.

@MattBred the update feature is inspired by this: https://github.com/graphql-dotnet/conventions/issues/128
And some additional toughts of the contributor of this feature: https://github.com/thecodingmachine/graphqlite/pull/269#issuecomment-642864983

@Lappihuan the issue is that bool fields are being hydrated as false by default.  Ideally,  these fields are never hydrated/initialized.  We can't modify the nullable state of a property in the class, so a not-initialized state is about the best we can do on an optional update for the field, if not provided.
In my previous comment, I was saying we also need to check the constructor and if this bool is provided and determine how best to handle this as well.  Overall, a review on bool behavior needs to be done with regards to update input types.

@oojacoboo In my reply I clarified that it's not actually hydrating false by default, its hydrating the default value set in the class (in my case true as public bool $published = true;)
But otherwise, correct, we shouldn't even initialize them, or if we can't control that (as it's a default PHP property) we should unset them.

I'm wondering why you even set it in the first place then.

@Lappihuan Default values for the "Create" input types.
When updating, if a user doesn't pass in a value, it shouldn't be set so we can detect if they even passed something in. It doesn't make sense to default values on "Update" input types.

@MattBred i doubt this is viable in any way.
Imagine a private property with a default value.
Why not have two properties for this kind of case?
	 /**
	 * @GraphQL\Field(for="CreateBlogPostInput", name="published")
	 */
	public bool $createPublished = true;

	 /**
	 * @GraphQL\Field(for=UpdateBlogPostInput", name="published")
	 */
	public ?bool $updatePublished;

or with #466 you can use two diffrent setter methods for the same internal property.

@Lappihuan A private property can't be directly used as a GraphQL field in my example - it would need a setter in order to be used as a field.
My example is for public properties where you directly attach a field annotation, and GraphQLite automatically fills it in.
Your workaround would work, but its ugly, and the application code now needs to determine which field to use. It's not a viable answer IMO.

@MattBred I'm kind of falling in the middle on this one.  I thought you were saying that for update input types the FieldsBuilder was defaulting tofalse for bool properties.  I now understand that you meant true for both input types.
I think, first and foremost, we should maintain the native PHP handling of objects and not have GraphQLite do any funny business.  Unsetting this property goes against the expected result from native PHP instantiation.
That said, I can see the need for having a default for create and not update.  Attempting to avoid getters/setters and constructors, while cool, isn't a valid enough reason to do something else.  Input type classes should try to use native PHP functionality to solve the problem whenever possible.
@Lappihuan's suggestion of using a different setter for each input type seems like the most ideal way of handling this.  You think you could checkout #466 and give it a shot?

Jep, it is in #466
Currently setter Methods ignore the Field annotation.

I can appreciate not wanting to change PHP class properties as that might be too "magic".
The dedicated setter per input type might be a valid compromise, I will need to experiment, thanks!

@MattBred closing out this ticket.  If you could try out #466 as @Lappihuan that'd be a huge help for us in getting that merged in.  Cheers!


[FIX] Congregation Settings

Hi @joaochris, thanks for reporting. I will check this, and hope to fix it asap.


why highstocks use this method does not take effect

import Vue from 'vue'
import vueHighcharts from 'vue-highcharts';
import Highcharts from 'highcharts';
import loadStock from 'highcharts/modules/stock';
loadStock(Highcharts);
export default () => {
Vue.use(vueHighcharts, { Highcharts })
}

Please provide more information. What do you want to do? What's the result or error you got from above code?


Result table: Target period column squished

Probably due to some of the work we've done in the Evidence column, the Target Period column is now looking pretty squished -- particularly for our longer period names like "Life of Program (LOP) only and "Semi-annual period N" -- probably even longer translated.
Can we tweak the relative proportional widths to give the Target period column more breathing room, closer to what's on production?

So...this one's gonna be tricky. If we nowrap the whitespace in this cell, we run the risk of this:

…which is even worse than it looks because the table has no overflow properties so I can't scroll horizontally to the elements that are pushed off the viewport.
I can force it to greedily consume as much of the table as it wants, but that means the OTHER cells that are also trying to do the same will (probably, this varies by browser), be squashed:

This kind of splits the difference by setting a minimum width for that cell:

Proceeding on the theory that LoP-only targets are going to be the most common visual case, I picked a width that catches that size:

@axoplasm I'm looking on tola-qa, and comparing to production, and I am not sure what fix I am looking for, I don't see any differences.

QA Verified:
Based on the attchment's @axoplasm posted, I believe I am seeing a fix for this issue now.

Pre-Deploy Check:

[x] Non-regressed
[x] Feature/fix can be found in release branch in staging environment, functioning as expected.

If above is checked, this feature/fix is DEPLOY READY.


Make config.cli optional with default to npm like described in README

README mentioned that config.cli is an optional with default value of npm, while in code it is panicking is cli is not set. This PR makes it optional
And thanks for the great tool

thanks for your PR.


Update AZ400_M07_Integrating_Azure_Key_Vault_with_Azure_DevOps.md

Replace issue name M00-LAB00:QUICK_DESCRIPTION, for example "M01-LAB01: My new issue" (or same name as linked Issue)
Related Issue
No related Issues
Checklist
Mark completed with "x" between brackets, "[x]", or checking the box once the PR is created:

[ ] Has related GitHub Issue 💥 Create Issue 📝
[x ] Tested it
[x ] Read the PR collaboration guide 👓 Collaboration Guide 📝

Changes proposed in this pull request:

Lab 7, Ex. 1, Task 2, Step 2: Changed the label "+ Add" to the new label "+Create"
Lab 7, Ex. 1, Task 3, Step 4: Removed this step as the selection is already completed

Submitted by Tattedgeek on behalf of MOC Labs Review

made some extra changes to adjust. Merging PR.


[WORK IN PROGRESS] Multi-architecture builds for goldpinger

Issue number of the reported bug or feature request: #94
Describe your changes
This does a multi-stage, multi-architecture build for goldpinger.
Testing performed
Docker build, pushed to internal repository, ran in kubernetes, verified metrics available.
Additional context
@seeker89 mentioned that they'll be moving to GH actions so I included an example setup of the action to build & publish on new tags. GH action hasn't been fully tested for the -vendor builds.

@seeker89 Hi, I just wanted to check in on how the GH actions migration was going and if you had a chance to review the approach I'm proposing in this PR. No rush/pressure, just checking in. :)

Thanks for the nudge, it fell off of my radar! I blocked some time to review tomorrow. Appreciate your patience!

OK, I'm gonna merge this in and then do a few tweaks to get the GH actions in place. Thanks so much!

awesome, thanks. g'luck and let me know if you have any Qs about the way I set them up.


Can I build this with Emscripten on Windows?

I have Emscripten on Windows.
What platforms was this tested on?

I've built opencvjs on Windows. Installed MinGW in addition.


nothing response when i send data to zipkin

i send data by zipkin-java,ex:
connection.setRequestMethod("POST");
connection.addRequestProperty("Content-Type", "application/json");
byte[] json = Codec.JSON.writeSpans(drained);
connection.getOutputStream().write(json);
but i always read time out ??
i start the zipkin by the quick start,what else should i do to send data?

This question seems more about how to POST data vs an issue in zipkin.
Debugging custom http clients would be outside the scope of this project.
For example, the following works.
$ curl -X POST -H'Content-Type: application/json' -s
localhost:9411/api/v1/spans -d @your_file
You might also look at this:
https://github.com/openzipkin/brave/tree/master/brave-spancollector-http

not 9410?

nope 9410 is scribe (thrift rpc protocol) 9411 is http.


use hf config from checkpoint by default

So we should actually respect the config in the HF checkpoint directory since that's usually right. A bunch of tests were broken, but we didn't notice because they all need torch and we don't install torch in CI... (I guess we should)
Fixes #681 ( I think)

It would be great if a sample configuration for mistral-7b is made available for loading from a local checkpoint. I still note that HF is referred to for loading the checkpoint, but probably that's something to do with my configuration.
What did I try?
In the configuration (mistral-7b),
1.
initialize_from: /path/to/local/checkpoint
that results in the following error,
draccus.utils.DecodingError: The fields 'initialize_from' are not valid for TrainLmConfig
2.
`initialize_from_hf:/path/to/local/checkpoint'
tries to find the checkpoint from HF
Any advise please?

does /path/to/local/checkpoint/model.safetensors.index.json not exist?
On Mon, Sep 9, 2024 at 10:16 AM mhmaqbool @.***> wrote:

It would be great if a sample configuration for mistral-7b is made
available for loading from a local checkpoint. I still note that HF is
referred to for loading the checkpoint, but probably that's something to do
with my configuration.
What did I try?
In the configuration (mistral-7b),
1.
initialize_from: /path/to/local/checkpoint
that results in the following error,
draccus.utils.DecodingError: The fields 'initialize_from' are not valid
for TrainLmConfig
2.
`initialize_from_hf:/path/to/local/checkpoint'
tries to find the checkpoint from HF
Any advise please?
—
Reply to this email directly, view it on GitHub
https://github.com/stanford-crfm/levanter/pull/715#issuecomment-2338652965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACLIM44HJOA72DQ4PP4NDZVXJWTAVCNFSM6AAAAABNSXKAE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYGY2TEOJWGU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Yeah, I have PyTorch installed and tried again. Following files are available in the checkpoint

pytorch_model.bin.index.json
pytorch_model-00001-of-00002.bin
pytorch_model-00002-of-00002.bin
a few other files (tokenizer, model etc)

Still tries to refer to HF website for getting the checkpoint?
This is my configuration,
`data:
train_urls: ["/pth/to/train/json"]
validation_urls: ["/pth/to/val/json/"]
tokenizer: "/local/mistral-7b/checkpoint"
model:
type: mistral
TODO: uncomment this once we resolve the resource exhaustion issue
initialize_from_hf: "/local/mistral-7b/checkpoint"
use_hf_model_config: true
trainer:
wandb:
project: "levanter"
tags: ["openwebtext", "mistral"]
mp: p=f32,c=bfloat16
train_batch_size: 256  # set for v4-64 TPU
num_train_steps: 1000
steps_per_eval: 50
tensor_parallel_axes: ["mlp", "heads"]
fsdp_axis: "embed"
batch_axis: "batch"
optimizer:
learning_rate: 1.2E-5  # set low for fine-tuning
weight_decay: 0.1
min_lr_ratio: 0.1`


envelope: unify payload language

For consistency with changes made to Sigstore's protobuf-specs.

CC @kommendorkapten and @adityasaky

Thanks both!


restoring failed: admin login responded with 403

Every 10 minutes I get this error.
Any have the same problem?

Probably you are using invalid tokens to restore your session.

ok, I'll check everything again, thank you very much

Can i programatically resolve this error? Or do i have to delete the session file in connect again manually?

You need to rescan the qr code.
Regard
On Wed, Mar 31, 2021, 3:14 PM Tobias Meinhardt @.***>
wrote:

Can i programatically resolve this error? Or do i have to delete the
session file in connect again manually?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Rhymen/go-whatsapp/issues/235#issuecomment-811021762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT25VW33ZUHI63MRS5M3TGMG3JANCNFSM4I5QMXZQ
.


dev-amdgpu,mem-ruby: Add support to checkpoint and restore between kernels in GPUFS

Earlier, GPU checkpointing was working only if a checkpoint was created before the first kernel execution. This pull request adds support to checkpoint in-between any two kernel calls. It does so by doing the following.

Adds flush support in the GPU_VIPER protocol
Adds flush support in the GPUCoalescer
Updates cache recorder to use the GPUCoalescer during simulation cooldown and cache warmup times.

Thanks for the updates, this looks good to me.  I guess we are just keeping it a draft while deciding how to handle the AVX save/restore issue?

I was thinking of either reverting the commit https://github.com/gem5/gem5/pull/113/commits/9acfc5a751c4df408b2fa9f73aa4512392c48c02 or updating the GPUFS README to ask the user to disable these fields before checkpointing until xsave/xrstor instructions are implemented (and the problem is fixed). What would you suggest?

I would just add a command line option to enable/disable AVX, then use that to set use_avx in system.py.  Please don't revert that commit as it will break DNNMark.

Thanks for the suggestion! I've pushed a new commit to this PR that adds an option to disable avx. I've also removed the WIP tag and marked the PR ready for review

@v-ramadas : this is the error:
src/gpu-compute/gpu_dyn_inst.hh:42:10: fatal error: debug/GPUMem.hh: No such file or directory
42 | #include "debug/GPUMem.hh"
Do things compile for you locally?

We'll have to figure out why the error is happening, otherwise one small question

I think it is due to the ALL build not building the GPU, and the DebugFlags for GPUMem, etc. are guarded in src/gpu-compute/SConscript are guarded by the configuration variable BUILD_GPU.
I assume this means that all GPU patches will now fail tests if that's the case

@v-ramadas : this is the error:
src/gpu-compute/gpu_dyn_inst.hh:42:10: fatal error: debug/GPUMem.hh: No such file or directory 42 | #include "debug/GPUMem.hh"
Do things compile for you locally?

Yes, I am able to compile and execute locally.

I had half reviewed this, but got distracted by other things. I'm quite concerned about the #if change.

I had half reviewed this, but got distracted by other things. I'm quite concerned about the #if change.

We can revert the commit to give you more time to review -- I am just not sure how to revert.

You should be able to click the revert button. However, I would rather not add more commit spam... If we can (quickly) resolve this with a follow up change, that would be best.

Implementing #403 should get rid of most (all?) of the new ones in the patch.  We could remove the other ones in various places of the code if we go forward with #306.

Implementing #403 should get rid of most (all?) of the new ones in the patch. We could remove the other ones in various places of the code if we go forward with #306.

You're right @abmerop , #403 is likely the solution here.  My above description is also not precise enough -- the real issue is this separate GPUCoalescer map we need without #403.
@powerjg I guess the choice then revert this or let it be in/merged until #403 is done.  @v-ramadas is prioritizing #403 as the next fix, but it will still be a few days.

I've created a PR (#448) to address #403 and remove the #if guards


Tip Volume from Tip Rack

As a robot user, I would like to use the tip volume read from the tip rack (tip), rather than from the pipette.
Acceptance Criteria

[ ] Use volume from tip rack in pipetting and in validations.

@btmorr @sfoster1 @Laura-Danielle @sanni-t

Closed by #3781


Kuma server-side link status monitoring

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I have Kuma installed on my home server, it monitors many external servers where my applications are running. Unfortunately, my home connection is unreliable and often Kuma signals problems with no response from the configured servers, but not because they are offline, but that offline is the Kuma server.
Is it possible to solve this somehow? Can Kuma check the status of the global connection, e.g. by pinging to the DNS servers?
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.2
💻 Operating System and Arch
Ubuntu 22.04
🌐 Browser
Chrome
🐋 Docker Version
20.10.14
🟩 NodeJS Version
No response

Hello, You are experiencing the concerns of many people. One of the solutions that can help you out will be the implementation of:
https://github.com/louislam/uptime-kuma/pull/1236
You create a "parent" monitor (ping google) and if this monitor is down the other services will not be defined as down

Thx, but why is this hanging around so long and not merged? This is a very useful feature, I don't understand why there is resistance to implementing it.

See https://github.com/louislam/uptime-kuma/pull/2693#issuecomment-1413794719 for further context
Said feature would need a heavy rebase to make it shippable.
It for example does not use the new monitor syntax (not piling everything into monitor.js) or the new db-independent migrations.


Click on the Switch not firing Click event on checkbox

I have a JS click event attached to a checkbox (it needs to be attached to the click and not to the change event).
When the user clicks on a checkbox, both the change and click event will be fired. This doesn't happens when the change is triggered by Javascript, and the click event must then be manually fired.
After adopting the Bootstrap-Switch the code associated with the click would not fire anymore, this is because only the property "checked" is being changed by the bootstrap-switch code.
That's why I propose a change in the boostrap.switch.js file on line 153:
remove: this.$element.prop("checked", value).trigger("change.bootstrapSwitch", skip);
include:
if (this.$element.prop("checked") != value) {
this.$element.trigger('click');
};
this.$element.trigger("change.bootstrapSwitch", skip);
Best regards
Eloi

Ehhh ... can't seem to handle onClick or onChange event on the input element in react. The input isn't firing any of those events.  Not sure because of the addition of the "bootstrapSwitch" namespace or not. Shame.

User this    for switch change
$('.switchbox').on('switchChange.bootstrapSwitch', function (event, state) {
console.log(this);
});


Sonarr remains inactive, after fix isn't reachable through reverse proxy

The problem
I restarted sonarr from the sonarr web interface. It went down but never came back up. After waiting for a while, I reinstalled it (keeping configuration settings), still remains inactive. Then I reinstalled without keeping configuration settings, still inactive.
When reinstalling the logs are:
┬ ┬┬ ┬┬ ┬ ┬ ┬┌┬┐┌─┐┌─┐┌┐ ┌─┐┌─┐┬┌┐┌┌┐┌┌─┐┬─┐ ┌─┐┌─┐┌┬┐
 │││││││││ ├─┤ │ ├─┘│  ├┴┐├┤ │ ┬│││││││├┤ ├┬┘ │  │ ││││
 └┴┘└┴┘└┴┘o┴ ┴ ┴ ┴  └─┘└─┘└─┘└─┘┴┘└┘┘└┘└─┘┴└─o└─┘└─┘┴ ┴
                __  ___
  /\ |_ _ |\/|./     | _  _ ||_/.|_
 /--\|_(_)|  ||\__   |(_)(_)|| \||_

AtoMiC Sonarr Installer Script

Press [Enter] key to continue or Ctrl+C to exit...

--->Stopping Sonarr...
Nothing found to stop

--->Removing Sonarr Systemd Startup scripts...
sonarr.service SystemD script not found

--->Removing Sonarr Init.d startup scripts...
/etc/init.d/sonarr init script not found

--->Removing Sonarr default config scripts...
/etc/default/sonarr default script not found

--->Adding Sonarr repository...
Sonarr repository already exists

AtoMiC Mono Installer Script

--->Adding Mono repository...
Mono repository already exists

--->Refreshing packages list...
Done

--->Installing prerequisites for Mono...
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmono-cil-dev is already the newest version (<IP_ADDRESS>-0xamarin3+ubuntu1604b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

--->Installing Mono...
Reading package lists... Done
Building dependency tree
Reading state information... Done
mono-complete is already the newest version (<IP_ADDRESS>-0xamarin3+ubuntu1604b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
---> Mono installation complete.

--->Installing Sonarr...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nzbdrone

--->Stopping Sonarr...
Nothing found to stop

--->Autostart configuring...
Using systemd

--->Removing Sonarr Init.d startup scripts...
/etc/init.d/sonarr init script not found

--->Removing Sonarr default config scripts...
/etc/default/sonarr default script not found

--->Enabling Sonarr Autostart at Boot...
Created symlink from /etc/systemd/system/multi-user.target.wants/sonarr.service to /etc/systemd/system/sonarr.service.
sonarr.service SystemD script added and enabled

--->Starting Sonarr...
sonarr.service is now: inactive

systemctl status sonarr.service yields:
● sonarr.service - Sonarr
   Loaded: loaded (/etc/systemd/system/sonarr.service; enabled; vendor preset: enabled)
   Active: inactive (dead) (Result: exit-code) since Sat 2018-06-16 12:16:47 CEST; 5min ago
  Process: 9040 ExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser (code=exited, status=2)
 Main PID: 9040 (code=exited, status=2)

Jun 16 12:16:47 media systemd[1]: sonarr.service: Unit entered failed state.
Jun 16 12:16:47 media systemd[1]: sonarr.service: Failed with result 'exit-code'.
Jun 16 12:16:47 media systemd[1]: sonarr.service: Service hold-off time over, scheduling restart.
Jun 16 12:16:47 media systemd[1]: Stopped Sonarr.
Jun 16 12:16:47 media systemd[1]: sonarr.service: Start request repeated too quickly.
Jun 16 12:16:47 media systemd[1]: Failed to start Sonarr.

When trying to run the start command for sonarr manually (/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser) the error is:
Cannot open assembly '/opt/NzbDrone/NzbDrone.exe': No such file or directory.

Checking /opt with ls -l /opt:
total 24
drwxrwsr-x 53 ismay ismay 4096 Jun 15 17:39 atomic-toolkit
drwxrwsr-x  5 ismay ismay 4096 Jan 19 12:09 nzbget
drwxrwsr-x 12 ismay ismay 4096 Jun 16 09:59 nzbhydra
drwxrwsr-x  6 ismay ismay 4096 Jan 14 13:10 nzbtomedia
drwxrwsr-x  4 ismay ismay 4096 Jun 15 17:30 radarr
drwxrwsr-x  4 ismay ismay 4096 Feb 23 13:36 radarr_03-03-2018_13-35

So it's not there. Attempting a manual install with sudo apt-get install nzbdrone:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nzbdrone

Manually installed and restarted it with:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
sudo echo "deb http://apt.sonarr.tv/ master main" | sudo tee /etc/apt/sources.list.d/sonarr.list
sudo apt-get update
sudo apt-get install nzbdrone

On reboot it now starts as expected, but still isn't accessible from another computer. Running access details from atk yields:
 ┬ ┬┬ ┬┬ ┬ ┬ ┬┌┬┐┌─┐┌─┐┌┐ ┌─┐┌─┐┬┌┐┌┌┐┌┌─┐┬─┐ ┌─┐┌─┐┌┬┐
 │││││││││ ├─┤ │ ├─┘│  ├┴┐├┤ │ ┬│││││││├┤ ├┬┘ │  │ ││││
 └┴┘└┴┘└┴┘o┴ ┴ ┴ ┴  └─┘└─┘└─┘└─┘┴┘└┘┘└┘└─┘┴└─o└─┘└─┘┴ ┴
                __  ___
  /\ |_ _ |\/|./     | _  _ ||_/.|_
 /--\|_(_)|  ||\__   |(_)(_)|| \||_

AtoMiC Sonarr Access Details

Press [Enter] key to continue or Ctrl+C to exit...

--->Searching for possible port numbers...
Default port: 8989 found in AtoMiC-ToolKit config.
Error: near line 1: database disk image is malformed

--->Finding Sonarr System details...

You may be able to access Sonarr on any of the following URLs...
--->http://[..............]:8989 from anywhere (requires port forwarding on router)
--->http://<IP_ADDRESS>:8989 from your local network
--->http://media:8989 from your local network
---><IP_ADDRESS>/8989 on this system
Actual port numbers could be different. Check your settings file: /home/ismay/.config/NzbDrone/config.xml
If SSL is enabled, then use HTTPS instead of HTTP in the above URLs.

Your Sonarr credentials are...
--->Username: Incompatibility. Cannot determine username.
--->Password: Incompatibility. Cannot determine password.

Checking Sonarr status...
SYSTEMD sonarr.service found.
sonarr.service is currently: active
Sonarr is configured to be accessible outside localhost.

Thank you for using the AtoMiC ToolKit.
Please visit https://gitter.im/htpcBeginner/AtoMiC-ToolKit to discuss or raise any issues.

Press [Enter] key to continue or Ctrl+C to exit...

Any idea why other local devices cannot connect to the service? Other services on the same device, like radarr and nzbget can be reached without problems.
My Linux distribution and version is:
Ubuntu Server 16.04.4 LTS
I'm seeing this behaviour on:

Was working now broken

I'm not a dummy, so I've checked these!

[x] I'm using the latest version of AtoMiC-ToolKit
[x] All my Linux distro packages are up to date and I don't see any errors while updating.
[x] I've checked there are no current open issues relating to my problem!

I tried tunneling over ssh to the media server ssh<EMAIL_ADDRESS>-L 8989:<IP_ADDRESS>:8989 and then accessing it via localhost:8989, that yields:
channel 3: open failed: connect failed: Connection refused

So whilst sonarr is running, the webserver is refusing to connect on port 8989. So does sonarr spawn its own webserver? Or is atk responsible for that?

Ok, so the sonarr database was corrupted. After restoring to another backup it works as expected.
So while that's not got anything to do with atk, other parts in the process (such as having to manually install nzbdrone) should probably be caught by atk. So my particular issue was resolved, but hopefully atk could catch some of these things automatically in the future. Hope this helps!


Clever score parameters

Hello
I have read the Clever paper mentioned in the docs. I couldn't find any mention of a pool_factor parameter or a c_init.
The docs are not clear what they are. My questions are :

what is the difference between pool_factor and batch_size to me it seems eventually the number of samples ends up being their multiplication so why was pool_factor introduced and how does it affect the computation ?

what is c_init (initialization of Weibull distribution) , is this related to solving the MLE ?

thanks.

Hi @kfarivar Thank you very much for your interest in ART!
I have not implemented the CLEVER metric myself, I think

batch_size corresponds to N_b and pool_factor corresponds to N_s in the paper (e.g. Algorithm 1). The pool_factor lets you define how many random samples contribute to a single max-gradient-norm value for the Weilbull distribution. The batch_size defines how many max-gradient-norm values are being calculated before fitting the Weibull distribution on them.
c_init corresponds to your initial guess of parameter c in the first equasion in section Notes on https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.weibull_min.html

Thanks for the quick reply,

I am still confused, since there is also a parameter called nb_batches which in the code seems to be doing the job of N_b.
code
So to summarize the paper has only 2 parameters related to samples N_b and N_s but here we have 3,  pool_factor, batch_size and nb_batches.

Is adjusting c_init necessary or should I leave it as 1 ? I have no intuition how to adjust this parameter.

thanks, so my take is that in the paper's pseudocode Algorithm 1 at each iteration of the inner loop a new point is sampled. But in the clever_t we first make a pool of random points and in the same loop sample from this pool instead of creating a new sample. I guess the later method was faster.

So I checked the original implementation of clever and there seems to be some differences. For instance the original heavily uses multiprocessing. For instance to find the best c_init or to calculate the score on multiple samples. These all contribute to a faster code and more accurate results. hope this will be improved in the future versions of this library.

Hi @kfarivar Thank you very much for the updates. Are you planning to implement these improvements? We would be happy to provide support.


Transform array from array

Specks to transform array to array.   array length will be dynamic.
eg:
{
"prices": [
{
"name": "Journey Mileage",
"type": "BASE",
"tax": "V20",
"amount": 30,
"rate": 2.5,
"unit": "miles",
"charge": 75
}
]
}
output:
{
"charges": [
{
"amount": "2095",
"currency": "EUR",
"type": "price_base"
}
]
}

something like
[
{
operation : shift,
spec: {
field_newname : field_oldname,
field_newname : field_oldname,
},
over: "prices[*]"
},{
operation: shift
spec:{
output : prices
}
}
]

first section will replace original prices keys with new ones, forming an array of objects with only specified keys.
second shift will bring every line mentioned to new top-level json


Terms Page

I am creating a Terms and Conditions Page which is included in the footer.
Please assign me this issue under IWOC

Hey @thestarsahil
Can this issue be assigned to me for gssoc '24
Regards,
V Meenakshi Iyer


MAPL_GridCompSpecs_ACG.py adds superfluous brackets in varspec

MAPL_GridCompSpecs_ACG.py adds brackets ("[ ]") to "array-like" varspec options (which includes only "ungridded_dims", currently.) If the option value already has brackets, it adds an additional pair, which is incorrect.

@darianboggs Did you fix this? It's been around a while. Maybe this is something the work @sanAkel is doing in the ocean can test to see.

@darianboggs Did you fix this? It's been around a while. Maybe this is something the work @sanAkel is doing in the ocean can test to see.

Thanks @mathomp4, but I don't think I have any imports/exports with ungridded dims in the "ocean" repo. That will be the case for tiled variables that I won't touch now.


Fix issue 957

Fix for #957.
from package import module as very_very_very_very_very_very_very_very_very_very_long_alias

becomes
from package import (
     module as very_very_very_very_very_very_very_very_very_very_long_alias
)

This will be the output even if the module as alias line is longer than the maximum line length. There is another possibly valid output mixing backslashes and parentheses to attempt to stay below the line length:
from package import (
     module as \
     very_very_very_very_very_very_very_very_very_very_long_alias
)

I haven't implemented that here because it's not obviously better and I want to use isort in combination with black, which does not use backslashes in this case.

This looks great! Thank you!


Test Codecov

Based on #9508
Re-enable codecov reporting

/azp run

/azp run

Now i understand, secrets are not provided to forks

After triage discussion, we decided to not enable CodeCov for now given the need to share AzureCI secrets. We talked about potentially doing this on GHA instead.


Fix pub version matching error on Flutter projects that depends on this package

Hello, I have a flutter project where I use this package as a dev_dependency to a command line tool that I've created to automate some commands that I must run to use the project. Since the launch of Flutter 3.10, today, I'm having an error on pub get saying that intl version are not matching. The new Flutter 3.10 uses intl 0.18.0 and this package was still in 0.17.0 so, to fix this, I am setting the version of intl dependency to be more compatible.

@timsneath

Have you upgraded to the latest version of dart_console? If that doesn't work for your needs, you can manually set a dependency override in your own pubspec. See this link: https://dart.dev/tools/pub/dependencies
Setting such a wide version range for intl isn't viable, unfortunately. These versions of intl contain breaking changes between versions.

@timsneath The problem is with the latest dart_console... flutter 3.10 depends on intl 0.18... the latest dart_console depends on intl 0.17.0...
dart_console is not a flutter specific package, if it was we could lock intl to the version used by the sdk (like my dependency constraint on the 1st image with intl any and flutter_localizations from sdk)... that's why the PR sets a more open version constraint... Other option is to just update intl 0.17 to 0.18 (there aren't any breaking between both) but it will cause the same problem on a future flutter update...
I said "I have a project" but it's not really mine, it's a project from the company I work for, so dependency_override is a long process of bureocracy and convincing superiors to authorize for such a minor incompatibility... 🙁
And I think it could be a problem to more devs than I/our company, hence the PR...
What you think we can do? For now, just bumping intl to 0.18.0 works, the loose constraint I've setted is just to be "futureproof"... If, like you said, it is really a not viable option, I'll just change the PR to bump to 0.18.0 or constraint between 0.17.0 and 0.19.0...
Thank you for your time... 🙂

Ohhhhhh... It was published today... I did not saw that... the latest version when I opened the PR yesterday did not depended on 0.18.0... 🙃
So, I'll close this... Thanks... 😊


added shallow routing

Closes #324
The page reloads each time a user clicked on the edit button on the status card.
To prevent this I have used shallow routing.
The URL will get updated to '?edit=true' and the page won't get replaced, only the state of the route is changed.

Please add which issue it closes

Please add a video describing the problem and then the video of solved page

@RitikJaiswal75
https://user-images.githubusercontent.com/75324160/198278494-8e308b27-06e8-42ef-aa56-1fdfecf29b5f.mp4

@YashJain24-chief @RitikJaiswal75 @ivinayakg
Please review.

Please write test cases

Please write test cases
@Maheima
Actually I think we cannot add a test case for this.
Only a query parms is been added in the url.
Please give me your thoughts on this if I am wrong.


Troubleshoot BDC - Missing file error

I am using today's insider build.
Repro steps:

connect to a BDC controller
open the bdc dashboard
click the Troubleshoot button

i am getting the following error:

Should be fixed with the below PR: https://mssqltools.visualstudio.com/_git/SqlOpsStudioExtensions/pullrequest/1093?_a=overview
Will validate on tomorrow's insiders and close this.

Validated on the latest insiders, this is fixed.

@chlafreniere and @MaddyDev, we need to get this into the April release, right? if so, please reopen it and ask for approval

The change is not on ADS side, we updated the books on sqlops to have the correct toc and got the PR in. ADS already has the correct version to pull the latest tsg book.

@MaddyDev thanks for clarification, yeah, i thought you need to bump the version from ads side :)


AENS actions: Display fees in transaction history

Thank you. Did you got any problems while doing so, and are you able to see your active auctions in the wallet?

 Every transaction went smoothly and I see my names in active auctions in the wallet.
(I registered 3 names with web wallet, FF/Chrome extension on testnet.)

Btw, by registering the names, I spent a few ae tokens, but these transactions show up with zero sum in the Activity. Is this normal behavior?

Originally posted by @Liubov-crypto in https://github.com/aeternity/superhero-wallet/issues/814#issuecomment-775196864

Yes. Let's display values. This emphasizes even more the low value of transaction fees. Also the 0AE transactions really might cause some confusion making the user wonder as it this case. New design easily covers this case too:

@mradkov
Yes. Let's display the Tx fee value. This will emphasize even more the low value of transaction fees. Also the 0 AE transactions really might cause confusion. I was also wondering why the value is zero. New design (see in Figma wallet UI project, test in prototype if you'd like) easily cover this case:

This still does not seem to look consistent. The contractCalls for FTs also have txFees (which are not displayed here).

The old design defect, can be closed.


(Changed) Update to the description in composer.json

User description
Summary
This MR updates the composer.json description of the marjovanlier/stringmanipulation library to reflect its capabilities and performance improvements better. The revised description now highlights the library's advanced features, such as "search word transformation", "name fixing", "UTF-8 to ANSI conversion", "accent removal", and "date & time validation", with an emphasis on enhanced performance.
Context and Background
The original description of the library provided a comprehensive overview but lacked emphasis on performance and the breadth of advanced features offered. This update aims to make the library more appealing to potential users by clearly stating its powerful capabilities and performance focus.
Problem Description
The previous description in the composer.json file did not adequately highlight the library's advanced features and performance enhancements. This might have led to underrepresentation of the library's capabilities to potential users and contributors.
Solution Description
The solution was to refine the description in the composer.json file, ensuring it is concise yet informative, providing potential users and contributors with a clear understanding of the library's extensive capabilities without overwhelming them with too much detail.
List of Changes

Changed:

composer.json description - Enhanced to highlight advanced features and performance improvements.

Type
enhancement

Description

Updated the composer.json description to better reflect the library's capabilities, focusing on advanced features like enhanced search word transformation, comprehensive name fixing, and robust date & time validation, alongside performance improvements and extended functionality for complex string operations.

Changes walkthrough
Relevant filesEnhancement

composer.jsonEnhanced Library Description in `composer.json`

composer.json
Updated the description field to emphasize advanced features, performance improvements, and extended functionality for complex string operations.

+1/-1

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

Sweep: Consider shortening the description to focus on the library's most important features or benefits. A concise description is more effective for readers scanning through multiple
packages on repositories like Packagist.


syn 0.15.32 breaks srml-support-procedural

The recent release (0.15.32) of syn removed the CustomKeyword trait which we are using here.
That trait is behind the parsing feature and not part of the public API, hence the "breaking" change in the patch version.
So we need to either update to use the new CustomToken trait, or investigate if it's possible to decouple from that internal trait.
As a short term fix we could restrict the version of syn to < 0.15.32.

I am getting this error and a quick search syn =  in the project reveals there are other three references to sync and #2327 is not enough.
https://github.com/paritytech/substrate/blob/de68b7138bf9e140167efdcf7600b9c717676cdf/core/sr-api-macros/Cargo.toml#L12
(Those two are fine because it pin to exact version, but why the inconsistency?)
https://github.com/paritytech/substrate/blob/master/srml/support/procedural/tools/Cargo.toml#L11
https://github.com/paritytech/substrate/blob/de68b7138bf9e140167efdcf7600b9c717676cdf/srml/support/procedural/tools/derive/Cargo.toml#L13

I just used cargo update on master and it did what I expected. All dependencies use syn 0.15.31 and one dependency (support/procedural) enforces this. I don't know why your build is acting differently.

Maybe related to my project setup. It is based on the old node template project. I have pin the version on my substrate fork and it is fine now.

Yeah, then you probably not point to the correct substrate commit and you get the old behavior.

Based on a quick overview, you should be able to just replace your usage of your CustomToken<T> with T and it should "just work".
All syn custom tokens created with custom_keyword!/custom_punctuation! implement Parse and ToTokens through the (not public API) CustomToken trait.

https://github.com/paritytech/substrate/pull/2386
https://github.com/paritytech/substrate/pull/2383
done and backport


LMOP V10 import

Tried importing LMOP and it does import but there are quite a bit of links that are not working. For example, just in the table of contents, it doesn't show that you can click on it and it does show @journal..... links in the text but they aren't correct and don't go anywhere and even within the journal articles there will be some links that work and others that don't.
It seems to be links to other parts of the adventure that aren't working correctly. I downloaded the most recent version of the adventure muncher (as of yesterday) and updated foundry and modules to the latest as of today.

What options did you have checked in Adventure Muncher when generating the adventure?

Can you provide some screen shots too? Links to the rules Journals are currently broken, as per issue #261 But links in the adventure are working here for me when I use "Generate content for Foundry v10" and the two hand out options unchecked.

I look again and get some screenshots but I remember checking the box for V10 but I think the hand out options may have been checked. For me the issue was the links to other parts of the adventure wasn't working but a few of the rules ones were working that I had tried.

Two screenshots of how it currently looks, I did generate a new file that doesn't have the player handouts checked but I haven't imported it yet as I wanted to get these screenshots. You can see the symbols look different and only say something about text page but I can't click that the other ones that reference back to SRD seem to take me there.
Here's what I had selected in the adventure muncher before but I will try it without the two handout options checked and report back once I've imported it.

ok even with those two options unchecked I get same result.

I created a new world, enabled the importer, generated a new config file and LMOP file and now the links work.
The previous world I was trying on was one I was playing around with and was a V9 world that I migrated to V10 and that is the one that wasn't working. Weird...

did another test, disabled all modules on that other world except yours and the import worked fine. Links all working now but I went back in and re-enabled several modules and now links don't work. It appears the module "scene clicker" was the offending module and I have removed it and that module doesn't appear to be being updated at all.