bullets appear in confirmation save messages and in popover messages

Confirmed!

Bullets still seem to be appearing in a couple of confirmation messages (namely, those in Settings and Permissions).
Settings:

Permissions:

Confirmed.


The order in the initializer list do not match the order of declaration for some classes

Non-static data member are initialized in order of declaration in the class definition (see https://en.cppreference.com/w/cpp/language/constructor under Initialization order. The order in the initializer list used in the definition of your constructors should match the order of declaration.

in commit 93931d2 branch fixIssues, will be merged with BikeComputerPartIII

in commit 93931d2 branch fixIssues, will be merged with BikeComputerPartIII


Move page slug field out of promoted panels and couple it with the title

Is your proposal related to a problem?
Not related to a specific bug or problem, just an improvement suggestion
I think the slug field being part of the 'For search engines' panel by default doesn't really make much sense. Because it's not really just for search engines, or at least as much as the other fields. code ref.
Describe the solution you'd like
I think coupling these fields together by default makes for a better publishing experience. Mostly because these fields work with each other. I think a further step for this would be to 'autoslugify' the title into the slug field as it's being typed out.

Describe alternatives you've considered
It's possible to modify this when extending from the main Page class and overriding panels but I think this would make more sense to add upstream as a default.

This could be hard to introduce in a backwards-compatible way - for example, if a developer specifies content_panels in full (hard-coding FieldPanel('title') rather than Page.content_panels + [...]) but leaves promote_panels unchanged, they'll end up with a missing slug field unless Wagtail takes specific steps to identify and correct for this.


Plugins object syntax doesn't work

I'm not sure specifying plugins as object works as specified in the README, e.g.:
  plugins: {
    'postcss-import': {},
    'postcss-preset-env': {},
    'cssnano': {}
  }

throws
Module build failed (from /Users/karolis/projects/jetpack/node_modules/postcss-loader/src/index.js):
Error: [object Object] is not a PostCSS plugin
    at Processor.normalize (/Users/karolis/projects/jetpack/node_modules/postcss/lib/processor.js:167:15)
    at new Processor (/Users/karolis/projects/jetpack/node_modules/postcss/lib/processor.js:54:25)
    at postcss (/Users/karolis/projects/jetpack/node_modules/postcss/lib/postcss.js:73:10)
    at Promise.resolve.then.then (/Users/karolis/projects/jetpack/node_modules/postcss-loader/src/index.js:140:12)

Did you use this syntax with a postcss.config.js file or in the webpack.config.js ? The latter does definitely not work...

I did this in the webpack.config.js


Run custom rails module

Hi!
i need some help, how can run my custom module in whenever.
when a try someting like this :
every 1.minutes do
	puts "testing cron jobs"
  Sms.new(691451189, Time.now)
  Sms.send
end

i receive an error when a type this whenever commande in my project folder (terminal)
$ whenever --update-crontab
testing cron jobs
Traceback (most recent call last):
        11: from /usr/bin/whenever:41:in `<main>'
        10: from /usr/lib/ruby/vendor_ruby/whenever/command_line.rb:6:in `execute'
         9: from /usr/lib/ruby/vendor_ruby/whenever/command_line.rb:35:in `run'
         8: from /usr/lib/ruby/vendor_ruby/whenever/command_line.rb:104:in `updated_crontab'
         7: from /usr/lib/ruby/vendor_ruby/whenever/command_line.rb:54:in `whenever_cron'
         6: from /usr/lib/ruby/vendor_ruby/whenever.rb:10:in `cron'
         5: from /usr/lib/ruby/vendor_ruby/whenever.rb:10:in `new'
         4: from /usr/lib/ruby/vendor_ruby/whenever/job_list.rb:25:in `initialize'
         3: from /usr/lib/ruby/vendor_ruby/whenever/job_list.rb:25:in `instance_eval'
         2: from config/schedule.rb:22:in `initialize'
         1: from /usr/lib/ruby/vendor_ruby/whenever/job_list.rb:44:in `every'
config/schedule.rb:24:in `block in initialize': uninitialized constant #<Class:#<Whenever::JobList:0x00005563bb94b398>>::Sms (NameError)

my module can't be execute. need help please.
my configuration:
Ubuntu Linux 19.04 X64
ruby 2.5.5
rails 5.2.3

You need to wrap your code in a rake task or use runner. The README covers this.


Padding removed from inline widget area

This might be related to changes to #56 ?

yes. fixing that...


AttributeError: module 'swagger_client' has no attribute 'CustomSpeechTranscriptionsApi'

I'm using Microsoft's official GitHub repository to set up Azure Speech Services Batch Transcription API from Python
I receive an error from line number 142 in main.py which states
AttributeError: module 'swagger_client' has no attribute 'CustomSpeechTranscriptionsApi'

I  suppose this has to do with the recent changes made to the swagger_client. How to fix this issue any thoughts?
I already followed the below threads and noticed a few others also reported the same issue but nothing helped,
Thread 1, Thread 2
To debug I gave print(dir(swagger_client)) before it throws above error and here is the output
['ApiClient', 'ApiSpeechtotextV30DatasetsLocalesGet200ApplicationJsonResponse', 'ApiSpeechtotextV30EndpointsLocalesGet200ApplicationJsonResponse', 'ApiSpeechtotextV30EvaluationsLocalesGet200ApplicationJsonResponse', 'ApiSpeechtotextV30ModelsLocalesGet200ApplicationJsonResponse', 'ApiSpeechtotextV30ProjectsLocalesGet200ApplicationJsonResponse', 'ApiSpeechtotextV30TranscriptionsLocalesGet200ApplicationJsonResponse', 'Component', 'Configuration', 'Dataset', 'DatasetProperties', 'DatasetUpdate', 'DefaultApi', 'Endpoint', 'EndpointLinks', 'EndpointProperties', 'EndpointPropertiesUpdate', 'EndpointUpdate', 'EntityError', 'EntityReference', 'Error', 'ErrorContent', 'ErrorDetail', 'Evaluation', 'EvaluationProperties', 'EvaluationUpdate', 'File', 'FileLinks', 'FileProperties', 'HealthStatus', 'InnerError', 'InnerErrorV2', 'InternalModel', 'Links', 'ManagementModel', 'ManagementModelArray', 'ManagementModelProperties', 'Model', 'ModelCopy', 'ModelDeprecationDates', 'ModelFile', 'ModelLinks', 'ModelManifest', 'ModelProperties', 'ModelUpdate', 'PaginatedDatasets', 'PaginatedEndpoints', 'PaginatedEvaluations', 'PaginatedFiles', 'PaginatedModels', 'PaginatedProjects', 'PaginatedTranscriptions', 'PaginatedWebHooks', 'Project', 'ProjectLinks', 'ProjectProperties', 'ProjectUpdate', 'Transcription', 'TranscriptionProperties', 'TranscriptionUpdate', 'WebHook', 'WebHookEvents', 'WebHookEvents1', 'WebHookLinks', 'WebHookProperties', 'WebHookPropertiesUpdate', 'WebHookUpdate', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'absolute_import', 'api', 'api_client', 'configuration', 'models', 'rest']

I have just tried to run the python samples, following the steps described here, in particular, I am using the swagger definition file
"Enter the Swagger URL for the Speech Services API: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cognitiveservices/data-plane/Speech/SpeechToText/stable/v3.1/speechtotext.json.".
I am using python 3.10 in Anaconda.
I am able to run the samples without any issues.

Please use API 3.1 which is the currently supported version. and API 2.0 is being deprecated.
Please check your environments, better to remove any other "swagger_client" modules if they have been installed in the past.
You can also go the folder where the "swagger_client" module is installed and there should be an _init.py which contains the line like below
from swagger_client.api.custom_speech_transcriptions_api import CustomSpeechTranscriptionsApi

Closed as resolved since no further updates in 2 weeks, please open a new issue if more support is needed.

As of v3.1, afaik the following APIs are being replaced:
transcription_api = cris_client.CustomSpeechTranscriptionsApi(
    api_client=client
)
webhook_api = cris_client.CustomSpeechWebHooksApi(api_client=client)

You'll need to replace with the following (yes these 2 unified into 1 endpoint)
default_api = cris_client.DefaultApi(api_client=client)


[TestGen] Fix issues in sample generation

Current implementation of sample generation has plenty of bugs.
Here are some of them:

primitive types cannot be properly recognized and will be treated as string.
Sample generation is currently using anonymous object as parameter of the assignment. This is not robust enough. Because the json that being assigned could contain keys that collide with dotnet keyword (cannot be a property). We need to change that to dictionary, despite anonymous object looks pretty.

Most of existing issues when generating samples have been resolved.


feat: skip when from SSR

Otherwise we get an window is undefined.
Can be tested with: https://github.com/JulianCataldo/vite-lit-ssr

Not tested, will merge this directly :).


corrected version number (such that the sample code works with the new org.scalacheck.ScalacheckShapeless package)

Thanks!


Connector and Protocol definitions load-from-JSON

At the moment, Connectatron uses C++ enums and the magic_enum library for automated operations like stringizing all enum names.
This has the following limitations:

Must follow C++ variable name character restrictions

Partially solved by underscore-encoding

No way to add more connectors and protocols
Difficult to add associative information like Category in a very flexible way

Currently implemented categories as ranges of the enumerations, so any connector or protocol cannot exist in multiple categories

Benefits that should be preserved:

Connectors and protocols are only stored by string name

Changes to enum-order and metadata like category, etc do not disrupt the validity of the saved string

Exactly one place to edit information about a single connector/protocol, no matter how many aliases that has
Software only allows you to apply/change valid connectors/protocols

Possible features for a JSON-based set of definitions of connectors and protocols:

Split the definitions across multiple files
Common string fields for things like

Connector "Male Connector Also Fits In"
See-Also linking
Common uses
Tags

Would replace Categories
Many tags possible on any connector / protocol

AKA / Aliases
Per-connector default protocols
Protocol-dependencies

Ability to assign a set of Protocols which are a subset of a Protocol for

Backwards compatibility
Standards containing other standards

Expanded Protocol details for

AC Power Delivery
DC Power Delivery
More generic possibilities?

We would likely set up a GUI-based editor for adding/changing connectors and protocols in order to avoid accidental errors in formatting and string-matching resulting in runtime unexpected behavior.


Single days, half days and how much is left

Hi,
this app seems to be a nice addition to my current way to track my work time. But, three questions remain:

How can I conveniently add one single holiday /day off? If the start and end date are the same, there is a zero in front of the entry
Is it possible to add half days?
How can I enter the number of holidays I have for a year and how much is left?

Thanks in advance, all the best
Chris

Hey,
thanks for your feedback. 😊

I don't see this. When I add a holiday for August 15 I see a 15 in front of the entry. May you please share a screenshot?

No, that is not possible at the moment. What do you think of adding this feature, @arafaatqureshi & @amarradi?

This feature is planned for one of the next releases.

will be updating the total holidays count in the upcoming release. Thanks

Hi,
that's great news, that you are planning to add these features!
Regarding the single day I've attached two screenshots when I add a vacation for 08/01 . On the date picker screen I'm not allowed to save it until I set an end date, which I set also to 08/01.
All the best
Chris
On August 14, 2022 2:39:45 AM GMT+02:00, CrazyMarvin @.***> wrote:

Hey,
thanks for your feedback. 😊

I don't see this. When I add a holiday for August 15 I see a 15 in front of the entry. May you please share a screenshot?

No, that is not possible at the moment. What do you think of adding this feature, @arafaatqureshi & @amarradi?

This feature is planned for one of the next releases. >

-- >
Reply to this email directly or view it on GitHub:
https://github.com/Crazy-Marvin/VacationDays/issues/75#issuecomment-1214255701
You are receiving this because you authored the thread.
Message ID: @.***>

Hello @chris-asdf, I have fixed the date display for vacations with a single day.
https://github.com/unbiaseduser/VacationDays/commit/7da5b7ab49ce7175dcff3d8efc8ac38dca43a7dd
Can you try adding such a holiday with this APK? In your case, the date displayed should be "01" instead of "0".
You have to uninstall the original app before installing this one!
app-debug.zip

@chris-asdf we will be looking for some other way too, but for now as you have to enter the end date as well. so, the same date would be the end date for the single holiday. and then save it, it will let you save .

@arafaatqureshi Are you going to check my code?

@unbiaseduser  sure.

Hi,
thanks @unbiaseduser for fixing. I just give the apk you attached a try and this will do it for me for the single days.
I could also imagine a way of entering no end date if a corresponding checkbox is clicked, that defines if it's a single holiday. But that's not that important.
Also thanks - whoever did this 😃 - for adding the feature with the configurable number of holidays.
Any chance for half days?
All the best
Chris

@chris-asdf you're welcome. Also I would like to mention that the broken date display issue and the feature to conveniently add 1 holiday issue are completely different issues. Which means that if I were to add such feature without fixing the date display, it would still be broken.
Speaking of that feature, I might add it somewhere down the line.
(As for the half days one, I haven't got any ideas how to implement it yet.)

Hey, what about adding half-days ? Could we help on making this feature ? I'm not sure, I can do it soon tho, but I can always keep struggling (which is always great with open source stuff)

Hey, what about adding half-days ? Could I help on making this feature ? I'm not sure, I can do it soon tho, but I can always keep struggling (which is always great with open source stuff)

Sure, go for it, no need to ask

Are you still up for it, @AkechiShiro?
Next month is Hacktoberfest by the way. 😅

Hi @CrazyMarvin
Very sorry for not having gave any update on this, I completely forgot about this, and got busy in life on a few others projects, at the moment I'm short on storage space, but would need Android Studio to properly develop this feature, I believe.
I will definitely try and take a look at what needs to be modified, but this will take me time as I'm not familiar with the code base at all.

Are you interested to work on the feature to support half days, @karimapps?

I'm sorry I couldn't get to take a full stab at this issue @CrazyMarvin

I'm sorry I couldn't get to take a full stab at this issue @CrazyMarvin

Don't worry.


Refactor user tier/token config to clean structure

Since the ‘users’ object does not correspond to a JSON structure in best practices, I suggest that it be transformed into a better structure.
Replacing the users element to an array of objects with tier and tokens attributes in service-config.json:
{
...
  "users": [
    {
      "tier": "tier1",
      "tokens": ["AAAA"]
    },
    {
      "tier": "tier2",
      "tokens": ["BBBB", "CCCC"]
    }
  ],
...
}

Replacing the ServerConfiguration in PIRService/server.swift
struct ServerConfiguration: Codable {
    struct Usecase: Codable {
        let name: String
        let fileStem: String
        let shardCount: Int
    }

    struct User: Codable {
        let tier: UserTier
        let tokens: [String]
    }

    let users: [User]
    let usecases: [Usecase]
}

And modify the run method in the same file to:
...
let config = try JSONDecoder().decode(ServerConfiguration.self, from: configData)

if !config.users.isEmpty {
    let authenticator = UserAuthenticator()
    for user in config.users {
        for token in user.tokens {
            await authenticator.add(token: token, tier: user.tier)
        }
    }
    privacyPassState = try .init(userAuthenticator: authenticator)
}

...

Thank you! I think this is a good change. You are welcome to open a pull request.

Fixed in #54


Python credscan false-positive CWE-312

Issue appeared with the change of the code from
redis_password = REDIS_CONNECTIONS['default']['password']
redis_host = REDIS_CONNECTIONS['default']['host']
redis_port = REDIS_CONNECTIONS['default']['port']

BROKER_URL = local_config.BROKER_URL.format(redis_password=redis_password, redis_port=redis_port)

to the next:
redis_password = REDIS_CONNECTIONS['default']['password']
redis_host = REDIS_CONNECTIONS['default']['host']
redis_port = REDIS_CONNECTIONS['default']['port']
# 'redis://:{redis_password}@example.com:{redis_port}/0'
BROKER_URL = local_config.BROKER_URL.format(
    redis_host=redis_host,
    redis_password=redis_password,
    redis_port=redis_port
)

And got CWE-312. And i have no idea how to avoid it. Is it a bug?

Looks like an error with format(), as it is only replacing the values in a string, not assigning passwords.

Are you able to use the baseline feature to suppress this?
https://slscan.io/en/latest/getting-started/#baseline
redis_password is a known default password so do not want to suppress this in the default configuration.

@prabhu yes, thanks, just copied the basefile from the report and now this error is ignored


ENH: Possibility to read surface containers

Closes #65
Closes #87
Closes #86

I suggest waiting for https://github.com/ContactEngineering/TopoBank/issues/652 before merging this.
Will also implement #83 here.

1. In the long run, the name of the field for the datafile should be configurable. Please see my comments for the `read_container` function. We could already change it here as I want to implement in Topobank soon + keyword argument for the name of the datafile field , which I prefer - or leave it as it is and do it later. Topobank will also save topographies in netcdf. What do you think of this format? [ContactEngineering/TopoBank#579 (comment)](https://github.com/ContactEngineering/TopoBank/issues/579#issuecomment-817136579)

I've made it configurable but it does not have the flexibility to support your suggestion (since it is actually a nested dictionary, and I'm currently checking simply for a certain key). We can however easy switch to the suggested layout once this change has been made in topobank.

2. Aren't the data files for the container already in the repository? If we'd built the ZIP file
   within the test, the package would be 18 MB smaller. It is already quite large. Or is it better
   to you the container file in the package?

We could use data files from the file format examples, but I would actually like to have an example in there that was downloaded from TopoBank. I've recompressed the ZIP file which more than halfed it's size. However, we presently have 200 MB of example file data - I'm not sure how to reduce this size. (We absolute need those files for testing.) I've created issue #88  for this.

I've implemented that datafile->original thing here. @mcrot - can you look at this again. I think this can be merged.


docs: Add all available HF/sentence transformers embedding models list

Solves -  https://github.com/lancedb/lancedb/issues/968

some formatting issues are there

can possibly change "Some available models ..." to "Check out available sentence-transformer models here!"

LGTM

Looks good to me, @AyushExel


Creating a manifest.json file to install the bot

closes https://github.com/marcieltorres/safe-chat-slack-bot/issues/13
What changes do you are proposing?
Creating a manifest.json file to facilitate the bot installation on a slack workspace

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

:exclamation: No coverage uploaded for pull request base (main@5e089a4). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##             main       #18   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         4
  Lines           ?        48
  Branches        ?         1
========================================
  Hits            ?        48
  Misses          ?         0
  Partials        ?         0

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


September 2023 flowtiles

Summary

Ran gage-conditions-gif and edited vizDates in viz_config.yml for September followed by googledrive::drive_auth() & source('helper_fxns_pipeline.R')
rebuild_gage_data().
converted outputted 2_process/out/dv_stats.rds to flow_conditions_202309.csv (Note: use readr::write_csv() to convert from rds to csv and avoid pesky row numbers adding)
Uploaded flow_conditions_202309.csv to S3 water-visualizations-prod-website/visualizations/data (Note: need to be signed in using gs-chs-wma-prod as wma-developer)
Edited read_csv() in target to pull flow_conditions_202309.csv from S3
ran tar_make() to output flow_cartogram.png, flow_national_ig.png , flow_cartogram_ig.png.

Twitter

Instagram

Sweet I edited a small bit for filtering the states of interest, and built state story content for NJ, PA, MD, and DE. Going to merge in now


Add --delete-namespace flag to uninstall command

Is your feature request related to a problem? Please describe.
It can be frustrating to have lots of dangling namespaces in a cluster that are no longer in use. Glasskube should offer an option to delete the namespace when uninstalling a package.
Describe the solution you'd like
The uninstall command can be invoked with a --delete-namespace flag. If this is the case, it should check if there are any Packages installed in that namespace, other than the one that should be uninstalled. If there are, it should print an error message and abort the operation, otherwise it should proceed to delete the Package and subsequently the namespace resource.
Additional context
For context, see #1084.
Related to: #1101

Hey @kosmoz I can work on this !!!

Hi @kosmoz, I would like to work on this

Glad to hear that! Let us know if you need anything.

@Pavan-Chaithanya Are you working in this isssue ?

@Pavan-Chaithanya Are you working in this isssue ?

Yes, I am working on it

@christophenne !


feat: Add demo3 and update demo2 text

Related Issues/PRs

#Adding GPU based demos (doc)
What changes are proposed in this pull request?
Corrected text in demo2 notebook and adding demo3.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

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

Project coverage is 10.16%. Comparing base (eb309fe) to head (81b0705).

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2268       +/-   ##
===========================================
- Coverage   84.54%   10.16%   -74.38%
===========================================
  Files         327      327
  Lines       16775    16773        -2
  Branches     1499     1511       +12
===========================================
- Hits        14182     1705    -12477
- Misses       2593    15068    +12475

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

/azp run

/azp run

/azp run


Fix Travis CI build failures on master

Fixes
Fixes the Travis CI build on master caused by merges of #582, #767 and #502.
Checklist

[X] I have made a material change to the repo (functionality, testing, spelling, grammar)
[X] I have read the [Contribution Guide] and my PR follows them.
[X] I updated my branch with the master branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added inline documentation to the code I modified

Short description of what this PR does:

Resolve ESLint errors caused by merge of #767 and #502
Revert merge of #586 that caused initial build failure on master as shown here: https://travis-ci.org/sendgrid/sendgrid-nodejs/builds/444800868

#586 is marked as fixing #582 (Add CodeCov support to .travis.yml) but it does not appear the changes are sufficient. #598 appears to be a more complete fix.

@tony-ho thanks a lot for this, and in particular for organizing the status of the lint and CI tickets in the description of your PR.
Happy Hacktober my dude!

Hello @tony-ho,Thanks again for the PR!                                         You have earned 5 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at<EMAIL_ADDRESS>                                        Thank you and Happy Hacktobering!                                         Team SendGrid


Allow using multiple seats

Hi,
I want to build a car and want to have 4 seats in my model

Done, in the newest version. You can select what seat to sit on using the seat bone's name.

Thanks <3


feat: different approach on error handling

We may consider introducing an optional error-handling mechanism and let the users decide to proceed in bulk.
One alternative could be [^1]rejection log
[^1]: https://docs.couchbase.com/elasticsearch-connector/current/configuration.html#rejection-log

In our apps, we're big fans of this rejection log mechanism. it keeps everything running smooth. In fact, we have alerts on it. I'm totally on board with what was just said.


shore far from map edge

The shore always look vary far from the edge
by modifying
Map.prototype.gradient = function(pos)
like so
var delta = normalized.magnitude()*0.6;
this seems to get islands to the edge with one tile away, but so far not discovered any without shore or 1 sea before the edge...

The island generation methods are quite lack luster. I only implemented a base generator for the island to get the generation software on top of it. I did not try too hard to get good island generation. There is an endless number of ways to try to generate the island shape. That being said my program does have the requirement of having a single sea tile around the border so it automatically overwrites the noise function in those locations. There will always be at lease one border sea tile.

The island generation methods are quite lack luster. I only implemented a base generator for the island to get the generation software on top of it. I did not try too hard to get good island generation. There is an endless number of ways to try to generate the island shape. That being said my program does have the requirement of having a single sea tile around the border so it automatically overwrites the noise function in those locations. There will always be at lease one border sea tile.


[bug:] PC shuts down during an iteration

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
4GB
What happened?
During an outpainting iteration, pc just shutdown (hard), i suspect its temperature issue, but it never happened before prior with InvokeAI.
I tried to sift in the Windows Event Manager or any memory dumps for as to why, but none i could find.
I have updated to InvokeAI to 2.2.0
Screenshots
No response
Additional context
No response
Contact Details
No response

Make sure your power supply has enough power at peak for your video card. If you have ever upgraded your video card but not your power supply, it could be that your video card tried to draw more power than your power supply could handle, thus causing a hard shut down mid-iteration (when the video card is running at 100%). Power failures don't leave behind traces in the windows logs typically, which is why I'm suspecting this is your issue.

Make sure your power supply has enough power at peak for your video card. If you have ever upgraded your video card but not your power supply, it could be that your video card tried to draw more power than your power supply could handle, thus causing a hard shut down mid-iteration (when the video card is running at 100%). Power failures don't leave behind traces in the windows logs typically, which is why I'm suspecting this is your issue.

I got a 650w power supply, using a lightweight nvida 1050ti, could this card really pull more then that ?

Make sure your power supply has enough power at peak for your video card. If you have ever upgraded your video card but not your power supply, it could be that your video card tried to draw more power than your power supply could handle, thus causing a hard shut down mid-iteration (when the video card is running at 100%). Power failures don't leave behind traces in the windows logs typically, which is why I'm suspecting this is your issue.

I got a 650w power supply, using a lightweight nvida 1050ti, could this card really pull more then that ?

For a healthy power supply, no it shouldn’t. But when your system just cuts off in the middle of 100% load (which is what happens when it’s running steps), 9 times out of 10 it’s either an underpowered power supply, or a dying one.

Well thanks Diego, i guess i'm off buying a new one power unit :P

Well thanks Diego, i guess i'm off buying a new power unit :P

you can run a stress test to identify if its 100% for sure power supply related or thermals, download furmark and find a way to look at thermals, both for cpu and gpu, keep a close watch,,, i reccomend furmark and run it at whatever settings stress out your card without going overboard
1050ti isnt too power hungry for the 10 series cards, if you baught your pc from a store they would have accounted for 100% load, if you built it yourself then its something you should have accounted for.

I already bought a 750w unit, just in case, and i did build this system myself.
I do believe its the peak power that poked the PSU a bit hard.


Different days calculation in desktop & mobile apps

In the desktop version the calculation of days until World Cup is different from the mobile version
Desktop version

Mobile version

Hello,
Please update your solution with latest version.
How to update solution
This issue fixed with latest version.


Add ability to console log SNS topic and SQS queue messages

It'd be useful to see the console log of the topic and queue messages.

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


ACLs promotion

What is currently missing?
As a klaw user I would like to promote ACLs instead of creating them again on higher environments.
Is this a feature you would work on yourself?
no

Usually certificates or IP addresses of machines will be different per environment, hence promotion of acls would not work.
I believe you have a different setup ?

@maciejmaciejko-gid I understand this is a new feature request, but am not sure how much it will be useful. Would you like to work on this ?


Release 0.9.3 for OSX x86_64 does not work

Just wanted to quickly report that the precompiled binary does not work on my intel Macbook pro
Console output:
$ ./tw-osx-x86_64 -h
zsh: bad CPU type in executable: ./tw-osx-x86_64

On a 2019 16in Macbook Pro with a 2.6 GHz 6-Core Intel Core i7 CPU.
Thanks!

@theJasonFan thanks for reporting the issue
please download tw-mac from here https://github.com/seqeralabs/tower-cli/actions/runs/9989837685
and try

it will be solved in next release


Add agent package hashes to metadata and release notes

Updated build process to compute SHA-256 hashes of the agent package.
Hashing implementation: added a new command to the dev.sh script - hash. It looks for the agent package in the _package dir and computes its hash using openssl dgst -sha256 command. The resulting hash is saved to the _package_hash with .sha256 extension.
During the build job in build-job.yml the hash file in the _package_hash dir is published to the hash artifact.
In the main release pipeline (.vsts.release.yml) all of the hashes that have been published in the build job are downloaded. After that, they are used in a new fillReleaseNotesTemplate.js script that puts agent version and package hashes to the releaseNotes.md file.
Function versionifySync (used when creating ADO PR) in the util.js file is replaced with fillInstallAgentPackageParameters that puts both agent version and package hashes to the InstallAgentPackage.xml template. This function requires agent hashes files to work, so these hashes are also downloaded to the _hashes dir before creating ADO PR.

Example run (without creating release branch, uploading agent packages and opening a PR on AzDO): https://dev.azure.com/mseng/AzureDevOps/_build/results?buildId=15880134&view=results
The hashes are calculated and put into InstallAgentPackage.xml and releaseNotes.md.


WIP: widget reinforcement learning

TLDR: automatically play .mp4 file in hub repos whose library=stable-baselines3.
Current approach:

User needs to push .mp4 file to the hub:

push_to_hub(repo_id = "ThomasSimonini/ppo-LunarLander-v2",
           filename = "output.mp4",
           commit_message = "Added LunarLander-v2 video")

Then, update the README.md as

<video src="https://huggingface.co/ThomasSimonini/ppo-LunarLander-v2/resolve/main/output.mp4" controls autoplay loop/>

see example here
Proposed approach:

On push_to_hub python impl,  add logic where if filename.endsWith('mp4'), automatically, update the model card metadata:

widget:
    recording:
        - output.mp4

By using this updated model card metadata, play the video files in the widget section of model page

the widget and the publishing workflow are kinda different issues no?

I like the widget

i like the metadata proposal (could support multiple videos, with maybe a way to go to next one)

not sure about the automated workflow "On push_to_hub python impl, add logic where if filename.endsWith('mp4'), automatically, update the model card metadata" => it should be the training script/library that does that no? or alternatively, on moon-landing side, if model == RL && there's a video.mp4 inside the repo, play it (not sure about option 2, i think option 1 is better)

it should be the training script/library that does that no?

afaik, there is no connection between RL library (stable-baslines3 for example) training loop & huggingface_sb3. Therefore, I don't think it is possible to do so (if I'm not mistkane, cc @simoninithomas)
Which leaves us two options:

moon-landing side as you desctibe above
the initial approach I described. Isn't there a way we can change model card frontmatter when mp4 files gets push_to_hub-ed?

We talked yesterday with Mishig about how we can use it with SB3.
We have two solutions:
1⃣ Adding a method into push_to_hub() in huggingface_sb3 that generates a video of the agent performing. The video is pushed to hub to and the widget detect if there is a output.mp4 in the repo.
➕: It's easier because the user has the environment installed, so the video generation is smooth.
➖: It implies to implement this system for each library.
2⃣ Doing this process in the hub itself. When someone push to hub a model, we generate a video of the agent performing in the environment
➕: It's more scalable
➖: It implies to be able to handle every possible environment.
I think personally, that the first solution for now is the best. In the future (like in a year), with the project of hosted environments on the Cloud (Edward's project) we might move towards the second solution. But we wanted to have your position @julien-c and @osanseviero

Yes, option 1 sounds like the right way.
It's the responsibility of the libraries to create the video and update the metadata - doing this in the Hub side won't scale easily to different libraries (lack of flexibility, doing things in a non transparent way, etc)

Yes fully agree.
The only moment when 2⃣ will be doable is when we build some kind of repo-centric, scriptable "Hugging Face Actions" workflows but that's a long way into the future =)

Just read the thread here.
I'll close this PR since it seems that you agreed on implementing it in a separate repo + has been continued in https://github.com/huggingface/hub-docs/pull/75.


Find and Replace within single expression

Primary use case is renaming variables within an expression, so it makes more sense to treat this as "refactor"


Use CDI API

What this PR does / why we need it:
Use CDI API
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/approve


Make channel information shown in debug logs usable

Background
I am looking at messages like this (123 instead of the real numbers to protect the innocent):
2021-04-27 18:00:10.256 [DBG] HSWC: ChannelLink(123:1113:0): forwarding 1 packets to switch
2021-04-27 18:00:10.345 [ERR] HSWC: insufficient bandwidth to route htlc
2021-04-27 18:00:10.345 [ERR] HSWC: Unhandled error while reforwarding htlc settle/fail over htlcswitch: insufficient bandwidth to route htlc
2021-04-27 18:00:10.345 [DBG] HSWC: ChannelLink(123:1113:0): queueing removal of FAIL closed circuit: (Chan ID=123:1113:0, HTLC ID=3034)->(Chan ID=123:1949:0, HTLC ID=0)
2021-04-27 18:00:10.596 [DBG] HSWC: ChannelLink(123:1113:0): removing Fail/Settle packet (Chan ID=123:1113:0, HTLC ID=3034) from mailbox

Your environment
lnd 0.12.1
Linux server 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
bitcoind 0.21.0 (bitcoin core)
Expected behaviour
The channel id shown as "ChannelLink" seems to be a unique channel identifier, related to #1252. However, as a lnd user, I am unable to make use of this information, as it does not appear in lncli listchannels. Before I can fix the underlying balance issue, I need to convert the channel ID into another format (how?). This is extremely impractical, and I don't really see the point of the debug log.
Please provide helpful information in the debug logs. This could mean adding/replacing the current log output. This could also be done by adding a converter to lnd, or adding the "ChannelLink" id to the output of lncli listchannels (and other commands).

Workaround/hack:
#!/usr/bin/python
import sys

for line in sys.stdin:
        arr = line.rstrip().split(":")
        print (int(arr[0]) << 40) + (int(arr[1]) << 16) + int(arr[2])

Was resolved by https://github.com/lightningnetwork/lnd/pull/5508 (just shows the channel point instead now)


[R-259] Which is the best LLM for evaluation?

I checked the documentation and related resources and couldn't find an answer to my question.
Your Question
Do RAGAS prompts work equally well with other LLMs like Claude 3 Sonnet and Llama 3? If not which model to choose?
Also, is there a way to print and modify the prompts?
Additional context

I can see a big variation in scores across different models.
GPT-3.5 gives me higher scores compared to others for all metrics. Claude 3 Sonnet is like the average of Llama 3 and GPT-4 Turbo. Llama 3 and Cohere Command often give NaN output for some metrics.
My evaluation set has 19 records.

Radar chart comparison of scores:

R-259

Hey @yadavshashank This is a very interesting analysis. This is also a problem we have been thinking about. Fundamentally what matters here is which of these LLMs would suit your level of alignment between automated scoring vs manual scoring. This is the problem we can solve by adding some form of UI component before automated scoring that would allow developers to do some level of manual checking and make sure that scores align with their judgment.  We will be working in this direction, but that will only come later.
As of today, my best recommendation is to go for the best overall performing LLMs like gpt-4 / Claude if closed source and llama-3 if opensource.


Make WWW greate again [3028]

Migrated from https://hub.jazz.net/ccm41/resource/itemName/com.ibm.team.workitem.WorkItem/3028


Fix insertion of module docstring to mkdocs

inserting a module docstring looks really nice, f.e. on:
https://pawamoy.github.io/mkdocstrings/reference/plugin/

However it also inserts a toc item for the module:

Click on it, and scroll back to the top of the page:

Minor issue, just letting you know in case you're not aware.

I am in fact aware, and it's tracked in #60.
Still, thank you very much for the report, I appreciate it!
My CSS skills are not that high, so if you want to take a look at what happens here, it would be great!
I'll close this as duplicate :slightly_smiling_face:

Ah, I missed that one when scanning the issues.
Thanks for the great plugin!


Monoid for  Types.Transaction

Monoid instance for Transaction

I've added a bunch of comments in this PR which will probably need addressing, any feedback on them would be much appreciated.

@ngua good idea of the guard, hopefully I implemented what you intended, notice that the neutral element now has true for is_valid


task_wdt times out immediately when CONFIG_TASK_WDT_HW_FALLBACK is disabled

Describe the bug
When running the task_wdt sample code and disabling CONFIG_TASK_WDT_HW_FALLBACK the watchdog times out immediately.

To Reproduce

Add CONFIG_TASK_WDT_HW_FALLBACK=n to prj.conf build and run on nrf5340audio dk
Expected behavior

I expect the following output on the console:
*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
Task watchdog sample application.
Main thread still alive...
Control thread started.
Main thread still alive...
Main thread still alive...
Main thread still alive...
Control thread getting stuck...
Task watchdog channel 1 callback, thread: control
*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***

And this is what i get:
*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
Task watchdog sample application.
Main thread still alive...

Impact

Logs and console output

Environment (please complete the following information):

OS: (e.g. Linux, MacOS, Windows)
Toolchain (e.g Zephyr SDK, ...)
Commit SHA or Version used

Using Zephyr OS v3.6.99-100befc70c74
Additional context

Thank you for reporting this. However - unless you are able to reproduce this issue with upstream Zephyr main - please report issues with the nRF Connect SDK (NCS) on the Nordic Semiconductor DevZone.


Check failed: connect(sockfd, (sockaddr *)&serv_addr, sizeof(serv_addr)) >= 0 ERROR connecting to xxxxxxx: Connection refused

@20092136 https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md#好问题与蠢问题


TextBoxHelper.WatermarkAlignment not working

Describe the bug
I want to edit the alignment of watermark, so I use TextBoxHelper.WatermarkAlignment property in Textbox. but It's not working.
Expected behavior
Watermark Alignment is changed
Screenshots

Environment

MahApps.Metro v1.6.5
OS: Windows 10 1809
Visual Studio 2019 16.0.3
.NET Framework 4.7.2

@PlAn-K You must set HorizontalContentAlignment="Stretch", which is necessary to enable changing the watermark alignment.


Background color is not correctly passed to html2canvas

I have a need to color the pdf background color. My content does not take full pages and I need to set the color of the remainder of the page to match my contents background.
I made 2 code pens:
html2canvas:
https://codepen.io/Beckilicki/pen/eYBKRGP
html2pdf.js:
https://codepen.io/Beckilicki/pen/bGBKRRR
On first one when I change the "backgroundColor" property it takes effect, while on the second one it does not. I have looked through similar issues but without much luck.
I have tried:

using background property instead of "backgroundColor",
setting "allowTaint" property to true
setting "removeContainer" property to true
combinations of the above

Any help on this issue would be greatly appreciated.

Did you find it?

having the same problem. Did you ever figure this out?

Also spend few hours to figure this out...
Looks like backgroundColor property which is correctly passed to html2canvas overrides buy background, that comes from container, which html2pdf.js creates when copy dom node for conversion. Simple workaround - is to clone your element before passing it to html2pdf and add style.backgroundColor = '#yourcolor' to it. Something like
example from my react app:
 const handlePdfClick = async (e) => {
    const htmlContent = ref.current.cloneNode(true);
    htmlContent.style.backgroundColor = '#3f2782';
    await html2pdf().set(options).from(htmlContent).save();
  }


Websocket Data Issues

This is more of a websocket data issue than an API/library issue.
I noticed that when I subscribe to the authenticated websocket channel, it seems that I am not receiving all of the price updates. I compare the price I am getting through websockets, for example BTC/USD,  with the website and about 80% of the time the quotes are mis-matched. Even worse, many times the price through the websocket channel will get cut in half for a few seconds and then return back to normal! For example, BTC is trading at ~14K USD right now, but sometimes I get a price of 7K for a few seconds. This is how I'm getting the price:
const websocket = new Gdax.WebsocketClient(
  ['BTC-USD'],
  'wss://ws-feed.gdax.com',
  {
    key: 'mykey',
    secret: 'mysecret',
    passphrase: 'mypass',
  },
  { heartbeat: true }
);

websocket.on('message', data => {
  if(data.product_id === 'BTC-USD' && data.reason === 'filled' && typeof(data.price) !== 'undefined') {
    btcusd = data.price; // Never up to date with website price, sometimes is cut in half
  }
});

Am I doing this right? I'm thinking maybe I'm missing a configuration option? Any guidance is much appreciated, thanks!

The website is just a normal consumer of the websocket feed, there should never be any difference in behaviour. Perhaps try checking the type of messages as well.

@fb55 Thank you for your feedback. We have looked at the type and we can get one of the following types:
[received,open,done,match]
as you can see in the example above, we get the price for ALL types, and we assume that the current price of BTC is based on filled orders (reason === 'filled').
We have not made any updates to our code and realized that the issue with the price being cut in half is no longer coming up. There is not any reference to this in either the GDAZ API docs or the docs for this library


TCP._handle.close [as _onclose] (net.js:511:12)

Seeing a lot of these recently, which makes POST/XHR requests fail.
Will debug further this weekend, just wondering if you've seen this before @clems4ever?
Error
    at IncomingMessage.onAborted (/usr/src/node_modules/raw-body/index.js:269:10)
    at emitNone (events.js:86:13)
    at IncomingMessage.emit (events.js:188:7)
    at abortIncoming (_http_server.js:381:9)
    at socketOnClose (_http_server.js:375:3)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:191:7)
    at TCP._handle.close [as _onclose] (net.js:511:12)
Error
    at IncomingMessage.onAborted (/usr/src/node_modules/raw-body/index.js:269:10)
    at emitNone (events.js:86:13)
    at IncomingMessage.emit (events.js:188:7)
    at abortIncoming (_http_server.js:381:9)
    at socketOnClose (_http_server.js:375:3)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:191:7)
    at TCP._handle.close [as _onclose] (net.js:511:12)
Error
    at IncomingMessage.onAborted (/usr/src/node_modules/raw-body/index.js:269:10)
    at emitNone (events.js:86:13)
    at IncomingMessage.emit (events.js:188:7)
    at abortIncoming (_http_server.js:381:9)
    at socketOnClose (_http_server.js:375:3)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:191:7)
    at TCP._handle.close [as _onclose] (net.js:511:12)
Error
    at IncomingMessage.onAborted (/usr/src/node_modules/raw-body/index.js:269:10)
    at emitNone (events.js:86:13)
    at IncomingMessage.emit (events.js:188:7)
    at abortIncoming (_http_server.js:381:9)
    at socketOnClose (_http_server.js:375:3)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:191:7)
    at TCP._handle.close [as _onclose] (net.js:511:12)
Error
    at IncomingMessage.onAborted (/usr/src/node_modules/raw-body/index.js:269:10)
    at emitNone (events.js:86:13)
    at IncomingMessage.emit (events.js:188:7)
    at abortIncoming (_http_server.js:381:9)
    at socketOnClose (_http_server.js:375:3)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:191:7)
    at TCP._handle.close [as _onclose] (net.js:511:12)
Error
    at IncomingMessage.onAborted (/usr/src/node_modules/raw-body/index.js:269:10)
    at emitNone (events.js:86:13)
    at IncomingMessage.emit (events.js:188:7)
    at abortIncoming (_http_server.js:381:9)
    at socketOnClose (_http_server.js:375:3)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:191:7)
    at TCP._handle.close [as _onclose] (net.js:511:12)

Hello @jkaberg,
wow, I have not seen this before. Are you still deploying from the example?
Are all your external services (ldap, redis, mongo) up and running and accessible from Authelia?
Can you provide me with your commit id and config file if customized?

@clems4ever Did some debugging now, so Authelia is able to connect to both Redis and MongoDB. I've also tried commenting them out of the config to see what happens and the error persist so I don't think it's related to Redis or MongoDB. Authelia is able to auth against LDAP just fine, actually the entire auth process with LDAP login and TOTP/2FA works as expected.
I'm using the latest Docker image.
port: 80
logs_level: info
ldap:
  url: ldaps://xxxxx
  base_dn: dc=xxxxx,dc=xxxxx
  additional_users_dn: cn=users,cn=accounts
  users_filter: uid={0}
  user_name_attribute: uid
  additional_groups_dn: cn=groups,cn=accounts
  group_name_attribute: cn
  groups_filter: (&(member={0})(objectclass=groupOfNames))
  mail_attribute: mail
  user: uid=authelia,cn=sysaccounts,cn=etc,dc=xxxxx,dc=xxxxx
  password: xxxxx

access_control:
  default:
    - xxxxx
  groups:
    admins:
      - '*.xxxxx'

session:
  secret: xxxxx
  expiration: xxxxx
  domain: xxxxx
  redis:
    host: redis
    port: 6379

regulation:
  max_retries: 3
  find_time: 120
  ban_time: 300

storage:
        #  local: /var/lib/authelia/store
  mongo:
    url: mongodb://mongodb:27017/auth

notifier:
  gmail:
    username: xxxxx
    password: xxxxx

The issue arises (it seem's) when NGINX is hit with an POST/XHR request where NGINX asks (on the /verify endpoint) Authelia if auth is ok, where Authelia outputs the error message in 1st post

Hello @jkaberg,
thank you for sending the config. It looks good to me however. And indeed, you are right, logs might be a bit insufficient since we cannot clearly see the problem. But the thing is I don't even know where to plug any log to detect those kind of issues though. Do you have a particular nginx config?
I once had a problem with jenkins login and I had to add the following line to the /verify endpoint of my nginx config to make it work:
proxy_set_header  Content-Length "";

Do not hesitate to post a test case if you find an easy way to reproduce so that I can help further.

@clems4ever how very interesting this one is
proxy_set_header  Content-Length "";

This actully fixed it for me. Do you have any clue as to why we need to set the content length?

Hello @jkaberg ,
Glad it helped! I don't have any clue... Just faced the issue and found it in a forum at some point.


Add Rome.podspec

@blender Can you release this to CocoaPods too? We try to manage versions of all the tools that we use, but it's too cumbersome to do it with Homebrew, especially if the formula belongs to a non-core tap.
Let me know if you don't know how to release a podspec.

So this makes Rome downloadable via CocoaPods?
Can you please add this method to the Readme too? https://github.com/blender/Rome#get-rome

@thii I'm guessing I'll just follow this to release a podspec? https://guides.cocoapods.org/making/getting-setup-with-trunk.html

That's right!

@thii Great!
May I know what company this project will be used in?
May I add it to https://github.com/blender/Rome#who-uses-rome ?

@thii
I'm getting an error when trying to push to trunk.
$ pod trunk push Rome.podspec
Updating spec repo `master`
Validating podspec
 -> Rome (<IP_ADDRESS>)
    - WARN  | license: Unable to find a license file
    - ERROR | [tvOS] unknown: Encountered an unknown error (Malformed version number string ) during validation.

With --verbose
Integrating client project

[!] Please close any current Xcode sessions and use `App.xcworkspace` for this project from now on.

Integrating target `Pods-App` (`../../../../../../var/folders/b4/qz7m1r9x3mj1bm3nfsjjf64m0000gp/T/CocoaPods-Lint-20180525-26566-3kmp1d-Rome/App.xcodeproj` project)
  Adding Build Phase '[CP] Check Pods Manifest.lock' to project.
  - Running post install hooks

-> Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
   Building with `xcodebuild`.

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

/Users/Tommaso/.rvm/gems/ruby-2.5.1/bin/pod trunk push Rome.podspec --verbose

### Report

* What did you do?

* What did you expect to happen?

* What happened instead?

### Stack

CocoaPods : 1.5.3
Ruby : ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
RubyGems : 2.7.7
Host : Mac OS X 10.13.4 (17E199)
Xcode : 9.2 (9C40b)
Git : git version 2.14.3 (Apple Git-98)
Ruby lib dir : /Users/Tommaso/.rvm/rubies/ruby-2.5.1/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 43949a8804cdfb8286d56e27ea44a0b79dff22ac

### Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

### Error

FrozenError - can't modify frozen String
/Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/cocoapods-1.5.3/lib/cocoapods/validator.rb:335:in rescue in perform_extensive_analysis' /Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/cocoapods-1.5.3/lib/cocoapods/validator.rb:301:in perform_extensive_analysis'
/Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/cocoapods-1.5.3/lib/cocoapods/validator.rb:87:in validate' /Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/cocoapods-trunk-1.3.0/lib/pod/command/trunk/push.rb:125:in validate_podspec'
/Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/cocoapods-trunk-1.3.0/lib/pod/command/trunk/push.rb:68:in run' /Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/claide-1.0.2/lib/claide/command.rb:334:in run'
/Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in run' /Users/Tommaso/.rvm/gems/ruby-2.5.1/gems/cocoapods-1.5.3/bin/pod:55:in <top (required)>'
/Users/Tommaso/.rvm/gems/ruby-2.5.1/bin/pod:23:in load' /Users/Tommaso/.rvm/gems/ruby-2.5.1/bin/pod:23:in '
/Users/Tommaso/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in eval' /Users/Tommaso/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in '

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=can%27t+modify+frozen+String&type=Issues

If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!

Looking for related issues on cocoapods/cocoapods...
 - Error: can't modify frozen String
   https://github.com/CocoaPods/CocoaPods/issues/1444 [closed] [7 comments]
   06 May 2016

@blender What did you get with pod lib lint --allow-warnings?
I ran the podspec lint on my Mac and it passed. I'm guessing the error is because you don't have any tvOS simulator installed (no idea why it chose a tvOS sample to test the podspec).

@thii  I switched to using system ruby instead or 2.5.1 and it works...
https://cocoapods.org/pods/Rome

@blender Thanks a lot!


dynamic attributes not working when using webc:keep

Dynamic variables are not resolved when using webc:keep
This works ✅

<link rel="stylesheet" href="assets/css/index.css">

<link rel="stylesheet" href="assets/css/index.css">

But this doesn't work 🚫

<link webc:if="css" webc:keep rel="stylesheet" :href="css">

<link rel="stylesheet" href="function (...args) {
   benchmark.before();
   let ret = callback.call(this, ...args);
   benchmark.after();
   return ret;
}">

my base.webc looks like this:
<!doctype html>

		<meta charset="utf-8">
		<title @text="title"></title>

Ah, then is your original comment mislabeled? I would like to know what css is (or what you expect it to be) in this example:

<link webc:if="css" webc:keep rel="stylesheet" :href="css">

<link rel="stylesheet" href="function (...args) {
   benchmark.before();
   let ret = callback.call(this, ...args);
   benchmark.after();
   return ret;
}">

sorry i forgot something... my base.webc looks like this:
<!doctype html>

      <meta charset="utf-8">
      <title @text="title"></title>
      <link webc:keep rel="stylesheet" :href="`assets/css/${this.css}`" />

and inside my home.webc i set the css inside my frontmatter like this:
---
layout: layouts/base.webc
css: home.css
---

but this:
<link webc:keep rel="stylesheet" :href="`assets/css/${this.css}`" />

will render to:
<link rel="stylesheet" href="function (...args) {
   benchmark.before();
   let ret = callback.call(this, ...args);
   benchmark.after();
   return ret;
}">

Fixed by https://github.com/11ty/eleventy-plugin-webc/commit/731604f42db28aac1a04dc026bb101fee9b35c0a


⚠ Samsung has degraded performance

In 64093d3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1993 ms

Resolved: Samsung performance has improved in 87a25db.


[11.x] - add Prompts textarea fallback for tests and add assertion tests

This PR adds a fallback for the new textarea component in Laravel Prompts, similar to other components. Without this, you can not use expectsQuestion when using the textarea prompt.
Issue
I don't quite understand the underlying fallbackUsing behaviour but I do know that if it's missing, it causes the tests to hang.
Fixes

https://github.com/laravel/prompts/issues/131

Tests
I'm not sure if the tests are the right way to go about this but it's the only way I could validate the fix in the framework. If you remove the new Textarea::fallbackUsing(...) and run the new tests, they will hang. I also found some other interesting behaviour when writing those tests but require these to be merged first before I can work on a fix.
Additional PR
If this PR is merged, can https://github.com/laravel/framework/pull/51056 please be looked at as well?

I'm not quite sure how to fix the failing tests - I think they're failing because textarea is only available in the latest version of Laravel but the matrix is checking older versions. I'm not quite sure how to fix that.

I've updated the composer.json to bump the prompts version to at least get the tests passing but not sure if this should be left alone...

Thanks, @lioneaglesolutions!
I've updated the fallback to use Symfony's multiline setting. It doesn't matter so much for test assertions, but the fallbacks are also used for Windows users without WSL.

Awesome @jessarcher glad I could help. Any thoughts on https://github.com/laravel/framework/pull/51056?


Title clubs

Fixing some build issues on iOS/Android

@jplafonta,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


feat: Include generics for Joint and JointDef

Problem to solve
Avoid casting and asserting when doing something as:
assert(joint.bodyA is Foo && joint.bodyB is Boo, 'Invalid joint.');
final foo = joint.bodyA as foo;
final boo = joint.bodyB as boo;

Proposal
Use of generics to determine the type of bodyA and bodyB. For example, Joint<T, S> and JointDef<T, S>.
More information

Similar to #36 but not the same.

I'm interested in working on a PR for this.

The purpose of this has been mainly resolved by #50


SQLAlchemy 1.4.2 support

Describe the bug
Installing fastapi-users[sqlalchemy] and getting version solving error
To Reproduce
Steps to reproduce the behavior:

poetry add SQLAlchemy && poetry add fastapi-users[sqlalchemy]

Expected behavior
install fastapi-users[sqlalchemy] dependency using sqlalchemy 1.4.2 and poetry
Configuration

Python version : 3.9.2
FastAPI version : 0.63.0
FastAPI Users version : 5.1.2
SQLAlchemy version: 1.4.2

Describe the bug
Installing fastapi-users[sqlalchemy] and getting version solving error
To Reproduce
Steps to reproduce the behavior:

poetry add SQLAlchemy && poetry add fastapi-users[sqlalchemy]

Expected behavior
install fastapi-users[sqlalchemy] dependency using sqlalchemy 1.4.2 and poetry
Configuration

Python version : 3.9.2
FastAPI version : 0.63.0
FastAPI Users version : 5.1.2
SQLAlchemy version: 1.4.2

Because no versions of fastapi-users match >5.1.2,<6.0.0
   and fastapi-users (5.1.2) depends on sqlalchemy (>=1.3.13,<1.4), fastapi-users (>=5.1.2,<6.0.0) requires sqlalchemy (>=1.3.13,<1.4).
  So, because yopta depends on both SQLAlchemy (^1.4.2) and fastapi-users (^5.1.2), version solving failed.

SolverProblemError raised
Because no versions of fastapi-users match >5.1.2,<6.0.0    and fastapi-users (5.1.2) depends on sqlalchemy (>=1.3.13,<1.4), fastapi-users (>=5.1.2,<6.0.0) requires sqlalchemy (>=1.3.13,<1.4).   So, because yopta depends on both SQLAlchemy (^1.4.2) and fastapi-users (^5.1.2), version solving failed.

Currently, we are blocked by encode/databases which doesn't support SQLAlchemy 1.4 versions. See https://github.com/frankie567/fastapi-users/discussions/554#discussioncomment-503593
Meanwhile, please pin SQLAlchemy to 1.3.x.

got it, thank you!

Looks like the encode/databases project fixed this in the 0.5.0 release a few days ago.

Indeed! Actually, I'm currently splitting all the database adapters into separate packages and I've already updated the one for SQLAlchemy/databases. I'll release it soon!

Should be fixed in v7.0.0 with updated SQLAlchemy/Databases adapter.


236 pagination

Some modals have been turned into pages. MajorsModal has been paginated at "/planner/majors", EditProgramRequirements modal has been paginated into "/planner/majors/program-requirements/[majorId]" where the majorId is passed in to the page to then load the correct MajorRequirements to display on the page. The majorId is retrieved from the query parameters with useParams(). Navigation is handled simply by useRouter, such as in router.push("/planner/majors").

Also needs some documentation about how the new pages work in the PR comments

No new changes have been pushed to this branch, so there's nothing new to review


Host-specific remote target

I do not think we should implement this soon but  it is logical to specify the host on which the targets are available. For example,
input: remote('hg19.gz', host='host_A')
task: queue='host_B'
sh:
    process `${input}`

It is natural to rsync hg19.gz from host_A to host_B before the task is completed. Because we have IP addresses for host_A and host_B and know how to map between these hosts, this is certainly doable. Along this line, if host_B is localhost, the remote files should be copied to the local machine.
input: remote('hg19.gz', host='host_A')
task:
sh:
    process `${input}`

There is also a possibility to handle remote targets outside of task,
input: remote('hg19.gz', host='host_A')
sh:
    process `${input}`

but that has to wait.
In the future, we might have targets such as S3() for files from amazon cloud, and we should be able to handle them in a similar fashion.

done.


Change base image to UBI

Use registry.access.redhat.com/ubi8/openjdk-11:latest for base image inside the Dockerfile.
This will fix the pull rate limit problem of DockerHub.

Fixed with #58


Proposal: names and labels in events api

It would be good to have the events api endpoint provide the names and labels with the events. For people than encode metadata in the name/label. Otherwise I'd need to do an inspect after receiving an event or have a cache of id(s) to metadata
It looks fairly straightforward to implement  and I can send a PR.
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:

Can you provide an example of what you think this would look like in the JSON and CLI output?

yes I'm not thinking about the cli, it would get too wide, only the api endpoint.
just adding the Label and Name fields as in inspect.
e.g..
{
"status": "create",
"id": "0f2c4e2d08bc5313eb87b6729e379d31ff631e6bbf4289d49eb9d53fafffe4f5",
"from": "docker.io/busybox:latest",
"time":<PHONE_NUMBER>,
"name": "bar_foo",
"labels": {
"app": "foo",
"slot": "6",
"env": "prod",
"service": "xyz"
}
}

I'm in favor of this :+1:

Also see https://github.com/docker/docker/issues/18164


xboxs not work left and right joystick

Hi. left_joystick_float and right_joystick_float not work for xbox series s/x :(

Hi, can you be more precise to describe the issue that you face please?
vgamepad does not emulate xbox series s/x gamepads at the moment, only vanilla xbox 360 gamepads.

Hi, can you be more precise to describe the issue that you face please?
vgamepad does not emulate xbox series s/x gamepads at the moment, only vanilla xbox 360 gamepads.

I get it :(
The thing is that xboxs works fine with all vgamepad buttons, except the sticks :(
Are there any predictions on the implementation?

Maybe in the C++ code of vigem, but I doubt there is. The stick "float" API just converts the -1.0/1.0 range to integers and calls the "raw" API, what happens when you call the "raw" API directly?

In case anyone managed to map physical Joycon joysticks with Vgamepad's virtual 360 joysticks, I would love to hear it.
I don't think it's a problem with vgamepad. I'm just a terrible programmer : )

I am still not sure what goes wrong exactly, can you share your code maybe ?
Closing as this doesn't seem to be an issue with vgamepad, but feel free to continue the discussion here. Please use stackoverflow for questions.

Yeah, in my case (I am not the OP of this topic) I was just trying to see if there's someone who already worked with joycons and Vgamepad to save me the trouble. I am simply a complete noob (this is my first project ever). For people who haven't worked with joycons, I don't expect help because it's quite a specific issue.
If you'd like to see how bad my understanding is of the joysticks, here is the relevant code I have tried. Although I've tried many other variations.
import vgamepad as vg
from pyjoycon import JoyCon, get_R_id, get_L_id
import hid

JOYCON_VENDOR_ID = 0x057e
JOYCON_PRODUCT_ID = 0x2006
JOYCON_REPORT_SIZE = 49
gamepad = vg.VX360Gamepad()

gamepad.left_joystick_float(x_value_float=-0.5, y_value_float=0.0)  # values between -1.0 and 1.0
gamepad.right_joystick_float(x_value_float=-1.0, y_value_float=0.8)  # values between -1.0 and 1.0

def get_joycon_device(joycon_id):
    joycon_devices = hid.enumerate(JOYCON_VENDOR_ID, JOYCON_PRODUCT_ID)
    for device_info in joycon_devices:
        if device_info['serial_number'] == joycon_id:
            joycon_device = hid.device()
            joycon_device.open_path(device_info['path'])
            return joycon_device

right_joycon_id = get_R_id()
left_joycon_id = get_L_id()

right_joycon = JoyCon(*right_joycon_id)
left_joycon = JoyCon(*left_joycon_id)

while True:
    right_report = right_joycon.get_status()
    left_report = left_joycon.get_status()

    right_stick_horizontal = right_report['analog-sticks']['right']['horizontal']
    right_stick_vertical = right_report['analog-sticks']['right']['vertical']
    left_stick_horizontal = left_report['analog-sticks']['left']['horizontal']
    left_stick_vertical = left_report['analog-sticks']['left']['vertical']

    gamepad.left_joystick_float(x_value_float=left_stick_horizontal, y_value_float=left_stick_vertical)
    gamepad.right_joystick_float(x_value_float=right_stick_horizontal, y_value_float=right_stick_vertical)

My project is about mapping motions to buttons. So I can swing the joycons to activate buttons, like swinging the right joycon to press X and the left joycon to press B. I already succeeded in that part, for which vgamepad has been very useful. Now I just have to map all normal controller functions. Once I've implemented the joysticks and rumble, all the crucial functions are done.

One issue that you might have here is a busy loop issue. You want to ensure that your while loop doesn't go faster than the real X360 refresh rate (something like 120Hz or 250Hz, I don't remember).
The issue that you obviously have is that you don't call gamepad.update() in this code.


Few questions about the avir algorithm

First of all, thank you so much for giving us this incredible library. I can't believe it's free and open-source considering it's top-notch quality. Output results look amazing, speed is mind-blowing and the interface is as simple as it can get. Again can't thank you enough for this.
I'm creating an Image Processor for android. Tho the library itself is amazing, I would like to implement my own version of the algorithm to be used in my application. Mainly for the following reasons.

I won't be using most of the extra features offered. I just need to downsize a 8 bit 4 channel image. So hopefully I will be able to cut down the size of the library.
As this is a mobile application, I would like to squeeze out the every bit of performance I can. Implementing my own version will allow me to do optimizations unique to my app environment.
I already have a resizing engine. So I would like this algorithm to be seamlessly integrated into it.

So my questions are,

Do you have any specification at the moment, that I can use to implement it?
Do you think I'll be able to cut off the size by a considerable amount by removing unused features such as (16,24 bit / sRGB featues)
Do I have your permission to implement it into my application? You of course will be credited properly both in docs and the application itself.

No, I have no specifications on the changes, do them at your own risk. You can safely remove all if( ElCount == 1..2..3 ) branches if you plan to use 4 channels only. Removing gamma correction won't reduce code size much. You can modify the code as you wish, only the originator (me) should me mentioned.

cool


How to set cookie for specific domain

I am trying to set cookie for a domain but its not working. Here is my code:
this.cookieService.set('merchant_data', cookieData, expire, '/', 'abc.example.com');
its  not working but when I remove  domain it works ,  how can I set it for domain ?

I am also facing same problem

Hello!
This seems to be an issue more and more people are experiencing. I do not know the specifics of your problem, but I would like to point you to some resources that might help you:

https://stackoverflow.com/questions/6761415/how-to-set-a-cookie-for-another-domain
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

As I see it, it's probably an integration problem and has nothing to do with our package. If you are still facing trouble, you should open a StackOverflow issue. If it is indeed a problem with ngx-cookie-service, feel free to come back and open a more specific issue / bug report so that we can fix the package for everyone.
Cheers from Berlin

@dhananjaykumar880
Did you solve this problem?

Did you solve this problem?

No, still not working. And somewhere I read some article that we can set a cookie for the different domain as it breaches security policy of browser. So-called banned by browser ;)

I am also facing the same problem, did anyone find any solution for this yet?

@dhananjaykumar880 @kumaraditya1999
Reading my comment above, I realize that I did not make this point clear enough. If you check out the first of the links above, you will see that you cannot set cookies for other domains. That is also stated in our documentation.

I was migrating my project from angular 4 to angular 8. In the earlier version I was doing so and that was working. Is this thing there in the new update ? Thanks for the time.


Remove ripple from copy button (couldn't change ripple color).

Shocker: Turns out changing the color of the ripples is, as far as I can tell, obscured away from us. I tried playing with MUIThemeProvider and specifying ripple styling – no luck. I tried passing a prop called rippleColor with new value – no luck. (N.B. these were the top stack overflow suggestions I could find).
One alternative solution would be to disable the ripples on the copy button altogether, and blur focus from the button onClick. I've implemented this and have it on a branch, but we should review it as a team and decide if this is something we want. Furthermore, if someone can see how to change ripple color, we should implement that and consider it as an option -- I wasn't able to in the timebox I allotted.

Maybe this is a dumb question but if we removed the focus ripple why do we need to blur on click as well?

When you have focus on the button it looks lifted off the page (longer and darker box shadows) emphasizing that it's selected. When you blur it provides (granted, a modest, but albeit) a visual indicator that something has happened.

At least that was my justification*

In order to test this, we click on the copy button, alt tab out of the app then alt tab back in right?
Since I was not able to reproduce the original ripple effect error, I am also not seeing the latest fixes...

After talking with Dylan, the effect is triggered from tabbing between buttons as well (not just alt tab). When I click on a button and then tab to bring focus to the copy button, I see that the button has a blur indicating that an action has occurred on it. The change is subtle but enough to indicate that the copy button has focus. Looks good to me!


[arc-multicloud] Improvement, Bugfix and Add Customization

Changes introduced:

GA release
Register all required RPs before running each command
Reflect API swagger changes
Store the output of generate-aws-template to json file on disk
Update help guide with more examples

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[x] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

arc-multicloud

hi @bagajjal and @alexmahonic , merged this pr already since all tests passed and no more comments this morning when I review it. If more changes expected, please raise a new pr to update it. Thanks.
If any other concerns, please let me know.

@AllyW , one suggestion is to wait for the approval from product team members before merging the PR.
I don't know how much you cover as part of your review.
Product team review adds lot of value and provides true feedback.

hi @bagajjal and @alexmahonic , merged this pr already since all tests passed and no more comments this morning when I review it. If more changes expected, please raise a new pr to update it. Thanks.
If any other concerns, please let me know.

I'll check those comments and update in following PRs if needed. It shouldn't have product impact at the moment.

Synced with @bagajjal with the comments and will address and investigate accordingly.


Modal should be less opinionated

Generally I think it controls too much:

the modal can close itself with a button it creates. It should not specify buttons or open/closed state
the cancel button is created for you, it should not be
the body content is specified as a prop. It should be specified as children.
the inner html content is fixed to have a header and footer. Should we remove that and create ModalHeader /> and  Components?

I agree with this. I'm looking at a design for a modal right now that wants a primary close button on the bottom (rather than secondary), no horizontal lines, centered header text, and a centered close button. All of which need some sort of style overriding to make it work.

Resolved by https://github.com/edx/paragon/pull/630


Replace second-order finite diffs with finite diffs of autodiff gradients for testing

Description
We have second- and third-order autodiff functions defined in terms of finite differences.  This leads to poor accuracy for our tests.   An improvement would be to

replace second-order finite difference Hessian definition with differences of autodiff gradients
replace third-order finite difference tensor definition with differences of autodiff Hessians

As a side benefit, it'll be faster.
Example
This is an implementation refactoring that should lead to higher accuracy.  It does not change the behavior of any functions other than to improve arithmetic accuracy.
Expected Output
More precise output.
Current Version:
v3.4.0

I'll try to tackle this.

I'll try to tackle this.

By the way, not sure how common this problem is, but when I tried following the hello world instructions and ran:
> make -j4 -f /path/to/stan-math/make/standalone math-libs

I got:
x86_64-apple-darwin13.4.0-ar: creating archive /Users/adamhaber/projects/stan_stuff/math/lib/sundials_5.6.1/lib/libsundials_nvecserial.a
/Users/adamhaber/miniconda3/bin/x86_64-apple-darwin13.4.0-ranlib: object: /Users/adamhaber/projects/stan_stuff/math/lib/sundials_5.6.1/lib/libsundials_nvecserial.a(nvector_serial.o) malformed object (unknown load command 1)
/Users/adamhaber/miniconda3/bin/x86_64-apple-darwin13.4.0-ar: internal ranlib command failed
make: *** [/Users/adamhaber/projects/stan_stuff/math/lib/sundials_5.6.1/lib/libsundials_nvecserial.a] Error 1
make: *** Waiting for unfinished jobs....

which, AFAICT, implies there was a mess between different clang/ar/ranlib installations on my laptop (might be related to [this]?(https://statmodeling.stat.columbia.edu/2019/12/11/macbook-pro-16-inch-2019-quick-review/)).
What worked (eventually) was setting in make/local:
CXX=clang++
AR=llvm-ar
RANLIB=llvm-ranlib

is there some installation doc this can go into?

By the way, not sure how common this problem is, but when I tried following the hello world instructions and ran:
> make -j4 -f /path/to/stan-math/make/standalone math-libs

I got:
x86_64-apple-darwin13.4.0-ar: creating archive /Users/adamhaber/projects/stan_stuff/math/lib/sundials_5.6.1/lib/libsundials_nvecserial.a
/Users/adamhaber/miniconda3/bin/x86_64-apple-darwin13.4.0-ranlib: object: /Users/adamhaber/projects/stan_stuff/math/lib/sundials_5.6.1/lib/libsundials_nvecserial.a(nvector_serial.o) malformed object (unknown load command 1)
/Users/adamhaber/miniconda3/bin/x86_64-apple-darwin13.4.0-ar: internal ranlib command failed
make: *** [/Users/adamhaber/projects/stan_stuff/math/lib/sundials_5.6.1/lib/libsundials_nvecserial.a] Error 1
make: *** Waiting for unfinished jobs....

which, AFAICT, implies there was a mess between different clang/ar/ranlib installations on my laptop (might be related to [this]?(https://statmodeling.stat.columbia.edu/2019/12/11/macbook-pro-16-inch-2019-quick-review/)).
What worked (eventually) was setting in make/local:
CXX=clang++
AR=llvm-ar
RANLIB=llvm-ranlib

is there some installation doc this can go into?

Concerning the issue itself - just to make sure I understand (it's my first interaction with the stan-math codebase):
For the following files:

finite_diff_hessian.hpp and finite_diff_hessian_auto.hpp
finite_diff_grad_hessian.hpp and finite_diff_grad_hessian_auto.hpp

The difference between foo and foo_auto is that the step size is given in the former, and automatically determined in the latter, right?
finite_diff_hessian_auto is used twice in test_ad.hpp - once in test_hessian_fvar and once in test_hessian. What is the difference between these two tests?
finite_diff_grad_hessian_auto is used once in test_ad.hpp - in test_grad_hessian.

Also - it seems like test_hessian

Tests that the specified function applied to the specified argument yields values, gradients, and Hessian consistent with finite differences

whereas test_grad_hessian

Tests that the specified function applied to the specified argument yields values, Hessian, and gradient of Hessian consistent with finite differences

Is this redundancy intentional, or do we want these functionalities to be combined somehow?

Concerning the issue itself - just to make sure I understand (it's my first interaction with the stan-math codebase):
For the following files:

finite_diff_hessian.hpp and finite_diff_hessian_auto.hpp
finite_diff_grad_hessian.hpp and finite_diff_grad_hessian_auto.hpp

The difference between foo and foo_auto is that the step size is given in the former, and automatically determined in the latter, right?
finite_diff_hessian_auto is used twice in test_ad.hpp - once in test_hessian_fvar and once in test_hessian. What is the difference between these two tests?
finite_diff_grad_hessian_auto is used once in test_ad.hpp - in test_grad_hessian.

Also - it seems like test_hessian

Tests that the specified function applied to the specified argument yields values, gradients, and Hessian consistent with finite differences

whereas test_grad_hessian

Tests that the specified function applied to the specified argument yields values, Hessian, and gradient of Hessian consistent with finite differences

Is this redundancy intentional, or do we want these functionalities to be combined somehow?

@adamhaber:

There's probably no reason to not use the auto one.  So lkj_corr_test can probalby just be updated to use that.

test_hessian_fvar tests the fvar<fvar<double>> (forward nested in forward) implementation of Hessians, whereas test_hessian tests the fvar<var> implementation (reverse nested in forward).

Unlike hessian(), There's only one implementation of grad_hessian().

3+.   grad_hessian() calculates the gradient of the Hessian, which is a 3D structure (aka a tensor in ML parlance) of 3rd derivatives.  hessian() only calculates the Hessian, a matrix of 2nd derivatives.    We only want to call grad_hessian() when absolutely necessary.    The same structure applies with Hessians and gradients.  Usually, computing the higher-order derivatives gives you the lower-order ones for free.

@adamhaber:

There's probably no reason to not use the auto one.  So lkj_corr_test can probalby just be updated to use that.

test_hessian_fvar tests the fvar<fvar<double>> (forward nested in forward) implementation of Hessians, whereas test_hessian tests the fvar<var> implementation (reverse nested in forward).

Unlike hessian(), There's only one implementation of grad_hessian().

3+.   grad_hessian() calculates the gradient of the Hessian, which is a 3D structure (aka a tensor in ML parlance) of 3rd derivatives.  hessian() only calculates the Hessian, a matrix of 2nd derivatives.    We only want to call grad_hessian() when absolutely necessary.    The same structure applies with Hessians and gradients.  Usually, computing the higher-order derivatives gives you the lower-order ones for free.

Thanks @bob-carpenter .
Just to make sure I'm not missing anything - the expected output is a rewrite of finite_diff_[grad_]hessian_auto.cpp such that

replace second-order finite difference Hessian definition with differences of autodiff gradients
replace third-order finite difference tensor definition with differences of autodiff Hessians

as well as deprecating the non _auto files?

3+. grad_hessian() calculates the gradient of the Hessian, which is a 3D structure (aka a tensor in ML parlance) of 3rd derivatives. hessian() only calculates the Hessian, a matrix of 2nd derivatives. We only want to call grad_hessian() when absolutely necessary. The same structure applies with Hessians and gradients. Usually, computing the higher-order derivatives gives you the lower-order ones for free.

So why not test gradients in test_grad_hessian, as well? Basically I'm trying to understand why one of them is focused on (very sloppily) 0th, 1st and 2nd orders and the other one on 0th, 2nd and 3rd.

Thanks @bob-carpenter .
Just to make sure I'm not missing anything - the expected output is a rewrite of finite_diff_[grad_]hessian_auto.cpp such that

replace second-order finite difference Hessian definition with differences of autodiff gradients
replace third-order finite difference tensor definition with differences of autodiff Hessians

as well as deprecating the non _auto files?

3+. grad_hessian() calculates the gradient of the Hessian, which is a 3D structure (aka a tensor in ML parlance) of 3rd derivatives. hessian() only calculates the Hessian, a matrix of 2nd derivatives. We only want to call grad_hessian() when absolutely necessary. The same structure applies with Hessians and gradients. Usually, computing the higher-order derivatives gives you the lower-order ones for free.

So why not test gradients in test_grad_hessian, as well? Basically I'm trying to understand why one of them is focused on (very sloppily) 0th, 1st and 2nd orders and the other one on 0th, 2nd and 3rd.


How to get all solutions from a theorem?

e.g.
input theorem
using (var ctx = new Z3Context())
{
    var theorem = from t in ctx.NewTheorem<(bool x, bool y)>()
                  where t.x ^ t.y
                  select t;
}

output
(true, false) (false, true)

Although we maintain this library, I don't actually have in depth knowledge of Z3, so I'm not entirely sure whether this is a feature available in Z3 that we can surface.
But I note that this: https://brandonrozek.com/blog/obtaining-multiple-solutions-z3/ shows that with the Python wrapper for Z3, the way to do it is to introduce the results of earlier solutions as additional constraints. (So whether or not Z3 has a built-in feature to do this, the Python Z3 wrapper exposes no such functionality.)
So as I understand it, the process is to ask Z3 for a solution, and then to essentially add a constraint saying "But not this particular solution please", and then ask it to solve that. And you keep going until it's unable to find a solution.
Is that something that could work in your scenario?


Create the SQLite based logger for trades, balances and order responses

Create a class to record every trade, balance request and order responses using the SQLite.

Due the facility of the managment of the text files, the bot will use text file only.


Idling Resources Philosophy

Hello there,
I am trying to understand the philosophy behind using multiple IdlingResources, it seems like Google made a great effort to create all kinds of sophisticated mechanisms to stick with this idea.
The documentation addresses this by saying:

"EarlGrey’s synchronization features help to ensure that the UI is in a steady state before actions are performed. This greatly increases test stability and makes tests highly repeatable."

Though it works great (in most cases), I am still not sure what makes it better than just observing changes in the UI, and waiting for an element to appear on screen. The implementation of these IdlingResources is much more complex than just waiting for the desired element.
Let's take GREYUIWebViewIdlingResource for example. The implementation does some pretty crazy stuff in there: injecting the RenderPassTrackerScript, iterating over the webview hierarchy... this is a pretty crazy isIdleNow() function.
I know the philosophy has been derived from Espresso, but since the repo is not on github (what's up with that :/ ?), I am bringing the question up here.
I'd love to hear some of your insights, or be directed to a source where this is (or has been) discussed.

There have been many presentations at GTAC about Espresso. Search for them on youtube.

I found this video on Idling Resources - https://www.youtube.com/watch?v=uCtzH0Rz5XU
We actually do want to make the Idling resources more event driven, so able to find changes in UI etc. Would you propose any better way to provide them by any chance?
You can get more info on Espresso here - https://google.github.io/android-testing-support-library/docs/espresso/. I believe they have their own communication channels to get in touch with them.

Closing this for now. @rotemmiz please do tell us if there was any more information that you needed.

Thanks guys, it was helpful.


v4.2 docs

Updated telemetry
Minor string changes to access token and JIRA docs
CLI command to convert channels public <--> private
Cluster leader election
New config setting for untrusted (internal) connections
New response_url parameter for slash commands

For dev reviews, we only need

CH for cluster doc update: https://github.com/mattermost/docs/commit/6fef2aa2927006741a85fc5bc292d84a26b81821
GG for CLI doc update: https://github.com/mattermost/docs/commit/75b1e7b9ed77e2e2e3ccd0866b1d702f0637864e
CB for slash command doc update: https://github.com/mattermost/docs/commit/532bc27e5987fb0a4ce3ce1f4b4bf944a0938fb5

Looks good, but adding the "merge on hold" label since this PR is against master


Various proposed refactors

Small cleanup stuff
Tests for the new up/down prefix search

Potentially opinionated:

Make the reset of the history cursor to now part of the History.append() contract
To slim down src/engine.rs extract the EditCommand and Signal enums into a new module

Looks good!


'filename' also needed in  data/softlabels/hdf5/balanced.h5 ?

When I was trying to train the model, I meet a new problem with UnicodeDecodeError.
File "run.py", line 97, in train
data_df = pd.read_csv(config_parameters['data'], sep='\s+')
File "/data/anaconda3/envs/gpvad/lib/python3.6/site-packages/pandas/io/parsers.py", line 702, in parser_f
return _read(filepath_or_buffer, kwds)
File "/data/anaconda3/envs/gpvad/lib/python3.6/site-packages/pandas/io/parsers.py", line 429, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/data/anaconda3/envs/gpvad/lib/python3.6/site-packages/pandas/io/parsers.py", line 895, in init
self._make_engine(self.engine)
File "/data/anaconda3/envs/gpvad/lib/python3.6/site-packages/pandas/io/parsers.py", line 1122, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/data/anaconda3/envs/gpvad/lib/python3.6/site-packages/pandas/io/parsers.py", line 1853, in init
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 542, in pandas._libs.parsers.TextReader.cinit
File "pandas/_libs/parsers.pyx", line 782, in pandas._libs.parsers.TextReader._get_header
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
I changed the data/softlabels/hdf5/balanced.h5 to utf8 and it is like:
8948 4446 0d0a 1a0a 0000 0000 0008 0800
0400 1000 0000 0000 0000 0000 0000 0000
ffff ffff ffff ffff ccda 4b01 0000 0000
ffff ffff ffff ffff 0000 0000 0000 0000
6000 0000 0000 0000 0100 0000 0000 0000
8800 0000 0000 0000 a802 0000 0000 0000
0100 0100 0100 0000 1800 0000 0000 0000
1100 1000 0000 0000 8800 0000 0000 0000
......
A new problem relating to 'filename' occur.
This line of code in run.py indicates that the data_df also needs a 'filename' line ?
merged = data_df.merge(label_df, on='filename')

Right right, i was pretty sure that I did consider this at the beginning... Feels a bit weird so far that I forgot this type of error in my readme, but if you like please give a short pr to enhance the readme.

Btw it seems just that you haven't extracted features or that your file generated by the feature extraction script is not separated by a blank or tab.

One thing I wonder is this line in the run.py :
data_df = pd.read_csv(config_parameters['data'], sep='\s+')
It is a bit weird you read an h5 file(data/softlabels/hdf5/balanced.h5) with  pd.read_csv. Also, will the h5 file have proper blank or tab ?

I'd didn't check the code but of course I don't read a G5 using cab read. The extract feature script should generate a acc file which is used to index the h5.


chore(master): release 1.1.2

:robot: I have created a release beep boop
1.1.2 (2022-06-19)
Bug Fixes

vscode version sync (2f7d4c2)

This PR was generated with Release Please. See documentation.

Codecov Report

Merging #189 (ddc9ae7) into master (2f7d4c2) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #189   +/-   ##
======================================
  Coverage    0.09%   0.09%
======================================
  Files          13      13
  Lines        1073    1073
======================================
  Hits            1       1
  Misses       1072    1072

Continue to review full report at Codecov.

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


HWKALERTS-24 Refactoring of notifications

This PR has:

A major renaming of Notifier/NotifierType/Notification per "Action" and "ActionPlugin".
A refactor of plugins architecture:

A Plugin registers into the alerts engine at deployment time.
Register/Deregister callback from engine to plugins is deleted.
An action message will have the properties.

Lucas, I am fine with this PR. Only the minor comments. It can be merged.

Ok thanks. I've updated these minor changes and merged it.


Remove unused constraint locator flag, IsNotSimple.

Minor clean-up.

Clean-up, NFC.

@swift-ci Please smoke test and merge.

@swift-ci Please smoke test Linux platform

Linux test re-ran clean.

Linux test re-ran clean.


Fix for the gibberish bug

Thanks for sharing your code. 👍
After applying the changes from bearman, replace this code part in the TestTextTtoSpeech.cs file:
// Convert input text to tensor.
    var tokenizedOutput = tokenizerRunner.ExecuteTokenizer(inputText);
    var tokenList = tokenizedOutput.Split(' ').ToList();
    for (int i = tokenList.Count-1; i >=0 ; i--)
    {
        if (tokenList[i] == "")
        {
            tokenList.RemoveAt(i);
        };
    }
    int[] inputValues = tokenList.ToArray().Select(int.Parse).ToArray();

Instead of replacing the empty string by a zero, the unrequired tokens now get removed.
An output .wav is attached...
output.zip

Hi Pepe-Hoschi thanks for your fix. I've been very silent as there are a lot of other things currently taking my time. I'm still interested and will implement your suggestion as soon as I find some tinkering time.
If you are looking for a ready to deploy offline TTS solution you might want to try Overtone https://assetstore.unity.com/packages/tools/generative-ai/overtone-realistic-ai-offline-text-to-speech-tts-251304. I'm not affiliated with them and did not even buy it but it is what my research turned out to be the best easy to implement offline solution 3 moths ago.

Thanks fix worked 💯


Documentation images are broken on rendered docs

Dev version of the documentation is currently broken. No 3D visualization is provided. @AlejandroFernandezLuces please investigate whenever you get the chance.

This is high priority

Images show up again, even though they are static - issue tracked by #845


Build remote image nodes

One of the great things about working with Gatsby is the ability to use gatsby-image library. To use this properly, we'll need to create local image nodes from the remote URL.
An example of this can be seen here: https://github.com/notrab/gatsby-source-transistorfm/blob/master/gatsby-source-transistorfm/gatsby-node.js#L44-L51

Ran into a slight problem with this and it is that I can't fetch the remote image because the URL provided by Chec wants to download it. Will look into it a bit more when time permits.


feat: 新增双击节点事件

增加双击节点事件，暴露方法

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wb-zyx597643 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Flicker of incorrectly-formatted message when posting

If I post a message that contains an italicised URL, e.g. *[text](some-url)*, there's a flash of plain HTML before the post is correctly formatted. This also happens when editing messages.

Thanks for the report!  We use a different markdown processor in the backend vs. the backend, and despite a careful automated test suite for them, there are sometimes variations in their rendering that result in this sort of glitch.
https://zulip-ck.readthedocs.io/en/stable/markdown.html is relevant for anyone looking to work on this.