VW ID3 got an Update

Got this error since then:
Exception in thread Update in Background:
Traceback (most recent call last):
File "C:\Users\OpenAdmin\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner
self.run()
File "C:\Users\OpenAdmin\AppData\Local\Programs\Python\Python39\lib\threading.py", line 888, in run
self._target(*self._args, **self._kwargs)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect_mqtt\weconnect_mqtt_base.py", line 462, in updateWeConnect
self.weConnect.update(updateCapabilities=self.updateCapabilities, updatePictures=self.updatePictures, selective=self.selective, force=True)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\weconnect.py", line 194, in update
self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\weconnect.py", line 205, in updateVehicles
data = self.fetchData(url, force)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\weconnect.py", line 373, in fetchData
statusResponse: requests.Response = self.session.get(url, allow_redirects=False)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\auth\we_connect_session.py", line 69, in request
return super(WeConnectSession, self).request(
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\auth\openid_session.py", line 194, in request
url, headers, data = self.addToken(url, body=data, headers=headers, access_type=access_type, token=token)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\auth\openid_session.py", line 238, in addToken
self.login()
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\auth\we_connect_session.py", line 76, in login
response = self.doWebAuth(authorizationUrl)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\auth\we_connect_session.py", line 253, in doWebAuth
afterLoginResponse = self.get(afterLoginUrl, allow_redirects=False, access_type=AccessType.NONE)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\auth\we_connect_session.py", line 69, in request
return super(WeConnectSession, self).request(
File "C:\OpenHAB\WeConnect\python\lib\site-packages\weconnect\auth\openid_session.py", line 188, in request
raise InsecureTransportError()
oauthlib.oauth2.rfc6749.errors.InsecureTransportError: (insecure_transport) OAuth 2 MUST utilize https.

I have exactly the same thing. Unfortunately it no longer works. Last Update 28-11-2024

You need to logout and in again in the Volkswagen app to accept the new terms and conditions.

fwiw: in my case weconnect-mqtt (v0.49.0 and weconnect-python 0.60.3) also did not update anymore since  2024-11-28 22:20:14. The status of the program reported 'failed' (RPI4). Using the suggestion, I logged into the WeConnect website. This included accepting Terms & Conditions. Thereafter. Weconnect-mqtt started working again (after a while). Also upgraded to 0.49.2 and 0.60.5.

Ahh ok thanks alot. didn't think of login to the webpage to get the new Terms & Conditions. Now it Works!


As a CIF administrator, I want to see clear context of the changes in Amendments/General Revisions, so that I know what I am about to override

Description:
As outcome of #1523 (with back-end work handled in #1528), the design of the diff section for an Amendment or General Revision is refined to provide clear context of the changes.
- Design: Sequential Scenario 1
- Design: Sequential Scenario 2
- Design: Sequential Scenario 3
- Design (Cleaner Version): preferred by users, nice-to-have, out of scope of this ticket, will be handled in #1573
In summary, for the diff section, we'll show the following fields under their forms with help/contextual texts:

The fields manually updated by the user
The calculated and auto-populated fields impacted by the manual updates
The fields changed by other

General Revision applied while the current Amendment is open (not approved)
Amendment approved while the current General Revision is open (not applied)

Acceptance Criteria:
Given I am a user
When I edit non-calculated fields on a form and another revision hasn't been committed since I opened the revision
Then when I view the "Forms updated" section
Then the old value is in black and struckout
and if there was no old value (the field was blank) I see "Not entered"
Given I am a user
When I edit fields that affect calculated fields on a form and another revision hasn't been committed since I opened the revision
Then when I view the "Forms updated" section
Then the old value is in black and struckout
and if there was no old value (the field was blank) I see "Not calculated"
and I see the help text (see wireframe)
Given I am a user
When I edit fields on a form and another revision hasn't been committed since I opened the revision
Then when I view the "Forms updated" section
Then the new value is in red
and there is an arrow between the old and new values
Given I am a user
When I edit fields on a form and another revision has been committed since I opened my revision, and the revisions do not touch the same fields
Then when I view the "Forms updated" section
I see the changes from my revision
and I see the changes from the other revision
and I see help text (see wireframe) below the changes from the other revision
Given I am a user
When I edit fields on a form and another revision has been committed since I opened my revision, and the revisions do touch the same fields
Then when I view the "Forms updated" section
I see the old value when I started my revision, then the other revision's value, then my new edited value (with colours and arrows in wireframe)
and I see help text (see wireframe)
NOTE: This ticket doesn't cover the yellow/green diffs. That page will be removed by https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/gh/bcgov/cas-cif/1582
Development Checklist:

[ ] Edit the work done in #1523 to match the design
[ ] Add conditionality (#1523 shows the latest committed value for every field regardless of whether it changed in the revision)
[ ] Tests (little testing was done in #1523 because we didn't have the ability to create more than one revision at the time)
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Hey team! Please add your planning poker estimate with Zenhub @BCerki @dleard @gurjmatharu @mikevespi @pbastia @sam-warren @Sepehr-Sobhani @tmastrom

#1528 should have covered a lot of the pre-work for this card. Thanks @BCerki !

@nanyangpro is this issue meant for the Review and Submit page?  Wireframes show it being the view page.

old data
new data
committed data
example
result

✅
❌
❌
Revision Type
?

✅
✅

Proposal Reference
~old data~ -> new data

✅
✅
✅
2 edits happened
?

@gurjmatharu I think for the deleted data we've just used an italic DELETED everywhere
For 2 edits happening in parallel, we have this in the prototype:

Since this ticket isn't going to include the contextual help (?), we can probably roll that in with the tooltip implementation in https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/gh/bcgov/cas-cif/1573

The contextual help is the core of this ticket and should stay in the scope. #1573 is simply hiding them behind the tooltip icon.

Contextual text will be broken out into another card.

Contextual text will be broken out into another card.

https://github.com/bcgov/cas-cif/issues/1739

Thanks for the hard work @gurjmatharu ! This was a complex one.
One of the ACs can't be reproduced in dev:

Given I am a user
When I edit fields on a form and another revision has been committed since I opened my revision, and the revisions do not touch the same fields
Then when I view the "Forms updated" section
I see the changes from my revision
and I see the changes from the other revision
and I see help text (see wireframe) below the changes from the other revision


Quick pick closes when opening context menu in input field

Issue Type: Bug

"window.titleBarStyle": "custom"
Using open recent open context menu on input
The context menu is below the list

VS Code version: Code - Insiders 1.28.0-insider (a3f9f2e7240106aeec2f1d4bc03d7876bd42e2e4, 2018-09-07T05:20:29.346Z)
OS version: Windows_NT x64 10.0.17134

this is not just a display issue. the behavior I see is that the context menu takes focus, thus removing the quick pick altogether.
/cc @bpasero

fixed by shadow dom menus it seems

Works, but needs "workbench.quickOpen.closeOnFocusLost": false


First implementation of sub-resources

This is the first implementation of the sub-resources feature.
There are 2 new props:

subResourcKey
This is to define the key of the subResource which must exist on the resource.
subResourceHeight
This defines the height of each subResource

There is one new key on the resource which is needed

expanded
If this is true the subResource gets expanded and collapses if it is false

Also there is an optional key on the subResource

subResourceHeight
This is to define a custom height for a subResource if one is needed otherwise it defaults to prop subResourceHeight

We are not sure if this fits the standards of the project but we tried our best to maintain the same conventions.
There may be a few things which are not perfectly finished like drag and drop functionality and theme but
we wanted to check back first if our approach is on the right track.

@moox45 Not sure how I missed this. First, thank you for the PR. I hope to find time to review it this week.

Hey @moox45
I have decided not to merge this PR. Both Scheduler and Resource views need "subResource" handling. Plus examples and documentation. I started looking at the scheduler view and decided it needed a bit of work before this could happen.
So, I have started working on this and here is just a taste of what's coming:

And, suggestions are very welcomed.

This has been implemented in v2.3.0 release


请问支持字幕输出功能吗？

这个项目本身不支持。不过可以结合用openai的createTranscription 根据音频获得字幕文件(srt)
具体调用可以参考我这个项目gpt-magic

gpt-magic

python的edge-tts可以实现字幕的。
async def main() -> None:
"""Main function"""
communicate = edge_tts.Communicate(TEXT, VOICE)
submaker = edge_tts.SubMaker()
with open(OUTPUT_FILE, "wb") as file:
async for chunk in communicate.stream():
if chunk["type"] == "audio":
file.write(chunk["data"])
elif chunk["type"] == "WordBoundary":
submaker.create_sub((chunk["offset"], chunk["duration"]), chunk["text"])
with open(WEBVTT_FILE, "w", encoding="utf-8") as file:
    file.write(submaker.generate_subs())

按道理应该是一样的，就是对返回的结果做了一次处理

gpt-magic

python的edge-tts可以实现字幕的。
`async def main() -> None: """Main function""" communicate = edge_tts.Communicate(TEXT, VOICE) submaker = edge_tts.SubMaker() with open(OUTPUT_FILE, "wb") as file: async for chunk in communicate.stream(): if chunk["type"] == "audio": file.write(chunk["data"]) elif chunk["type"] == "WordBoundary": submaker.create_sub((chunk["offset"], chunk["duration"]), chunk["text"])
with open(WEBVTT_FILE, "w", encoding="utf-8") as file:
    file.write(submaker.generate_subs())

` 按道理应该是一样的，就是对返回的结果做了一次处理

好啦，更新1.2.0了，按照python的功能写了一下

I think this change broke general use cases. Each time I have it transcribe something it adds to the vtt and mp3 instead of overwriting it which means for a real time voice transcription, it is taking the last session, playing it back, then playing the current content I asked it to generated additively.

I think this change broke general use cases. Each time I have it transcribe something it adds to the vtt and mp3 instead of overwriting it which means for a real time voice transcription, it is taking the last session, playing it back, then playing the current content I asked it to generate additively. This continues growing.

Thank you for pointing out this issue. When the same file name is specified, there was indeed a bug where the audio file would be appended, but the VTT subtitle file would be overwritten. I have fixed this issue in the recently released version 1.2.3.


Improve Error Messages from Embedding Providers

What this PR does:
Improve Error Messages from Embedding Providers
Which issue(s) this PR fixes:
Fixes Jira C2-3551
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

Will modify and add ITs in EGW repo


This build is working fine on my end

Added model, which passes the travisCI on my git

Codecov Report

Merging #16 into master will increase coverage by 11.91%.
The diff coverage is 71.29%.

@@             Coverage Diff             @@
##           master      #16       +/-   ##
===========================================
+ Coverage   35.32%   47.23%   +11.91%
===========================================
  Files          10       16        +6
  Lines         436      652      +216
  Branches       60       94       +34
===========================================
+ Hits          154      308      +154
- Misses        274      331       +57
- Partials        8       13        +5

Impacted Files
Coverage Δ

src/contradictory_claims/claims/dataset_reader.py
48.43% <48.43%> (ø)

src/contradictory_claims/claims/utils.py
50.00% <50.00%> (ø)

src/contradictory_claims/claims/predictors.py
70.37% <70.37%> (ø)

src/contradictory_claims/claims/models.py
76.66% <76.66%> (ø)

src/contradictory_claims/claims/extract_claims.py
95.83% <95.83%> (ø)

src/contradictory_claims/__init__.py
100.00% <100.00%> (ø)

src/contradictory_claims/claims/__init__.py
100.00% <100.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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


[CARBONDATA-2853] Implement file-level min/max index for streaming segment

Implement file-level min/max index to prune stream files in driver side.

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6295/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7944/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6667/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7959/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6683/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6405/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/8063/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/8193/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/122/

@QiangCai ....In General I can see that you put empty lines at many places in the code. Please remove those empty lines everywhere and add some code comments for better understanding

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/173/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/8244/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/8255/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/184/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/8284/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/213/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/8302/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/232/


added booklists

So, basically I was trying to resolve conflicts on #70  , but I messed up and actually deleted the entire history of the branch, which isn't cool and I apologise. But, I was luckily able to recover all the files that were edited and so I am putting them here.
Again, sorry about that.

@evanhearne yes no problem

@denispop9 thanks for the info. I would say the easiest approach here is to update the navigation for the booklist files and complete the curriculum in a separate pr. This one has been open for a while so it would be good to get it closed out.

@laurafitzgerald thanks for giving us advice on what to do from here, @denispop9 shall I do this or do you feel comfortable enough proceeding with the next steps on this PR? Meanwhile, I will add a card to our Trello board concerning the curriculum.

@laurafitzgerald I spoke with @denispop9 and he said to me that he would like me to work on the navbar since it is my expertise. I will ping you again for review when it's done.


[new feature] adding a window for quick search test by name

Hello,
it s will be nice to have a windows for fuzzy search test by name, for launch it quickly.

It's a bit sneaky, but this feature already exists. See issue https://github.com/hbenl/vscode-test-explorer/issues/4
Perhaps the action here is to add documentation to the readme

Ok thanks ! Document this  in the readme can be nice


:bug: avoid rewriting external links to MDs

This PR updates the regex to avoid changing hyperlinks that link to an external markdown file. I'm unsure of this is a valid corner case for you, but it makes sense to me.

Link
Change to .html?

rules
:white_check_mark:

rules
:x:

stuff
:x:

http/a>
:white_check_mark:

Here is a live view of the regex used:
https://regex101.com/r/aM1wH8/1
BTW, wow you certainly have been busy with this since yesterday! :) Looks great!

yes! definitely thought about this and wanted to cover it. thanks!

@Flet you're right, for some reason this was unwatched. I binge unwatched a couple hundred repos a week or two ago because I was getting too many notifications, must have clicked this one by accident.

@Flet btw you are awesome and really good at internet git codes :grin: :+1:

Hah thanks! You have a lot of fun and I like that :)
Yeah I was getting email overload on watched repositories a few weeks ago. My solution was to go to my github settings > Notification Center > and untick "Email" for just the "Watching" group.
Now I just get emails where I'm mentioned/participating. This works well as all the watched stuff still shows up under that infernal blue dot. I don't get emails when someone opens an issue on one of my repositories, which I thought would be a problem, but it's worked out so far!
Since this change my life has improved tenfold. I can lift a car and I'm more handsome than ever (results not typical).


no longer wait on node search to refresh vault but pass created ApiCient instead

Now that chef_vault can take a ApiClient, we can pass the one generated during bootstrap along instead of having the vault wait for a client to come back from search.

Note:  This still needs to make sure that it is being used with chef-vault 2.6 or greater.

@jaym tweaked a bit to make the conversion to a ApiClient more clear by pulling the conversion out of the verskion branching logic and into the run call. So everything goes through the conversion and it just returns the original response if it is alreadt an ApiClient

:+1:

removed hash from run @btm

:+1: on green


Change to UTF-8 string reversing with in place

Reverses UTF-8 strings without allocated heap for working memory.

Great! Just two comments:

It seems mrb_str_modify() is called twice when MRB_UTF8_STRING is defined.
It may be originally, but mrb_str_modify() may not be needed if string length is less than 2.

Thanks @shuujii for review.
Your comment is right, so I will correct.

I was rebase and forced push.
Also, since I was mixing bugs, I fix it together.
Bug:
A single UTF-8 string consisting of 2 or more bytes is destroyed.

@dearblue UTF-8 is a multi-byte encoding which cannot be reversed bytewise since some characters take more than 1 byte, for example "💪"
On CRuby:
[2.6.0] > "💪"
=> "💪"
[2.6.0] > "💪".reverse
=> "💪"
[2.6.0] > "💪".reverse.reverse
=> "💪"

On mruby with this patch:
> "💪"
 => "\xf0\x9f\x92\xaa"
> "💪".reverse
 => "\xaa\x92\x9f\xf0"
> "💪".reverse.reverse
 => "\xf0\x9f\x92\xaa"

I can't reproduce it. Do you define MRB_UTF8_STRING?

@shuujii Oh no I did not. Sorry I've been used to my custom build where I set this flag long ago. Please ignore my above comment.

The original approach is to swap the front and back of the array without changing the order of the parts with in-place array.
It is over 10 years (20 years?) since I saw this method, but I can not remember at all where I saw it.
Before reversing array:
  [A1 A2 A3  B1 B2 B3 B4]

Reverse the part A:
  [A3 A2 A1  B1 B2 B3 B4]

Reverse the part B:
  [A3 A2 A1  B4 B3 B2 B1]

Reverse whole array to complete:
  [B1 B2 B3 B4  A1 A2 A3]

This patch remembers this and just applies to UTF-8 strings.
I should have mentioned the original approach.

I am forgot reports for benchmark.
For small UTF-8 strings, 1.5 times more time is required.

Time of mruby -e '("abcdefghijklmn"*100000000).reverse!'
% for rev in f94551a reverse-utf8; \
do \
  git co --detach $rev; \
  CFLAGS='-O3 -Wall -DMRB_UTF8_STRING' ./minirake -j10 `pwd`/build/host/bin/mruby > /dev/null 2> /dev/null; \
  for i in `seq 3`; \
  do \
    /usr/bin/time ./build/host/bin/mruby -e '("abcdefghijklmn"*100000000).reverse!'; \
  done; \
done
Previous HEAD position was 98daa3bb6 Fix the unnecessary `mrb_str_modify()` call
HEAD is now at f94551ad4 Merge pull request #4518 from shuujii/add-ISO-section-number-to-Kernel-local_variables
       11.73 real        10.84 user         0.88 sys
       11.69 real        10.79 user         0.89 sys
       11.84 real        10.92 user         0.91 sys
Previous HEAD position was f94551ad4 Merge pull request #4518 from shuujii/add-ISO-section-number-to-Kernel-local_variables
HEAD is now at 11e09dc5d Fix the unnecessary `mrb_str_modify()` call
       11.69 real        10.85 user         0.83 sys
       11.77 real        10.83 user         0.93 sys
       11.71 real        10.86 user         0.83 sys

Time of mruby -e '100000.times { ("○✕△□"*1000).reverse! }'
% for rev in f94551a reverse-utf8; \
do \
  git co --detach $rev; \
  CFLAGS='-O3 -Wall -DMRB_UTF8_STRING' ./minirake -j10 `pwd`/build/host/bin/mruby > /dev/null 2> /dev/null; \
  for i in `seq 3`; \
  do \
    /usr/bin/time ./build/host/bin/mruby -e '100000.times { ("○✕△□"*1000).reverse! }'; \
  done; \
done
Previous HEAD position was 98daa3bb6 Fix the unnecessary `mrb_str_modify()` call
HEAD is now at f94551ad4 Merge pull request #4518 from shuujii/add-ISO-section-number-to-Kernel-local_variables
        4.80 real         4.77 user         0.02 sys
        4.88 real         4.85 user         0.01 sys
        4.74 real         4.73 user         0.00 sys
Previous HEAD position was f94551ad4 Merge pull request #4518 from shuujii/add-ISO-section-number-to-Kernel-local_variables
HEAD is now at 98daa3bb6 Fix the unnecessary `mrb_str_modify()` call
        7.40 real         7.38 user         0.00 sys
        7.44 real         7.41 user         0.01 sys
        7.36 real         7.33 user         0.02 sys

Time of mruby -e '("○✕△□"*100000000).reverse!'
% for rev in f94551a reverse-utf8; \
do \
  git co --detach $rev; \
  CFLAGS='-O3 -Wall -DMRB_UTF8_STRING' ./minirake -j10 `pwd`/build/host/bin/mruby > /dev/null 2> /dev/null; \
  for i in `seq 3`; \
  do \
    /usr/bin/time ./build/host/bin/mruby -e '("○✕△□"*100000000).reverse!'; \
  done; \
done
Previous HEAD position was 98daa3bb6 Fix the unnecessary `mrb_str_modify()` call
HEAD is now at f94551ad4 Merge pull request #4518 from shuujii/add-ISO-section-number-to-Kernel-local_variables
        6.93 real         5.50 user         1.43 sys
        6.96 real         5.45 user         1.51 sys
        6.94 real         5.49 user         1.45 sys
Previous HEAD position was f94551ad4 Merge pull request #4518 from shuujii/add-ISO-section-number-to-Kernel-local_variables
HEAD is now at 11e09dc5d Fix the unnecessary `mrb_str_modify()` call
        6.67 real         5.90 user         0.76 sys
        6.71 real         5.91 user         0.79 sys
        6.67 real         5.91 user         0.75 sys


Add type prop to Dropdown option

This function solves the problem (这个功能解决的问题)
It is a common use case that Dropdown option have a particular "type": for example "danger/error" type when the option triggers a destructive action or a "success" type to indicate a positive action. In particular this is useful for destructive actions. The text and icon colors are consistent with the the success, error, etc. themes. The "hover" colors of the options are not changed.
Ant Design has a prop danger: boolean for its MenuItemType that is similar to this.
Expected API (期望的 API)
DropdownOption type has a type attribute 'info' | 'success' | 'warning' | 'error' | 'loading' | 'default'

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem


Build more project that depend on Accumulo

Was chatting w/ @joshelser about #1  and #2.   He suggested building apache/pig, apache/hive, joshelser/RowsWithoutColumns,  joshelser/cereal, joshelser/accumulo-csv, geomesa, MammothData/accumulo-examples

https://github.com/locationtech/geomesa

http://www.github.com/airawat/cascading.accumulo and http://www.github.com/joshelser/accumulo-column-summing would be good too.

https://github.com/joshelser/cascading.accumulo, http://www.github.com/joshelser/accumulo-column-summing, and https://github.com/joshelser/RowsWithoutColumns should all be good to go (supporting -Daccumulo.version)


Nice "Share files via IPFS" with file drop.

Add a nice upload page layout and add repo and peer stats.

TODO:

[x] Wire up repo stats
[x] Wire up file drop

Looks pretty good! -- the peers number is misleading though, we share this data with many more nodes, it's just that they're not currently connected to us.
About the repo/stats command, it can be quite slow since it has to scan the whole blockstore.

@lgierth thanks! I think having a couple of stats helps keep it interesting.
I looked at what station shows https://github.com/ipfs-shipyard/station#a-menubar-ipfs-application-to-get-you-on-the-distributed-web
I've not got much in my repo, so it's probably not a good test of the perf on stats requests. Would it be reasonable to campaign for stats to be cached inside ipfs core, so that we can visualise them in UIs without worrying about it slowing down with repo size / usage?
We currently show the same peer count on the badge on the browser add on button. Have you got any thoughts on what could make it less misleading. I'm ok with showing the user how many nodes they can see right now, even if it's not the whole story... my intention was for it to be a simple way to make new users feel the p2p joy.

Text is extracted to messge.json. I've not duplicated it to the others yet. I'm in favour of leaving that till we're ready to cut a release.
It was useful to pull the english text into the message.json though, as it makes inline styling harder, so it's good to get that reality check as soon as possible.

Android version looks okay:


Iam integrations

Status
Ready
Description
A documentation about IAM integrations - what are they, what are they consist of, how to develop.

@dantavori build is failing. Can you try merging from master. I think it is something we fixed.

@dantavori can you add a reference to this in the sidebars.js file? I think the proper section is under Integration Advanced Topics ( https://github.com/demisto/content-docs/blob/48f8984d2e0b2e95239f4420f1a3d1b020000443/sidebars.js#L135 )

@dantavori status?

@glicht can I merge?

@glicht can I merge?

I think @anara123 wants to review.


Replace collection.filter.isEmpty with !collection.exists

This is for RuleBasedEntityFinders with supporting methods added to State

See #492

This changes some very old code by @myedibleenso, so perhaps he can better recognize whether it might now be broken.

Thanks @kwalcock !

@myedibleenso can still check but I think it's safe changes


DIGITS 5 failed to install on Ubuntu 16.04

Hi everybody!
I`m trying to install DIGITS 5 for CUDA 8 on Ubuntu 16.04 with TITAN X Pascal Onboard.
Driver Version is 375.39

i`ve followed  instructions at this page(https://developer.nvidia.com/rdp/digits-download).
I`ve downloaded this file
nv-deep-learning-repo-ubuntu1604-ga-cuda8.0-digits5.0_1-1_amd64.deb
Then i`ve run apt-get update and got this:
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_nv-deep-learning-repo-ga-cuda8.0-digits5.0_Release
Could you help me with this?
This link appears to tell about similar problem. Is there any Desicion?
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1649086

You might ignore this warning since it won't make your installing fail.

you should follow this guide:https://github.com/NVIDIA/DIGITS/blob/master/docs/BuildDigits.md.
offcial instruction is adapted for ubuntu14.04.

Yep, we're aware of the packaging snafu. It's just a warning - you can ignore it. It will be fixed for future packages.

I'm having the same issue, but continuing does NOT help. Here's what I see:
$ sudo apt-get update
Get:1 file:/var/cuda-repo-8-0-local-ga2  InRelease
Ign:1 file:/var/cuda-repo-8-0-local-ga2  InRelease
Get:2 file:/var/nv-deep-learning-repo-ga-cuda8.0-digits5.0  InRelease
Ign:2 file:/var/nv-deep-learning-repo-ga-cuda8.0-digits5.0  InRelease
Get:3 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
Get:4 file:/var/nv-deep-learning-repo-ga-cuda8.0-digits5.0  Release [574 B]
Get:3 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
Get:4 file:/var/nv-deep-learning-repo-ga-cuda8.0-digits5.0  Release [574 B]
Hit:7 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Hit:8 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_nv-deep-learning-repo-ga-cuda8.0-digits5.0_Release

then
sudo apt-get install DIGITS
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package DIGITS

Ubuntu 16.04, x86_64
CUDA 8.0 already installed
nVidia GeForce 1080Ti
Thanks
Simon

Lower case


Defaults

Thanks for your code, it is nice, I came across a small issue in using it
In your example settings you use the term 'std'
and also in the framework
protected $setting_defaults = array(
'id'           => 'default_field',
'title'        => 'Default Field',
'desc'        => '',
'std'          => '',
'type'         => 'text',
'placeholder' => '',
'choices'     => array(),
'class'       => '',
'subfields'   => array()
);
But this was not working - so I examined further the code is actually keyed on the term 'default' and using 'default' works so basically a documentation / example issue

Thanks @alanef that helps me a lot!
And thanks to the contributors for this very useful tool.

Yep, sorry - I changed that when I took over. I'll update the docs.


Running my program freezes the calc

I have a simple (ICE) program:
[i]B:3->A
When running this with the Cesium app, it just freezes.

This was due to it being executed as an assembly program. Fixed :)


Getting error "You need to set $TM_RUBY variable."

I have followed the instructions in the README, however, I'm still getting the error "You need to set $TM_RUBY variable." when I attempt to preview a file in TextMate. Here's the output from the terminal to verify that the TM_RUBY variable has been set:
donturner at donturner-macbookpro2 in ~/Library/Application Support/TextMate/Bundles/GFM-Preview.tmbundle/Support on master [!?]
$ defaults write com.macromates.textmate environmentVariables -array-add '{enabled = 1; value = "/Users/donturner/homebrew/bin/ruby"; name = "TM_RUBY"; }'

donturner at donturner-macbookpro2 in ~/Library/Application Support/TextMate/Bundles/GFM- Preview.tmbundle/Support on master [!?]
$ defaults read com.macromates.textmate environmentVariables
(
    {
        enabled = 1;
        name = "TM_RUBY";
        value = "/Users/donturner/homebrew/bin/ruby";
    }
)

Any ideas what could be causing this?

Also tried going to Prefs->Variables and adding TM_RUBY in manually but still getting the error.

Well, in the terminal, check your ruby:
$ which ruby

Use that in the config... /Users/donturner/homebrew/bin/ruby seems a bit strange to me. How did you install Ruby?

If you don't set the TM_RUBY you can use built-in ruby (which ships with mac os) but you need to install gems via sudo:
git clone https://github.com/vigo/textmate2-gfm-preview.git GFM-Preview.tmbundle
cd GFM-Preview.tmbundle/Support/
sudo bundle install --path vendor/bundle # this line


SSH NET::ERR_CERT_DATE_INVALID

@substack your cert for htmlb.in expired

Consider using either CloudFlare or LetsEncrypt for a free certificate.

@substack Any update on this?


Promises makes jest test time out

Hello 👋
Thank you for maintaining this project.
I believe I am experiencing a bug where awaiting a call to get response causes timeout.
Minimal example:
it("TIMEOUT when awaiting", async () => {

    await supertest(app)
        .get("/users/me")
});

it("TIMEOUT when using .then", (done) => {

    supertest(app)
        .get("/users/me")
        .then(response => {

            done();
        });
});

it("WORKING when not using promises at all", () => {

    supertest(app)
        .get("/users/me");
});

The two first tests are failing with the following message:
Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error:
Please let me know if I have left out any useful information.
All the best! Olav

Are you getting same behavior with async/await ?

Are you getting same behavior with async/await ?

@tosiek88 Yes I am. I believe the first test shows this.
Or are you referring to something else? 🙂

@tosiek88 Yes I am. I believe the first test shows this.
Or are you referring to something else? 🙂

same here

same here

I have the same problem with async/await.
Using the following versions:
"jest": "26.6.3",
"supertest": "3.4.2",

@olaven @bogdanned @BalazsSevecsek Does there happen to be a runtime error on the back end in your cases?  Cf. https://github.com/mochajs/mocha/issues/4632

same problem here..jest not working with async/await with supertest..without async await all tests pass even when they supposed to fail

@olaven when running the test without promises at all, I also get the following warning:

A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks.

Created a codesandbox to reproduce these tests.
seems like the "not using promises at all" test succeeding is a false-positive.
Have a looksy (open a new terminal and run npm test).
https://codesandbox.io/s/visionmediasupertestissues697-y9i6v

I can't say for sure if my issue is the same, but I have a similar issue.
In my case, I always get the below warning from Jest when I use the supertest request's post method even without using any async/await/promises.

Jest did not exit one second after the test run has completed. This usually means that there are asynchronous operations that weren't stopped in your tests.

The test code is like this:
    it("POST /api/notes adds the note", (done) => {
        request(app)
            .post("/api/notes")
            .send({
                "content": "some note",
                "notebookId": "0"
            }).expect(200)
            .expect(resp => resp.body.content === "some note")
            .then(_ => {
                request(app)
                .get("/api/notes")
                .expect(resp => resp.body.length === notes.length + 1);
                done();
            }).catch(err => done(err));
    });

Hi,
I have encountered the same problem and I have narrowed it down to when you simply have a promise that has been put on the call stack.
So these don't pose a problem:

it('FIRST', () => Promise.resolve(true));

it('SECOND', () => Promise.resolve(true));

but as soon as you introduce a timeout in the mix, it breaks (the second test times out):

it('FIRST', () => new Promise((r) => setTimeout(r)));

it('SECOND', () => new Promise((r) => setTimeout(r)));

Even if I try to follow the way the documentation describes and use .resolves, the problem persists:

const asyncfn = (message: string) => new Promise((r) => setTimeout(() => r(message)));

it('FIRST', () => expect(asyncfn('first')).resolves.toBe('first'));

it('SECOND', () => expect(asyncfn('second')).resolves.toBe('second'));

same here! this is happening for me too

Apparently, in my case, I can't use ES6 form to import/export modules.
So, I create a file called testServer.ts with the same code as my default server (server.ts), but using module.exports instead export default.
const app = express()

app.use(cors())
app.use(helmet())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json())
app.use(express.json())
app.use(routes)

module.exports = app

In my test file I used require to import the server and used async/await syntax.
import "reflect-metadata"
import request from "supertest"
import AppDataSource from "../../../database/dataSource"
const app = require("../../../utils/testServer")

describe("getAllProductsController", () => {
  describe("GET /products", () => {
    beforeAll(async () => {
      await AppDataSource.initialize()
    })

    afterAll(async () => {
      await AppDataSource.destroy()
    })
    it("should return 200 and valid response if request param list is empty", async () => {
      const response = await request(app).get("/api/products")
      console.log(response.status)
      expect(response.status).toEqual(200)
    })
  })
})

I still intend to improve this, but for now it has given me peace of mind.

I'm not sure this is related to the reported or known behaviour, but looked similar in my case and might help others stumbling over this.
For me jest.useFakeTimers() caused supertest break existing tests by timing out. I didn't have time yet to dig into the cause of this, but given that fakeTimers is quite invasive, I wouldn't consider this a supertest/superagent bug.

Hi, I have encountered the same problem and I have narrowed it down to when you simply have a promise that has been put on the call stack.
So these don't pose a problem:
it('FIRST', () => Promise.resolve(true));

it('SECOND', () => Promise.resolve(true));

but as soon as you introduce a timeout in the mix, it breaks (the second test times out):
it('FIRST', () => new Promise((r) => setTimeout(r)));

it('SECOND', () => new Promise((r) => setTimeout(r)));

Even if I try to follow the way the documentation describes and use .resolves, the problem persists:
const asyncfn = (message: string) => new Promise((r) => setTimeout(() => r(message)));

it('FIRST', () => expect(asyncfn('first')).resolves.toBe('first'));

it('SECOND', () => expect(asyncfn('second')).resolves.toBe('second'));

@Tokimon these work for me..

On a project of mine, I was able to work around this by ensuring listen was not called as part of importing the Express app that is passed to request. Essentially, the listen call is done in index.js (our entrypoint) and the Express app is created in app.js. index.js imports app.js. The tests only ever import app.js.

Hello, I was facing the same problem.
The problem was require('express').
This returns the defaults express app object and contains none of the configuration for your app.
Change it as follows:
const app = require('./app');
This will now run jest with your app.ts server and there won't be a timeout.

I'm not sure this is related to the reported or known behaviour, but looked similar in my case and might help others stumbling over this.
For me jest.useFakeTimers() caused supertest to break existing test cases by timing out. I didn't have time to dig into the cause of this, but given that fakeTimers is quite invasive I wouldn't consider this a supertest/superagent bug.

oh wow. You saved me tons of time! Thanks

I managed to get it working by adding a finally block:
    test('endpoint works', (done) => {
        void supertestInstance
            .get('my/endpoint')
            .expect(200)
            .then((res: any) => {
                // expect stuff
                done();
            }).finally(() => done());
    });

I'm not sure this is related to the reported or known behaviour, but looked similar in my case and might help others stumbling over this.
For me jest.useFakeTimers() caused supertest to break existing test cases by timing out. I didn't have time to dig into the cause of this, but given that fakeTimers is quite invasive I wouldn't consider this a supertest/superagent bug.

That's correct. In my case, the fake timer also caused the problem. After using the real time, the problems disappeared.

A bit late to the party, but I found https://medium.com/@Alfonso_Ghislieri/fixing-timeout-errors-when-mocking-date-in-jest-using-supertest-5adf939ff22b which fixes the issue. Relevant info:

Yet, some of these [things mocked by useFakeTimers] are needed for Supertest to not timeout, namely: setImmediate and nextTick. This makes for a quick fix:

jest.useFakeTimers({ doNotFake: ["nextTick", "setImmediate"] });
This worked for me, as I don't need to mock either of the above.


VM: Add Interop functionality

This can be a map, similar to opFunc map[string]Interop

Already implemented (not a lot of real functions behind it though) in master, obsolete (see #283), closing.


Hacking

Root@kali ;-/ social fisg

**Hi 👽 ! If you are interested in ⚙Advanced Phishing⚙ and the ✨Evilginx3✨ tool then I offer you Google Gmail and Custom Phishlets (Paypal, Cryptos...) with a ✅Free Tutorial✅ which arrives if the 📈Telegram reaches 50 Subscribers📈
⏳ GOOGLE GMAIL PHISHLET 2024 WITH PROOF ⏳
->
⛔https://www.youtube.com/watch?v=nA47UknIE6A⛔
🔓 Ask your questions and a free tutorial from 50 subs on telegram !!!
->
📩https://t.me/Noremorse1011📩**

a

_$ương Vợ.docx


Splitting marty into multiple packages

Hi all,
I've been working in and with Padrino for a long while now and one of the things that always attracted more and more people to it was the fact that you could very easily mix and match components at will.
In other words, it was the framework being agnostic and split into logical blocks that anybody could reuse what made people want to use it in their applications.
I was just reviewing the dependencies in a new package and realised that marty was requiring react as a dependency but I didn't really needed it at all, the project is only dealing with stores, constants and action creators. So it hit me, what about splitting marty into a set of logical (and potentially interchangeable) packages up to where it makes sense?
From looking at the current state of the project, I'd suggest something along the lines of:

marty-action-creators,
marty-component,
marty-constants,
marty-core,
marty-state-source and
marty-store.

A package named marty could still be grouping all of these into a common namespace as it is doing so now.
Going further, this could potentially allow for the project to move to its own organisation in GitHub which would make more people involved over time as it would feel more community focused that way.
What do you think about that?
Thanks,
Darío

I'm all for splitting everything out. Let me have a think about it and its something we can do in v0.10

Brilliant!


don't work in multistage array

html:

Vue Dragable For

{{element.name}}

js :
var vm = new Vue({
  el: "#main",
  data: {
    list: [
      [{
        name: "John"
      }, {
        name: "Joao"
      }, {
        name: "Jean"
      }],
      [{
        name: "Juan"
      }, {
        name: "Edgard"
      }, {
        name: "Johnson"
      }]
    ],
  },
  methods: {
    add: function() {
      this.list.push({
        name: 'Juan'
      });
    },
    replace: function() {
      this.list = [{
        name: 'Edgard'
      }]
    }
  }
});

Hello, here is a fiddle with the corresponding code:  https://jsfiddle.net/dede89/bv3dhw3y/
I found out that everything is working fine.
If you found a problem please provide a fiddle showing the problem.

Note that the code you provided is for Vue.js 1.0. For Vue.js 2.0, you should use this implementation: https://jsfiddle.net/dede89/exy3wxmd/1/

Please re-open an issue with the corresponding fiddle in case I missed something.
Thanks.


Delayed terminal restore causes stair-stepping effect

Please see https://github.com/github/hub/issues/1262 for the description of the issue, and https://github.com/github/hub/commit/70d7bb66d54c922ef7bdfe59bb26283b7cb8a365#commitcomment-18977708 for the possible root cause, which is in howeyc/gopass/pass.go.
A summary:

applications that use howeyc/gopass to ask for passwords end up displaying the prompts with a stair-case effect, i.e.

this is likely caused by pass.go emitting a \n before it restores the terminal state, which keeps the stty onlcr flag unset

Thanks for letting me know.

@howeyc Thanks for the quick response!


xtrabackup: Error: xtrabackup_init_temp_log() failed.

Hello boss！ I had some problems deploying with your yaml file，first I create pv&pvc  ，second  I create svc ，third，I create the configmap ，in the end I create statefulset。But ，When my first pod myslq-0 was successfully initialized, the second pod mysql-1 encountered problems！
Log as follows：
[root@idc-k8smaster-javaphp-001 k8s-mysql-group-replication]# kubectl logs -f mysql-1 clone-mysql

[[ -d /var/lib/mysql/mysql ]]
++ hostname
[[ mysql-1 =~ -([0-9]+)$ ]]
ordinal=1
[[ 1 -eq 0 ]]
ncat --recv-only mysql-0.mysql 3307
xbstream -x -C /var/lib/mysql
/mnt/config-map/clone-mysql.sh: line 12: ncat: command not found
xtrabackup --prepare --target-dir=/var/lib/mysql
xtrabackup version 2.3.4 based on MySQL server 5.6.24 Linux (x86_64) (revision id: e80c779)
xtrabackup: cd to /var/lib/mysql
xtrabackup: Error: cannot open ./xtrabackup_checkpoints
xtrabackup: error: xtrabackup_read_metadata()
xtrabackup: This target seems not to have correct metadata...
2018-09-17 06:56:48 7f4a09b24740  InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
xtrabackup: Warning: cannot open ./xtrabackup_logfile. will try to find.
2018-09-17 06:56:48 7f4a09b24740  InnoDB: Operating system error number 2 in a file operation.

Please use official MySQL operator instead --> https://github.com/oracle/mysql-operator


Problem with install

Hey! Im stuck in install. I ave installed python 3.11 32bit, postgresql, git. When i try to run install.cmd from bot folder i get this:
Traceback (most recent call last):
File "C:\Users\serwer\DCSServerBot\install.py", line 5, in
import psycopg
ModuleNotFoundError: No module named 'psycopg'
Please press any key to continue...
iI have already installed psycopg with pip command
C:\Users\serwer>pip install psycopg
Collecting psycopg
Downloading psycopg-3.1.17-py3-none-any.whl (178 kB)
---------------------------------------- 178.0/178.0 kB 2.7 MB/s eta 0:00:00
Collecting typing-extensions>=4.1
Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB)
Collecting tzdata
Downloading tzdata-2023.4-py2.py3-none-any.whl (346 kB)
---------------------------------------- 346.6/346.6 kB 5.4 MB/s eta 0:00:00
Installing collected packages: tzdata, typing-extensions, psycopg
Successfully installed psycopg-3.1.17 typing-extensions-4.9.0 tzdata-2023.4
but problem persist.
Any ideas what im doing wrong?

as module python psycopg is missing ,
from your folder C:\Users\serwer\DCSServerBot
you may try pip install -r requirements.txt
if it is still failing , you may try : %USERPROFILE%.dcssb\Scripts\pip install -r requirements.txt
and then %USERPROFILE%.dcssb\Scripts\pip list | findstr psycopg to verify that the module is in dcssb libs
i recommend you to check the discord , you will find help with people having already same kind of error (https://discord.gg/mubxhmq2 )

as module python psycopg is missing , from your folder C:\Users\serwer\DCSServerBot you may try pip install -r requirements.txt if it is still failing , you may try : %USERPROFILE%.dcssb\Scripts\pip install -r requirements.txt and then %USERPROFILE%.dcssb\Scripts\pip list | findstr psycopg to verify that the module is in dcssb libs i recommend you to check the discord , you will find help with people having already same kind of error (https://discord.gg/mubxhmq2 )

$ pip list | findstr psycopg
psycopg           3.1.17
folder dcssb and dcssb\scripts
but still the same error with psycopg


Add a protocol to the URL, when one is not set

When a http(s):// is not written by the user - lets manually add one.
(PS: why is gemini support missing from the library?)

In my opinion a modern browser should default to https instead of http.

In my opinion a modern browser should default to https instead of http.

Pull requests welcome :^)


⚠ Mobitopup has degraded performance

In c28661a, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6576 ms

Resolved: Mobitopup performance has improved in 6e1e121 after 7 minutes.


Automatic serialization of Mantle objects for PUT, POST, etc.

Is there anyway to automatically serialize Mantle objects to JSON?
Currently you need to do something like this:
-(PMKPromise *)postMantleObject:(MyMantleObject *)mantleObject
{
	Request *request = [Request requestWithType:ABC];

	NSDictionary *json = [MTLJSONAdapter JSONDictionaryFromModel:mantleObject];

	return [self POST:request.path parameters:json].then(^(OVCResponse *response) {
		return response.result;
	});
}

Is it possible to configure Overcoat to do so automatically, so something like this is possible:
-(PMKPromise *)postMantleObject:(MyMantleObject *)mantleObject
{
    Request *request = [Request requestWithType:ABC];

    return [self POST:request.path parameters:mantleObject].then(^(OVCResponse *response) {
        return response.result;
    });
}

I believe you have the same issue I already had, and still have ;)
https://github.com/gonzalezreal/Overcoat/issues/29

I think it is a bit different. I am already setting the requestSerializer for my OVCHTTPSessionManager subclass (self.requestSerializer = [AFJSONRequestSerializer serializer];), and that works fine when the request body is an NSDictionary or NSArray.
I'm looking to have Overcoat automatically serialize Mantle objects for request bodies.


Task inputs/outputs runtime API documentation should always configure property names and normalization

Fixes #7978

Rebased to simplify keeping track of some reverts and stuff.

Cherry-picked to release, too.


up pro account subscribe problem

I'm using up version 0.3.4
Trying to upgrade to Up pro, but facing 2 problems:
When I use the command: up account subscribe it asks me, Coupon (optional):
As I don't have a coupon code I just type enter getting the message:
     Coupon (optional):

     Error: fetching coupon: Unauthorized

If I type a space on the coupon, it asks me which plan I want to subscribe, getting internal server error after that.
     Coupon (optional):
     Subscribe to Up Pro for $20.00/mo USD? Yes

     Error: subscribing: Internal Server Error

Any help?! Or coupon code 😎💸

fixed :D

🎉


Add image upload to markdown

the current markdown editor should have the same GitHub image upload in editor
Acceptance

[ ] User can upload image in editor

Task
Reference implementation
https://github.com/uiwjs/react-md-editor/issues/83#issuecomment-1185471844
https://codesandbox.io/s/tailwind-css-and-react-forked-2vf2g2
https://github.com/uiwjs/react-md-editor/issues/557

@steveoni : you want to add an image just like GitHub does on the fly, if a user tries to paste an image?

@bhavikji yes.
when user drag and drop or click on the image icon. We want to upload the image a GitHub repo(our db) and provide a link in the editor like GitHub do


Refactor sign validation tests

This gives an idea of what I was thinking of for my proposal in #492. This would be the first of several PRs that I would like to create that would cleanup and complete the tests.
Description
The validation tests for the sign method were spread across multiple files, this change brings them together into a single file. Additional tests and improvements are also made to ensure that all the validation options are fully tested.

Understandable concerns, and I agree with the point. Let me try something that tackles it from the perspective of a use case. It might mean some minor overlap in the tests, but I don't think that is a bad thing in this case.
The tests in this PR should still be needed, it's just a question of the structure.

I'll reject this PR, and leave a comment on the issue for this proposal.


Test TCP new config

@pruivo @belaban
http://perfrepo.mw.lab.eng.bos.redhat.com/reports/tableComparisonReport/19601

@diegolovison can you give some context of what is being tested here?

CLosing this


Crash on Hoobs (latest version)

Checklist

[X] I have read the common issues wiki page
[X] I have checked to make sure the plugin is up to date

Describe the bug
After 1 or 2 days Hoobs (Homebridge Out of a Box) crashed
To Reproduce
I restarted service bridge and wait until next crash.
Expected behavior
I expect to control my smart curtain (Loratap) with Tuya plugin
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Hoobs 3.3.1 on Raspberry PI 3B+
iOS version: 14.2.1
Homehubs: Apple Homepod
Node Version: 14.15.1
Plugin Version: 1.1.0
Accessory Type : Simple Blinds

Additional context
11/12/2020 à 22:01:02 [TuyaAccessory] Socket had a problem and will reconnect to Volet H (ETIMEDOUT)
11/12/2020 à 22:01:02 [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
(...) many many lines
11/12/2020 à 22:01:02 [TuyaAccessory] Socket had a problem and will reconnect to Volet P (ETIMEDOUT)
11/12/2020 à 22:01:02 [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
11/12/2020 à 22:01:02 [TuyaAccessory] Socket had a problem and will reconnect to Volet P (ETIMEDOUT)
11/12/2020 à 22:01:02 [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
11/12/2020 à 22:01:02 [TuyaAccessory] Socket had a problem and will reconnect to Volet P (ETIMEDOUT)
11/12/2020 à 22:01:02 [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
11/12/2020 à 22:01:02 [TuyaAccessory] Socket had a problem and will reconnect to Volet P (ETIMEDOUT)
11/12/2020 à 22:01:02 [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
11/12/2020 à 22:01:02 [TuyaAccessory] Socket had a problem and will reconnect to Volet H (ETIMEDOUT)
11/12/2020 à 22:01:02 [TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
11/12/2020 à 22:01:02 [TuyaAccessory] Socket had a problem and will reconnect to Volet H (ETIMEDOUT)
11/12/2020 à 22:01:39 <--- Last few GCs --->
11/12/2020 à 22:01:39 [13635:0x4c2c430] 112516480 ms: Mark-sweep 240.5 (246.3) -> 239.9 (246.3) MB, 4089.1 / 2.3 ms  (average mu = 0.345, current mu = 0.085) allocation failure scavenge might not succeed
11/12/2020 à 22:01:39 [13635:0x4c2c430] 112520467 ms: Mark-sweep 240.9 (248.3) -> 240.3 (248.8) MB, 3754.0 / 2.5 ms  (average mu = 0.216, current mu = 0.058) allocation failure scavenge might not succeed
11/12/2020 à 22:01:39 <--- JS stacktrace --->
11/12/2020 à 22:01:39 FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory

I'm using 1 Apple Time Capsule (latest version / firmware) + 1 Apple Airport Extreme (latest version / firmware) as an extension of my wifi network.
I configured 1 SSID for 2.4 Ghz and 5 Ghz.
Last weekend I separated wifi network in 2 SSID : 1 for 2.4 Ghz / 1 for 5 Ghz.
Smart curtain switches are connected to 2.4 Ghz only network.
Since I did it I have same symptoms : another crash during last day.

Same here, Started yesterday

Same here, Started yesterday


Bug fix 3.10/SEARCH-328 fix cookie key

Backport of https://github.com/arangodb/arangodb/pull/16868

Tests blue except known failure

Test "shell_client_transaction_2"
[FAILED]  tests\js\client\shell\transaction\shell-transaction-intermediate-commit-cluster.js
"testSingleTransactionIntermediateCommitsOnFollowerWithRollback" failed: Error: at assertion #3: assertEqual: (11) is not equal to (10)

(Error


Downgrade open from 7.0.0 to 6.4.0

reverted #7910
fixes #8081

Note: The vulnerability described in #7908 affects only open versions 0.0.5 and lower. Readme in open says:

The original open package was previously deprecated in favor of this package, and we got the name, so this package is now named open instead of opn. If you're upgrading from the original open package<EMAIL_ADDRESS>or lower), keep in mind that the API is different.
Why?
Actively maintained.

Supports app arguments.
Safer as it uses spawn instead of exec.
Fixes most of the open original node-open issues.
Includes the latest xdg-open script for Linux.
Supports WSL paths to Windows apps under /mnt/*.

@andriijas

@vince1995 open v7.0.2 is out now with fixes, if you'd like to check if it works in wsl with cra it would be appreciated!


Count in user_timeline endpoint

I tried adding count in this query and it doesn't seem to work. Is it supported ?
nameofthequery: {
  endpoint: "statuses/user_timeline",
  params: {
    screen_name: "gatsbyjs",
    include_rts: false,
    exclude_replies: true,
    tweet_mode: "extended",
  },
}

Hi,
Params object is used as options for the API call.
It should works using something like that.
nameofthequery: {
  endpoint: "statuses/user_timeline",
  params: {
    count: 120,
    screen_name: "gatsbyjs",
    include_rts: false,
    exclude_replies: true,
    tweet_mode: "extended",
  },
}

Try the same config using PostMan calling direcly Twitter API to check the response from twitter.
Let me know

It works now. I was using the wrong graphql query.
Thanks for the prompt resonse.


Chreate shortcut for All Users when installing into "Program Files"

When installing the browser (with administrator priviledges) into "C:\Program Files (x86)\Supermium" (Windows 8.1 64-bit) the shortcut is created in "C:\Users<Administrator>\Start Menu\Programs", thus it is inaccessible for all users of same PC.
I think, the shortcut should be created in "C:\Users\All Users\Start Menu\Programs" instead.
Workaround: move the shortcut manually.
Version: 124.0.6367.245

That could be served best, if the installer had a shortcut that would allow to either install for current user or for all users.
That is how the Opera12.18 does that, and that is a very good solution. A simple checkbox could be used for that.

I will be sure to add another installer option to install for all or current user(s).


Enhance repo's basics.

code coverage
benchmarks
documentation site. Perhaps a github action to build docstrings into a pages site.
Adherence to Mojo standards. This feels like a moving target right now; not sure what to do.
Adherence to open-source standards.

Auto packaging workflow like here?

Ooooo!  Perhaps a crisp high-five. ✋🏻
Translation: I'll get that added. Thank you!

Yeah... I'll go for the high five 😄

I'm so green with Github Actions. I'm reading up on them right now and trying to learn Github's system a bit better.


Fix relative references

Currently, calling the resolve_fragment method of the RefResolver class to return the JSON referenced by the pointer of a $ref key fails if the pointer is preceded by a # character. The JSON schema specs specify this format, e.g. { "$ref": "#/definitions/address" }. Specifically, the following exception is raised: jsonschema.exceptions.RefResolutionError: Unresolvable JSON pointer. This happens even if the pointer is valid.
I made changes to the resolve_fragment method of the RefResolver class in jsonschema/validators.py to strip away this character, and now the pointer resolves correctly. I also added two tests to jsonschema/tests/test_validators.py to demonstrate this behavior of the old method and to show the results of the revised method. Let me know if you have any questions.

Awesome, really appreciate a patch here, will try to have a look and leave some initial comments -- will try to read this a bit more carefully as well in a bit.


Extract archive to local directory

Is there a way to extract an archive to a local directory using node.js?

I'm not familiar enough with Node. If you look at the trivial example, you might be able to write the result of readData to a file:
https://github.com/workhorsy/uncompress.js/blob/master/examples/trivial/main.js#L16
Any help with making this work with Node/NPM would be great.

Hi, I just start learning  node, but maybe  I can help :smile:

BTW I'm working on a comic book reader  app for Electron,
like the one you made:  https://github.com/workhorsy/comic_book_reader

Nice. I'm really impressed with some of the Electron apps, such as Brave and Atom. If I had more time, I would look into using Electron for some projects.


Add onFileSaveAs event

When a file is renamed in VS Code, the onDidRenameFiles event fires, but it would be useful to have a similar event onDidSaveAs that has the same shape as the rename event, namely it has both oldUri and newUri properties.  This event should fire when:

The user clicks File -> Save As (or Ctrl+Shift+S).
A new untitled document (or notebook, or custom editor, etc.) is saved for the first time.  In this scenario, oldUri would be of the form untitled:Untitled-1.txt and newUri would be file:///C:/path/to/file.txt.

How do we know we're properly mapping the notebook that comes in via onDidCloseNotebookDocument to the new one in onDidSaveNotebookDocument?  How can that be distinguished from the case where a user closes one notebook then immediately saves another?  Similarly, if I listen to these events now, just the act of closing a notebook seems to fire both Close and Save events; in this case I do want to shut down the backing process, but I have no way of distinguishing these cases.

Tracking as feature request for normal editors, but if you need specific notebook API I suggest opening a separate issue.


[BUG] Changing speed mode in a course

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
Windows 10
CPU
Intel
GPU
gefore 3080 ti
Storage
2TB SSD
Game Version
5.0.0-042
Game Mode
dance
Theme
No response
Describe the problem
If I enter a course with an M mod, and the course has an X mod, this weird scrunching of all the arrows happens at once.
Example course:
#COURSE:Example
#SONG:Dance Dance Revolution EXTREME (AC) (Japan)\L'amour et la liberte(DDR Ver.):Hard:1x:nodifficult;

If I play this course, but I am set at, say, M500, this is what happens.
https://youtu.be/4NC-kpRHWUI
Describe what should happen
Because this mod is throughout the song, it should auto-override the M mod. This happens even if I do, say 10000* 1x or any other attempts to remediate this. Does not happen if I start the course with a C mod or an X mod.
Relevant Log output
No response

As an added note, this happens in LTS 4 and alpha 5. It does NOT happen in SM5.1


REST endpoint to retrieve national holidays in Estonia

https://github.com/buerokratt/Common-Services/issues/60

https://github.com/buerokratt/Common-Services/issues/60


[Request]: Provisioners should not be namespaced

Tell us about your request
It's awkward that provisioners are a namespaced resource that launch unnamespaced resources (nodes). Additionally -- it may make sense in the future to have a concept of a default provisioner, and this model does not map well if provisioners are namespaced (since pods and nodes transcend namespaces).

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

whoops, I didn't see this already exists. More details are in the other issue though, so closing in favor of #510.


Update apple oauth

Added scope to Apple oauth config

Updated Apple AuthUser according to Apple documentation https://developer.apple.com/documentation/sign_in_with_apple/request_an_authorization_to_the_sign_in_with_apple_server

Updated documentation to match new AuthUser

Thanks! (Please never ever use enums again :D)

Thanks! (Please never ever use enums again :D)

Haha, got it, big man. It's never gonna happen again. Thanks for helping out fixing the apple auth


Incoherence: different sort behaviour when setting models and collections

Let's assume a collection is sorted by an attribute called name. In other words, its comparator is 'name'.
Model behaviour: If we take one of the collection's models and set the name attribute, the collection will not be re-sorted and no sort event will be triggered. This is well explained in the documentation.
Collection behaviour: Now, if we take the collection as a whole and call set on it, passing it the existing model but with a modified name, it will indeed re-sort the collection and trigger a sort event; refer to the following line:
if (sortable && !sort && existing.hasChanged(sortAttr)) sort = true;

Is this intended? IMHO, it would be better if either both of them caused a re-sort, or none of them.

Thanks @jashkenas! It's all clear now


chore: resolves a warning seen while running cargo update

This my third attempt to generate a PR with a "verified" signature.
Sorry for the noise, and thanks for all the technical support/advice
#7747
#7743
I can see the "Verified" badge on this PR. Anyway back to the reason for the PR
...
This PR resolves a warning seen while running cargo update
warning: some crates are on edition 2021 which defaults to resolver = "2", but virtual workspaces default to resolver = "1"
note: to keep the current resolver, specify workspace.resolver = "1" in the workspace root's manifest
note: to use the edition 2021 resolver, specify workspace.resolver = "2" in the workspace root's manifest

Now it's verified, thanks :D
about the change itself, i'm not sure what the others think but imo we should go for resolver 2 nowadays 🤔

Now using resolver 2


Native:  readFont in object causes InvalidMutabilityException.

Loading a font in a global object causes the following error:
kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen com.soywiz.korim.font.TtfFont.Contour@3f08e9a8

The code:
object Assets {
  val font = runBlockingNoJs {
    try { cwd["font.ttf"].readFont() } catch (e: FileNotFoundException) {
       DefaultTtfFont
    }
  }
}

I believe this issue should be issued in KorIM.
The explanation is that glyphs are computed on demand. That's incompatible with current Kotlin/Native memory model when storing as global objects.
If you plan to store a TTF font globally, you should either use @ThreadLocal or set the freeze param to try so all the glyphs are computed when loading. Check the declaration of DefaultTtfFont as an example of the freeze param:
https://github.com/korlibs/korim/blob/0c5d2fc8440605f4a558de1bc8934a9f55019d6d/korim/src/commonMain/kotlin/com/soywiz/korim/font/DefaultTtfFont.kt#L23


Add support for Ephemeral Storage Local SSD API

Submission Checklist
Please take the following actions before submitting this pull request.

Fork your PR branch from the Toolkit "develop" branch (not main)
Test all changes with pre-commit in a local branch #
Confirm that "make tests" passes all tests
Add or modify unit tests to cover code changes
Ensure that unit test coverage remains above 80%
Update all applicable documentation
Follow Cloud HPC Toolkit Contribution guidelines #

If this is acceptable, I plan on also supporting the Local NVMe SSD Block API (for workloads where an emptyDir is not the desired/optimal construct) and adding a README section to briefly go over the differences.   Guidance from a maintainer on whether to do add to this PR or open a second PR is also welcome.

Guidance on Local NVMe SSD Block API:
I would approach exposing local_nvme_ssd_block_config in a separate PR.
I have some follow up questions about your experience with Block SSDs and have opened #1509 if you care to discuss there.

After making the above change, I'm second-guessing the naming.
local_nvme_ssd_block_count and ephemeral_storage_local_ssd_count will cause these two variable to be distanced from one another in the auto-generated docs, which might add confusion to users who are struggling to understand how to use these two variables.  Part of the problem is the upstream GCP API names, which are then reflected in Terraform, but here I'm suddenly thinking that end-user simplicity  should trump mirroring the upstream names.
Maybe if we called them local_ssd_count_ephemeral_storage and local_ssd_count_nvme_block here as a compromise?  WDYT @nick-stroud?

Looking at your response to #1509, it seems like a safe assumption that we will support both SSD options. In light of that I think keeping the docs together is a good idea as you suggest. I considered:
local_ssd_ephemeral_storage_count
local_ssd_nvme_block_count

but I think I prefer your suggestion of:
local_ssd_count_ephemeral_storage
local_ssd_count_nvme_block

Which reads to me like Local SSD Count (type). Make the update and then I will merge.


Added Mailing service

Added mailing service with Auth middleware
Added Dockerfile

Closing this as we will use https://resend.com/


Template tabs page

📝 Description

Template Tabs page

🎥 Demo

/lgtm

Great work, Ugo! Thank you very much for help! 👍🏽

Additional note:
This PR links the VM Template details page and adds the tabs.
Each of the Tab will be implemented in a separate PR.


Add growth strategy and team page

@danielmarquespt I'm leaving this up for review until tomorrow morning in case you have any feedback, otherwise will merge. PRs welcome anytime.


got the dark mode to work.

styling with different elements still needs to be configured

All the styles are completed so you can deploy this right now. But just check if it's the look you wanna go with.


Add how to use page

Embedded elements in each page as a guide on how to use

Added Help Expanders with videos


How To Remove Unwanted Printing ?

I want To Remove All In This Image And Just Print My Needs

Look at logging settings. Add the code below to the beginnig of your script to disable action and info log levels:
Settings.ActionLogs = False
Settings.InfoLogs = False

Thanks A Lot :)


Submit Cirq add Target

Had an issue with running: result = service.run(program=circuit, repetitions=100) as per Submit Cirq Quantum Page.
Needed to provide target: result = service.run(program=circuit, repetitions=100, target="ionq.simulator"). That seemed to work.

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

ID: 55f7db3b-1759-1bb9-7bd8-a9555fe002fb
Version Independent ID: 527063be-7a07-2cb7-a75d-01bd70d31b19
Content: Submit Cirq quantum circuits to Azure Quantum - Azure Quantum
Content Source: articles/quickstart-microsoft-cirq.md
Service: azure-quantum
Sub-service: qdk
GitHub Login: @guenp
Microsoft Alias: guenp

Hi @cleschack ! Thank you for submitting this.
I know this is optional, but did you specified a default target when creating this service object that connects to your Azure Quantum workspace?
service = AzureQuantumService(
    resource_id="",
    location="",
    default_target="ionq.simulator"
)

Closing this issue as I tried to reproduce it following steps in documentation, and didn´t run into any error. If one specified default target, job should run successfully.


stringop-truncation compile time error

Environment:

Target: ESP32-S3
ESP IDF: v5.1.4
Compiler: esp-12.2.0_20230208, xtensa-esp32s3-elf-gcc and xtensa-esp32s3-elf-g++

Issue:
When we try to compile our project with the "Optimize for performance" (-O2) config, we  encounter the following compile-time error:
thingsboard__thingsboard/src/OTA_Handler.h:105:22:
error: 'char strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Werror=stringop-truncation]
105 |         (void)strncpy(m_fw_checksum, fw_checksum, sizeof(m_fw_checksum));
       |               ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus.exe: some warnings being treated as errors

We are using SHA-256 as the OTA hash algorithm, which results in a 64-character string. If the source string length is greater than or equal to the size of the destination buffer, strncpy does not guarantee null-termination, which can lead to potential bugs.
As a temporary workaround, I suppressed the error by adding the following to the idf cmakelist command:
idf_build_set_property(COMPILE_OPTIONS "-Wno-error=stringop-truncation" APPEND)

Although this workaround suppresses the warning, it is important to revisit this issue to ensure that buffer handling is safe and the risk of string truncation is properly mitigated. This could prevent potential bugs in future development, particularly with the use of strncpy, which does not guarantee null-termination in all cases.
Thanks in advance for your assistance.

Shouldn't be a real issue we do not ever use strncmp with the m_fw_checksum but instead we use memcmp with a fixed size of 64 as well. So basically it doesn't matter that the string is null-terminated or not, because after receiving it, it is only ever interpreted as memory.

Thank you for your prompt reply and for explaining the use of memcmp for checksum comparison. You're correct that memcmp is appropriate for comparing fixed-size buffers without the need for null-termination.
However, I have some concerns about how m_fw_checksum is used elsewhere in the code, specifically in contexts where null-termination is required.
Based on the content of CHECKSUM_VERIFICATION_FAILED:
char constexpr CHECKSUM_VERIFICATION_FAILED[] = "Calculated checksum (%s), not the same as expected checksum (%s)";

This format string uses %s placeholders, which expect null-terminated strings. In the code snippet:
if (memcmp(m_fw_checksum, calculated_hash, sizeof(m_fw_checksum)) == 0) {
    char message[Helper::detectSize(CHECKSUM_VERIFICATION_FAILED, calculated_hash, m_fw_checksum)] = {};
    (void)snprintf(message, sizeof(message), CHECKSUM_VERIFICATION_FAILED, calculated_hash, m_fw_checksum);
    Logger::println(message);
    return Handle_Failure(OTA_Failure_Response::RETRY_UPDATE, message);
}

Here, both calculated_hash and m_fw_checksum are passed to snprintf as %s arguments. The snprintf function expects null-terminated strings for %s format specifiers. If m_fw_checksum is not null-terminated due to the way strncpy works (not null-terminating when the source string length equals or exceeds the destination size), this could lead to undefined behavior, including potential buffer overruns or printing garbage data.
Similarly, if the Logger::println function expects a null-terminated string, passing message without ensuring it is null-terminated could cause issues.
Additionally, I noticed a possible logic error in the if condition:
if (memcmp(m_fw_checksum, calculated_hash, sizeof(m_fw_checksum)) == 0) {
    // Handle failure
}

Using memcmp, a return value of 0 indicates that the two buffers are identical. However, the code treats this condition as a failure case (CHECKSUM_VERIFICATION_FAILED). Shouldn't it be the opposite? If the checksums match, the firmware should be considered valid, and if they don't match (memcmp != 0), that's when we should handle the failure.

This format string uses %s placeholders, which expect null-terminated string

Also correct perhaps it would make more sense to initally the buffer with = {}; making sure every byte is set to 0 and increasing the size to 65 bytes. Adding a comment that the + 1 is for a null termination character.

Using memcmp, a return value of 0 indicates that the two buffers are identical. However, the code treats this condition as a failure case (CHECKSUM_VERIFICATION_FAILED). Shouldn't it be the opposite? If the checksums match, the firmware should be considered valid, and if they don't match (memcmp != 0), that's when we should handle the failure.

You are correct about that I am confused tough because this would mean that no update can successfully complete if hashing actually worked, but that has never been the case.
Perhaps the hashes are always mismatched and never actually match in the first place? I have to debug this further once I've got some more time.

I'm not confused anymore my assumption was correct. The checksum is built but it is still simply a byte hashsum and not in a string representable form which is the one we receive in ThingsBoard.
This is good news for your aforementioned issue because the case where the values are printed will never occur, it is bad tough for the programm as a whole because it is possible for your device to flash data and return that it succeeded even if the flashed data is incomplete or invalid. This luckily won't cause issues on most devices, because ESP32s will simply not boot if that is the case. But I'll definetly work on a permanent solution and add it to the next release.

Thank you for your prompt replies and for taking the time to address the issues I raised. I appreciate your efforts in fixing them.
I'll wait for the pull request to be merged. Thanks again for your help.


Support XPath attribute-existence search for empty-valued HTML element attributes

Resolves #1.

Wow. Very nice simple fix. Thank you so much. I will push an update to PYPI later.

No worries - thank you!


[MARXAN-127] [MARXAN-125] edit users

Overview
Once ready for review, this PR will still need to be rebased on develop before merging
This PR adds:

updating user metadata
updating a user's own password (if they can provide their current password for validation)

Designs
N/A
Testing instructions
See e2e tests.
Feature relevant tickets
https://vizzuality.atlassian.net/browse/MARXAN-127
https://vizzuality.atlassian.net/browse/MARXAN-129

Checklist before submitting

[x] Meaningful commits and code rebased on develop.
[ ] If this PR adds feature that should be tested for regressions when
deploying to staging/production, please add brief testing instructions
to the deploy checklist (docs/deployment-checklist.md)
[x] Update CHANGELOG file

After doing pull from the branch thigs started to be unnestable, i did run the make tests and i had
Test Suites: 3 failed, 3 passed, 6 total
Tests:       14 failed, 23 passed, 37 total

@aagm all tests are passing now in my local env when running them *against a running API instance loaded with GADM and WDPA data * (docker-compose exec api yarn test:e2e).
Please note that when running tests against your local instance/db, the user<EMAIL_ADDRESS>is actually "soft-deleted", so you will need to run update users set is_active = true, is_deleted = false, password_hash = crypt('bbuserpassword', gen_salt('bf')) where email =<EMAIL_ADDRESS>after running the docker compose command above or successive tests involving this user will fail.
When running them via make test-e2e-api the tests for countries fail, but I think this must have something to do with data being loaded during the setup phase of this make target.
I think this is as good as it can get for this PR - indeed the users tests were failing because I was firing requests to get a fresh JWT token before each individual test, but this would not work when changing the password for a second test user (bb@example.com). I'll check the countries test in a future PR.


Add a "gap" property like in CSS for Column, Row, ReorderableListView etc.

Use case
The need to have a gap between ListTiles in ReordableListView, and which doesn't become part of the visible rectangle that is drop-shadowed when dragging it, and which doesn't add the same extra space at the bottom of the list view. The same requirement in rows and columns minus the dragging aspect.
Proposal
A "gap" property like in CSS for Column, Row, ReorderableListView etc.

Hi @darshankawar ! Unfortunately not. I have just tested this and it becomes part of the visible rectangle that is drop-shadowed when dragging the item which includes it in a ReorderableListView. It also off-centers the drag-handle to the center of the original tile plus the gap's height. Both of these are not desired behaviours. The "Gap" element is just a less-verbose version of "SizedBox". The desired behaviour is that only the layout item is dragged, not the gap, when dragging and dropping an item. Also, the drag handle should remain in the center of the layout item itself, and the gap shouldn't affect that. This would be similar to the "gap" property in CSS, where every item in the layout is given the same "spacing" from the next item. It could be, for example, ReorderableListView( gap: 5 /*etc.*/). Is this any clearer?

@TheNavigateur
Thanks for further details. Adding gap for reorderableListView seems to be a valid proposal. Related: https://github.com/flutter/flutter/issues/63527
Can you also please elaborate on how it would help in Column and Row ? What would be the use case for these widgets ?

@darshankawar it is a very common requirement to have a uniform gap between column and/or row elements, and a gap property would significantly reduce verbosity and remove the requirement to logically exclude the last element from having its own spacing, in for-loops for example. The gap property in CSS was a significant relief for many against all the other solutions that were previously required to do the same.

There has been similar requests to add a gap widget https://github.com/flutter/flutter/issues/56783 and to add a spacing parameter to row and column https://github.com/flutter/flutter/issues/16957. Based on the comments from Flutter team on it, it seems that adding a gap or spacing like parameter would be complicated.
@TheNavigateur Please check the underlying comments from https://github.com/flutter/flutter/issues/16957 and see if any of the solutions mentioned in it serves your purpose or not, specially https://github.com/flutter/flutter/issues/16957#issuecomment-558878770 and other solutions suggesting wrap widget.


Add MPH description

If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?
Closes #179
Provides a description of what MPH is used for, and the default range.

sounds good, I'll link this in the MPH notebook


Allow login with wrong SA pwd

When AD server's SA password changes, the users get locked out of
rancher server upon logout. This is because during login, the bind
using SA creds fails and as a result the queries to get user's group
attributes aren't done. This commit ensures that user can still login
even if the SA bind fails, by returning user's groups' identities
formed based on DN instead of by querying AD for friendly name.

https://github.com/rancher/rancher/issues/9456

lgtm


fix: Resolve all typescript errors

Closes #5945
This resolves many typescript issues including #5945
What did you change?
Fixed typescript errors across all components
How did you test and verify your work?
yarn avt
yarn test

@makafsal Mend security checks are failing
https://github.com/carbon-design-system/ibm-products/pull/6013/checks?check_run_id=31597815601


Add documentation that explains the agent x-list

Add documentation for the x-list object. It can take multiple forms, which is potentially confusing. However, good docs and examples can make things more clear.

Fixed with commit d67a950cb24a9bea08b66e3ff26eae4f0c5e2a16.


Ported unit test to verify the fix of https://github.com/couchbase/co…

…uchbase-lite-java-core/issues/967 from https://github.com/couchbase/couchbase-lite-ios/blob/release/1.2.0/Unit-Tests/View_Tests.m#L1160

Actual fix is in cbforest module. It is already cherry-picked into release/1.2.0
https://github.com/couchbaselabs/cbforest/commit/7502449fcaafd9e8c89c1cce2cd3a4c9b673beeb


Only deny the unused_mut lint

This is needed for rust-lang/rust#83004 to pass CI.

r? @ehuss
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit e5ab39145f18bf69f8d684c849a22c8aa97d61c1 has been approved by alexcrichton

:hourglass: Testing commit e5ab39145f18bf69f8d684c849a22c8aa97d61c1 with merge e9e09077a16456664e8ae9266b95dfc97cec4a11...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing e9e09077a16456664e8ae9266b95dfc97cec4a11 to master...


Is there an implementation of pytorch version?

Hi @hackerchenzhuo , if you are still interested, we have reimplemented a PyTorch version of DSTG in our DANCE package. You can check out this example run script using DSTG: https://github.com/OmicsML/dance/blob/main/examples/spatial/cell_type_deconvo/dstg.py


Status for if ethernet cable isn't connected at start (IDFGH-8208)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hi All,
I am integrating ESP32 with Ethernet (ENC28J60) and the example is working completely fine. But I have a condition like if the ethernet cable is not connected initially or not. If ethernet is not connected, I want to throw an error for the same.
Can anyone please help me for its integrations?
Regards
Priya

This issue has been solved. Closing it.


Issue with IndexSearch

Hello,
Thank you for your package; it really has a nice API.
When using IndexSearch, I have sometimes an issue where the read fails.
After investigation, it appears that the features as returned by packedrtree.Seek are not ordered by offset, whereas they should.
As the index is not cached, the following block (file_reader.go) is not executed:
	// If the search results did not come from streaming search, sort
	// them so their offsets are in file order. This is needed because
	// for the cached index search, the order of search results is not
	// defined, but for the streaming search, results are provided in
	// ascending order of offset.
	if r.cachedIndex != nil {
		sort.Sort(sr)
	}

resulting in failure.
Sorting the features solve the issue. A better fix would probably be located in packedRTree.search(Box), but my knowledge of RTree is not enough to propose you a quick fix.
Thanks, Thomas

@thomascoquet Thank you so much for this bug report. Somehow I missed it until now in my flood of GitHub notifications. Is this an issue where a fix would still be useful to you?


error: "use of undeclared identifier" in transformed parameters

Summary:

I can compile models that refer to parameters in the transformed parameters block, as expected.
If the model instead refers to the size of a parameter (e.g. via num_elements), the model is translated to C++ code that will not compile.

Reproducible Steps:
parameters {
  vector[1] alpha;
}
transformed parameters {
  vector[num_elements(alpha)] alpha2;
}
model {
}

On my machine, this code is parsed and produces c++ code (e.g. via the stanc function in rstan), but does not compile (see errors copied below).
Because the model doesn't compile, I have no dumpfile to attach.
Current Output:
...
./issue-2061.hpp:207:39: error: use of undeclared identifier 'alpha'; did you mean
      'std::ctype_base::alpha'?
        dims__.push_back(num_elements(alpha));
                                      ^~~~~
                                      std::ctype_base::alpha
...

Expected Output:
My understanding is that it should always be legal to refer to a parameter in the transformed parameters block; if so, then my expected output would be a compiled Stan model.
If I'm wrong, it would be nice for the parser to catch the problem and perhaps clarify what's going on.
Current Version:
v2.12.0

@davharris:

I confirmed this is indeed a bug
I replaced the original model with something simpler
hopefully you've found a workaround

@bob-carpenter: we're having trouble within the generated code for get_dims(). It looks like variables declared as data are made member variables of the generated C++'s class (rightly so), but the parameters are not. I'm not sure what the right fix is here.

Thanks for reporting. I'll look into it and either make it compile or make the parser throw an error with an explanation.


[fail]: OmniSharp.MSBuild.ProjectManager         Attempted to update project that is not loaded: d:\unity projects\project #1\Assembly-CSharp.csproj [info]: OmniSharp.OmniSharpWorkspace         Miscellaneous file: d:\unity projects\project #1\Assets\test.cs added to workspace

OmniSharp log
Starting OmniSharp server at 6/5/2020, 4:09:34 PM
Target: d:\unity projects\project #1\project #1.sln
OmniSharp server started.
Path: c:\Users\M.Kharrob.vscode\extensions\ms-dotnettools.csharp-1.22.0.omnisharp\1.35.2\OmniSharp.exe
PID: 7356
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 1 MSBuild instance(s)
        1: StandAlone 16.4 - "c:\Users\M.Kharrob\.vscode\extensions\ms-dotnettools.csharp-1.22.0\.omnisharp\1.35.2\.msbuild\Current\Bin"

    MSBUILD_EXE_PATH environment variable set to 'c:\Users\M.Kharrob\.vscode\extensions\ms-dotnettools.csharp-1.22.0\.omnisharp\1.35.2\.msbuild\Current\Bin\MSBuild.exe'

    Registered MSBuild instance: StandAlone 16.4 - "c:\Users\M.Kharrob\.vscode\extensions\ms-dotnettools.csharp-1.22.0\.omnisharp\1.35.2\.msbuild\Current\Bin"
        CscToolExe = csc.exe
        CscToolPath = c:\Users\M.Kharrob\.vscode\extensions\ms-dotnettools.csharp-1.22.0\.omnisharp\1.35.2\.msbuild\Current\Bin\Roslyn
        MSBuildExtensionsPath = c:\Users\M.Kharrob\.vscode\extensions\ms-dotnettools.csharp-1.22.0\.omnisharp\1.35.2\.msbuild
        MSBuildToolsPath = c:\Users\M.Kharrob\.vscode\extensions\ms-dotnettools.csharp-1.22.0\.omnisharp\1.35.2\.msbuild\Current\Bin

    Detecting Cake files in 'd:\unity projects\project #1'.

    Could not find any Cake files

    Detecting projects in 'd:\unity projects\project #1\project #1.sln'.

    Queue project update for 'd:\unity projects\project #1\Assembly-CSharp.csproj'

    Detecting CSX files in 'd:\unity projects\project #1'.

    Could not find any CSX files

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Loading project: d:\unity projects\project #1\Assembly-CSharp.csproj

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140

    Configuration finished.

    Omnisharp server running using Stdio at location 'd:\unity projects\project #1' on host 10100.

    The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

    Failed to load project file 'd:\unity projects\project #1\Assembly-CSharp.csproj'.

d:\unity projects\project #1\Assembly-CSharp.csproj
c:\Users\M.Kharrob.vscode\extensions\ms-dotnettools.csharp-1.22.0.omnisharp\1.35.2.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1177,5): Error: The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
fail: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: d:\unity projects\project #1\Assembly-CSharp.csproj
info: OmniSharp.OmniSharpWorkspace
Miscellaneous file: d:\unity projects\project #1\Assets\test.cs added to workspace
Steps to reproduce
1- Open a unity3D project & try to "Open c# project"
Notes:
I've already followed all the steps of using vscode with unity3D, But I couldn't get it to work, The autocomplete isn't working at all, So it's as if unity isn't connected to vsCode at all, I'm sure it's not a unity problem, And that's the only error I'm getting everytime I open a project

This one is a little hard to see based on the error, but the problem is that you're missing the appropriate .NET Framework targeting pack for .NET Framework 4.7.1. If you follow the link here and install it, then things should work: https://dotnet.microsoft.com/download/archives?wt.mc_id=developerpacks