Problem with vim-coffee-script

Hi,
I was having problems getting kchmck/vim-coffee-script to work with vundle. I have found a solution, so I am just reporting this in case something needs to be fixed, and in case someone else runs into the problem.
The sort version of the story is that I need to put the 'syntax on' after Bundle 'kchmck/vim-coffee-script' or otherwise the plugin does not work correclty. While debugging, I tested the plugin with pathogen. There, the plugin works fine no matter where in the vimrc the 'syntax on' is located.
BTW, vim-coffee-script seems to be the only plugin with this problem, as all the other ones work properly.
The symptoms:

Opening a coffee file does not syntax highlight and :scriptnames does not report the vim-coffee-script scripts
After opening a coffee file and running 'set filetype=coffee', sysntax highlighting works, and the scripts are reported by :scriptnames (e.g. /Users/vimtest/.vim/bundle/vim-coffee-script/ftplugin/coffee.vim)
Adding 'autocmd BufNewFile,BufRead *.coffee set filetype=coffee' to my vimrc after the Bundle 'kchmck/vim-coffee-script' line also solves the problem. Note that that line can be found in the scripts ftdetect/coffee.vim file.
After opening vim, 'set rtp returns' runtimepath=~/.vim/bundle/vundle,~/.vim/bundle/vim-coffee-script,~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after,~/.vim/bundle/vundle/,~/.vim/bundle/vundle/after,~/.vim/bundle/vim-coffee-script/after

I have done many different iterations of this, none of which worked until I realized that the instructions given are maybe out of date / erroneous.
The easiest mechanism to follow that fixes all the issues I had was to have it in the following order:

Only call set nocompatible, filetype off, set rtp+=...
Call vundle#begin()
Plugin... lines
Call vundle#end()
It is at this point it is safe to call all your set, colorscheme etc
End with filetype plugin indent on, syntax on

I think that the plugin management stuff is meant to come before the vim native stuff as this package is sensitive to that.


Try Opentracing Extensions

Description
opentracing-jdbc
kafka
MongoDB client
Related links

https://quarkus.io/guides/opentracing
https://github.com/opentracing-contrib

https://github.com/opentracing-contrib/java-jdbc

https://github.com/opentracing-contrib/java-mongo-driver

https://github.com/opentracing-contrib/java-cassandra-driver

Cannot trace Cassandra driver

https://github.com/opentracing-contrib/java-rabbitmq-client
Cannot trace

https://github.com/opentracing-contrib/java-memcached-client
Cannot trace

https://github.com/opentracing-contrib/java-redis-client
Required Java 8 but Java 11

https://github.com/opentracing-contrib/nginx-opentracing


Events can't be sent

Hi,
I'm currently testing out NeutrinoMetrics on one of my app which is in closed beta for the moment and apparently the send method is not working, the event's call can't be made.
The init part in my main process (EA.init('...')) is working well as I can see stats in my dashboard but when I try to send an event from my renderer process EA.send('CLICKED_COPY_ID') I've got either a 500 error or simply a fail request.
OPTIONS http://<IP_ADDRESS>:3002/event net::ERR_CONNECTION_TIMED_OUT
Do you know where it could come from? I don't use a proxy and I'm using vue-electron (https://github.com/SimulatedGREG/electron-vue).
Thanks and regards,
M.

@mmorainville thanks for letting us know. We are currently experiencing higher # of requests than expected for our beta. Working on optimizing our engine. Should be working now. Working on a fix that will improve stability significantly :)

Hi @mengfoobar,
Thanks for the quick response! Ok I'll wait then, I tested just now but the request still fails with a timeout.
Maybe I'm just testing at the wrong time. You could close this issue if you can't reproduce it on your side I think.
Regards,
M.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2368 ms

Resolved: Bofrost.at performance has improved in a0af24f.


Resolved Using callback URI doesn't return request ID Issue Id #71

add the property to PrerecordedTranscription class so that the RequestID can be retrieved by send when the callback Option is used in the PrerecordedTranscriptionOptions

Added a Test for this but a APIKEY  is Required to check it placeholder is present for the moment


FIX: handle NaT values in dt-accessor

[x] Closes #7928
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst

if I understand correctly, pandas will return float arrays / series if there's NaT, so checking the output dtypes might be faster?

if I understand correctly, pandas will return float arrays / series if there's NaT, so checking the output dtypes might be faster?

Thanks! Yes, indeed, so we only need to special case isocalendar.

@keewis Do you have a recommendation how to retrieve resulting dtype for the dask-part?

right, with dask this could be tricky, since we cannot know if the data contains missing values or not... I really would like to have nullable integer dtypes in situations like these.

with dask this could be tricky, since we cannot know if the data contains missing values or not...

Even testing a small subset does not reveal the dtype in any case, since the NaT might be in any chunk we do not test. So we would have to know a priori to be on the safe side also for further processing in the dask world.

One idea for the dask-part is to just keep current behaviour. On compute, this RuntimeError is raised:
RuntimeWarning: invalid value encountered in cast

The user could then just use .astype("float64") before computation. No proper solution, but maybe sufficient? I'll add the needed changes in a day or two.

The current solution works for most of the .dt.accessor out of the box (it just keeps float64 if provided by pandas). For isocalendar it is more of a workaround until a proper fix is added upstream (proposed https://github.com/pandas-dev/pandas/issues/54657). The workaround checks for presence of  in the pandas output and handles appropriately. This might introduce a performance penalty.
Note: This does not help for the dask part, which is left unchanged. Here we would somehow need a priory knowledge if NaT is involved or not.
Question: Should we add tests in this PR for handling in presence of NaT? This is currently not tested at all.

@keewis I did not touch the dask part. I'd appreciate if you or others could have a final look for approval. Thanks.

Will merging after tests are passing.


Add terms and conditions

Assigning to @simong to have a look

Follow up done, back to @simong

Couple of small things and the markdown feature

Back to @simong for review after follow-up.

FWIW: I redeployed on our DEV server

LGTM, one simple question and this can be merged in. I'll coordinate with Margaret to get this through CAB

Follow up done @simong


OL8 - Issue with proftpd similar to https://github.com/proftpd/proftpd/issues/1060

First time trying to signal an issue, I hope that I do as intended :
proftpd -V :
Compile-time Settings:
Version: 1.3.6e (maint)
Platform: LINUX [Linux 5.4.17-2136.320.7.1.el8uek.x86_64 x86_64]
Built: Tue Aug 9 2022 20:34:49 PDT
uname -r :
5.4.17-2136.320.7.1.el8uek.x86_64
Problem :
While using proftpd as sftp server, I came accross an issue where the same client can connect with an account but can't with another one, only diff was length of login.
First account, login OK :
2023-12-20 09:36:55,671 mod_sftp/1.0.0[45878]: received client version 'SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.5'
2023-12-20 09:36:55,671 mod_sftp/1.0.0[45878]: handling connection from SSH2 client 'OpenSSH_7.6p1'
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session key exchange: ecdh-sha2-nistp256
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session server hostkey: ssh-rsa
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session client-to-server encryption: aes128-ctr
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session server-to-client encryption: aes128-ctr
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session client-to-server MAC: hmac-sha2-256
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session server-to-client MAC: hmac-sha2-256
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session client-to-server compression: none
2023-12-20 09:36:55,703 mod_sftp/1.0.0[45878]:  + Session server-to-client compression: none
2023-12-20 09:36:55,837 mod_sftp/1.0.0[45878]: sending acceptable userauth methods: password
2023-12-20 09:36:59,046 mod_sftp/1.0.0[45878]: sending userauth success
2023-12-20 09:36:59,046 mod_sftp/1.0.0[45878]: user 'USERNAME' authenticated via 'password' method
2023-12-20 09:36:59,108 mod_sftp/1.0.0[45878]:  'subsystem' channel request for 'sftp' subsystem
2023-12-20 09:36:59,109 mod_sftp/1.0.0[45878]: using SFTP protocol version 3 for this session (channel ID 0)
2023-12-20 09:37:43,789 mod_sftp/1.0.0[45878]: disconnecting client (received EOF)

Second account, login KO :
2023-12-20 09:34:43,551 mod_sftp/1.0.0[45735]: sent server version 'SSH-2.0-mod_sftp'
2023-12-20 09:34:43,551 mod_sftp/1.0.0[45735]: received client version 'SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.5'
2023-12-20 09:34:43,551 mod_sftp/1.0.0[45735]: handling connection from SSH2 client 'OpenSSH_7.6p1'
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session key exchange: ecdh-sha2-nistp256
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session server hostkey: ssh-rsa
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session client-to-server encryption: aes128-ctr
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session server-to-client encryption: aes128-ctr
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session client-to-server MAC: hmac-sha2-256
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session server-to-client MAC: hmac-sha2-256
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session client-to-server compression: none
2023-12-20 09:34:43,582 mod_sftp/1.0.0[45735]:  + Session server-to-client compression: none
2023-12-20 09:34:43,708 mod_sftp/1.0.0[45735]: sending acceptable userauth methods: password
2023-12-20 09:34:44,440 mod_sftp/1.0.0[45735]: cipher algorithm 'USERAUTH_REQUEST USERNAME2 none' or MAC algorithm 'none' unacceptable for password authentication, denying password authentication request
2023-12-20 09:34:44,440 mod_sftp/1.0.0[45735]: no more auth methods available, disconnecting
2023-12-20 09:34:44,440 mod_sftp/1.0.0[45735]: disconnecting xx.xx.xx.xx (No other authentication mechanisms available)

Same client at other side, same configuration, etc.
Run accross these topics :
https://github.com/proftpd/proftpd/issues/1060
http://bugs.proftpd.org/show_bug.cgi?id=4405
Seems like I encountered the same bug, so I tested disabling SFTPCompression, problem solved.
Could it be possible to update the oracle package with the backport of correction of this bug ?

proftpd comes from the EPEL repository, which does not receive production support, nor any custom code backports, from Oracle. EPEL packages are provided for test/development or convenience purposes, and they are simply rebuilt source code from the community EPEL project.
If you need the package updated, please contact the community EPEL project. If a fix is added there, Oracle's source-rebuild of the package will also appear on the Oracle Linux yum server.


Update Ministry User Roles  /Groups

Acceptance Criteria:

[ ] Create new user groups per the matrix file (See Fig 1)
[ ] Update all user tasks & groups per above document

Fig 1:

Note:

This list has been put to Nate and Liz for Service Delivery review but has received no response

Cancelling- as this is a process issues and will need to go in Jira


Release version 2.14.1 / API version 2.17

1.14.1 (stable) / 2018-12-11
This release brings us up to API version 2.17

Add public constructors to error classes PR
Add missing values to WriteChangeSubscriptionXml() PR
Add GatewayCode to Subscription for notes and Invoice PR
Add ExemptionCertificate attribute to Account PR
Remove examples.md PR
Add Custom Fields to WriteChangeSubscriptionXml() PR
Add EnterOfflinePayment method to Invoice PR
Add methods for working with Shipping Addresses PR
Make UTC explicit in Subscription.Postpone PR

👍


prisma2 generate shows engines being downloaded every time

When investigating https://github.com/prisma/prisma2/issues/1147 I encounter this:
C:\Users\Jan\Documents\throwaway\modelTest>prisma2 generate
> Downloading Prisma engines for windows [====================] 100%

Generating Photon.js to .\..\..\node_modules\@prisma\photon
Done in 3.11s

C:\Users\Jan\Documents\throwaway\modelTest>prisma2 generate
> Downloading Prisma engines for windows [====================] 100%

Generating Photon.js to .\..\..\node_modules\@prisma\photon
Done in 3.30s

C:\Users\Jan\Documents\throwaway\modelTest>prisma2 generate
> Downloading Prisma engines for windows [====================] 100%

Generating Photon.js to .\..\..\node_modules\@prisma\photon
Done in 3.53s

Duplicate of https://github.com/prisma/prisma2/issues/725


Minor change for Kindle Fire 1

Super small change needed to get working on Kindle Fire Gen 1. The change is small but git is including my merges which I don't like.

You can use rebase to squash the merge commits.

Also it seems you ignore reading offset if there is no closing bracket. Can you send me an example what you get back from your device? Do you get this?
"blah[10"

instead of:
"blah[10]"

It was:
renderer_gl.cpp(3112): BGFX Uniforms (1):
renderer_gl.cpp(3165): BGFX --- bgfx_clear_color[

Wow that driver is really broken. :)

Do you ever get
blah[<some value>

Or it's always case that when there is no closed bracket that there is no value either?

@RichardGale Ping!

Only this:
renderer_gl.cpp(3112): BGFX Uniforms (1):
renderer_gl.cpp(3165): BGFX --- bgfx_clear_color[
renderer_gl.cpp(3241): BGFX store bgfx_clear_color 1
renderer_gl.cpp(3252): BGFX 	uniform GL_FLOAT_VEC4 bgfx_clear_color is at location -1, size 1, offset 0
renderer_gl.cpp(3307): BGFX attr a_position: 0

Try changing that shader to multiply 2nd and 3rd element and output that. That will give me idea if closing bracket is missing when only first element is used or in cases when there is actual array access.

With:
gl_FragColor = bgfx_clear_color[2]*bgfx_clear_color[3];
This result:
renderer_gl.cpp(3112): BGFX Uniforms (1):
renderer_gl.cpp(3165): BGFX --- bgfx_clear_color[
renderer_gl.cpp(3241): BGFX store bgfx_clear_color 1
renderer_gl.cpp(3252): BGFX 	uniform GL_FLOAT_VEC4 bgfx_clear_color is at location -1, size 4, offset 0
renderer_gl.cpp(3307): BGFX attr a_position: 0


Implement $switch operator

Fixes #631

I am not familiar with the Pull Requests on GitHub. Is there anything left I need to do in order to have this PR merged?
I will be grateful for any suggestions and help.


Dt qs kafka

Updates related DE217 Summit hands on lab and Kafka setup

Can someone in DevRel merge this?


Refactor CustomDateField

The current implementation is a bit hacky, and would not work with pydantic v2. It could be made into a datetime object, which Pydantic can parse from various formats,making it easier to create a message if not using a string. There should still however be a manual check when parsed from a string that it fits the ISO standard. Some custom logic (or someting in dateutil?) may be needed to turn the datetime into the proper format

I have been using this w/ Pydantic V2:
def iso_format(dt: datetime) -> str:
    return dt.isoformat()

UTCTimestamp = Annotated[
    datetime,
    PlainSerializer(iso_format, return_type=str),
]


Set @name to class objects

Especially, (meta)classes should have ivar @name which is inherited from the class Class.

I noticed ivars are already inherited so changed the title.

I noticed ivars are already inherited so changed the title.


Modcon 7 2

Purpose
MODCON-7

Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all the appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Did you modify code to call some additional endpoints?

[ ] If so, do you check that necessary module permission added in ModuleDescriptor-template.yaml file?

Ideally, all the PRs involved in breaking changes would be merged on the same day
to avoid breaking the folio-testing environment.
Communication is paramount if that is to be achieved,
especially as the number of inter-module and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems,
ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

INFO: api-lint: Using api-lint version: 1.2.1
INFO: api-lint: https://dev.folio.org/guides/api-lint/
INFO: api-lint: Assessing API description files: OAS
INFO: api-lint: Processing OAS 3.0 file: src/main/resources/swagger.api/consortia.yaml
ERROR: api-lint:
---- Summary:
parsingResult.conforms: true
parsingResult.results.length: 0
--------
validationResult.conforms: false
validationResult.results.length: 1
Violation: Path parameters must have the required property set to true
--------

---- parsingResult:
Model: file://./src/main/resources/swagger.api/consortia.yaml
Conforms: true
Number of results: 0

---- validationResult:
ModelId: file://./src/main/resources/swagger.api/consortia.yaml
Profile: OAS 3.0
Conforms: false
Number of results: 1

Level: Violation

- Constraint: http://a.ml/vocabularies/amf/parser#path-parameter-required
  Message: Path parameters must have the required property set to true
  Severity: Violation
  Target: file://./src/main/resources/swagger.api/consortia.yaml#/web-api/endpoint/%2Ftenants/supportedOperation/put/updateTenant/expects/request%2FrequestBody/uri%20parameter/parameter/path/tenantId
  Property:
  Range: [(92,10)-(97,0)]
  Location: file://./src/main/resources/swagger.api/consortia.yaml

ERROR: api-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiLintReport.

INFO: api-lint: Using api-lint version: 1.2.1
INFO: api-lint: https://dev.folio.org/guides/api-lint/
INFO: api-lint: Assessing API description files: OAS
INFO: api-lint: Processing OAS 3.0 file: src/main/resources/swagger.api/consortia.yaml
ERROR: api-lint:
---- Summary:
parsingResult.conforms: true
parsingResult.results.length: 0
--------
validationResult.conforms: false
validationResult.results.length: 1
Violation: Path parameters must have the required property set to true
--------

---- parsingResult:
Model: file://./src/main/resources/swagger.api/consortia.yaml
Conforms: true
Number of results: 0

---- validationResult:
ModelId: file://./src/main/resources/swagger.api/consortia.yaml
Profile: OAS 3.0
Conforms: false
Number of results: 1

Level: Violation

- Constraint: http://a.ml/vocabularies/amf/parser#path-parameter-required
  Message: Path parameters must have the required property set to true
  Severity: Violation
  Target: file://./src/main/resources/swagger.api/consortia.yaml#/web-api/endpoint/%2Ftenants/supportedOperation/put/updateTenant/expects/request%2FrequestBody/uri%20parameter/parameter/path/tenantId
  Property:
  Range: [(92,10)-(97,0)]
  Location: file://./src/main/resources/swagger.api/consortia.yaml

ERROR: api-lint: There were processing errors. See list above.

Note: When those ERRORs are fixed, then any INFO and WARNING messages will be gone too. See Jenkins "Artifacts" tab for ApiLintReport.


Doesn't report error when clang-format encounters an error

When clang-tidy encounters an error and doesn't run then the workflow should fail. Currently it doesn't, see this workflow run for an example.

It seems you have a value in you clang-format config that isn't supported by v14. The docs for clang-format/tidy are a bit annoying because they always/only show the latest beta version. The only way to access the desired version of the docs is by adjusting the URL directly: https://releases.llvm.org/14.0.0/tools/clang/docs/ClangFormat.html. This action shouldn't be held accountable (by default) for erroneous config values; that should be resolved locally before pushing the config changes to the remote.
There are numerous reasons that clang-format could fail. More importantly, it could fail for only a certain files but succeed for others (we see this a lot more for clang-tidy due to analyzing #included files). This is why we chose to power through and only report the errors/warnings output (on a successful run).
I suppose we could introduce a fail-fast-like input option. To be clear, any failure to run clang-tools would be not be output as a thread comment or file annotation, rather they would just show as failed step in the CI run.

I'm not complaining that clang-format failed, I know that it's because I use v15 locally and this actions only supports up to 14. However, the CI run should absolutely fail if clang-format can't run rather than just silently not running it.

To be clear, any failure to run clang-tools would be not be output as a thread comment or file annotation, rather they would just show as failed step in the CI run.

Yes, this is what should happen IMO

I'm also inclined to make the default for this fail-fast option be true to match GitHub's default for the matrix.fail-fast option.
I would consider this a feature change instead of a major breaking change.


Position in Console View after opening from tray

After opening from tray, Console View is set to show log from beginning, so I have to scroll down every time I it open to see what was Syncthing doing recently. Could it be otherwise, that Console View would show end of log?

Ah, yeah, it might. It should scroll down every time a new message is received, but probably not when its size is changed (which is likely what's causing this).

Yes, when new message is received it does scroll down.

Should be a 3-line fix

Fantastic, I noticed this behaviour as well and would prefer for it to show the end of the log just like chucic described. Good to hear it's an easy fix!


Conferences

Have you thought about adding an appsec conferences section?

That's a nice idea. Adding it along with conference rating would be very helpful. +1

Yeah, a rating would be great!

I really love this site: https://infocon.org/. Maybe it could be a start :)

I really love this site: https://infocon.org/. Maybe this will help

Missing http://chcon.nz though @jcesarstef

Hi @binarymist, you should try suggesting it:

you can email us [info] @ [infocon.org] information and links to any missing archives we don't currently host and we'll be happy to get them mirrored. Also, if you see errors or mistakes please let us know and we'll do our best to make corrections.

These are useful lists too:

(OFF) https://confwatch.ninja
https://www.papercall.io/events
https://github.com/cryptax/confsec
https://infosec-conferences.com

This is disappointing: https://twitter.com/evilsocket/status/1132266817295200256

The @confwatchninja project is officially dead, it was a lost cause like most of the things that involve people collaboration.


Adding RetailSDK to Source Control - cloaked items

The step to add the retailSDK to source control says to make sure there are no excluded items.
However, with my fresh 10.0.12 dev instance, there are a large number of items that are cloaked, and as such cannot be added.
Is that a problem with the VM, or does the documentation need updating?

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

ID: 55c7ea05-69b5-1c5e-eb55-07066a1b2d17
Version Independent ID: b75e9d43-6590-60bd-ca34-83c40abd9ae6
Content: Set up new environments, Azure DevOps, and branches for Commerce projects - Commerce | Dynamics 365
Content Source: articles/commerce/dev-itpro/new-environments-visual-studio-teams-branch-retail-projects.md
Service: dynamics-365-retail
Product: ****
Technology: ****
GitHub Login: @andreashofmann1
Microsoft Alias: andreash

Thanks for your feedback. @andreashofmann1 please take a look.

BUG 510672 created to track.

The note was added to the topic. Thanks.


get_parsed_body,  maximums  len

int state = task->get_state();
    if (state == WFT_STATE_SUCCESS)
    {
        protocol::HttpResponse* response = task->get_resp();

        const void* body;
        size_t len;

        response->get_parsed_body(&body, &len);

        char* resp_body = new char[len + 1];
        memset(resp_body, 0, len + 1);
}

I use the snap code above to receive the http Post response,  response data is to much,  but the maximum  len is always 380696, but  I use the tool Postman it return all data, how can I get the rest data or there is a bug on the response data buffer .

You mean the len is always 380696 while the real response body is much larger?

Can you show us all HTTP headers the server returned? It's very unlikely that workflow has such bug.

I use this way to get the all data:
std::string response =protocol::HttpUtil::decode_chunked_body(resp);
Thank you !


updated Intelligent Ingestion as an option

Coverage remained the same at 100.0% when pulling c912f9bdfc0471ecedc027f093be25f5d0e05210 on develop into 982520c9feb71dbe23f45907f313af07a1edb9bf on master.

Coverage remained the same at 100.0% when pulling 5c048b4b97492e38d83a3c309e80eb1998e866e5 on develop into 982520c9feb71dbe23f45907f313af07a1edb9bf on master.


Automated Package Upgrade

:tada: This PR is included in version 12.4.118 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


config.cmd should provide service name and description parameters

Current Behaviour
config.cmd is currently missing parameters for the service name and description. this way, it is
not trivially possible to configure multiple deployment agents on the same machine.
    .\config.cmd `
        --unattended --acceptteeeula --url 'https://tfs.internal/' --collectionname 'Foo' `
        --auth pat --token $patToken `
        --agent $env:COMPUTERNAME `
        --work '_work' `
       # user and password can be configured, but not the service name
        --runasservice --windowsLogonAccount $ServiceUserName --windowsLogonPassword $ServicePassword `
        --deploymentgroup --deploymentgroupname $DeploymentGroupName --ProjectName $ProjectName;

Expected Behaviour
There should be additional parameters for the service name and description
    .\config.cmd `
        --unattended --acceptteeeula --url 'https://tfs.internal/' --collectionname 'Foo' `
        --auth pat --token $patToken `
        --agent $env:COMPUTERNAME `
        --work '_work' `
        --runasservice --windowsLogonAccount $ServiceUserName --windowsLogonPassword $ServicePassword --serviceName $serviceName -- serviceDescription $serviceDescription`
        --deploymentgroup --deploymentgroupname $DeploymentGroupName --ProjectName $ProjectName;

Workaround
My current workaround is to create the service with the default name, and rename the service after creation.
C:\Windows\System32\sc.exe config "vstsagent.apitfs.$($env:computername)" DisplayName= "$DisplayName";
cd HKLM:\SYSTEM\CurrentControlSet\Services
mv "vstsagent.apitfs.$($env:computername)" vstsagent.apitfs.$ProgramName.Staging
Restart-Computer

The drawback is that this approach requires a restart of the computer before creating another agent.

@MovGP0 we should generate unique service name for deployment group agent, that's seems like a bug to me. i don't think you need these extra arguments if we fix this issue.

@MovGP0, I have PR #2229 out that I believe should address your issue. We were not considering the pool information while generating the service name, so two agent instances targeting the same account, but different pools would generate the same service name.
As a workaround, you can provide a unique agent name per config invocation, which would transfer to the service name as well.


Dropdown closing is not looking aligned with material design priciple

Drop down componenet is good, when I open it up isee dropd down animation, but when closing it is just fade out, shouldnt that be like going up and fading to have consistant animation style.

http://www.google.com/design/spec/components/menus.html#menus-usage
In material design, the in animation is more important, but the out animation should be quicker because the users focus is already leaving for something else.
The fade out is perfectly in line with material design


"revolved_volume" Mesh Function Clarity

Describe what needs to be documented.
In the tutorials, the "revolved_volume" function revolves around the y-axis, however, I was wondering if there is a way to revolve about the x-axis. My current simulation has a 2D mesh and symmetric about the x-axis and I would like to compute the revolved volume about the x-axis.
Is the documentation missing?
The "revolved_mesh" function description is missing in section <IP_ADDRESS>. Mesh Expressions.
Is the documentation there but needs improvement?
Here is the URL for the documentation I was using:
https://visit-sphinx-github-user-manual.readthedocs.io/en/develop/using_visit/Quantitative/Expressions.html?highlight=revolved_volume#mesh-expressions
Additional context
I am trying to get the revolved_volume function to work to revolve about the x-axis instead of the y-axis. Is there another function or an argument I need to pass in to do this?
Thanks,
Peter

Sorry for the lack of info in our docs.
There is no option to change the axis of revolution for this expression, it is chosen based on the coordinate system: XY, and RZ use X-axis for revolution, ZR uses y-axis for revolution.
You might want to try using the Revolve operator on your mesh, you can specify the axis of revolution and other settings.  Then create a volume expression, and use the Defer operator to defer calculation of the volume expression until after the Revolve operator has completed.

@biagas What would you recommend is a good way to make the volume expression?
I guess it would be best to try to explain what I am doing and maybe it will be clear. I have a 2D axisymmetric simulation (symmetric about the x-axis) and I am just trying to query the mass over time by performing a Time query of a mass expression I made via tutorials (mass = revolved_volume(Mesh) * density). This is why I was originally asking about the 'revolved_volume' operator. So my understanding is that I could just do a "Revolve" operation on my mesh and then I can just do a Weighted Variable Sum query over the density in my now revolved domain and that should give me a mass over time?

So my understanding is that I could just do a "Revolve" operation on my mesh and then I can just do a Weighted Variable Sum query over the density in my now revolved domain and that should give me a mass over time?

That should work.


chore: use pluginOptionsSchema for options type checking

From recommendation from Angelo, this should be used instead of doing our own type checking for the plugin options

Current dependencies on/for this PR:

main

PR #198

PR #213
PR #215   (this PR)

This comment was auto-generated by Graphite.


Problems with QoS > 0

Describe your question
Hi, i recently created 2 c# application with the MqttNet nuget. All works perfectly, but I have some problems with the redelivery of the QoS 1 and 2 messages not delivered (client offline).
My client connection code is like this:
`static async void StartClient()
{
//private System.Diagnostics.EventLog Log;
        //IsoftMQTTClient settings = new IsoftMQTTClient();
        //settings.LoadSettings();
        //StartServer();
        EventLog Log1 = new EventLog();

        if (!EventLog.SourceExists("IsMQTTClient"))
            EventLog.CreateEventSource("IsMQTTClient", "IsMQTTClient");

        Log1.Source = "IsMQTTClient";
        Log1.Log = "IsMQTTClient";

        try {
            // Create a new MQTT client.
            var factory = new MqttFactory();
            var mqttClient = factory.CreateMqttClient();

            MqttClientOptions options;

            //Log1.WriteEntry("aaa " + GlobalVar.MQTT_CLIENT_CLEAN_SESSION.ToUpper());

            if (GlobalVar.MQTT_CLIENT_CLEAN_SESSION.ToUpper() == "S")
            {
                // Create TCP based options using the builder.
                options = (MqttClientOptions)new MqttClientOptionsBuilder()
                    .WithClientId(GlobalVar.MQTT_CLIENT_CLIENT_ID_WINDOWS_SERVICE)
                    .WithTcpServer(GlobalVar.MQTT_BROKER_HOST, Int32.Parse((GlobalVar.MQTT_BROKER_PORT))) // Port is optional
                    .WithCredentials(GlobalVar.MQTT_BROKER_USERNAME, GlobalVar.MQTT_BROKER_PASSWORD)
                    .WithCommunicationTimeout(new TimeSpan(0, 1, 0))
                    //.WithTls()
                    .WithCleanSession()
                    .Build();
            }
            else
            {
                options = (MqttClientOptions)new MqttClientOptionsBuilder()
                    .WithClientId(GlobalVar.MQTT_CLIENT_CLIENT_ID_WINDOWS_SERVICE)
                    .WithTcpServer(GlobalVar.MQTT_BROKER_HOST, Int32.Parse((GlobalVar.MQTT_BROKER_PORT))) // Port is optional
                    .WithCredentials(GlobalVar.MQTT_BROKER_USERNAME, GlobalVar.MQTT_BROKER_PASSWORD)
                    .WithCommunicationTimeout(new TimeSpan(0, 1, 0))
                    .WithCleanSession(false)
                    //.WithTls()
                    .Build();
            }

            //Log1.WriteEntry(options.CleanSession.ToString());

            await mqttClient.ConnectAsync(options, CancellationToken.None); // Since 3.0.5 with CancellationToken
            Log1.WriteEntry("### CONNECTED TO BROKER ###");
            //await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder().WithTopic("#").Build());
            //Log1.WriteEntry("### SUBSCRIBED TO ALL TOPICS ###");
            SubscribeToTopics(GlobalVar.MQTT_CLIENT_TOPIC_SUBSCRIPTION, mqttClient, options);
            //while (true)
            //{
            await PoolMessagesAsync(mqttClient, options);
            //}

            //Console.ReadKey();
        } catch (Exception ex) { Log1.WriteEntry("Errore: " + ex.ToString()); }
        }`

inside SubscribeToTopics() i'm subscribing to all topics available, and while client is connected i recive every message the broker recives
await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder().WithTopic("#").Build());             Log1.WriteEntry("### SUBSCRIBED TO ALL TOPICS ###");
My Broker is hosted like this:
`static async void StartServer()
{
var factory = new MqttFactory();
        // Configure MQTT server.
        var optionsBuilder = new MqttServerOptionsBuilder()
            .WithConnectionValidator(c =>
            {
                if (c.ClientId.Length < 1)
                {
                    c.ReasonCode = MqttConnectReasonCode.ClientIdentifierNotValid;
                    return;
                }

                System.Diagnostics.EventLog Log1;

                Log1 = new EventLog();

                if (!EventLog.SourceExists("IsMQTTBroker"))
                    EventLog.CreateEventSource("IsMQTTBroker", "IsMQTTBroker");

                Log1.Source = "IsMQTTBroker";
                Log1.Log = "IsMQTTBroker";

                //Log1.WriteEntry(GlobalVar.MQTT_BROKER_HOST);
                //Log1.WriteEntry(GlobalVar.MQTT_BROKER_PORT);
                //Log1.WriteEntry(GlobalVar.MQTT_BROKER_USERNAME);
                //Log1.WriteEntry(GlobalVar.MQTT_BROKER_PASSWORD);
                //Log1.WriteEntry(GlobalVar.MQTT_CLIENT_CLIENT_ID_WINDOWS_SERVICE);
                //
                //Log1.WriteEntry("c Username " +c.Username);
                //Log1.WriteEntry("c Password " + c.Password);
                //Log1.WriteEntry("Int32.Parse((GlobalVar.MQTT_BROKER_PORT)) " + Int32.Parse((GlobalVar.MQTT_BROKER_PORT)).ToString());

                if (c.Username != GlobalVar.MQTT_BROKER_USERNAME)
                {
                    c.ReasonCode = MqttConnectReasonCode.BadUserNameOrPassword;
                    return;
                }

                if (c.Password != GlobalVar.MQTT_BROKER_PASSWORD)
                {
                    c.ReasonCode = MqttConnectReasonCode.BadUserNameOrPassword;
                    return;
                }

                c.ReasonCode = MqttConnectReasonCode.Success;
            })
            .WithConnectionBacklog(100)
            .WithDefaultEndpointPort(Int32.Parse((GlobalVar.MQTT_BROKER_PORT)))
            .WithPersistentSessions();

        var mqttServer = new MqttFactory().CreateMqttServer();
        await mqttServer.StartAsync(optionsBuilder.Build());

        Console.WriteLine("Press any key to exit.");
        Console.ReadLine();
        //await mqttServer.StopAsync();
    }`

when i stop my client, send some messages with QoS 1 or 2 and start my client again those messages are vanished.
I have a static and unique ClientID, and the client is always started with ".WithCleanSession(false)". Any idea on what i'm missing to manage those messages recived while offline?
Thanks
Best regards,
Andrea
Which project is your question related to?

Client
Server

I had this same issue, have just figured it out. Update your SubscribeAsync call to set QoS:
await mqttClient.SubscribeAsync(
  new MqttTopicFilterBuilder()
    .WithTopic("#")
    .WithAtLeastOnceQoS() // <-- This sets the QoS of the subscription
    .Build());

Hope this helps

Hi, i had already tested in the past days to set this, but with no luck. Thanks anyway for the tip.
I tested with your exact code and the client didn't get the messages sent while it was offline. I tested both QoS in my subscribe async method.
now my subscription handler looks like this
`static async void SubscribeToTopics(string modalita, IMqttClient mqttClient, IMqttClientOptions options)
{
EventLog Log1 = new EventLog();
        if (!EventLog.SourceExists("IsMQTTClient"))
            EventLog.CreateEventSource("IsMQTTClient", "IsMQTTClient");

        Log1.Source = "IsMQTTClient";
        Log1.Log = "IsMQTTClient";

        if (modalita.ToString().ToUpper() == "SQL")
    {
        SqlConnection conn;

            foreach (var database in GlobalVar.SQL_SERVER_DATABASE_NAME)
        {
            conn = new SqlConnection("Server=" + GlobalVar.SQL_SERVER_NAME + ";Database=" + database.Trim() + ";User Id=" + GlobalVar.SQL_SERVER_USER + ";Password=" + GlobalVar.SQL_SERVER_PASSWORD + ";");

            // inserisco maccd_log_analitico
            var QUERY = new SqlCommand(@"SELECT * FROM [001].[IS_MQTT_TOPIC_SUBSCRIPTION] WHERE ENABLE = 1", conn);

            conn.Open();

            try
            {
                DataTable dt = new DataTable();
                dt.Load(QUERY.ExecuteReader());
                conn.Close();

                    foreach(DataRow row in dt.Rows)
                    {
                        if (row["QOS"].ToString() == "2")
                        {
                            await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder().WithTopic(row["TOPIC"].ToString()).WithExactlyOnceQoS().Build());
                            Log1.WriteEntry("### SUBSCRIBED TO TOPIC: " + row["TOPIC"].ToString() + " QoS: 2 ###");
                        }
                        else if (row["QOS"].ToString() == "1")
                        {
                            await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder().WithTopic(row["TOPIC"].ToString()).WithAtLeastOnceQoS().Build());
                            Log1.WriteEntry("### SUBSCRIBED TO TOPIC: " + row["TOPIC"].ToString() + " QoS: 1 ###");
                        }
                        else
                        {
                            await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder().WithTopic(row["TOPIC"].ToString()).WithAtMostOnceQoS().Build());
                            Log1.WriteEntry("### SUBSCRIBED TO TOPIC: " + row["TOPIC"].ToString() + " Qos: 0 ###");
                        }
                    }
            }
            catch (Exception ex)
            {
                    Log1.WriteEntry(ex.ToString());
                conn.Close();
            }
        }
    }
    else
    {
        await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder()
                                        .WithTopic("#")
                                        .WithAtLeastOnceQoS() // <-- This sets the QoS of the subscription
                                        .Build());

            Log1.WriteEntry("### SUBSCRIBED TO ALL TOPICS ###");
    }

}
}`

and the field "modalita" is passed with value => "ALL", so it should subscribe to all topics with QoS 1
Any other tips?

Sorry, it's hard to follow as there's lots of code here not related to this library, and depending on state.
If you want the broker to persist your session, make sure you:

Connect without a clean session WithCleanSession(false)
Use a consistent ClientId .WithClientId("myClientId")
Subscribe with QoS >=1 (see above)
Disconnect subsciber
Publish messages with QoS >= 1
Reconnect subscriber same as first time

These together worked for me.

I think it's the procedure i'm following
Are you using v3.0.14?
it seems like i'm doing the exact procedure you described above
The options for my server are:
.WithClientId("IsoftMQTTBroker")                 .WithConnectionValidator()//code for connection validation insede                 .WithConnectionBacklog(100)                 .WithDefaultEndpointPort(Int32.Parse((GlobalVar.MQTT_BROKER_PORT)))                 .WithPersistentSessions();
The options for my client are:
 options = (MqttClientOptions)new MqttClientOptionsBuilder()                         .WithClientId("IsoftMqttClientWS")                         .WithTcpServer(broker ip, broker port) // Port is optional                         .WithCredentials(client username, client password)                         .WithSessionExpiryInterval(0)                         .WithCommunicationTimeout(new TimeSpan(24, 0, 0))                         .WithCleanSession(false)                         .Build();
The client each reconnect subscribes with
await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder()                                             .WithTopic("#")                                             .WithAtLeastOnceQoS() // <-- This sets the QoS of the subscription                                             .Build());
I tested also with ".WithExactlyOnceQoS()"
An example message sent while Subscriber is offline was:
RECEIVED APPLICATION MESSAGE ### 12/02/2021 16:05:54.734

Topic = test2
Payload = test2
QoS = ExactlyOnce
Retain = False

Logged like that on broker side
No luck on getting it back on subscriber reconnection
Thanks

Sorry I can't help further, I'm really not an expert here. I found http://mqtt-explorer.com/ useful for visualising what was happening, and Wireshark for digging into what was really being sent & received. Not sure if that's helpful for you.

Hi @SeppPenner ,
you mean that using managed client could solve this issue or what?
Thanks

No, I guess, I somehow linked the wrong issue... I don't think that the managed client would help here.

fwiw I had the same issue until I did .WithSessionExpiryInterval(9999)
Then it worked for me. (with the ManagedClient)
However, I've noticed that my test Mqttnet server would send the message every time (and not just once) whenever I start and connect the client again


Consider .make-grid(print)

If you want to keep columns on print this is a good idea
@media print {
.make-grid(print);
}
.make-print-column(@columns) {
@media print {
float: left;
width: percentage((@columns / @grid-columns));
}
}

Columns should print just fine as they are given we don't limit them to screen, and I don't see us adding custom print columns.


Natural language in the date format parser

How can I do something like this without the parser rendering the first part of the tag?
I've tried a couple of special characters, but none of them seem to work.
Example: #date/YYYY-MM-DD

Hi, could you provide some more information about what you're trying to do? It sounds like you just want #date/ to be visually hidden, is that right?

Hi, could you provide some more information about what you're trying to do? It sounds like you just want #date/ to be visually hidden, is that right?

No, what I want is for the first part "#date/" to always be rendered like that and not to be interpreted by the parser.
What I currently get: #5amt5/2022-03-04
What I want: #date/2022-03-04

Oh, you can just surround that part of the format with brackets:
[#date]/YYYY-MM-DD


Custom metadata

@Hopding is there a way to add custom metadata? I'm looking to embed some JSON data in a PDF in the form of XMP custom key value pairs. I noticed you only support editing the default XMP tags for PDFs.

Hello @nicmeriano!
You certainly can add custom metadata. However, there are no high level APIs for this. Most readers are not capable of reading or editing XMP metadata, so most users of pdf-lib wouldn't derive value from this. Instead, pdf-lib exposes high-level APIs for setting the standard metadata that most readers support (which, actually, isn't stored in XMP format).
I've provided an example demonstrating how to embed XMP metadata in an older version of pdf-lib here: https://github.com/Hopding/pdf-lib/issues/55#issuecomment-447880119. Please take a look and see if it's what you're looking for. If it is, and you're unable to get it working in the latest version of pdf-lib, let me know and I'll provide an updated example here.
I hope this helps. Please let me know if you have any additional questions!

@Hopding thanks for your quick response. I implemented your example and it seems to be working fine. That being said, does pdf-lib offer any tools to edit the PDF Info dictionary to add custom tags? As you mentioned, XMP metadata is extracted differently by different readers, however I'm trying to get my custom XMP fields to show up in Acrobat.
Thanks again.

@nicmeriano None of the APIs provided by pdf-lib for editing the info dict deal with XMP data. Although, there is a getter on the PDFDocument class that returns the info dict (or creates one if none exists): https://github.com/Hopding/pdf-lib/blob/master/src/api/PDFDocument.ts#L797-L805. It's technically private right now, but that will likely change in a future release.

Hello @nicmeriano!
You certainly can add custom metadata. However, there are no high level APIs for this. Most readers are not capable of reading or editing XMP metadata, so most users of pdf-lib wouldn't derive value from this. Instead, pdf-lib exposes high-level APIs for setting the standard metadata that most readers support (which, actually, isn't stored in XMP format).
I've provided an example demonstrating how to embed XMP metadata in an older version of pdf-lib here: #55 (comment). Please take a look and see if it's what you're looking for. If it is, and you're unable to get it working in the latest version of pdf-lib, let me know and I'll provide an updated example here.
I hope this helps. Please let me know if you have any additional questions!

Hello @Hopding . This is Piyush this side. I am working on a project to capture duplicate Hospital Prescription. Patients would submit the same prescription again and again and claim the amount spent. They would just change the patient name , age,etc, these details are printed at the top of the prescription sheet, and the doctor's diagnostic or medicines are written below that. Assume a prescription is divided in two parts- header and body. The header contains the details of the patient like name, age, address, etc. and the body would contain the doctor's handwritten diagnostic and medicines. Inorder to capture duplicate prescription, I split the prescription(which is always in pdf format) in two parts- header and body and calculate the SHA 256 hash only of the body. Now this SHA 265 value serves as my unique ID. So if the patient changes anything in the header part and submits it again, thinking it would be a new prescription and he would again get the claim, it wont because the body(hand written part) hasnt changed and so it will again give the same SHA256 value. I can compare it in my database and throw an error if it matches.
The problem is that the metadata is also coming in picture while calculating hash. If a patient edits the prescription and just changes the name, the metadata changes and that produces a unique hash. Then I hardcoded the metadata , see below code:
secondPartDoc.setTitle('NA');
secondPartDoc.setAuthor('NA');
secondPartDoc.setSubject('NA');
secondPartDoc.setKeywords(['NA']);
secondPartDoc.setCreator('NA');
secondPartDoc.setProducer('NA');
secondPartDoc.setLanguage('en-us');
secondPartDoc.setCreationDate(new Date('2018-06-24T01:58:37.228Z'));
secondPartDoc.setModificationDate(new Date('2019-12-21T07:00:11.000Z'));
I was hoping this would solve my problem, but it didnot. I got a different hash value again. So there are other metadata fields that need to be hardcoded. But pdf lib only gives the above mentioned fields. So i used exiftool to print all the metadata(ran the command in ubuntu) . below is the output:
exiftool edited_name.pdf
ExifTool Version Number         : 11.88
File Name                       : edited_name.pdf
Directory                       : .
File Size                       : 544 kB
File Modification Date/Time     : 2024:01:09 17:06:25+05:30
File Access Date/Time           : 2024:01:11 17:38:51+05:30
File Inode Change Date/Time     : 2024:01:11 17:38:46+05:30
File Permissions                : rw-rw-r--
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : No
Author                          : Amit Chandra
Create Date                     : 2023:12:07 11:40:39+05:30
Modify Date                     : 2024:01:09 17:01:25+05:30
XMP Toolkit                     : XMP Core 6.0.0
Creator                         : Amit Chandra
Title                           : Prescription Format_RGHS.pdf
Format                          : application/pdf
Producer                        : Microsoft: Print To PDF
Document ID                     : uuid:e5dbc5f4-a9cf-4e1b-997d-c8810325b49f
Instance ID                     : uuid:46561721-06ce-4efd-ab54-d73dab920115
Page Count                      : 1
My question is i want to set all the above fields to some default hardcoded value. The DOcumentID changes even if you type a word and then delete it inside the pdf. So my hash value is always different even for the same pdf document. Can you offer a solution here so that i can hardcode all the above metadata fields. Feel free to reach out to my whatsap +91-9916651980.  or email-<EMAIL_ADDRESS>


feat: dialtone tokens migration -- colors

Description
This PR includes migration of colors:

font
background
border
color variables (--black, --white, etc)

Pull Request Checklist

[x] Ask the contributors if a similar effort is already in process or has been solved.
[x] Review the contribution guidelines.
[x] Use staging as your pull request's base branch. (All PRs using production as its base branch will be declined).
[x] Ensure all gulp scripts successfully compile.
[x] Update, remove, or extend all affected documentation.
[ ] Ensure no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).

Obligatory GIF (super important!)

Went through the whole site... Looks pretty damn flawless. The only thing I noticed was that the blog avatar color is now grey.

This is due we are setting dynamic color variables over Dialtone-vue. We'll need to update Dialtone-vue to use the new variable naming.

Went through the whole site... Looks pretty damn flawless. The only thing I noticed was that the blog avatar color is now grey.

This is due we are setting dynamic color variables over Dialtone-vue. We'll need to update Dialtone-vue to use the new variable naming.

Right makes sense. Looks good to go then.


Fix for issue #785: FPU fflags no being asserted correctly

Patched up my fixes to the FPU to the current mainline from my local <IP_ADDRESS> checkout.
There are still challenges but these fixes makes the following riscof-arch F -> Zfinx tests pass:
rv32i_m_Zfinx_fadd_b1
rv32i_m_Zfinx_fadd_b10
rv32i_m_Zfinx_fadd_b11
rv32i_m_Zfinx_fadd_b12
rv32i_m_Zfinx_fadd_b13
rv32i_m_Zfinx_fadd_b2
rv32i_m_Zfinx_fadd_b3
rv32i_m_Zfinx_fadd_b4
rv32i_m_Zfinx_fadd_b5
rv32i_m_Zfinx_fadd_b7
rv32i_m_Zfinx_fadd_b8
rv32i_m_Zfinx_fclass_b1
rv32i_m_Zfinx_fcvt.s.w_b25
rv32i_m_Zfinx_fcvt.s.w_b26
rv32i_m_Zfinx_fcvt.s.wu_b25
rv32i_m_Zfinx_fcvt.s.wu_b26
rv32i_m_Zfinx_fcvt.w.s_b1
rv32i_m_Zfinx_fcvt.w.s_b22
rv32i_m_Zfinx_fcvt.w.s_b23
rv32i_m_Zfinx_fcvt.w.s_b24
rv32i_m_Zfinx_fcvt.w.s_b27
rv32i_m_Zfinx_fcvt.w.s_b28
rv32i_m_Zfinx_fcvt.w.s_b29
rv32i_m_Zfinx_fcvt.wu.s_b1
rv32i_m_Zfinx_fcvt.wu.s_b22
rv32i_m_Zfinx_fcvt.wu.s_b23
rv32i_m_Zfinx_fcvt.wu.s_b24
rv32i_m_Zfinx_fcvt.wu.s_b27
rv32i_m_Zfinx_fcvt.wu.s_b28
rv32i_m_Zfinx_fcvt.wu.s_b29
rv32i_m_Zfinx_fsub_b1
rv32i_m_Zfinx_fsub_b11
rv32i_m_Zfinx_fsub_b12
rv32i_m_Zfinx_fsub_b13
rv32i_m_Zfinx_fsub_b2
rv32i_m_Zfinx_fsub_b3
rv32i_m_Zfinx_fsub_b4
rv32i_m_Zfinx_fsub_b5
rv32i_m_Zfinx_fsub_b7
rv32i_m_Zfinx_fsub_b8
Some test have.. challenges.. with the F->Zfinx conversion as riscof-arch-test utilize sub-normals and the default Sail model supports sub-normals. All the test pass against a tuned RISCV architectural model where sub-normals are replaced with 0.0 as happens with the core.

Thank you so much for your patch and the detailed description in #785!

Its been on list to get to these for a Long time, finally get some time to get deep dive into the FPU :)
I do have another patch coming with a lot of different fixes all over the place. For this one I fixed fclass.s to correctly report out subnormals, but there are side effects so have added a generic "FPU_SUBNORMAL_SUPPORT" that defaults to false.
I opted for this path as you already put in a lot of subnormal checks which will need to by bypassed when we flush subnormals. Instead of removing the code I opted to wrap it in an if().

Again, thank you so much for all your work!!

Instead of removing the code I opted to wrap it in an if().

The question is, do we really want to support subnormal numbers one day? I'm not sure about this. 🤔

Its a good question. In principle the RISCV float spec requires sub-normal support. For now the core FPU extension doesn't fully support subnormals, even though I see some conditional checks here and there that seem correct.
Ideally we could keep as a future action to add support for subnormals (hence the generic) with the caveat that it will increase area. This is basically kicking the can down the road to some future point.
Right now the FPU patches are mostly aimed at getting to correct functionality btw. I'm sure some of them could benefit from some refactoring as well. Especially the exception paths. If we decide to just not support subnormals outside fclass and fsgn style operations then we can always just refactor out the conditional path.
Currently hammering away at the multiplier core exception paths.. there are quite a few :)

Ideally we could keep as a future action to add support for subnormals (hence the generic) with the caveat that it will increase area. This is basically kicking the can down the road to some future point.

Sounds reasonable. :+1:


155 Migrate to Kotlin 1.1 and Make All Classes Open by Default

Related to #155

@mkulak , @fmueller , I've moved refactoring part from #166 to a separate PR.
Would be great if we can merge it soon, I will need it to prevent conflicts in #75 .
I will rebase #166 once this one will be merged.

Since the commit in this PR is from @mkulak , giving my 👍 for the code
Will be really happy to see Kotlin 1.1 in production 🚀

👍

Good work @netme @mkulak :-)


Regression: 'podman invalid-command' exits 0, no longer outputs to stderr

podman-0.8.5-1.gitdc5a711.fc28, when invoked with an invalid subcommand, no longer errors:
# podman not-a-command
Command "not-a-command" not found.            <<< this goes to stdout, not stderr
See `podman --help`.
# echo $?
0

This is a regression from podman-0.8.4-2.git9f9b8cf.fc28:
# podman not-a-command
No help topic for 'not-a-command'         <<< on stderr
# echo $?
3

Followup: looks like bbcad6f572207779ead07127e6619961bc0758b9

@edsantiago, thanks for the report! I will fix that.

@rhatdan @edsantiago Docker has exit code 1 in such case. Shall we follow that or shall we keep 3 as before?

I think 1 is better here
On Sat, Sep 1, 2018, 13:59 Valentin Rothberg<EMAIL_ADDRESS>wrote:

@rhatdan https://github.com/rhatdan @edsantiago
https://github.com/edsantiago Docker has exit code 1 in such case.
Shall we follow that or shall we keep 3 as before?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/1395#issuecomment-417876909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHYHCDArbhX3FUAm6Dkb6hwaQxkWe9fbks5uWsrwgaJpZM4WWS1B
.

TBH I was surprised at seeing 3 in the earlier podman: I tend to think of exit codes as 0 and 1, with everything else reserved for special, clearly-documented situations. In short: 1 seems more natural.


Add user model and inventory model

Some tests are not passing because of conflicts with setup-test-env.js as mentioned in Slack channel.

Updated to include demo data and a script to populate database with the demo data.


Feature: Added Dockerfile to Create Docker Image Of Pynecone

This PR involves:

Adding a Dockerfile
Building Docker Image For Pynecone

To Run The Container Locally Do The Following:

Install Docker On Your Local Machine
Clone the pynecone repository by running the command: git clone https://github.com/pynecone-io/pynecone.git
RUN:  docker build -t pynecone . inside the Dockerfile Directory of the terminal
Then RUN:  docker run -it -d -p 3000:3000 pynecone_image
After that you can see the Demo Webpage on http://localhost:3000 OR we can view the content by typing the following command in the terminal : curl http://localhost:3000

I would like to give the suggestion of pushing the Docker Image to DockerHub

What do you think of the idea of building a multistage image? This would dramatically reduce the size of the container image.

I would recommend to create a docerfile sample with which every Pynecone developer can build an optimised container image himself. To my eye, this Dockerfile produces an image that only produces a sample app and cannot be used for other projects. For this reason, I would not recommend pushing the resulting image to Docker Hub or any other public registry.

In my option, we should combine RUN lines to single command, this result less layers and snaller image size.

I have open another PR #387 with all the changes. There were too many changes that I should have described here.

This PR could be closed #387 is merged already.

The PR looks awesome @r0b2g1t !
If possible, I would love to get some feedback on how I can improve my skills and what I could have done better.😃
Thank You!

The PR looks awesome @r0b2g1t !
If possible, I would love to get some feedback on how I can improve my skills and what I could have done better.😃
Thank You!

Thanks for working on that last PR Saarthak we really appreciate It. Many more issues we'll need help on to come and can definitely use your help. Sorry we were not able to merge in your pr we just accepted the other pr because it was finished and we were trying to get the release out by today.
We can sync on discord soon and decide more things to work on for the next release if you have time. 🙂


Create HIP nn:  Increase the Cost of Data Credits

I suppose this should go to the discussion section?

Please understand that I do not know what I am doing within Github.

Can we change the title to something like "Double the Value of Data Credits" so that people will vote yes by default?  :)


Added the dot language server to the mix

Following recommendations and removing default conf
Following existing language servers with default root_dir

This is a new PR as I messed up the squashing of the old commits.. 😧

Oh nice, for future reference I just do git rebase -i master, use block mode to change all of the commits (except the first one) from pick to squash, and then :wqa and git push -f


[4.2] [SILGen] Forming transitive capture lists, need to unique on value not value+flags

Explanation: When capturing from a nested context, we would treat the captured value as a distinct variable in the nested context, causing the variable to be copied instead of shared with the outer context.
Scope: Silent miscompile. Regression from 4.1
Issue: SR-8398 | rdar://problem/42742744
Risk: Low, the change is limited in scope and should only impact capture emission.
Testing: Swift CI, test case from SR, compatibility suite
Author: @gregomni
Reviewed by: @slavapestov

@swift-ci Please test

@swift-ci Please nominate

@swift-ci Please test source compatibility


bugfix on call lockNFT() on newly generated token & metamask wallet m…

…andatory connection to lock or generate functions

Balance on navbar seems not ok

I updated the README

Ok to merge otherwise :-)


Imagescan Rebuild: 2022-04-28

Rebuilding imagescan for stolostron/search-ui repo.

Rebuild for the issue: https://github.com/stolostron/backlog/issues/22040

Created by mistake - thought there was an imagescan issue open.


Upgrade deprecated packages

I get this when I git clone and npm install:
$ npm install
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue3.2\package\package.json written
npm WARN deprecated<EMAIL_ADDRESS>to-iso-string has been deprecated, use @segment/to-iso-string instead..2.0',\package.json writtenn
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

Also running npm outdated shows this output:
Package                  Current  Wanted  Latest  Location
array-differ               1.0.0   1.0.0   2.0.3  gulp-util
buffer-equal               0.0.1   0.0.1   1.0.0  gulp-util
istanbul                  0.3.22  0.3.22   0.4.5  gulp-util
lodash.template            3.6.2   3.6.2   4.4.0  gulp-util
lodash.templatesettings    3.1.1   3.1.1   4.1.0  gulp-util
mocha                      2.5.3   2.5.3   3.2.0  gulp-util
multipipe                  0.1.2   0.1.2   1.0.2  gulp-util
object-assign              3.0.0   3.0.0   4.1.1  gulp-util
replace-ext                0.0.1   0.0.1   1.0.0  gulp-util
should                     7.1.1   7.1.1  11.2.1  gulp-util
vinyl                      0.5.3   0.5.3   2.0.2  gulp-util

The deprecation warnings are a bit of an annoyance so getting rid of those is the heart of this issue, however updating all of the packages to get npm outdated clean would be really nice, as long as it doesn't break anything...

Best way to avoid the messages is to stop using gulp-util and install the modules you need directly.

Should gulp do that? I get these warnings when I install the latest gulp, which uses gulp-utils.

Already done in 4.0 - these upgrades can't be done in anything less than a major.

How to update the packages?


(Ghost ) -  reference to Sentence Node for each test (ghost ...)

I'm running Ghost code-base alone with ECAN. After updating to latest singularitynet repos (cogutil, atomspace and opencog), the (ghost ...) command resulted in a reference response for any kind of input.
guile> (ghost-parse "#goal: (novelty=0.24) u: (eat apple) I eat apple too ^keep")
guile> (ghost "eat apple")
(SentenceNode "sentence@1c54890c-f2ef-4ea9-9f86-d3621f8793c7")
guile> (ghost "eat apple")
(SentenceNode "sentence@08258d84-31f3-477f-a296-9eb7ee43b8ed")
guile> (ghost-parse "u: (hi robot) Hello human!")
guile> (ghost "hi robot")
(SentenceNode "sentence@ab6bd8de-7495-4e93-b9a6-2212012116a0")

use (ghost-get-result)

the function (ghost TXT) use to run blocking mode until a result is obtained (a result may suddenly appear when the relevant topic enters the attentional focus).
https://github.com/opencog/opencog/commit/8e5e69eb086b964f2f0a4e5ce3e627ce8a2d17ca
this changed that.


Typo in WithExtraScopesToConsent

In the section header and in the example with WithExtraScopesToConsent there is a typo; both are missing plural s in Scopes.
SEE https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/master/src/client/Microsoft.Identity.Client/ApiConfig/AcquireTokenInteractiveParameterBuilder.cs#L165

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

ID: 896db83b-4ff1-cf92-481a-0ccf3ef42b4a
Version Independent ID: 16f73067-501c-bbb3-336f-8ebbb6d68208
Content: Move desktop app calling web APIs to production - Microsoft identity platform
Content Source: articles/active-directory/develop/scenario-desktop-production.md
Service: active-directory
Sub-service: develop
GitHub Login: @jmprieur
Microsoft Alias: jmprieur

@pvaillant Thanks for the feedback. We will engage the content development team for further investigation, they will verify and perform necessary changes in the document as needed.

@jmprieur  Can you have a look at this ?

@vipulsparsh the .NET sample seems correct to me.
@pvaillant I don't understand what the issue is, could you please provide more details (this is a multi-library article, and there are slight differences?)

@jmprieur on https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-desktop-acquire-token#withextrascopetoconsent the page refers to WithExtraScopeToConsent (singular Scope) in both the header and code example but it's actually WithExtraScopesToConsent (plural Scopes). I linked to the source code above as reference that shows the method has the extra s on Scope.

Oh I see. Thanks for the update, @pvaillant
I got confused but the page where you raised the issue (Move desktop app calling web APIs to production - Microsoft identity platform)
@vipulsparsh : do you want to take care of adding an 's' ?

Sorry, that's probably my fault (opening the ticket on the wrong page). I originally copied the code in the example and it took a while (and several more tabs) to figure out why it wasn't working.

no worries, @pvaillant. Thanks for the heads-up!

Fixed.
#please-close

Fixed.
#please-close


Dockerfile

closes #10

Codecov Report
Patch and project coverage have no change.

Comparison is base (aed1fc9) 75.24% compared to head (46baf9b) 75.24%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #27   +/-   ##
=========================================
  Coverage     75.24%   75.24%
  Complexity      132      132
=========================================
  Files            37       37
  Lines           307      307
  Branches         10       10
=========================================
  Hits            231      231
  Misses           73       73
  Partials          3        3

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Move over to lilybird

This pr changes discord.js in favor of lilybird.
Notes:
This pr also moves MESSAGE_PREFIX and BUN_ONLY_CHANNEL_ID to process.env instead of being constants.
allowed_mentions are not supported yet, i will look over them eventually but for now it should work fine anyways
This pr should not be merged yet, lilybird 0.2.3 doesnt not have client.ping this will come in 0.2.4

I'll look into this today


Installation Error

🐛 Bug Report
Error on install using Kali Linux.
To Reproduce
Steps to reproduce the behavior:

Install Kali Linux (https://www.kali.org/downloads/)
Update/Upgrade to latest version (apt-get update && apt-get upgrade && apt-get dist-upgrade)
Follow "Installation steps" "From source:" at https://github.com/cisagov/check-cve-2019-19781

Expected behavior
I would expect to be able to run the commands described in the "Usage" section of https://github.com/cisagov/check-cve-2019-19781
Any helpful log output
root@kali:~/check-cve-2019-19781# pip install -r requirements.txt
Obtaining file:///root/check-cve-2019-19781 (from -r requirements.txt (line 1))
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/root/check-cve-2019-19781/setup.py", line 38, in <module>
        long_description=readme(),
      File "/root/check-cve-2019-19781/setup.py", line 21, in readme
        with open("README.md", encoding="utf-8") as f:
    TypeError: 'encoding' is an invalid keyword argument for this function

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /root/check-cve-2019-19781/
root@kali:~/check-cve-2019-19781#

I suspect you are having trouble because you are using Python 2 instead of Python 3.  Can you run python --version and verify that you are using version 2?

@benpratt see PR #2, which addresses the fact that only Python 3.6 and greater are supported.

You might want to try this, if you have docker installed.

I can confirm that after installing python3-pip (apt-get install python3-pip) and using pip3 instead of pip in the install commands the issue is resolved.


Bug found in ADF ingestion pipeline when you have duplicate filenames

Discussed in https://github.com/microsoft/finops-toolkit/discussions/619

Originally posted by thecloudman February 27, 2024
Been doing testing around why my billed cost was not matching exports from usage details. I found that when doing onetime exports, if you had duplicate filenames in your exports, for example you split your July onetime export, you would have part_0_000_01.csv in one folder and part_0_000_01.csv in another folder. When you run the ingestion pipeline, the convert to csv will overwrite data in the existing filename. To overcome this i changed the Set FileName variable from: @replace(pipeline().parameters.fileName, '.csv', '.parquet') to @concat(replace(pipeline().parameters.fileName, '.csv', ''), '_', formatDateTime(utcNow(), 'yyyyMMddHHmmss'), '.parquet'). This appends a date format to the end of the file and creates a unique filename for each imported file. It prevents overwriting the original parquet file.

This should be resolved in 0.6


Add log helpers and assertions on logs and database dumps

Add playbook to collect logs and database dumps to a central location
add checkLogs.py script to exercise checks on the logs and database dumps after tests have run, to assert there are no leaks.

Merged as https://github.com/openwhisk/openwhisk/compare/92e4d453232e...12ea0130b52d.


Http request counter

fixes: #1737

Move StartTry to private.
Adding GetRetryCount().

The original issue this fixes needs more details into the problem we are fixing.

Other languages uses a RequestContext object to share one state across the pipeline.
This feature is require to implement a policy that reacts to some of the output of a previous policy. For example, the StorageSwitchServerPolicy needs to know if the request is on retry mode or not in order to switch to a second server.
I consider adding the entire RequestContext object as a map<string, string> to allow any state to be recorded, but this becomes more expensive for what we currently need right now ( just one int value)

I consider adding the entire RequestContext object as a map<string, string> to allow any state to be recorded, but this becomes more expensive for what we currently need right now ( just one int value)

Are we sure we won't need to add more context info across different retries in the future? Having a struct wrapping the int allows us to be more extensible in the future without having to make breaking changes.

Are we sure we won't need to add more context info across different retries in the future?

Just for now. God knows about the future hahahha..  But, if the future comes, the approach would be to keep adding the state as private fields in the request.  I think this is more efficient for C++ than a generic map<string, T>

Use Azure Core context

/azp run cpp - keyvault

/azp run cpp - storage

@Jinming-Hu  After reviewing this solution with Azure Core team, we decided to use the Context to keep the retry number information.
Please use Azure::Core::Http::RetryProlicy::GetRetryNumber(Context) to know about the retry number from the context.
The retry policy will update the value on each retry


Gated marketplaces:  market participant (requires fruniques) actions

Awaiting on question on #57.
Requires basic fruniques functionality #7 #8 and tentatively #60

Requirement gathering

[ ] Generate and propose documentation about order matching system (automatic matching or user accepts offers?)
[ ] Comparative document on LLC DAOS vs Afloat matching mechanism. Determine which features we'll taker from both in order to fulfill the requirements.

Allow a participant to

[ ] originate order
[ ] cancel order
[ ] purchase order

The traditional order cycle has 6 (very) specific steps. Not sure if all marketplaces need this kind of transitions:

order created
order matched
transfer form generated (?)
seller signature completed (?)
agency approval (?)
order filled (?)


builtin function question

I added a built-in function that requires a third-party library, but I reported an error when compiling.

This bag is in https://crates.io/ It exists

In short, you cannot use third-party Rust crates which are not in the third_party/crates-sgx directory.
For your case, if you want to use ndarray, you need to vendor ndarray-sgx (https://github.com/mesalock-linux/ndarray-sgx) in the crates-sgx directory.

In short, you cannot use third-party Rust crates which are not in the third_party/crates-sgx directory.
For your case, if you want to use ndarray, you need to vendor ndarray-sgx (https://github.com/mesalock-linux/ndarray-sgx) in the crates-sgx directory.

ok i'll try.
Can you provide a document on how to add a third-party library to crates-sgx, because I may need other third-party libraries in the future, which are not available in crates-sgx.

Thanks for your suggestion. We will definitely document it when we find out a good workflow for working on third-party SGX crates. Before this, you have to understand our build system in order to include more SGX libraries.


Fails to pass --package-parameters to buildtools

I am trying to call:
choco install -y visualstudio2019-workload-universalbuildtools --params "--add Microsoft.VisualStudio.Component.TextTemplating"
I am getting this result:

It seems to me it tries to install Microsoft.VisualStudio.Component.TextTemplating package from choco instead of passing it to the other package.

Yes, this seems to be a quoting issue. You do not need to call powershell, try using the exact command you posted (without prepending powershell to it), that way there will be one less application in the invocation chain and less chance of command line parameters being mangled.

I tried with or without but still the same result.

When I run this on my Win10 1909 system, I get the same symptom you described when I run powershell choco install..., but when I run choco install... it works correctly. Please double check the command you actually run.

I didn't mention that I am running it in a docker file. I thought it does not make any difference but maybe it does. Here is the dockerfile:
# escape=`

FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019

ADD https://chocolatey.org/install.ps1 /scripts/install.ps1

RUN powershell -File "C:/scripts/install.ps1"

#RUN choco install -y visualstudio2019-workload-universalbuildtools --package-parameters "--add Microsoft.VisualStudio.Component.TextTemplating"
RUN ["choco", "install", "-y", "visualstudio2019-workload-universalbuildtools", "--package-parameters \"--add Microsoft.VisualStudio.Component.TextTemplating\""]

RUN command should run commands in cmd.exe by default.
I tried different syntax but still the same issue...

It certainly does. Other users have reported problems with parameter quoting in dockerfiles before. Unfortunately, nobody posted a working example and I don't use Docker so I probably won't be able to help here.
Anyway, the problem is not with these packages (or Chocolatey), rather it is about how to properly pass arguments containing spaces to an executable called from a dockerfile - and that problem statement is generic enough that you could try asking in Docker forums.
One last shot in the dark: what happens if you try
RUN ["choco", "install", "-y", "visualstudio2019-workload-universalbuildtools", "--package-parameters", "--add Microsoft.VisualStudio.Component.TextTemplating"]

?

Exactly the same problem with buildtools or community or any MSVCstuff... :
--locale en-US : don't work at all
--addProductLang fr-FR : don't work too
I think no parameters works...
Don't work in a dockerfile, BUT also don't work inside a Docker container in manual mode too (with 'start -it'), strange because inside a container in manual is like with a real windows, very strange...
For example, the main sample we can find here in the official documentation:
https://chocolatey.org/packages/visualstudio2017buildtools
choco install visualstudio2017buildtools --package-parameters "--allWorkloads --includeRecommended --includeOptional --passive --locale en-US"
don't work

Doesn't work with powershell or cmd.com

It certainly does. Other users have reported problems with parameter quoting in dockerfiles before. Unfortunately, nobody posted a working example and I don't use Docker so I probably won't be able to help here.
Anyway, the problem is not with these packages (or Chocolatey), rather it is about how to properly pass arguments containing spaces to an executable called from a dockerfile - and that problem statement is generic enough that you could try asking in Docker forums.
One last shot in the dark: what happens if you try
RUN ["choco", "install", "-y", "visualstudio2019-workload-universalbuildtools", "--package-parameters", "--add Microsoft.VisualStudio.Component.TextTemplating"]

?

I was interested in installing visualstudio2019buildtools with additional workloads but run into similar issue.
I've ended with installing separate choco packages with required workloads but that was still not enough as I had to enable some optional component in a workload.
I was executing:
RUN choco install visualstudio2019-workload-vctools --package-parameters "--add Microsoft.VisualStudio.Component.VC.v141.x86.x64"

which resulted in below error:
Failures
 - Microsoft.VisualStudio.Component.VC.v141.x86.x64 - Microsoft.VisualStudio.Component.VC.v141.x86.x64 not installed. The package was not found with the source(s) listed.
 Source(s): 'https://chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
 assistance.
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; choco install visualstudio2019-workload-vctools --package-parameters "--add Microsoft.VisualStudio.Component.VC.v141.x86.x64"' returned a non-zero code: 1

While below command executed exactly as expected:
RUN ["choco", "install", "visualstudio2019-workload-vctools", "--package-parameters", "--add Microsoft.VisualStudio.Component.VC.v141.x86.x64"]

Instead of trying to solve the escaping/quoting problem in Docker, why not avoid it altogether:

put the choco install ... command in a .cmd script,
add the script to the image,
invoke it from the dockerfile with a simple RUN with no parameters or quotes needed.


Possible Regex Bug in jest-haste-map with providesModuleNodeModules

Hi,
i just wanted to start with jest and react-native, found a few hints and added the config from f8app (https://github.com/fbsamples/f8app/blob/master/package.json#L51-L60)
if i run a test now, i get an error: seems like there is one  ')' too much at the end of the regex.
when i remove it or skip this regex (empty providesModuleNodeModules) its working

Using Jest CLI v12.1.1, jasmine2, babel-jest
SyntaxError: Invalid regular expression: /(\node_modules(?:react-native))/: Unmatched ')'
at RegExp (native)
at new HasteMap (D:\workspace\rn-app\node_modules\jest-cli\node_modules\jest-haste-map\src\index.js:128:9)
at createHasteMap (D:\workspace\rn-app\node_modules\jest-cli\src\lib\createHasteMap.js:18:10)
at new TestRunner (D:\workspace\rn-app\node_modules\jest-cli\src\TestRunner.js:37:22)
at runJest (D:\workspace\rn-app\node_modules\jest-cli\src\jest.js:147:22)
at readConfig.then.config (D:\workspace\rn-app\node_modules\jest-cli\src\jest.js:244:16)
npm ERR! Test failed.  See above for more details.

Uh oh, this is not good. Did you try master or is this a fresh install of Jest?

Also, can you show me your config? :)

this is a fresh install of jest 12.1.1
i think the package.json is the minimal setup :-)
{   "name": "rn-app",   "version": "0.0.1",   "private": true,   "scripts": {     "start": "node node_modules/react-native/local-cli/cli.js start",     "test": "jest"   },   "jest": {     "haste": {       "defaultPlatform": "ios",       "platforms": [         "ios",         "android"       ],       "providesModuleNodeModules": [           "react-native"       ]     }   },   "dependencies": {     "react": "15.0.2",     "react-native": "^0.26.0",     "react-native-maps": "^0.4.2",     "react-redux": "^4.4.3",     "redux": "^3.4.0",     "redux-thunk": "^2.0.1"   },   "devDependencies": {     "jest-cli": "^12.1.1"   } }

the test itself is only a "hello jest world"
describe('debug', () => {
  it('should test if jest is running', () => {
    expect(true).toBe(true);
  });
});

so there is no preprocessor involved.
also (i think it doesnt matter in this case) im on windows 10 with nodejs 6.2

I wonder if the problem is windows? This problem hasn't come up at FB where we are using this exact code.

oh, i think it is...
the github editor ate one backslash... the generated regex is:

and this one is invalid, the problem is not the bracket but the second backslash

oh, dammit, it isn't escaped properly on Windows and we are using path.sep here. We have a utility function here: https://github.com/facebook/jest/blob/master/packages/jest-util/src/index.js#L25 that we could inline in jest-haste-map.


Stable

Doneness:

[X] Build is okay - I made sure that this change is building successfully.
[X] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
[X] Branching - If this is not a hotfix, I am making this request against master branch

:x: Build Titanium-Web-Proxy 3.0.631 failed (commit https://github.com/justcoding121/Titanium-Web-Proxy/commit/a08dca7943 by @justcoding121)


Geometry System Refactor: Modify endpoints to use Labware class

overview
Re-implement Placeable to use Labware under the hood

Closing in favor of work in the Robot Singleton milestone (https://github.com/Opentrons/opentrons/milestone/64)


Switch to fbc-stage policy for EC of FBC applications

Switch to fbc-stage policy as discussed, as this excludes the fbc-related-image-check, which fails as the image references in the bundle point to registry.redhat.io and don't exist at that point yet.

Yeah. I think it really makes sense to do this. We will be testing the FBC image downstream using the ImageContentSourcePolicy. That one is generated so it will ensure that the images exist in quay.io.
The fbc-standard policy really makes sense only for final push to production because at that point, the regular product images (other than fbc) should already be public under registry.redhat.io.


does this still work?

it is not connecting to ny nodes :/

Try my fork. It should be updated to the latest libs. https://github.com/pRizz/open-iota


Develop v3 - Fixed bug and add two property of UpdateManager

Fixed

#48

Add

Add a SearchTimeout property in UpdateManager. The property indicates the timeout of search for updates.json. In milliseconds. Default 10000.
Add UseDynamicUpdateUri property of UpdateManager. The proerty indicating whether the nUpdate download the update-packages from uri-path of UpdateConfigurationFileUri instead of all the UpdateConfiguration.UpdatePackageUri of each version-node in updates.json. Default false.

Example: UpdateConfigurationFileUri is 'http://www.test.de/nNpdate/updates.json', version is '<IP_ADDRESS>', UpdatePackageUri is 'http://localhost/nNpdate/<IP_ADDRESS>/id.zip',  the nUpdate will download the update-packages from 'http://www.test.de/nNpdate/<IP_ADDRESS>/id.zip' instead of 'http://localhost/nNpdate/<IP_ADDRESS>/id.zip'.
Why add? When updating the same software in multiple networks that do not communicate, the user only need to create one nUpdate project to manage the upgrade package and then distribute the upgrade package to the servers in each network. Without this property, the user will need to create multiple nUpdate projects or modify the UpdatePackageUri value of each updates.json before distribute the upgrade package to each server.

Thanks for your advice.
I will revise the code and commit according to your suggestion, then do pull request. And at pull request, I will write a  more detailed description of the "UseDynamicUpdateUri" usage scenario.


1lib_discord_internals.plugin.js not showing up under plugins in better Discord

Is there any way to solve this?

https://github.com/samogot/betterdiscord-plugins/issues/15
I had the same problem but there is a fix 😃


I got a crashing (Blocks) MNIST tutorial using float32 and GPU

When setting ~/.theanorc floatX=float32 and device=gpu, I couldn't run the Blocks MNIST tutorial. I thought that Fuel could check theano.config.floatX and serve downcasted when necessary.

Well, the idea is that Fuel doesn't have any dependencies on floatX, which is why it has its own, separate floatX configuration. However, I guess it's reasonable to use Theano's floatX if Theano is installed. Fixed in  2941829.


feat: add workflow actions

Codecov Report

Merging #328 (004695a) into workflow-event (ccb52ec) will decrease coverage by 0.10%.
The diff coverage is 85.18%.

@@                Coverage Diff                 @@
##           workflow-event     #328      +/-   ##
==================================================
- Coverage           91.41%   91.31%   -0.11%
==================================================
  Files                  36       36
  Lines                1293     1324      +31
  Branches              292      304      +12
==================================================
+ Hits                 1182     1209      +27
- Misses                108      112       +4
  Partials                3        3

Impacted Files
Coverage Δ

...egen-ui-react/lib/react-component-render-helper.ts
77.63% <ø> (-0.28%)
:arrow_down:

packages/codegen-ui/lib/renderer-helper.ts
87.09% <33.33%> (ø)

...gen-ui-react/lib/react-studio-template-renderer.ts
90.59% <87.23%> (-0.73%)
:arrow_down:

...ges/codegen-ui-react/lib/imports/import-mapping.ts
100.00% <100.00%> (ø)

...s/codegen-ui-react/lib/react-component-renderer.ts
100.00% <100.00%> (+7.14%)
:arrow_up:

...eact/lib/react-component-with-children-renderer.ts
93.61% <100.00%> (-0.39%)
:arrow_down:

packages/codegen-ui/lib/types/studio-types.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

Test comment


新建应用时权限赋予错误

[x] I have checked the discussions
[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Describe the bug
A用户新建一个应用，将应用负责人、应用管理员都仅设置为B用户。此时也为A用户赋予了默认namespace的编辑、发布权限，不应该给A用户任何权限的。
To Reproduce
Steps to reproduce the behavior:
1.新建一个应用，将应用负责人、应用管理员都仅设置为B用户
Expected behavior
A用户没有任何权限
Additional Details & Logs
https://github.com/apolloconfig/apollo/blob/49bd8ccab93c2484dacabd9d0709bb49efbdfc4b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultRoleInitializationService.java#L83-L89
应该赋权限给用户Sets.newHashSet(app.getOwnerName())，而不是Sets.newHashSet(operator)

Version 2.2.0
Error logs
Configuration
Platform and Operating System

I believe this is a bug, would you please help to submit a pull request to fix it?

I believe this is a bug, would you please help to submit a pull request to fix it?

see this https://github.com/Lin-1997/apollo/pull/1


Add psyplot-related packages to the recipe

Comment:
https://github.com/ESMValGroup/ESMValTool/pull/2653 added a couple of new dependencies that we need to add to the recipe for the next release:
  - psy-maps
  - psy-reg
  - psy-simple
  - psyplot

great! I was 89% you forgot to open an issue about Psy, was heading straight to New Issue :rofl:

@sloosvel pls bear this in mind when the bot PR comes along, hopefully later today :+1:

Adressed in #10


Add Arabic Language to your App

Can I help  You With it

Sure. Thanks for your suggestion! Just in case, I want to ask one thing. If some new questions are added, could you keep updating? I do not know Arabic so I am not sure that I can translate them correctly.

@tula3and
I will definitely be always on the lookout for every update that happens, I would like to thank you for your trust and acceptance of me to participate in your project

I've added Arabic language option to the app. You can check your translation from now! I also would like to request translating for one more question from #6. Thank you!


Could not get the cookies from http response

Hi,
We've been trying to use pyresttest for testing a web application, but we couldn't get the cookie through the header extracts
- headers: {Content-Type: application/json}
- extract_binds:
          - 'Set-Cookie': { header: 'Set-cookie'}

but we could not get any Results
Could someone please explain why this happens and how I could fix the above example to make it work?

--verbose command:

Hostname was NOT found in DNS cache
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80 (#0)

POST /api/user/login HTTP/1.1
User-Agent: PycURL/7.19.3 libcurl/7.35.0 GnuTLS/2.12.23 zlib/1.2.8 libidn/1.28 librtmp/2.3
Host: <IP_ADDRESS>
Accept: /
Content-Type:application/json
Connection: close
Content-Length: 48

< HTTP/1.1 200 OK
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Origin: None
< Content-Length: 95
< Content-Type: text/html; charset=UTF-8
< Set-Cookie: sid="!uoEbeRG4Mn4BDaQusNfyLA==?gASVJAAAAAAAAACMA3NpZJSMGDU1ZTYxYTMxMDhiODA1MGJiNTgxMGEwY5SGlC4="; Path=/
< Connection: close

This has been belatedly fixed (with tests) by this commit: https://github.com/svanoort/pyresttest/commit/29ec38a888e4c647eeb2b33b363d3553a3646587


Support for multiple database configurations

Great plugin & super simple to set up and use! Thanks!
Please add support for configuring multiple databases with their test environments.
Automatically targeting database configurations for different test environments would be great. For example, Cypress.env('qa') would automatically target qa's database config, and Cypress.env('stage') would target the stage's database config.

Please disregard. I configured my environments with a separate cypress.env.json file.


Add technical blog post

Add the technical blog post which will help inform the community what's going on.
NOTE: Please do not merge even if it is approved until Monday afternoon.

As agreed with @KittyBot merging this PR!


Fix #1516 Undefined exception on configure-limit-parsys.min.js

This prevent the exception since it would not have the  ACS_COMPONENTS_LIMIT configured for it. So in this case this should not trow any error.

Coverage increased (+0.005%) to 40.888% when pulling c3c65c5ec10ee3dd6213f4b1056563a997ee97fe on Mupc:patch-1 into 71e98ec2e5d8eb660e9f33f8b4ae2ab18c040e12 on Adobe-Consulting-Services:master.

Thanks!


OAuth implementation, should I make a PR?

Folks,
I develop a little bit of code to support OAuth1.0 (most notably used by twitter).
Should I make a PR against your codebase or I keep it as separate package?
Cheers,

The point of node-fetch is to act as a ponyfill for the browser fetch API. Therefore, OAuth shouldn't be built-in.

Then I close the issue!


Background-Playback stops after one minute

even with screen on
tested on Android 11

Hi,
I notice that when I start "Im Hintergrund abspielen" playing stops after 5 minutes. Verified on 2 devices: Android 7 and Android 10.
So when my issue is targeting #273 I would give it a :+1: :-) .

@Aufschlauer Yes, this should be the same issue. A bugfix release is due, fut free time rare :( I'll comment this issue as soon as a bugfix version has been released.

Version 6.0.2 has just been released and should hit F-Droid in a few days.
@Aufschlauer Feel free to reopen this issue, if the problem is not fixed in your case.

Works now, also with Android 12 with One UI 4.0 on a Galaxy A72. Thank you! 👍🏻


[Perplexity] Fallback Command Support

Extension
https://www.raycast.com/third774/perplexity
Description
Can we have a fallback command support so I can type something and select Perplexity and it searches just like the default Google fallback command? Right now after I press enter, I have to press CMD+enter again to submit the form, can the fallback just bypass that? If I add a quicklink then I have to use an alias
https://github.com/raycast/extensions/assets/16886888/d6059a32-c613-4944-870f-34d210f2eddc
Who will benefit from this feature?
People that want to use Perplexity as their default search (just like the chrome extension).
Anything else?
No response

This should be fixed now!
@raycastbot close this issue

Yay, thank you!


Enable AssignmentToCollectionFieldFromParameter inspection in Idea

This PR enables the AssignmentToCollectionFieldFromParameter warning in the common IntelliJ IDEA configuration.
Previously, the check was disabled by default, and the compiler said nothing when the Collection was copied by reference from the method parameter.
Now, it emits a warning and suggests doing deep copy instead.
The private methods are ignored by this check.

@alexander-yevsyukov PTAL.


Yatin: Watch thesuperarticle.com

Yatin requests the watch of the watch_keyword thesuperarticle\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

thesuperarticle\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

thesuperarticle\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ

Approved by cigien in Charcoal HQ


dart:html does not support TH elements

This issue was originally filed by @butlermatt

There are no classes to create a TH element for tables.
TableCellElement's exist to create a TD, but it cannot be converted to a th for a header element in a THead for instance.
This may be related to bug 3544 however in this case I'm not referring to the template system but the dart:html library itself.

Why was this issue closed? The problem still exists in 1.24.x. You cannot create  elements using dart:html. Was a child issue opened somewhere else that I just can't find?

Yes, I think you're right, this was closed with the comment about calling createTHead.  You can explicitly create a th element with the Element.th constructor, but it's not unreasonable that addCell would do the right thing. Though I'm not sure if it does in JS.

Seems like in JS you get a TD too 😞

Seems like in JS you get a TD too 😞
document.createElement("table").createTHead().insertRow().insertCell()

That probably explains the dart behaviour, then. I'm not alone in thinking that the JS behaviour is unexpected, am I?
Would be great if dart could work-around to behave as expected.

You are not alone; it seems wonky to me. I think it's because the tr is the same class. The spec seems to say that insertCell on a tr creates a td, even though the other methods (such as deleteCell) mention th. Seems to be bad by-design!

Hey! Stop closing bugs that haven't been fixed yet just because you think they're stale!

There are no plans to make dart:html work different than the JS behavior.