Language pt_BR

Hi everyone,
I'm using WSL with Ubuntu, how can I change the Ubuntu language ? I tried to create some folders, but the folders are in Portuguese, and the terminal can't read that language. Is it right ?
So, I repeat the question, how can I change the language of Ubuntu ?
I need change to pt_BR.
Thnak you.

how can I change the language of Ubuntu ?

No takers on the question from the community, and there is no WSL actionable. There is a starting point here. You may try a Ubuntu Forum or ServerFault.

freebie because I was putting #3018 to bed:
$ sudo locale-gen pt_BR.UTF-8
$ sudo update-locale LANG=pt_BR.UTF-8
$ bash  # more practically, close and re-open the terminal
$ locale | grep LANG=
LANG=pt_BR.UTF-8


Upgrading github actions enhancement.

Upgrading github actions dependencies.
There are some action packages are not up to latest version like actions/checkout@v.
Terraform initial checks are missing.
terraform validate and fmt -check in are missing terraform deployment.

Will circle back.


Can't reproduce issue local

Hi Ron, thanks for the information you provide, it is an incentive to learn penetration testing.
I can't reproduce the problem locally, the development environment I recreated is this:

SqlMap
Python 3
Xamp
Wp 5.9.1
Windows 11

I also installed the plugin downloaded directly from exploit-db
reference: https://www.exploit-db.com/exploits/50698
The only change I made is to change the path to sqlmap within the 50698 exploit file from:
exploit_url = r'sqlmap -u "http://' + target_ip + ':' + target_port + wp_path + r'wp-admin/admin.php?page=i4t3-logs&orderby=1"'
to
exploit_url = r'python sqlmap.py -u "http://' + target_ip + ':' + target_port + wp_path + r'wp-admin/admin.php?page=i4t3-logs&orderby=1"'
The command I use is the following
python .\50698.py --IP localhost --PORT 443 --PATH /wp/ --USERNAME test --PASSWORD test
I can reach the address also by putting <IP_ADDRESS>, for --username and --password, I put fictitious data that do not exist on the wp site, is that correct?
When i start the command i can see sqlmap promp where i select -b argument
But when I start, I always get the same error:
[CRITICAL] all tested parameters do not appear to be injectable. Try to increase values for '--level'/'--risk' options if you wish to perform more tests. If you suspect that there is some kind of protection mechanism involved (e.g. WAF) maybe you could try to use option '--tamper' (e.g. '--tamper=space2comment') and/or switch '--random-agent'
PS: however i get this error also for the other exploits published by you, so for sure i'm doing something wrong
Can you help me?
thanks

Thanks! I'll try on the HTTP protocol and let you know

Okay perfect :))

ok it seems to work on HTTP
then to the questions:
got a 302 redirect to 'http://localhost/wp/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwp%2Fwp-admin%2Fadmin.php%3Fpage%3Di4t3-logs%26orderby%3D1&reauth=1'. Do you want to follow? [Y/n]
you provided a HTTP Cookie header value, while target URL provides its own cookies within HTTP Set-Cookie header which intersect with yours. Do you want to merge them in further requests? [Y/n]
it is recommended to perform only basic UNION tests if there is not at least one other (potential) technique found. Do you want to reduce the number of requests? [Y/n]
I press enter, previously i press Y
at the end of the scan results is the same:
 [CRITICAL] all tested parameters do not appear to be injectable. Try to increase values for '--level'/'--risk' options if you wish to perform more tests.
If you suspect that there is some kind of protection mechanism involved (e.g. WAF) maybe you could try to use option '--tamper' (e.g. '--tamper=space2comment') and/or switch '--random-agent'

if i add the HTTS i see this:
[14:03:24] [CRITICAL] can't establish SSL connection

Okay now power up your vulnerable server with https on port 443 and change the line in the code to
exploit_url = r'python sqlmap.py -u "https://' + target_ip + ':' + target_port + wp_path + r'wp-admin/admin.php?page=i4t3-logs&orderby=1" —force-ssl

in this way?:
exploit_url = r'python sqlmap.py -u "https://' + target_ip + ':' + target_port + wp_path + r'wp-admin/admin.php?page=i4t3-logs&orderby=1"' '—force-ssl'

This way :)
exploit_url = r'python sqlmap.py -u "https://' + target_ip + ':' + target_port + wp_path + r'wp-admin/admin.php?page=i4t3-logs&orderby=1" --force-ssl'

got a 302 redirect to 'https://localhost/wp/wp-login.php?redirect_to=https%3A%2F%2Flocalhost%2Fwp%2Fwp-admin%2Fadmin.php%3Fpage%3Di4t3-logs%26orderby%3D1&reauth=1'.
Do you want to follow? [Y/n]

it looks like the back-end DBMS is 'PostgreSQL'. Do you want to skip test payloads specific for other DBMSes? [Y/n]

for the remaining tests, do you want to include all tests for 'PostgreSQL' extending provided level (2) and risk (2) values? [Y/n]

[16:04:53] [CRITICAL] all tested parameters do not appear to be injectable. Try to increase values for '--level'/'--risk' options if you wish to perform more tests.
If you suspect that there is some kind of protection mechanism involved (e.g. WAF) maybe you could try to use option '--tamper' (e.g. '--tamper=space2comment') and/or switch '--random-agent'

[*] ending @ 16:04:53 /2022-03-02/

Exploit finished at: 16:04:53

Hm, its an advance, but still not working. Today I unfofrtunately don't have time. Will power up an https Server as well and reconfigure and check on my exploit code. What you could do, as an asmbitiosly learning penetration tester. Just check the sqlmap payload of my exploit and extract the cookies and so one and start tampering / checking what you can do to change the sqlmap command, so it works

Thanks, don't worry I'm new to the penetration testing world, is I saw your reports on exploit-db, since I know WP pretty well I decided to test them locally. But I will continue to follow you and test, thanks for your time.

Learned something new as well, test your exploits on https as well ;))

What do you mean with -g ?

@Stew130 Do you have a firewall running ?

@Stew130 Do you have a firewall running ?

Mmmm only Windows

Is my second account xD

What do you mean with -g ?

The connection between my sqlmap and Google always fails. How can I solve it

What do you mean with -g ?

The connection between my sqlmap and Google always fails. How can I solve it

I don't think the exploit has been tested online, but only locally

What do you mean with -g ?

The connection between my sqlmap and Google always fails. How can I solve it

I don't think the exploit has been tested online, but only locally

I just want to batch scan the websites with injection points to get my first vulnerability
Do you have a better way？

What do you mean with -g ?

The connection between my sqlmap and Google always fails. How can I solve it

I don't think the exploit has been tested online, but only locally

I just want to batch scan the websites with injection points to get my first vulnerability Do you have a better way？

you can use sqlmap as you wish

What do you mean with -g ?

The connection between my sqlmap and Google always fails. How can I solve it

I don't think the exploit has been tested online, but only locally

I just want to batch scan the websites with injection points to get my first vulnerability Do you have a better way？

you can use sqlmap as you wish, there istruction and more info: https://sqlmap.org/

Thank you. I'm going to learn about it now


Why you can´t say me how to get physics of gota.io?

Why, i m can´t but im  not found what archive im go to modified, it´s very simple you say me what archive and how. Plz.

https://github.com/Megabyte918/MultiOgar-Edited/wiki/Issue-Template
Do not make any more duplicate issues on the subject, we've told you many times.


Support for WebExtensions?

Browsers seem to be standardizing their extensions API with WebExtensions
Does react-chrome-redux work with WebExtensions out of the box or will some modifications have to be made for this to work?

cc @paulius005
@tshaddix have you done any research here? I know someone else brought this up before. I think the Loom team was thinking about testing this out at some point (no definitive date), but we'd be happy to contribute back if we're able to get it to work. Our goal is to get Loom to work in FF and IE Edge if possible.

+1 to @vhmth

@AgrimPrasad @paulius005 last time I checked (#29) Web Extensions work out of the box! Let us know if you find otherwise.

@vhmth Yes sir! We had someone ask about this a little while ago.
The only change that would have caused problems in this compatibility is the extension change in #49. That said, it looks like it's the exact same API (which is expected): https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime/sendMessage

Ah I see. That should be easy to shim. I'll keep this open until we have it working then. Thanks for that little bit of info @tshaddix.

@tshaddix Great to hear that. I'll try it out in my project and raise any issues if found.

@vhmth no problem!
@AgrimPrasad sounds good! Let's reopen this if you do.

@vhmth @tshaddix I found that this library doesn't work in Firefox anymore due to the use of chrome.runtime.onMessageExternal which is not supported by Firefox yet as per https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs#runtime
Seems to have been broken by this commit made around a month ago: https://github.com/tshaddix/react-chrome-redux/commit/196934b2146390db1056df384e7357e191a90812
Please re-open this issue for tracking, thanks.

@AgrimPrasad Got it! Thanks for checking back in.

@AgrimPrasad Looks like a simple conditional check solves the issue. I'm going to wait for @vhmth to double check me before I merge and publish.

Commented, but overall great, simple fix @tshaddix

@tshaddix Thanks for the quick and elegant fix!

This has been released in v1.3.1. Thanks @AgrimPrasad for following up on this and @vhmth for the review!

Thanks for the quick work @tshaddix and @vhmth
Unfortunately, it seems like there's still some issue when testing with my extension (https://github.com/AgrimPrasad/mozilla-observatory-extensions) in Firefox. The extension loads correctly initially, but it seems like aliases aren't being dispatched correctly with the following error message logged in the console:
resp is undefined  bundle.js:52809
	dispatch/</< moz-extension://6b705b44-8c27-434e-be2b-0f564d4718a7/bundle.js:52809:15
	runSafeSyncWithoutClone resource://gre/modules/ExtensionUtils.jsm:60:14
	runSafeWithoutClone resource://gre/modules/ExtensionUtils.jsm:255:38
	bound runSafeWithoutClone self-hosted
	wrapPromise/< resource://gre/modules/ExtensionUtils.jsm:428:13
	onFulfilled self-hosted
	onFulfilled self-hosted

From the brief amount of time I've spent to try and debug this issue, it seems that extensionId is undefined in the dispatch function... I'll have to debug it further but probably will only have time later to do so.
Note that react-chrome-redux-examples load fine, with actions being dispatched. Therefore, I believe this should be an alias related issue.
@tshaddix Should we create a separate issue for this?

@AgrimPrasad Bummer deal! Yea can we make an issue to track this specific bug?

I think this will be fixed with https://github.com/tshaddix/react-chrome-redux/issues/65 if you're cool with waiting for that @AgrimPrasad. Otherwise, let's not close this and address. :-)

Ya, I think we should properly resolve all outstanding web extensions issues (including this one)  with #65 as I don't know if this will be the last issue encountered by me...


Partners - Waitlist not saving properly

From Vu-Bang:
For the Elite Property property manager, when we update her unit types from “Closed waitlist” to “Open waitlist”, when I made the update, it shows up as “Open waitlist”. But checking in a day later, it shows up as “Closed waitlist” now. Was doing this for Charlmers Square. When I originally went in to edit back to open, “open waitlist” was checked. And when I saved and went back, “closed waitlist” was checked again.

QA Notes: You should be able to: Save a listing with units groups that have closed and open waitlists, and then open the listing form with closed/open waitlists, don't open any of the forms, just save, and have the waitlist values stay the same.

LGTM


Improve UI texts to indicate loading and failed states separately

We can improve our menu text to indicate two separate states to the end-user:

when loading the menu items (i.e., during the HTTP request)
if the request failed (e.g., after a retry/timeout interval)

Task

[ ] add separate state variables to control the menu placeholder text for two conditions

[ ] loading menu items
[ ] HTTP error

[ ] display a message to the end user when the menu items are being loaded
[ ] if the HTTP request fails, display an informative message to the end-user/developer

Original request

I would like a helpful message displayed (ex. "Loading Menu...") with the same formatting as the top level menu items so that the "idea of the menu" is communicated when viewed without WordPress and the same message is helpful when WordPress is available but the initial HTTP request failed, for whatever reason.

Originally posted by @TimidRobot in https://github.com/creativecommons/cc-global-components/issues/16#issuecomment-995159763

@brylie I will love to be assigned to this.

@cc-open-source-bot add Ready for Development

When the API request is sent and there is an error causing a failure.

When the API request is sent successfully.

Note The retries feature has not been added here since it will be handled in a separate issue:

[ ] https://github.com/creativecommons/cc-global-components/issues/26


Cryptic error message when HTTP 504 error code is received

The issue
When a response with an error status code other than 429 is received (like 504), a cryptic error message about parsing the results is printed to the console.
Details
Currently when I use the following code to make a couple hundred requests, I get the following error after about 1 minute of spinning:
pk_api.lookup_placekeys(some_queries)

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

With the following stack trace:
----> pk_api.lookup_placekeys(query)

/.../python3.7/site-packages/placekey/api.py in lookup_placekeys(self, places, strict_address_match, strict_name_match, batch_size, verbose)
    200                     places[i:max_batch_idx],
    201                     strict_address_match=strict_address_match,
--> 202                     strict_name_match=strict_name_match
    203                 )
    204             except RateLimitException:

/.../python3.7/site-packages/placekey/api.py in lookup_batch(self, places, strict_address_match, strict_name_match)
    270                 break
    271
--> 272         return json.loads(result.text)
    273
    274     def _validate_query(self, query_dict):

/.../python3.7/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    346             parse_int is None and parse_float is None and
    347             parse_constant is None and object_pairs_hook is None and not kw):
--> 348         return _default_decoder.decode(s)
    349     if cls is None:
    350         cls = JSONDecoder

/.../python3.7/json/decoder.py in decode(self, s, _w)
    335
    336         """
--> 337         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    338         end = _w(s, end).end()
    339         if end != len(s):

/.../python3.7/json/decoder.py in raw_decode(self, s, idx)
    353             obj, end = self.scan_once(s, idx)
    354         except StopIteration as err:
--> 355             raise JSONDecodeError("Expecting value", s, err.value) from None
    356         return obj, end

This was quite puzzling, especially since the exact same code worked just 30 minutes prior (with the exact same queries, too).
It seemed obvious that whatever lookup_batch received was not status code 429 (thus broke the while loop), but did not contain any JSON in the response text
https://github.com/Placekey/placekey-py/blob/6d13e5365616fa1498af5c40c4b47b003c87de5d/placekey/api.py#L266-L272
I called make_bulk_request directly to see what the real result was and got more helpful output.
pk_api.make_bulk_request({"queries": query[:100]})

<Response [504]>

Suggested solution
Perhaps lookup_batch could raise an error if a non-200 HTTP status is received? Or perhaps just certain 500 codes? Or more of a catch-all error if the result text isn't JSON?
# Make request, and retry if there is a server-side rate limit error
while True:
    result = self.make_bulk_request(batch_payload)
    if result.status_code != 429:
        break

if not result.text:
    raise RuntimeError(f"Error: Status code {result.status_code}")

return json.loads(result.text)

It appears that this is still an issue, in my case I'm seeing 502s not 504 but they also manifest as the same JSONDecodeError. Even just doing request.raise_for_status() before returning seems like an improvement here. @jarredSafegraph any thoughts?

@bnaul Slight degradation in service, recovering now and should be back to normal shortly. Sorry for any issue.

Thanks @jarredSafegraph, I would still say though that the error handling could be better for such cases (unless you think this will be the last ever 50* error a user ever sees 😅 )


[FancyZones] Restore original size of window on drag start instead of drag end

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
When the "Restore the original size of windows when unsnapping" option is enabled, I would like windows to be resized the moment you start moving a  window from a zone. Currently the window is resized after you finish moving the window.
I feel that resizing the window immediately is better because the user immediately understands that they unsnapped a window and it's going back to the original size. If they forget it was snapped and move it and it unexpectedly resizes, there might be some surprise and confusion.
Also, this is currently how windows behave when you move aero-snapped windows, so it would be better to match this behavior.
Finally, if this could be implemented, I believe it would resolve this issue:
https://github.com/microsoft/PowerToys/issues/6928

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate of https://github.com/microsoft/PowerToys/issues/8449


Does a database with lock contention need more connections?

The analysis described in "About Pool Sizing" doesn't include anything about locking, which can be a significant source of latency in some kinds of OLTP systems, especially where database transactions are used.  It seems like such an application may need many more connections to avoid pool-saturation-induced deadlock.  Such deadlock would be likely to be self-sustaining - as more Promises wait for connections the locks that they hold will induce more blocking on those locks.  I wrote about this concern in a comment on StackOverflow, but fear I may be just blowing smoke.  What think you?

@estaub The "About Pool Sizing" wiki page has been updated.  Marked as duplicate of #305.


Add order status link to the success page

resolves https://github.com/all3dp/printing-engine-client/issues/1407

@Dansken i've updated everything. Have a look:

Final look


Upgrade to ZIO 2.0

ZIO 2.0 is at Milestone 4, with an RC expected in the next few weeks.
https://github.com/zio/zio/releases/tag/v2.0.0-M4
The API is nearly stable at this point, so any early migration work against this version should pay off towards the official 2.0 release.
The progress is being tracked here:
zio/zio#5470
The Stream Encoding work in progress is the only area where the API might still change before the RC.
We are actively working on a ScalaFix rule that will cover the bulk of the simple API changes:
https://github.com/zio/zio/blob/series/2.x/scalafix/rules/src/main/scala/fix/Zio2Upgrade.scala
We highly recommend starting with that, and then working through any remaining compilation errors :)
To assist with the rest of the migration, we have created this guide:
https://zio.dev/howto/migrate/zio-2.x-migration-guide/
If you would like assistance with the migration from myself or other ZIO contributors, please let us know!

@swoogles
I can start on upgrade to zio 2.0. Shall I go ahead?

That would be great! It looks like you will need to target ZIO 2.0.0-RC1 for now, as zio-nio and sttp haven't published releases for RC2 yet.
The differences between the RCs are minimal, so hopefully you can just bump the version in your build file once they are updated.
FYI I'm tracking library releases via
https://zio-ecosystem.herokuapp.com/

Also, please let us know if you encounter any major problems when trying to execute the ScalaFix upgrade rule :)

Sure thing. Thanks 😄

Hi @sandeepkota, thank you for offering your help!
Please note that the reason why this is not done yet is that I wanted to finish this refactor first: https://github.com/coralogix/zio-k8s/pull/289 which makes it much easier to change things involving imports.
That said just upgrading the dependencies without doing related changes (like refactoring to the new module pattern) may not be that painful without finishing #289 first so if you want to try feel free to do so.
Also ScalaFix will not help with the generated code unfortunately.

@vigoo
I understand. May I know what's left on #289, I'll see if I can help in anyway.
Yes, ScalaFix is not at all helpful with codegen project, doing changes manually.


REMINDER: this is a one man project

You will encounter somebugs like grey screens on start ... fixing that onthe next build things will eventually work fine

now only on chat ...dearmrfantastic

ps :the new builds work fine i fixed this issue


Serial Port on MAUI(Android)

Well, I am interested in this repo and I found this repo because I'm investigating a way to communicate with a PLC on android device.
Actually, it might work well on MAUI for Android as I made a demo to do some simple operations.
Now I am learning how to implement a serial version for this repo, but for Android it usually use Android USB Host Mode (OTG) to communicate with a device via Serial port.
So my question is, is it possible to implement it with a cross platform way? Cuz for IOS or some other CLR there may be no same API as on Windows or Android.

I roughly read the code of this project, and I think I can implement a serial communication class for Android devices based on the MewtocolInterface class.
This class will not use the System.IO.Ports namespace in order to allow it to run on Android devices.
This repo is quite wonderful😊

Hi @rivenww,
sorry for my late response.
I have reworked the whole repository from the ground up this also includes an implementation of System.IO.Ports.
Still have to do some householding and cleanup but i have tested the serial feature with some PLCs.
The builder pattern for PLC interfaces has changed quite a lot, this an example for a connection to COM4 with 19200 baud rate:
using(IPlc plc = Mewtocol.Serial("COM4", BaudRate._19200).Build()) {
await plc.ConnectAsync();
}

There are now also interfaces for IPlc, IPlcEthernet, and IPlcSerial.
Feel free to take a look at my latest commits!
I don't know if System.IO.Ports will work with android, but yeah if not feel free to make another interface for MAUI based on the IPlc interface!


Need to dismiss twice to dismiss the picker

func openPicker() {
            var config = FMPhotoPickerConfig()
            config.selectMode = .single
            config.mediaTypes = [.image]
            config.forceCropEnabled = true
            config.availableCrops = [FMCrop.ratioSquare]

            let picker = FMPhotoPickerViewController(config: config)
            picker.delegate = self
            self.present(picker, animated: true)
}

func fmPhotoPickerController(_ picker: FMPhotoPickerViewController, didFinishPickingPhotoWith photos: [UIImage]) {

        picker.dismiss(animated: true, completion: nil)
        picker.dismiss(animated: true, completion: nil)
        if photos.count > 0 {
            upload(image: photos.first!)
        }
    }

I want to dismiss the picker after I didFinishPicking, it will call didFinishPicking delegate after I edited my picture, and the dismiss can not dismiss the picker. It's still in the picker page where to select an image.
And then I tap the finish in the first page of the picker, it will call didFinishPicking delegate and then dismiss the picker.
It will call twice didFinishPicking delegate method in my one select and edit. And I can not dismiss the picker with one dismiss.
So I use two dismiss to dismiss the picker.

@wakaryry
Sorry for long time no response.
For dimissal, you should call the dimiss() on your view controller but not on the picker.
Hope this help.
Feel free to reopen it again if you need more help.

For dimissal, use below code
self.dismiss(animated: true, completion: {
if photos.count > 0 {
upload(image: photos.first!)
}
})


TypeError: Cannot read property 'toLowerCase' of undefined while generating report in report folder

Environment (please complete the following information):

Node.js version: [e.g. 10.10.0]
NPM version: [e.g. 6.4.1]
webdriver.io version: [e.g. 4.14.1]
wdio-cucumber-framework version: [e.g. 2.2.8 (if lower this module will not work as it should be)]
wdio-multiple-cucumber-html-reporter version: [e.g. 0.3.3]

Config of webdriver.io and the reporter
#wdio.config.js
reporters: ['multiple-cucumber-html'],
  reporterOptions: {
    htmlReporter: {
      jsonFolder: rootPath + 'reports/',
      reportFolder: `${rootPath}`
    }
  },

#package.json
"devDependencies": {
        "chai": "^4.2.0",
        "cucumber": "^5.0.2",
        "wdio-cucumber-framework": "^2.2.8",
        "webdriverio": "^4.14.1",
        "wdio-allure-reporter": "^0.8.3",
        "allure-commandline": "^2.8.1",
        "wdio-spec-reporter": "^0.1.5",
        "wdio-json-reporter":"^0.4.0",
        "wdio-multiple-cucumber-html-reporter": "^0.3.3"

}

Describe the bug
I am able to see json file generated after running the tests but while generating html report it gives this error
path_to_repo/node_modules/webdriverio/build/lib/utils/BaseReporter.js:336
                        throw _iteratorError;
                        ^

TypeError: Cannot read property 'toLowerCase' of undefined
    at eval (lodash.templateSources[1]:205:76)
    at arrayEach (path_to_repo/node_modules/lodash/lodash.js:516:11)
    at Function.forEach (path_to_repo/node_modules/lodash/lodash.js:9344:14)
    at eval (lodash.templateSources[1]:38:4)
    at _createFeaturesOverviewIndexPage (/path_to_repo/node_modules/multiple-cucumber-html-reporter/lib/generate-report.js:449:84)
    at generateReport (path_to_repo/node_modules/multiple-cucumber-html-reporter/lib/generate-report.js:135:3)
    at MultipleCucumberHtmlReporter.onEnd (path_to_repo/node_modules/wdio-multiple-cucumber-html-reporter/build/reporter.js:160:56)
    at MultipleCucumberHtmlReporter.emit (events.js:182:13)
    at MultipleCucumberHtmlReporter.EventEmitter.emit (domain.js:442:20)
    at BaseReporter.handleEvent (path_to_repo/node_modules/webdriverio/build/lib/util/BaseReporter.js:324:35)`

To Reproduce
Steps to reproduce the behavior:
Add reporter in conf.js and run "npm run script_name"
Expected behavior
HTML report should get generated

@Harsh-BBC
🤦♂ never saw this issue, my bad. Is this still happening?
Can you also provide your capabilities object?

Closing this in favour of https://github.com/wswebcreation/wdio-multiple-cucumber-html-reporter/issues/24


set the ECN bits on outgoing packets

Not sure if we already want to merge this. Currently, it will just increase the size of ACK frames, as we're not yet using the ECN signal.

#3999 is tracking actual ECN support.


Updated: registry-finder 2.41.1

${}

e5beb40a-cf11-46bb-a09c-e0c9d8beaf79

Newer version of registry-finder (2.43.0) is now available in master. 88181b9b8e04c89ecd9547cc15fb963057505307


[feature]Create a user through CRD，grant all and insert permissions，take all permissions

Is your feature request related to a problem? Please describe.
1、create a user through CRD，the yaml setting like this:

2、mysql not support grant all and insert permissions，so report syntax error
Describe the solution you'd like
grant all and insert permissions，take all permissions
Describe alternatives you've considered

Additional context

All cannot be parallel with other permissions in mysql. I will optimize this problem in subsequent versions through:

Restrict ALL and other permissions from appearing at the same time
Select ALL directly


Support calling makeCreateMarginfiAccountIx without a keypair

Currently the makeCreateMarginfiAccountIx / / makeDepositIx /  makeWithdrawIx  require a Wallet type, which necessitates a private key. For users like exchanges, that perform actions on behalf of an end-user (and don't have their pk), it should be possible to create the ix without a key. Instead, the SDK would issue a Transaction, or TransactionInstruction, that the end-user can then sign.
A/C: Enable makeCreateMarginfiAccountIx to issue an ix to be signed

per @losman0s there are pure instruction builders already present in the repository -- see https://github.com/mrgnlabs/mrgn-ts/blob/9cf8596876eb093513e7eb5ea762462ff0e45f8d/packages/marginfi-client-v2/src/models/account/pure.ts#L676
If these are sufficient we can mark this issue closed.

Closing for now as the issue has been resolved by using existing code paths.


Search in File, Refrence Error after Hibernate

Issue Type: Bug
Hi,
After Search In Project, We have references to found points on left panel  with files. these reference does not work after you wake up from hibernation and these references start pointing to a random line number rather than the actual line where text is found. I have got this issue multiple time.
VS Code version: Code 1.50.0 (93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3, 2020-10-07T06:10:52.432Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.85GB (6.31GB free)

Process Argv
--crash-reporter-id 285f6464-03a5-4351-8f40-2dd28f182f1e

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

sftp
lix
1.12.9

prettify-json
moh
0.0.3

mssql
ms-
1.9.0

foxpro
new
1.4.10

vscode-jsp
pth
0.0.3

vscodeintellicode
Vis
1.2.10

vscode-java-debug
vsc
0.29.0

vscode-java-pack
vsc
0.10.0

vscode-maven
vsc
0.25.0

ReactSnippets
xab
2.4.0

Reproducing Step:
Search some text in Search Panel(Ctrl+Shift+F) on Left.
you Got Some References to where that Code is.
Click on those References, they will take you to line number where that search matched.
Hibernate the System.
Wake Up System
Click on those References in left Panel.
They will take you to some other lines Not where the Searched Text is.
I can Make Video if this is not helpful

I video won't help to reproduce but it might illustrate things. With those steps (search, hibernate, resume, click) I cannot reproduce and it also doesn't appear logical that file location change during hibernation

I cannot reproduce and it also doesn't appear logical that file location change during hibernation

Sorry For misunderstanding,
File doesn't change location. Reference Does

For Example as in the given Picture i got two results, First was pointing to line 1984.
after  Hibernation cycle it will start pointing to some other line like 2565.
I will also post video this weekend.

Forwarding to Rob since this seems to be file search, not reference search

Would appreciate a video. When you open the file, we run the search again and that's the only thing that would cause the lien numbers for those results to change.


Changed 'sushi --init' to 'sushi init' since init is  its own seperate command

While preparing for a FHIR seminar this week sushi failed "sushi --init" with "The --init option has been moved to a separate command. Instead, run the following command: sushi init". I therefore fixed it. Have a nice day!

Addition to my first pull request. Changed all occurences from "sushi --init" to "sushi init".
If this makes any sense please merge. :) Thank you for the courses anyways!

Hi @Wormfriend. Thank you for this contribution! It looks good to me!


Question OpenTracing or OpenTelemetry ?

I have a question, is this Lambda Layer using OpenTracing or OpenTelemetry or none?
Because on my projects we are using this lambda + OpenTracing lib (io.opentracing:opentracing-util) to send Span to NewRelic but yesterday I found out that OpenTracing is deprecated on newrelic and they start using OpenTelemetry.
If I migrate to OpenTelemetry, this lambda layer will still work? or is independent of that?
Thanks

@fedeValtira This particular repository is for New Relic's plugin for deployment using the Serverless framework, so this repo itself isn't a layer, but finds the latest layer for the runtime that's being used. Currently, this plugin is aware of layers for Node, Python, and Java. In the case of Node and Python, those layers install the standard New Relic agents for those runtimes. For Java, the layer installs the newrelic-lambda-java-tracer, which currently supports OpenTracing. For visibility, I'd recommend that we move this issue to that repo.

Tagging @jtduffy for visibility.


Changes release branch check

Issue #, if available:
Description of changes:
Since we are using the templater as a libary over in eks-a-prow-jobs, the release branch directory check is bleeding over to some of the jobs there.  Some of the builds in eks-a do not have release branch folders, yet are "release branched".
This PR changes the prow jobs to instead call a make target vs simply checking for the existence of the folder.  This chekc is added here and for eks-d is just the folder check.
For eks-a, we can change the definition to handle the special cases.  This new method could also be used to guard certain codebuild jobs on the eks-a side to avoid false negatives in our build reporting.
Once this merged, we can update eks-anywhere-prow-jobs and regenerate those templates
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm
/approve


Update app.blade.php

I think the error is in the env used with non https domain

Seems to have been fixed in the meantime


licensing

Hi,
What is the licensing for the plugin? I'd like to add some functions to it (contribute to it or fork it).
Thanks

Hi @tibu, it's free for all, feel free to fork 👍

Hi @lsiric , thanks this is great.
However according to Github:
'Code without an explicit license is protected by copyright and is by default All Rights Reserved. The person or people who wrote the code are protected as such. Any time you're using software you didn't write, licensing should be considered and abided.'
Could you please add some license to the main repo e.g. MIT?  http://choosealicense.com/licenses/

Yup, already added MIT :)

Thanks, this was quick!


nixos/nvidia: make VA-API support optional

This adds a knob to disable VA-API support. For use-cases like AI servers, which do not need to perform video acceleration, this can be a useful tweak to reduce size of the system closure a lot, as the VA-API drivers are heavy.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I haven't tested this yet.

videoAcceleration == true (default):

videoAcceleration == false:


[479] CloudWatchEvent renamed to EventBridgeEvent

Issue #479
Description of changes:
Hi there! This should fix #479. Please, let me know if you meant something else!
Besides having renamed from CloudWatchEvent to EventBridgeEvent on some places of the code base, I also updated some links (despite they're still redirecting correctly)
Looking forward to your feedback! Thanks! :)

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

Comparison is base (752114b) 72.93% compared to head (532af4b) 72.93%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #537   +/-   ##
=======================================
  Coverage   72.93%   72.93%
=======================================
  Files          26       26
  Lines        1456     1456
=======================================
  Hits         1062     1062
  Misses        322      322
  Partials       72       72

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

Thank you for taking the time to suggest improvements @bmoffatt! I just made some changes as you suggested. Now it is as it should I guess. Let me know if it still needs more changes.


train epoch

I want to know how many epochs you trained on the kitti dataset
I have trained 15 epochs,and best val miou is 47.082

Training with dropblock needs round 20 epochs to reach the highest mIoU, which is higher than the epoch I mentioned in #15.

Training with dropblock needs round 20 epochs to reach the highest mIoU, which is higher than the epoch I mentioned in #15.

But 47.082 at the 15th epoch is much lower than what I got. Are you using the default training settings in the code?

But 47.082 at the 15th epoch is much lower than what I got. Are you using the default training settings in the code?

I set  grid_size=[320, 320, 16], model='traditional'.  Other parameters are the same as the default values.
Does the difference in such parameters have any effect?

I set  grid_size=[320, 320, 16], model='traditional'.  Other parameters are the same as the default values.
Does the difference in such parameters have any effect?

Smaller grid_size generally has a lower mIoU, but it won't affect too much.
traditional model trains the same network in cartesian coordinates rather than in polar coordinates. Our experiment shows that its mIoU performance is lower than PolarNet.

Smaller grid_size generally has a lower mIoU, but it won't affect too much.
traditional model trains the same network in cartesian coordinates rather than in polar coordinates. Our experiment shows that its mIoU performance is lower than PolarNet.


Update thrust 1.9.2 1.9.3

It's unfinished.
The size of the changeset will grow.
The performance folder were moved or deleted.

Build fail with HIP-clang. Working on the fix.

Build fail with HIP-clang. Working on the fix.

Fixed.

Minimal repro about remove test segfault.

Check CI, 49 - thrust.hip.remove (SEGFAULT), is failing. Probably from some change from this PR is triggering the issue.

@neon60 Can you resolve the conflicts?

Yes. Worked on that one. :)


Items are flat when dropped?

Not really an issue, but how do I remove the effect where dropped items like swords and pickaxe's are 'flat' on the ground? (like when you drop your item with physic mod)
Is there a way to remove this?
Thanks!

Next release will remove  that behavior

Next release will remove that behavior

Thank you! - I really do enjoy using this resource pack, so I’m very happy to hear this!
Thank you for your time and effort. 🙂


Remove unused dependencies and set up cargo-machete exceptions

What
Ignored everything related to re_query(_cache)(2) since it's so much in flux right now.
(Very slight untangling, but mostly cosmetic)
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

The [package.metadata.cargo-machete] was news to me.

same! Might be a more recent addition


integration test steps for the Secured Spring Boot mission

NOTE: This might need to be rebased after  #750 has been merged.

@tradej added the comment explaining parameters, please let me know what you think.

Cool, thanks. Merging...

merged: 8036ac6a2


New maintainer(s)

Hi!
It seems this repo is not so actively maintained these days.
If this is not a temporary situation,
would you please find someone (at least just post announcement) to maintain it?
Thanks!

If, like me, anyone is wondering whether there's an alternative, node-dev itself supports TypeScript too: https://github.com/fgnass/node-dev#typescript-support

the ts-node-dev is much faster than node-dev for huge projects, at least in my tests.

@wclr I would be happy to help with maintaining the ts-node-dev. I use it in commercial and private projects and find it very useful. You can find my email address on my profile. Contact me if you are interested.


bug: Dioxus crashes with nested elements using different types of Custom Attributes

Problem
Dioxus crashes when having elements with custom attributes with children elements that also have custom attributes but of a different type.

Crashes here
Steps To Reproduce
Steps to reproduce the behavior:

Run https://github.com/marc2332/freya/pull/346/files#diff-ac9d2c4101b4358b83e0d609aff2431db6bf4e235f8416b6ede5eee36ed94310
Swap the Works for DoesntWork in L17
Try to scroll
*crashes*

Expected behavior
Not crash
Environment:

Dioxus version: master
Rust version: 1.71.0 (omg I should update asap)
OS info: Windows
App platform: Freya

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later
[x] I don't know how to fix this but I can try to help ❤

The panic you are hitting means that the any attribute has been dropped. Any attributes are dropped when the scope that created the attribute is dropped or before the scope that created it is rerun

So, it is a bug on my side? It was working before 🤔

I don't think so, I think we should drop the any attribute after we diff the component instead of before we diff the component. We need to drop event listeners before because they could borrow from borrowed props which would be dropped at that point. Any must be static, so it cannot borrow from borrowed props. The lifetime should be valid until the end of diffing just like a &'bump str attribute.


[CARBONDATA-2932] FIx CarbonReader Projection cann't be empty exception

run org.apache.carbondata.examples.sdk.CarbonReaderExample and then some exception.
This PR fixd it. conclude:
1.close carbonReader after finished read, which solved the exception.
2.add example code for varchar and array, including read and write
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[X] Any interfaces changed?
No
[X] Any backward compatibility impacted?
No
[X] Document update required?
No
[X] Testing done
fix example
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
No

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/272/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.3/8511/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/274/

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

@xubo245 Please fix the finbugs

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/292/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/8537/

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

@ravipesala Please review it。

LGTM


When you change the background color of the text, and then place the cursor in the middle of the word that had the background color changed, the cursor does not appear

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
9.2.11
Steps to reproduce
1-write any text
2- select the text and change the background color
3- change the cursor to the middle of the word, touching the middle of the word
Expected results
cursor blinks in the middle of the word
Actual results
cursor does not appear
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

I was investigating the problem, it happens because the cursor is blinking behind it, when I increased the size of the cursor, it was blinking at the edge of the text, so to fix it, just make the cursor appear over the text that had a colored background and not behind it.


extend cast to shape to a named type when given a string

I'll rebase zed-language to this addition and update docs in that branch.


commonClass not working

I have tried using the following in my gulp file:
commonClass: 'class-name'
But it doesn't seem to be working. Can you confirm if this is broken or if I've used it in an incorrect way?

I'm unable to reproduce the problem. Usage is simple, if you can still reproduce the problem provide more details that might help.


[BUG] Fastfetch fails to run on Windows 7 despite what the README says

Be sure to read the FAQ before submitting a new issue.

General description of bug:

What happened: fastfetch cannot start because api-ms-win-crt-convert-l1-1-0.dll is missing
What should happen: fastfetch starts normally
Fastfetch version used: 2.25.0
Did it work in an older version: no
Where did you get the binary: GitHub release
Does this issue still occur in the latest dev build? yes

Often helpful information:
Screenshot:

Output of fastfetch -c ci.jsonc --format json:

cannot provide, fastfetch doesn't start
Output of fastfetch --list-features:
cannot provide, fastfetch doesn't start

You should install UCRT runtime library. See https://github.com/fastfetch-cli/fastfetch/wiki/Dependencies#windows


useHead undefined after initiating a regex (since monday)

Environment
Linux (this problem doesnt appear to happen on windows).
tested on different node versions.
Reproduction
https://stackblitz.com/edit/github-819pq2-4sknkq?file=layouts%2Fdefault.vue
Describe the bug
"var emailregexx =
/^[a-zA-Z0-9.!#$%&'+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)$/;
useHead({
meta: [
{
name: 'viewport',
content:
'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0',
},
],
});"
This code crashes. And my question is why. It seems to be an upstream bug as it happens since monday(maybe friday or thursday) and this code is already years old.
When you remove the regex line, all works normally again.
Additional context
Error that gets thrown:
useHead is not defined
at _sfc_main.setup (./layouts/default.js:42:23)
at callWithErrorHandling (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19)
at setupStatefulComponent (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7572:25)
at setupComponent (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7533:36)
at renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:623:15)
at renderVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:755:14)
at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:710:7)
at eval (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:639:25)
at async unrollBuffer$1 (./node_modules/@vue/s
Logs
No response

This is likely an upstream issue with the transform from https://github.com/unjs/unimport and you can probably avoid it by slightly rewriting the regular express.
Would you raise an issue there? 🙏

This is likely an upstream issue with the transform from https://github.com/unjs/unimport and you can probably avoid it by slightly rewriting the regular express.
Would you raise an issue there? 🙏

@danielroe Thank you for your response. I created the ticket.
Also fixed the issue in my project by escaping the / in the regex
/^[a-zA-Z0-9.!#$%&'+/?`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)$/; (escaped the /)


Test getNetworkInformation handling of PastHorizonException

Issue Number
#1869 /  #1960
Overview

[x] Added a mock interpreter & network layer to produce a single unit test
[x] I think we can make this a monadic property test easily

Comments

We have started using cardano-node/shelley specific libraries in cardano-wallet-core. Perhaps this is unavoidable though.

Yes. I think this is unavoidable for now.

At least the handler function can be tested independently of the API server, but still.

Yes, I was pleasantly surprised that this was possible.

The amount of effort required to set up a simple test is quite high, don't you think?

Yes.

Constructing the Interpreter is a bit complicated, but not sure what the workaround would be.
Having to construct a NetworkLayer just to mock the currentNodeTip is also a bit annoying
Having to mimic the exact Either PastHorizon ~> IO using throwIO that the implementation uses (I think passing around TimeInterpreter (ExcepT PastHorizonException IO) would be better for this reason)

We could alleviate 2 by adding a new helper
getNetworkInformation
    :: forall t. (HasCallStack)
    => SyncTolerance
    -> NetworkLayer IO t Block
    -> Handler ApiNetworkInformation

getNetworkInformation'
    :: forall t. (HasCallStack)
    => SyncTolerance
    -> TimeInterpreter IO
    -> SlotNo -- ^ Tip
    -> Handler ApiNetworkInformation

which I'm intrigued by, but maybe it should be done as part of some greater, consistent re-organization of the Server module.

Thanks! Merging.
bors r+

bors r+

bors r+

bors r+

bors r+


Possible URL injection in feedback?

Opening and then closing a rather strange bug, unlikely a security issue, but I was confused by it.
Got the following production error recently:
There was an error in the CourtFormsOnline application. The error message was:

ValueError:

    ValueError: invalid literal for int() with base 10: 'ZD1kb3VwO2QuZHB1eXQuaHB5PTE7ZC5odHBrPUxvYWRpbmcuLi47aW1pY3U9'

Traceback (most recent call last):
  File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/docassemble/webapp/server.py", line 6568, in index
    reset_interview = int(request.args.get('reset', 0))
ValueError: invalid literal for int() with base 10: 'ZD1kb3VwO2QuZHB1eXQuaHB5PTE7ZC5odHBrPUxvYWRpbmcuLi47aW1pY3U9'

The referer URL was https://apps.suffolklitlab.org/interview?reset=ZD1kb3VwO2QuZHB1eXQuaHB5PTE7ZC5odHBrPUxvYWRpbmcuLi47aW1pY3U9&i=docassemble.AssemblyLine:feedback.yml&github_repo=docassemble-CDCEvictionMoratorium&github_user=suffolklitlab&variable=warn_moratorium_ended&question_id=moratorium+has+ended&package_version=0.0.35&filename=docassemble.CDCEvictionMoratorium:data/questions/cdc_eviction_moratorium.yml&session_id=<redacted>&from_list=1

The external hostname was apps.suffolklitlab.org

The URL is clearly from someone clicking the feedback button that appears on the CDC Moratorium page. However, the strange part is reset=ZD1k.... That string is base64 for d=doup;d.dpuyt.hpy=1;d.htpk=Loading...;imicu=", which looks like it could be some sort of injection attack. It won't be able to do much, as reset only works when it's 0, 1, or 2, but it's concerning anyway. Either:

there was some ability to inject things into URLs that we give people (https://github.com/SuffolkLITLab/docassemble-GithubFeedbackForm/blob/e643556f52990156c978785040c62f59ef4b3af7/docassemble/GithubFeedbackForm/github_issue.py#L116), unlikely though
people are editing URLs to try to change our system somehow.

Not sure it's actionable, but I didn't want to record it publically, so it doesn't rot away in an email.

This looks like a pretty common random attack pattern to me. But this is a place we process URL args so it's good to check.


Getting error message

I am getting the following error message: OSError: Cannot detect RPi-Sense FB device.  However all LED lights are on.

Hello, could you please provide the output of the following:
sudo apt-get install device-tree-compiler
uname -a
vcgencmd version
sudo dtc -I fs /proc/device-tree

thank you for your help.  below is the output requested:
uname -a
Linux pi 4.1.6-v7+ #810 SMP PREEMPT Tue Aug 18 15:32:12 BST 2015 armv7l GNU/Linux
vcgencmd version
Aug 20 2015 17:44:52
Copyright (c) 2012 Broadcom
version 3f87086448257aa66881de858a0b4b0e6daa8719 (clean) (release)
sudo dtc -I fs /proc/device-tree
FATAL ERROR: Couldn't opendir() "/proc/device-tree": No such file or directory

You do not appear to have device tree enabled, which prevents the necessary modules from being loaded automatically. You could modprobe rpisense-fb and rpisense-js or stick them in /etc/modules.

I have enabled device tree in raspi-config and it works.  thanks

Glad to hear it. Have fun.

I also have the same problem. But I am using kano

I'm sorry, I only support the official foundation Raspbian distribution. I don't own or use kano and am not familiar with how they set up the software, so I won't be able to help.

I saw a tweet recently that they were thinking of adding it soon. For now you can use Raspbian.

yes i just got it. Alejandro just send me Kano Jesse. Hope it works.


Error 'Unsupported type 0x40 for array' when trying to complete deferred messages

Hi everybody,
I'm having some trouble handling deferred messages. First I lost the sequence number which I recovered using ServiceBusExplorer as suggested here. Then, I used the same tool to resend the messages and they were correctly read. Nevertheless, the deferred copy of the messages are still in the queue and I cannot manage to delete them neither using ServiceBusExplorer nor using this client.
The error I'm getting is also mentioned in #8707 but the context is not the same.
I'm using Python 3.7 with azure-servicebus==0.50.1.
Here is the code example:
File: logging.conf
[loggers]
keys=root

[handlers]
keys=consoleHandler

[formatters]
keys=simpleFormatter

[logger_root]
level=INFO
handlers=consoleHandler

[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=simpleFormatter
args=(sys.stdout,)

[formatter_simpleFormatter]
format=[%(asctime)s] [%(levelname)s] [%(name)s]  %(message)s
datefmt=%Y-%m-%d %H:%M:%S

main.py
import os
import logging.config
import logging

from azure.servicebus import QueueClient

logging.config.fileConfig(os.path.join('config', 'logging.conf'))
logger = logging.getLogger()

def handle_deferred_messages(connection_string, queue_name, sequence_numbers):
    client = QueueClient.from_connection_string(connection_string, queue_name)
    error_seq = []
    for s in sequence_numbers:
        with client.get_receiver() as queue_receiver:
            try:
                deferred_message = queue_receiver.receive_deferred_messages(sequence_numbers=[s])
            except Exception as e:
                logger.warning('Could not get message. Sequence number: {}'.format(s))
                continue
            else:
                logger.info('Message received. Sequence number: {}'.format(s))
                message = deferred_message[0]
                try:
                    message.complete()
                except Exception as e:
                    logger.error('Fail to complete message. Error: {}'.format(e))
                    try:
                        message.dead_letter()
                    except Exception as e:
                        logger.error('Fail to dead-letter message. Error: {}'.format(e))
                        error_seq.append(message)
                    else:
                        logger.error('Message sent to dead-letter. Sequence number: {}'.format(s))
                else:
                    logger.error('Message completed. Sequence number: {}'.format(s))
    return error_seq

if __name__ == '__main__':
    connection_string = '<Azure Service Bus connection>'
    queue_name = '<Azure Service Bus Queue Name>'
    errors = handle_deferred_messages(connection_string, queue_name, [3216, 3217])

When I execute python main.py with the correct connection_string (with Manage, Send and Listen rights) and the correct queue_name, I get the following output:
[2019-12-05 11:13:59] [INFO] [root]  Message received. Sequence number: 3216
[2019-12-05 11:13:59] [ERROR] [root]  Fail to complete message. Error: Management request failed: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:xxxxxxxx, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T10:13:59', Data: None
[2019-12-05 11:13:59] [ERROR] [root]  Fail to dead-letter message. Error: Management request failed: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:xxxxxxxx, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T10:13:59', Data: None
[2019-12-05 11:14:00] [INFO] [root]  Message received. Sequence number: 3217
[2019-12-05 11:14:00] [ERROR] [root]  Fail to complete message. Error: Management request failed: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:xxxxxxxx, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T10:14:00', Data: None
[2019-12-05 11:14:00] [ERROR] [root]  Fail to dead-letter message. Error: Management request failed: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:xxxxxxxx, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T10:14:00', Data: None

Traceback of the message.complete() call
Traceback (most recent call last):
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\base_handler.py", line 91, in _mgmt_request_response
    callback=callback)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\uamqp\client.py", line 358, in mgmt_request
    **kwargs)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\uamqp\session.py", line 126, in mgmt_request
    return parse_response(status, response, description)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\common\mgmt_handlers.py", line 18, in default
    status_code, description, message.get_data()))
azure.servicebus.common.errors.ServiceBusError: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:3afb23b6-09a3-425b-a7ea-fad9afc6cd44_G0, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T11:34:26', Data: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-7a028d90601f>", line 53, in <module>
    errors = handle_deferred_messages(sequence_numbers)
  File "<ipython-input-2-7a028d90601f>", line 30, in handle_deferred_messages
    raise e
  File "<ipython-input-2-7a028d90601f>", line 27, in handle_deferred_messages
    message.complete()
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\common\message.py", line 492, in complete
    self._receiver._settle_deferred('completed', [self.lock_token])  # pylint: disable=protected-access
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\receive_handler.py", line 152, in _settle_deferred
    mgmt_handlers.default)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\base_handler.py", line 93, in _mgmt_request_response
    raise ServiceBusError("Management request failed: {}".format(exp), exp)
azure.servicebus.common.errors.ServiceBusError: Management request failed: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:3afb23b6-09a3-425b-a7ea-fad9afc6cd44_G0, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T11:34:26', Data: None

Traceback of the message.dead_letter() call
Traceback (most recent call last):
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\base_handler.py", line 91, in _mgmt_request_response
    callback=callback)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\uamqp\client.py", line 358, in mgmt_request
    **kwargs)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\uamqp\session.py", line 126, in mgmt_request
    return parse_response(status, response, description)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\common\mgmt_handlers.py", line 18, in default
    status_code, description, message.get_data()))
azure.servicebus.common.errors.ServiceBusError: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:47ce260f-b464-4c09-9c2a-fb1ff20ce91f_G5, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T12:57:23', Data: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "<ipython-input-2-4e7f4ed4ea1d>", line 27, in handle_deferred_messages
    message.complete()
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\common\message.py", line 492, in complete
    self._receiver._settle_deferred('completed', [self.lock_token])  # pylint: disable=protected-access
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\receive_handler.py", line 152, in _settle_deferred
    mgmt_handlers.default)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\base_handler.py", line 93, in _mgmt_request_response
    raise ServiceBusError("Management request failed: {}".format(exp), exp)
azure.servicebus.common.errors.ServiceBusError: Management request failed: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:47ce260f-b464-4c09-9c2a-fb1ff20ce91f_G5, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T12:57:23', Data: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\base_handler.py", line 91, in _mgmt_request_response
    callback=callback)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\uamqp\client.py", line 358, in mgmt_request
    **kwargs)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\uamqp\session.py", line 126, in mgmt_request
    return parse_response(status, response, description)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\common\mgmt_handlers.py", line 18, in default
    status_code, description, message.get_data()))
azure.servicebus.common.errors.ServiceBusError: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:fa259905-24e2-4a7a-8ad5-a8b237c092f5_G5, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T12:57:23', Data: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-4e7f4ed4ea1d>", line 53, in <module>
    errors = handle_deferred_messages(sequence_numbers)
  File "<ipython-input-2-4e7f4ed4ea1d>", line 35, in handle_deferred_messages
    raise e
  File "<ipython-input-2-4e7f4ed4ea1d>", line 31, in handle_deferred_messages
    message.dead_letter()
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\common\message.py", line 516, in dead_letter
    'suspended', [self.lock_token], dead_letter_details=details)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\receive_handler.py", line 152, in _settle_deferred
    mgmt_handlers.default)
  File "C:\Users\my_user\.conda\envs\event-consumer\lib\site-packages\azure\servicebus\base_handler.py", line 93, in _mgmt_request_response
    raise ServiceBusError("Management request failed: {}".format(exp), exp)
azure.servicebus.common.errors.ServiceBusError: Management request failed: Management request returned status code: 500. Description: b'Unsupported type 0x40 for array. TrackingId:fa259905-24e2-4a7a-8ad5-a8b237c092f5_G5, SystemTracker:NoSystemTracker, Timestamp:2019-12-05T12:57:23', Data: None

Do you have any suggestions?
Thanks.

Hey lopezco, thanks for reporting this.
Given the issue chain you referenced and similarities in the failure mode, I'm very interested to see if this problem would be mitigated by the release we will be shipping shortly.
We're currently in the final stages of validation and preparation, and intend to releasing within the next week.  If that doesn't mitigate the issue, we'll certainly dig in further.
Don't hesitate to let us know if there is urgency here and I can see about providing a preview whl for you to evaluate sooner.

Hi @KieranBrantnerMagee , thanks for your answer.
It is not critical because I've managed to copy the messages so no data was lost.
I also cleaned the deferred messages with a time.sleep() to force a longer processing time than the lock time. After this, they were automatically transferred to the dead-letter queue where I was able to delete them using the ServiceBusExplorer.

Looping back on this;  we released a new SB release (0.50.2) prior to the holidays per my earlier mention, am wondering if this mitigated the issues you observed.
Don't hesitate to ping if not/if any clarification or help is needed and we'll gladly dig in; thanks as always for your time!


Centered layout broken

When enabling centered layout the editor disappears.
Does this issue occur when all extensions are disabled?: Yes

VS Code Version:  1.85.0
OS Version: Windows 10 Enterprise 22H2

Steps to Reproduce:

Open project
Open editor
Enable centered layout

The issue seemed to have fixed itself but I don't know why.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[Webhook-connectors][correction][1437288]

Removed (A fourth action, ViewAction, is still supported but no longer needed; use OpenUri instead.) from content. Added updated Json example.

Docs Build status updates of commit 76c1643:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 76c1643:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 50e3c19:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 50e3c19:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 03cbb5b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 03cbb5b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Find Sessions Advanced Never Calls OnSuccess

OnSuccess and OnFailure are never called, only the top execute pin. I even went and did a full debug of the method and went line by line, the FindSessions() method returns true, and is successful, but then the Advanced FindSessions method just simply doesn't run onsuccessful

I should mention that CreateSessionAdvanced works perfectly!

This is how I define my session btw, in my game mode blueprint

bool FOnlineSessionHVS::FindSessions(int32 SearchingPlayerNum, const TSharedRef<FOnlineSessionSearch>& SearchSettings)
{
	uint32 Return = ONLINE_FAIL;

	// Don't start another search while one is in progress
	if (!CurrentSessionSearch.IsValid() && SearchSettings->SearchState != EOnlineAsyncTaskState::InProgress)
	{
		// Free up previous results
		SearchSettings->SearchResults.Empty();

		// Copy the search pointer so we can keep it around
		CurrentSessionSearch = SearchSettings;

		// remember the time at which we started search, as this will be used for a "good enough" ping estimation
		SessionSearchStartInSeconds = FPlatformTime::Seconds();

		// Check if its a LAN query
		if (SearchSettings->bIsLanQuery)
		{
			Return = FindLANSession();

			if (Return == ONLINE_IO_PENDING)
			{
				SearchSettings->SearchState = EOnlineAsyncTaskState::InProgress;
			}
		}
		else
		{
			FOnlineSessionSearchResult SearchResult;
			TSharedPtr<FOnlineSessionInfoHVS> SessionInfo = MakeShareable(new FOnlineSessionInfoHVS());
			TSharedPtr<FInternetAddr> InternetAddress = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr();
			FString IpAddr;
			SearchSettings->QuerySettings.Get(FName("IpAddr"), IpAddr);
			GLog->Log("OnlineSessionInterfaceHVS::FindSessions IpAddr: " + IpAddr);
			bool bSuccessful;
			InternetAddress->SetIp(*IpAddr, bSuccessful);
			int Port;
			SearchSettings->QuerySettings.Get(FName("Port"), Port);
			InternetAddress->SetPort(Port);

			GLog->Log("OnlineSessionInterfaceHVS::FindSessions SetIp successful?: " + FString::FromInt(bSuccessful));

			GLog->Log("InternetAddress ToString(): " + InternetAddress->ToString(true));

			SessionInfo->HostAddr = InternetAddress;
			FString OptionsOut;
			SearchSettings->QuerySettings.Get(FName("Options"), OptionsOut);

			GLog->Log("Options : " + OptionsOut);

			SessionInfo->Options = OptionsOut;
			SearchResult.Session.SessionInfo = SessionInfo;

			CurrentSessionSearch->SearchResults.Add(SearchResult);

			Return = ONLINE_SUCCESS;
			GLog->Log("Successful.");
		}
	}
	else
	{
		UE_LOG_ONLINE_SESSION(Warning, TEXT("Ignoring game search request while one is pending"));
		Return = ONLINE_IO_PENDING;
	}

	return Return == ONLINE_SUCCESS || Return == ONLINE_IO_PENDING;
}

I should mention that I am using a custom online subsystem and this is my find sessions method.

My custom find sessions method should simply just create a session search object and give it to the search results in CurrentSessionSearch->SearchResults
My JoinSession is exactly the same as the Null Subsystem  ( my subsystem was actually copied exactly from the null subsystem but i've set it up to find matches from my custom master server ).
/** Get a resolved connection string from a session info */
static bool GetConnectStringFromSessionInfo(TSharedPtr<FOnlineSessionInfoHVS>& SessionInfo, FString& ConnectInfo, int32 PortOverride=0)
{
	bool bSuccess = false;
	if (SessionInfo.IsValid())
	{
		if (SessionInfo->HostAddr.IsValid() && SessionInfo->HostAddr->IsValid())
		{
			/*if (PortOverride != 0)
			{
				ConnectInfo = FString::Printf(TEXT("%s:%d"), *SessionInfo->HostAddr->ToString(false), PortOverride);
			}
			else
			{
				ConnectInfo = FString::Printf(TEXT("%s"), *SessionInfo->HostAddr->ToString(true));
			}*/

			ConnectInfo = SessionInfo->HostAddr->ToString(true) + SessionInfo->Options;

			bSuccess = true;
		}
	}

	return bSuccess;
}

This is what unreal uses to get the url to pass into ClientTravel()

Then I simply pass the correct stuff into the find sessions function which then essentially, in my overwriten function for my custom subsystem it essentially just takkes these filters and creates a session result for it (to be used to connect). because by the time i'm ready to connect, my game already has the ip, port, and options to connect, but I need to be connected to a session otherwise the voice chat doesn't work lol. Because AGameModeBase::InitNewPlayer() calls GameSession->RegisterPlayer() which calls PlayerState->RegisterServerWithSubsystem, which then will try to get a session locally, if there is one, and then it will call RegisterVoice(), I'm essentially only doing this so I can use the built in voice system over the network, and also because I  want to setup team chats. If there is a better way, then let me know.

Figured it out, make sure you have these in your FindSessions() function:
			Return = ONLINE_SUCCESS; 			SearchSettings->SearchState = EOnlineAsyncTaskState::Done; 			TriggerOnFindSessionsCompleteDelegates(true);

Don't forget guys that inside of JoinSessionCallbackProxy.cpp the engine actually calls ClientTravel and gets the connection string from GetResolvedConnectString() which is defined in your OnlineSessionInteface.cpp file
void UJoinSessionCallbackProxy::OnCompleted(FName SessionName, EOnJoinSessionCompleteResult::Type Result)
{
	FOnlineSubsystemBPCallHelper Helper(TEXT("JoinSessionCallback"), WorldContextObject);
	Helper.QueryIDFromPlayerController(PlayerControllerWeakPtr.Get());

	if (Helper.IsValid())
	{
		auto Sessions = Helper.OnlineSub->GetSessionInterface();
		if (Sessions.IsValid())
		{
			Sessions->ClearOnJoinSessionCompleteDelegate_Handle(DelegateHandle);

			if (Result == EOnJoinSessionCompleteResult::Success)
			{
				// Client travel to the server
				FString ConnectString;
				if (Sessions->GetResolvedConnectString(NAME_GameSession, ConnectString) && PlayerControllerWeakPtr.IsValid())
				{
					UE_LOG_ONLINE_SESSION(Log, TEXT("Join session: traveling to %s"), *ConnectString);
					PlayerControllerWeakPtr->ClientTravel(ConnectString, TRAVEL_Absolute);
					OnSuccess.Broadcast();
					return;
				}
			}
		}
	}

	OnFailure.Broadcast();
}


Atomic Tumbleweed woes

I can't install the .rpm file (which I should be able to do) because I don't satisfy the dependency libXScrnSaver. Problem is, in openSUSE that package is called libXss1 and so I can't use Atom even though I technically do satisfy the requirements. Mainly, I'd like support added or even efforts made to remove the dependency altogether would be great.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/13354. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


bug: CodeBuildProjectSourceRepoUrl is out of date

What is the problem?
Current implementation of check for CodeBuildProjectSourceRepoUrl checks if source of CodeBuild project has OAUTH as authentication type. Description of the rule says this should be applied only for GitHub or BitBucket sources but as far as I understand the implementation it ignores that part. Moreover, current description of the rule is different now (https://docs.aws.amazon.com/config/latest/developerguide/codebuild-project-source-repo-url-check.html)
Old: The Codebuild project which utilizes either a GitHub or BitBucket repository does not utilize OAuth.
New: Checks if the Bitbucket source repository URL contains sign-in credentials or not. The rule is NON_COMPLIANT if the URL contains any sign-in information and COMPLIANT if it doesn't.
Reproduction Steps
I noticed this when creating a CDK pipeline with Github repo as source for it through a CodeStar connection:
        pipelines.CodePipeline(
            self,
            "pipeline",
            synth=pipelines.ShellStep(
                "synth",
                input=pipelines.CodePipelineSource.connection(
                    repo_string="repo",
                    branch="master",
                    connection_arn="<codestar connection ARN>"
                ),
                commands=[
                    "cdk synth '**'"
                ],
            ),
        )

This pipeline AFAIK creates 2 CodeBuild projects, none of which have Github as their source, instead source for them is CODE_PIPELINE
What did you expect to happen?
I expected the check for CodeBuildProjectSourceRepoUrl to just pass
What actually happened?
It didn't
cdk-nag version
2.28.27
Language
Python
Other information
No response

Thanks for reporting! It looks the like CodeBuild Project CloudFormation resource has also had a number of updates, including SourceAuth being a console only feature.
All to say that this rule needs some serious rework


Inconsistent Markdown rendering behavior between template and GitHub

Users are reporting that GitHub renders Markdown differently than the template once deployed. This should be investigated and either fully documented as to the differences, or the rendering engine updated to align with the one used by GitHub (which may also address #534).

https://github.com/academicpages/academicpages.github.io/issues/91#issuecomment-2427689676 this fixed the issue for me