Inject JSON claims as headers

Google IAP can embedded additional information in the jwt header. If I need to inject a header from the claim nested in gcip.sign_in_attributes.group from this example, how do I do it? Can we do flexible things using JMESPath to get what we want from the jwt?

Can you show me the output of /userinfo?

/userinfo returns the same json like this.

Interesting, so the library treads gcip as an embedded json string. This makes sense as the JWT is meant to be a key value pair.
Let me ponder about this, for now, can you can inject gcip and parse the json in your app?

I have beautified it, /userinfo actually returns the gcip value is one escaped long string:
"gcip":"{\"auth_time\":1553219869,\"email\":\"demo_user@gmail.com\",...\"}"

I can inject gcip, and the backend receives this one long escaped string. It's a third party backend application that only understands a header that has the "role" information (came from the JWT gcip.firebase.sign_in_attributes.role). The only customization backend supports is the header name.

This feature is available in 2.2.0 :)
https://github.com/IvanJosipovic/OIDC-Guard/wiki/Endpoints#inject-json-claims

Thanks and I will give it a try later.
In the wiki example inject-json-claim=role,gcim,$.firebase.sign_in_attributes.role. Is "gcim" a typo? should be gcip matching what's in the jwt.

That was a typo, its fixed now, thanks!

ingress nginx was failing until I escape the $, then all works. Thanks!
inject-json-claim=role,gcim,%24.firebase.sign_in_attributes.role

One thing I noticed is if the node is an array with multiple entries, eg:
"role": ["role1", "role2"]

Only the first entry "role1" is returned, instead of the list. It may not be a big deal since most of our users have single role, but I thought I would report here and see if we can return role1,role2 in the response.

It should respond with 2 headers,
role: role1
role: role2
See test, https://github.com/IvanJosipovic/OIDC-Guard/blob/2b22f4ea080111246936238c81e319b48d459cb3/tests/oidc-guard-tests/AuthTests.cs#L309

Hm, maybe the nginx nginx.ingress.kubernetes.io/auth-response-headers has a bug that ignores the duplicated header names instead of combining values into a comma separated list. My backend behind nginx only received first one.

v2.2.1 will be released shortly.
https://github.com/IvanJosipovic/OIDC-Guard/pull/36

Works now!


Develop a REST API to read a product

As a client,
I need the ability to retrieve information about a specific product
So that I can display its details (name, description, price, image) to customers or for internal debug usages.
Details and Assumptions

We need to create a REST API to fetch product details from the database using a product ID. The API should use the HTTP GET method to retrieve information. The response should include all necessary product details, such as name, description, price, and image. The connection between the read service and the database can be managed by SqlAlchemy or a similar ORM.

Assumptions: The client must provide a valid product ID to retrieve the product. If the product exists, all relevant product information will be fetched and returned. If the product does not exist, an error message should be displayed.

Error handling: If a non-existent product ID is provided, the system should return an appropriate error message (e.g., "Product not found").

Acceptance Criteria
## Success
Given A request to retrieve product details with a valid product ID
When The product exists in the database and is successfully fetched
Then The system returns the product details, including name, description, price, image, and any other relevant fields

## Fail
Given A request to retrieve product details with a non-existent or invalid product ID
When The system fails to find the product in the database
Then The system returns a “Product not found” error message

As a client,
I need the ability to retrieve information about a specific product
So that I can display its details (name, description, price, image) to customers or for internal debug usages.
Details and Assumptions

We need to create a REST API to fetch product details from the database using a product ID. The API should use the HTTP GET method to retrieve information. The response should include all necessary product details, such as name, description, price, and image. The connection between the read service and the database can be managed by SqlAlchemy or a similar ORM.

Assumptions: The client must provide a valid product ID to retrieve the product. If the product exists, all relevant product information will be fetched and returned. If the product does not exist, an error message should be displayed.

Error handling: If a non-existent product ID is provided, the system should return an appropriate error message (e.g., "Product not found").

Acceptance Criteria
## Success
Given A request to retrieve product details with a valid product ID
When The product exists in the database and is successfully fetched
Then The system returns the product details, including name, description, price, image, and any other relevant fields

## Fail
Given A request to retrieve product details with a non-existent or invalid product ID
When The system fails to find the product in the database
Then The system returns a “Product not found” error message

TODO:
think about the difference between list and read?
list: might just list all the product ID with product name
read: display all details about the product_


Fix class not found exception

The namespace needs to be reset to access the Exception class

I should expand the test class to cover exceptions, would have caught this. Thanks :)


Adobe HOSTS blockeage makes the BBVA Argentine login page not load.

I set this as a bug report, but, in reality, it is more like a... just a report.
There is one of the addresses that gets blocked from the Adobe network block tweak that renders this site unusable.
https://online.bbva.com.ar/fnetcore/login/index.html
This is the login page, and it connects to Adobe through one of the addresses blocked.
I don't know which one it is, but, after deleting them from the HOSTS files in Windows, the site started loading again. Otherwise, I get a blank page.
So, this is more of a heads-up than anything else.
Thanks for listening.

The address blocked is probably assets.adobedtm.com and the site fails if it can't get random Javascript file called launch from there. This is the site's problem for trying to get stuff all the way from Adobe.

The address blocked is probably assets.adobedtm.com and the site fails if it can't get random Javascript file called launch from there. This is the site's problem for trying to get stuff all the way from Adobe.

Nice, yes that you say as it makes sense to me.


Setting Unicycler parameters for workflow.

Sir, I am forming workflow using Unicycler. I have to set two parameters --min_fasta_length and
--linear_seqs as 10000 and 1 respectively. I have set it while workflow formation and save it to use both the parameters for the next time. Each time it ask to set the parameters at run time rather using them as hardcoded values.

Are you still facing this issue, or did you manage to resolve it?

Sir. each time while running the workflow I have to set both ones. What I wanted to fix or hard-code at the time of workflow formation. But it does not happens so.
Running it after setting both parameters at run time.

One more error related DESeq2 is there. I am trying to get differential expression of genes across four SRR accessions. Lets say SRR1*****, SRR2*****, SRR3***** and SRR4*****.
But DESeq2 asks for replicates. I am passing on each SRR* feature count matrix as separate sample ( factor level ) but it does not works.
I am posting the error below.
estimating size factors
estimating dispersions
Error in checkForExperimentalReplicates(object, modelMatrix) :

  The design matrix has the same number of samples and coefficients to fit,
  so estimation of dispersion is not possible. Treating samples
  as replicates was deprecated in v1.20 and no longer supported since v1.22.

Calls: DESeq ... estimateDispersions -> .local -> checkForExperimentalReplicates

This is my shared history
https://usegalaxy.eu/u/ambarishk/h/de-novo
Please the DESeq2 error on priority.

So DESeq2 first: thing is it requires replicates as you found out already. If you don't have those, you cannot use DESeq2. Probably the best you could do is calculate some general descriptive stats across samples and genes and to look for clear outliers, i.e. do some exploratory analysis in an ipython notebook.

For the strange workflow parameter error:

which browser are you doing this in (there maybe some subtle issues similar to what you are seeing with Microsoft browsers - both IE and Edge). Recommended browsers are Chrome/Chromium and Firefox. Safari and other webkit-based browsers should also work in general.
when you save a workflow with those parameters configured correctly and you leave the workflow editor and go back into it, do you see those settings preserved?

I am using Crome. I saved the workflow with both the parameters. It works now.
Thank you so much.
For DESeq2, how to do analysis in ipython notebook.


Fix MSSQL invalid data_source_name

This is a follow-up to the discussion in #798.
I think this change is more user friendly than documenting that users need to URL-encode the backslash in the username part of the data_source_name.
However, it's a hack and there might be other corner cases that we don't know about... Maybe this should be fixed in the github.com/denisenkom/go-mssqldb library instead?

Hey @mihaitodor, yeah that seems like a reasonable solution for now. Might be worth letting the upstream repo know if it's something they might be better off also handling themselves.

Yep, there's an issue about it https://github.com/denisenkom/go-mssqldb/issues/441 and I left a comment there to ask. Thanks! :)


0.10 not working

ValueError: This EventHook must be called with these keyword arguments: (email=str), but was called with: ({'email': <class 'str'>})

Update to 10.1

@Dainius14 I am getting the exact same error. could you please explain how do I check the current version of fbchat, and how to update it to 10.1?

I did it, go dl it from git as zip, un zip and copy all files in site-packege folder of lib.
Now i have problem that python 3.6.1 crash on auto replay bot - -

I've just downloaded the latest release from PyPi and there's not such thing as an EventHook there yet. Are you sure you're using the latest release from Pypi? Try deleting and redownloading. If there's still a problem try an older version https://github.com/carpedm20/fbchat/archive/b804dc3f9439c08452ff8a5a8a62f7a8f2c01eb6.zip

Actually, you should make sure you're using the 0.9 version. Try pip list, and if you can't downgrade, uninstall fbchat and reinstall it.

I discovered that the issue was in PyPI, you should be able to update to the correct version now, and if not, try reinstalling it


XmlDocument.parse accepts invalid documents in version 6

Previously the following would throw XmlParserException, however in version 6 neither do.
XmlDocument.parse('');
XmlDocument.parse('foo');

Based on the documentation I would expect these to throw exceptions as the input is not valid XML.

Thanks for reporting, yeah that behavior got lost when transitioning to the stream-based parsing. I will look at adding the missing errors back (0 or more than 1 root elements).

Wondering if the DOM parser should also check the ordering of the declaration, doctype and root element (it currently doesn't)?

Is it possible to make a release with this fix? I'd like to update dbus.dart.

+1 for making a release with this fix.

Hello, thank you for a great plugin. Any possibility to publish 6.0.2?

I published 6.1.0.


Stable version for cluster mode

I'm trying to use redis cluster client in production. What concerns me is that is v6.5.4 the current stable version? What is the recommended version to use for cluster mode, master branch, v6.5.4 or some other version?
Thanks.

There is nothing special about go-redis - use master branch but lock go-redis version with some dependency tool, e.g. https://github.com/golang/dep


Investigate what OpenFarm's open graph view is like:

From @CloCkWeRX:

One other thing you might want to look at is OpenGraph for the crop and guide pages.
Crops look like:
https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fopenfarm.cc%2Fen%2Fcrops%2Fleek
Guides look like:
https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fopenfarm.cc%2Fen%2Fguides%2Fgrowing-leek-in-trenches
Also, that tool says: https://openfarm.cc/en - 814 likes, shares and comments, indicating some kind of sharing is happening.

Like I mentioned in that thread, I don't know what those pages look like because I don't have facebook, but if someone else wants to investigate that'd be great.
So, what I imagine being involved here is

to take a screenshot of what the opengraph views of the some of our pages are like and sharing them here
Make appropriate fixes to our meta data in the relevant view so that it all comes up okay.

@CloCkWeRX I have facebook, for now here are the screen shots of the links you posted. We are unable to start working in this due to some issues with installation.

I would like to work on this issue. Can someone assign me on it?

Found the solution to this will be doing a PR soon, just battling some installation issues.
@May-8 feel free to pick any other issue :)

Hey @anyangocynthia, how's this going?

@simonv3 I thought I fixed it

@anyangocynthia :thumbsup: I can't check because I don't have facebook. If it's fixed let me know and I'll close this issue :)

@simonv3 I will recheck and get back to you

@simonv3 I have investigated again. The meta data is correct.The problem may occur with the Facebook scrapper failing to scrape correctly but otherwise this is fixed.

Thanks @anyangocynthia!


Commit More Examples

Adds examples for:

Using ingress-nginx
Using PROXYv2
Using externalTrafficPolicy "Local"

Feel free to suggest modifications.

I have some nitpicky spacing suggestions, but nothing that needs a second look.


Typing /heal ## in the chat is broken

Thanks for the heal and heal half buttons!
This is a related issue - if you type /heal 50 it should give you a box with buttons to heal or heal half, and with your module enabled, those buttons do nothing.

This is on v 0.8 of the mod.

Yes, I actually realized it when closing the other issue.
That's the next planned update for healing.


Web -  Workspace - Workspace appears and disappears on LHN of invited and removed member in offline mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: v1.3.55-7
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/115492554/15e7c809-2eb2-4842-9259-046df6e8084c
https://github.com/Expensify/App/assets/115492554/9c7697ef-314e-4d7b-ba74-d1028c6b34d7
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691743760972769
View all open jobs on GitHub

This doesn't seem like a bug to me. When account A comes back online, we are processing the commands in order so we add and then remove account B from the workspace. This seems like a logic result of that.
I'll close this out as a result, unless there's something to show that this is definitely a bug!


Add negative tests for POSITION

While reviewing https://github.com/sqlparser-rs/sqlparser-rs/pull/463 I noticed the error condition was not covered. Added test coverage here. cc @yuval-illumex

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 11 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 90.403%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
8035

Relevant Lines:
8888

💛  - Coveralls

@alamb Thanks! I wanted your feedback on your code before adding tests, so thank you for this PR :)

@alamb Thanks! I wanted your feedback on your code before adding tests, so thank you for this PR :)

No problem -- I didn't want to drag out the PR any longer as we had already had several back and forths. If you have more tests in mind, another PR would be great!


[C++] PollInfo crashes if given a nullptr FlightInfo

Describe the bug, including details regarding any error messages, version, and platform.
This should be perfectly acceptable.
Component(s)
C++

Oh, sorry.
I found this:
diff --git a/cpp/src/arrow/flight/types.cc b/cpp/src/arrow/flight/types.cc
index 9da83fa8a1..1d43c41b69 100644
--- a/cpp/src/arrow/flight/types.cc
+++ b/cpp/src/arrow/flight/types.cc
@@ -373,7 +373,12 @@ arrow::Result<std::unique_ptr<PollInfo>> PollInfo::Deserialize(

 std::string PollInfo::ToString() const {
   std::stringstream ss;
-  ss << "<PollInfo info=" << info->ToString();
+  ss << "<PollInfo info=";
+  if (info) {
+    ss << info->ToString();
+  } else {
+    ss << "null";
+  }
   ss << " descriptor=";
   if (descriptor) {
     ss << descriptor->ToString();

Do you know more missing nullptr checks?

I think the one I ran into was during serialization or deserialization.
https://github.com/apache/arrow/blob/55afcf0450aa2b611e78335bdbfd77e55ae3bc9f/cpp/src/arrow/flight/serialization_internal.cc#L334


Smail

@skumar09 This should be everything. Retains all your ideas for:

Decoupling domains and paths
Support for multiple ENVs for a given path.
Moved selectors into separate files (i.e. marquee.selectors.js)

This loses a lot of the npm env dependencies and the extra npm scripts.


Yangilanish

Please follow the Contributing Guide, so your PR can be reviewed: https://github.com/daniel-cintra/modular/blob/main/CONTRIBUTING.md
Thanks!


Fix missing screenfull check in onRemove and _createButton

I get an error on ios because screenful is not supported:
in this._screenfull.raw.fullscreenchange the raw variable is undefined and therefore the app crashes.
Fix: add undefined check before handlers: if (this._screenfull.raw)
l.238
		onRemove: function () {
			leaflet.DomEvent
				.off(this.link, 'click', leaflet.DomEvent.stopPropagation)
				.off(this.link, 'click', leaflet.DomEvent.preventDefault)
				.off(this.link, 'click', this.toggleFullScreen, this);

			if (this._screenfull.raw) {
				leaflet.DomEvent
					.off(this._container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
					.off(this._container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
					.off(this._container, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, this);

				leaflet.DomEvent
					.off(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
					.off(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
					.off(document, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, this);
			}
		},

l.256
		_createButton: function (title, className, content, container, fn, context) {
			this.link = leaflet.DomUtil.create('a', className, container);
			this.link.href = '#';
			this.link.title = title;
			this.link.innerHTML = content;

			this.link.setAttribute('role', 'button');
			this.link.setAttribute('aria-label', title);

			leaflet.DomEvent
				.on(this.link, 'click', leaflet.DomEvent.stopPropagation)
				.on(this.link, 'click', leaflet.DomEvent.preventDefault)
				.on(this.link, 'click', fn, context);

			if (this._screenfull.raw) {
				leaflet.DomEvent
					.on(container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
					.on(container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
					.on(container, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, context);

				leaflet.DomEvent
					.on(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
					.on(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
					.on(document, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, context);
			}

			return this.link;
		},

i have a commit ready but no access to repo

I get an error on ios because screenful is not supported

Are you usong iOS ?

i have a commit ready but no access to repo

you have to push a pull request

@brunob I'm getting following error when this plugin is used in typescript.
TypeError: Cannot read properties of undefined (reading 'fullscreenchange')
    at NewClass._createButton (uic-map.entry.js:512:41)
    at NewClass.onAdd

I installed the types and screenfull plugin as well.
When I tried the above @pfrumau  suggested code, by replacing it directly in the nodemodules' Control.Fullscreen.js file, the error is gone. But the fullscreen button is not appearing properly and not working when clicked.
I'm using Windows and
"leaflet.fullscreen": "^2.2.0",
<EMAIL_ADDRESS>"^1.6.1",
"screenfull": "^6.0.1"

the icon not showing has to do with the CSS not being loaded correctly. maybe you missed the fontawesome in headers / css loader?
functionality im not so sure

Thanks for the tip. I'm using this plugin in Stencil.js, which has a specific way of importing the css files. Just got to know about that. Functionality is working now, but the icon is still not appearing. Stencil has some issues showing SVGs.

Ran into the same bug on iPhone:
TypeError: undefined is not an object (evaluating 'this._screenfull.raw.fullscreenchange')

What's really strange is that the demo itself works fine on the iPhone.


Readme refers to default namespace, when content is in kube-system

Heapster is in the kube-system namespace.
The content you create in the deploy folder also references the kube-system namespace.
Updated readme to align.

LGTM, thanks for catching this!


Reveal modal not opening, throwing error in F5.0.3

After downloading F5.0.3 and setting up a reveal modal, all I'm getting is the reveal-bg loading and no modal.
Looks like another user on the forums is having the same issue: http://foundation.zurb.com/forum/posts/1826-reveal-wont-open
The error in the console:
TypeError: settings is undefined
    this.show(modal, settings.css.open);
    founda...veal.js (line 178)

My HTML:
View the code

	testing
	×

I have tried loading the foundation.min.js as well as the alternative foundation.js and foundation.reveal.js ..

This  works for me, but why this is not indicated on the documentation .. ? ( http://foundation.zurb.com/sites/docs/v/5.5.3/components/reveal.html )


How to maintain helper script documentation?

Describe the bug
Improving documentation should be easy. But changing comments in core dependencies such as patch-shebangs.sh causes mass rebuilds. That way it is not practical to maintain the manual and keep it in sync with the scripts it is documenting.
Expected behavior
Desirable properties:

script documentation visible in the manual
script documentation available in place
single source of truth

Compromises:

provide means of bidirectional navigation
#121015 already adds links to the source. How would one reference a manual section from a shell script comment? Links may break, section names may change and would have to be found manually.
maintain double book keeping
This may work for a while, but requires creation and strict observation of contributing guidelines not to lose track, and does not scale.
add mechanism to extract script documentation into the manuals
This satisfies all requirements, but adds significant complexity and yet more code to maintain.

@roberth you brought this up https://github.com/NixOS/nixpkgs/issues/129741#issuecomment-1011217958 https://github.com/NixOS/nixpkgs/pull/121015#discussion_r854986018

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2022-10-22-documentation-team-meeting-notes-12-nixcon-edition/22689/1


change the ui of cards

I want to change the ui of cards so that the cards look more attractive for the users in your website

hey i can fix this.. please assign it to me

Hey @nishant0708 it is my issue you raise your own issue

I want to change the ui of cards so that the cards look more attractive for the users in your website

@Vishnu1804K Welcome to METAVERSE!!!!!!!!!!
Please try to make raise issue with the proper Issue templates mentioned in the repo so that it will clarify all the things.

use this templates to raise your issue .
Make a proper issue with this .
Sorry to close this issue right now.
Happy coding!!!!!!!!!


Add "hidden" or html row attributes/data

Hi, thanks for this awesome lib!
I need a way to add attributes to the row because my data is provided by the backend and I need to identify changes to existent data using an identifier (ex: id, email, etc), to send an update ajax request.
At this moment I'm using a readOnly column to set the ID, but I want a more dynamic way like set a data-id attribute on the row, etc
Is there a way to make it?
Thanks!

You already have a hidden type for that purpose.

Thank you @paulhodel , the 'hidden' type works very well. I did not find it in the documentation.
Thanks!

Hi Tiago, if you have problem with the borders (when the hidden is the last one the border is not closing properly. So, I have commited a new version 1.5.1 you can get a fix on that.


Push permission

Unable to create a branch and push it, could you allow it, please?

Okay, it's easier to just fork xD


Ctrl + F2 Menu not opening anymore

Hi.
I had the OpenXR Toolkit running just fine but all of the sudden (I am not aware of changing anything) the Menu in VR is not coming up anymore when I press Ctrl + F2. I uninstalled and installed the toolkit several times but no change.
I am Running Windows 10 and use Varjo Aero.
Attached is the Log file.
XR_APILAYER_NOVENDOR_toolkit.log
Thank you for your time.

Log shows your Ctrl F2 key stroke was recognized. Maybe a rendering issue then... 2 suggestions:

update Varjo software. You are using 3.5.1 which is a bit old. I only tested 1.2.0 with Varjo 3.6 and above.

try OpenXR toolkit safe mode. If that works, maybe toggle Legacy menu in the Menu tab.

I did as you said with partial success.
-After updating the Varjo Base software I was able to see the OpenXR Menu pressing Ctrl+F2, however, only to the very left
which makes it kinda hard on the eyes to change settings (In-Headset Menu Visibility is on "Both eyes")
-Additionally, when I am NOT in Safe Mode the menu does not appear at all when pressing Ctrl+F2.
It's all really strange since I had OpenXR version 1.2.0 running before without issues.
I think the only thing that I had changed before (before updating Varjo Base) was updating MSFS 2020. But I guess that can
not be the issue?
Thank you for your help!

Oh....Log file.
XR_APILAYER_NOVENDOR_toolkit.log

No idea?

I saw you are using VB 3.7.0 which I haven't tried yet (I only ever tried 3.6.0). So so far it seems you had the issue on 3.5 and 3.7, aka both versions I never tried.
The next item is on my to make sure it's not broken specifically on that version. I just haven't had time to install it.

No issue for me with VB <IP_ADDRESS>. Tried both DX11 and DX12. I also enabled my Ultraleap since I see you're using that too.
So what's happening is specific to your setup, and there is nothing I can do without being able to reproduce the issue myself.

Any chance your issue is fixed with OpenXRToolkit 1.2.1. I haven't gotten any other report of such issue with Varjo.

No other reports, and no response. Closing.


mbedtls functions not linked correctly

Describe the bug
I'm using the ESP32 OTA example in a standalone project but it seems to crash every time duning the linking phase (it probably won't work as expected because compiling is the goal for this issue). Being more specific, the mbedtls_net_* functions seems not to be linked correctly giving undefined reference to 'mbedtls_net_*' error.
It seems to be a Cmake problem in the library or maybe even in my example.
System information

Which hardware board or part numbers? ESP32-DevkitC v4
IDE used: VSCode
Operating System: Windows
Version of FreeRTOS: 202012.00-294-ga64c8555f
Project: OTA

Expected behavior
All functions (ex. mbedtls_net_*) shoud be linked correctly.
Screenshots or console output
C:\Users\user1\workspace\AmazonFreertosOta>python ./amazon-freertos/vendors/espressif/esp-idf/tools/idf.py erase_flash flash -p COM10 -b 115200 monitor
Setting IDF_PATH environment variable: c:\users\user1\workspace\amazonfreertosota\amazon-freertos\vendors\espressif\esp-idf
Executing action: erase_flash
Running esptool.py in directory c:\users\user1\workspace\amazonfreertosota\build
Executing "C:\Users\user1\.espressif\python_env\idf4.2_py3.7_env\Scripts\python.exe c:\users\user1\workspace\amazonfreertosota\amazon-freertos\vendors\espressif\esp-idf\components/esptool_py/esptool/esptool.py -p COM10 -b 115200 --before default_reset --after hard_reset --chip esp32 erase_flash"...
esptool.py v3.0
Serial port COM10
Connecting.....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:0a:c4:e7:fc:28
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 16.4s
Hard resetting via RTS pin...
Executing action: flash
Running ninja in directory c:\users\user1\workspace\amazonfreertosota\build
Executing "ninja flash"...
[0/2] Re-checking globbed directories...
[1/7] Performing build step for 'bootloader'
ninja: no work to do.
[3/5] Linking CXX executable my_beautiful_app
FAILED: my_beautiful_app
cmd.exe /C "cd . && C:\Users\user1\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe  -mlongcalls  -Wl,--gc-sections -Wl,--cref -Wl,--Map=aws_demos.map -Wl,--undefined=uxTopUsedPriority @CMakeFiles\my_beautiful_app.rsp  -o my_beautiful_app  && cd ."
c:/users/user1/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp-tls/libesp-tls.a(esp_tls.c.obj):(.literal.esp_tls_low_level_conn+0x24): undefined reference to `mbedtls_net_init'
c:/users/user1/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp-tls/libesp-tls.a(esp_tls.c.obj): in function `esp_tls_low_level_conn':
C:\Users\user1\workspace\AmazonFreertosOta\build/../amazon-freertos/vendors/espressif/esp-idf/components/esp-tls/esp_tls.c:247: undefined reference to `mbedtls_net_init'
c:/users/user1/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp-tls/libesp-tls.a(esp_tls_mbedtls.c.obj):(.literal.esp_mbedtls_conn_delete+0x0): undefined reference to `mbedtls_net_free'
c:/users/user1/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp-tls/libesp-tls.a(esp_tls_mbedtls.c.obj):(.literal.esp_create_mbedtls_handle+0x24): undefined reference to `mbedtls_net_recv'
c:/users/user1/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp-tls/libesp-tls.a(esp_tls_mbedtls.c.obj):(.literal.esp_create_mbedtls_handle+0x28): undefined reference to `mbedtls_net_send'
c:/users/user1/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp-tls/libesp-tls.a(esp_tls_mbedtls.c.obj): in function `esp_mbedtls_conn_delete':
C:\Users\user1\workspace\AmazonFreertosOta\build/../amazon-freertos/vendors/espressif/esp-idf/components/esp-tls/esp_tls_mbedtls.c:198: undefined reference to `mbedtls_net_free'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Those functions are linked as shown:
mbedtls_net_free                                  esp-idf/esp-tls/libesp-tls.a(esp_tls_mbedtls.c.obj)
mbedtls_net_init                                   esp-idf/esp-tls/libesp-tls.a(esp_tls.c.obj)
mbedtls_net_recv                                  esp-idf/esp-tls/libesp-tls.a(esp_tls_mbedtls.c.obj)
mbedtls_net_send                                 esp-idf/esp-tls/libesp-tls.a(esp_tls_mbedtls.c.obj)

To reproduce
Steps to reproduce the behavior:

Clone the example code:

git clone https://github.com/SimionMogildea/AmazonFreertosOta.git --recurse-submodules

Configure project: cmake -S . -B build  -DBOARD=esp32_devkitc -DCMAKE_TOOLCHAIN_FILE='amazon-freertos/tools/cmake/toolchains/xtensa-esp32.cmake' -G Ninja
Build project: cmake --build build
Flash: python ./amazon-freertos/vendors/espressif/esp-idf/tools/idf.py erase_flash flash -p COMxx -b 115200 monitor

Code to reproduce the bug
I made an example project based on the amazon-freertos\vendors\espressif\esp-idf\examples\system\ota\simple_ota_example

https://github.com/SimionMogildea/AmazonFreertosOta

Additional context
Same problems occur even when I include mbedtls component directly in my app.
See example: https://gist.github.com/SimionMogildea/0a0e05f6294a4c1a1200433fd6c802e3
Thank you!

Hi @SimionMogildea
I think to compile those ESP32 libraries ( esp_http_client, esp_https_server)  requires mbedtls dependency through ESP build system which is not available through the freertos for for ESP IDF used.
Freertos repo has its own implementations for OTA (https://github.com/aws/amazon-freertos/tree/master/libraries/freertos_plus/aws/ota) and HTTP Client (https://github.com/FreeRTOS/coreHTTP) which uses 3rdparty fork of mbedtls (https://github.com/aws/amazon-freertos/tree/master/libraries/3rdparty).
Could this satisfy your use case?

Hi @ravibhagavandas,
Thank you for the quick reply!
Unfortunately the OTA implementation you mentioned, which is based on AWS Job system, doesn't suit our needs. That's why we chose to use the ESP_IDF's implementation of OTA.
For instance, we need to migrate to the lastest version of this repo due to ESP_IDF's new secure features in v4.2, but the OTA feature we require seems to be faulty and does't work anymore.
Could this be a bug in any internal CmakeLists of amazon-freertos?

Mbedtls dependency for the ESP OTA component get linked from within ESP cmake build system and not directly from amazon-freertos repository. I would suggest asking this in Espression section of the freertos forum here.

Hi @SimionMogildea,
Can you try using changes in PR https://github.com/aws/amazon-freertos/pull/3115?

Thank you @shubhamkulkarni97, your PR soved our problem!


add name to PrepTemplateAPIHandler

@charles-cowart, this change is so the SPP could add the prep name (Run ID + lane number) via this endpoint.

BTW as this was a pretty small PR and we also needed to record the job-id that was creating any given prep, I just added that functionality here.

coverage: 92.937% (+0.002%) from 92.935%
when pulling 54b69ad6c6787dca4d86d30b50b457926edf6438 on antgonza:add-name-PrepTemplateAPIHandler
into 79c4e722814585ae378cc9fb3154817213acf594 on qiita-spots:dev.

coverage: 92.937% (+0.002%) from 92.935%
when pulling 54b69ad6c6787dca4d86d30b50b457926edf6438 on antgonza:add-name-PrepTemplateAPIHandler
into 79c4e722814585ae378cc9fb3154817213acf594 on qiita-spots:dev.


Add extra batchHeaderSize for initial Batch.grow

to fix possible overlapping range between storage for key/value and
scratch buffer.

Codecov Report

Merging #6 into master will decrease coverage by 0.13%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   19.77%   19.64%   -0.14%
==========================================
  Files          72       72
  Lines        4273     4302      +29
==========================================
  Hits          845      845
- Misses       3402     3431      +29
  Partials       26       26

Impacted Files
Coverage Δ

internal/batch/batch.go
66.34% <100%> (ø)
:arrow_up:

internal/leveldb/db.go
0% <0%> (ø)
:arrow_up:

internal/leveldb/snapshot.go
0% <0%> (ø)
:arrow_up:

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 fad8df5...f63ad83. Read the comment docs.


[Blobs] Update special chars recording

Latest version of urllib3 (1.25.5) encodes ~ as %7E. Recording needs to be updated

Can one of the admins verify this patch?

/check-enforcer reset

Hey @rakshith91 can you take a look on the failures on this guy? This test has been failing the nightly build for the weekend now.

/check-enforcer evaluate

/check-enforcer reset

/azp run python -  storage- ci

/azp run python - storage - ci


Feature: instant server

This is probably a heavy feature, and somehow it introduces dependency from colinkctl, we can probably iterate to 0.2.x after having this. I would suggest to work on minor issues first before we proceed to this one.

finished in #26


BUG: still able to enter UTMs outside of BC

User testing revealed that the system will still let you place records/UTMs outside of BC.  Brennan tested this and confirmed that the system will corrects you if you get too far away from the bc border but you can definitely place points outside bc.

[ ] records/UTMs are restricted to ONLY within BC.

@micheal-w-wells is this related to the fix you did to enable haida gwaii to be included?  Please let me know how much work this is, could be post-launch if needed.

@CrystalChadburn I did that fix. Just redrew the bc geometry then, but it wasn't too precise. It is an easy fix, just have to get that BC geometry from @popkinj.


Tweaked search string based on new comic vine search behavior

The ComicVine search changes seem to have settled down.  I found that the "AND"s between search terms are no longer needed.  Also, removing "the" seems to make the seach fail sometimes too, so stopped doing that.
In addition, just a small change to keep to beautifulsoup from complaining.

Merged with #108. Closing.


[C#] Godot fails to export project including EditorPlugin

Godot version:
Godot_v3.2.2-stable_mono_win64
OS/device including version:
Windows 10
GLES3
Nvidia GTX 1050Ti
Issue description:
Godot fails to export a project when it contains a class that inherits from EditorPlugin.
Project "CSharpExportBug.sln" (Build target(s)):
	Message: Building solution configuration "ExportDebug|Any CPU".
	Project "CSharpExportBug.csproj" (default targets):
		Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
		Csc: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:GODOT_PC;GODOT_S3TC;GODOT_WINDOWS;GODOT_S3TC;GODOT_64;GODOT;DEBUG /highentropyva+ /reference:D:\Godot\CSharpExportBug\.mono\assemblies\Debug\GodotSharp.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\System.dll" /debug+ /debug:portable /optimize- /out:.mono\temp\obj\ExportDebug\CSharpExportBug.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output /langversion:7.3 Properties\AssemblyInfo.cs SomeEditorPlugin.cs ".mono\temp\obj\ExportDebug\.NETFramework,Version=v4.7.AssemblyAttributes.cs"
		Csc: Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn
		SomeEditorPlugin.cs(3,33): error CS0246: The type or namespace name 'EditorPlugin' could not be found (are you missing a using directive or an assembly reference?) [D:\Godot\CSharpExportBug\CSharpExportBug.csproj]
	Done building project "CSharpExportBug.csproj" -- FAILED.
Done building project "CSharpExportBug.sln" -- FAILED.

Steps to reproduce:

Create a new project
Add a new class that inherits from EditorPlugin to solution
Try to export the project

Minimal reproduction project:
CSharpExportBug.zip

I expect it to be not a bug.
It can be fixed by adding condition to corresponding Compile Include, like in this example:
https://github.com/van800/GodotSample2/commit/5180014eb7e17f035dd6da337cf6bed119b18d51#diff-58b3e37226e0d4200e1fdf4ddf52abd6R63-R64

You have to use the define constant TOOLS like so:
#if TOOLS
using Godot;

public class SomeEditorPlugin : EditorPlugin
{
	// Code here...
}
#endif

The code inside the if won't be compiled when exporting, which makes sense in this case since EditorPlugin is not available when the game is exported. It's like UNITY_EDITOR in Unity.
The use of the define constant TOOLS can be seen in the documentation for making plugins (in the C# code example) although it's never actually explained.
So I don't think this is a bug but maybe an issue with lack of documentation about this.

Of course, @van800 solution works too, but I prefer not to edit the .csproj manually.

Yup, access to the editor API (from the GodotSharpEditor assembly) must be surrounded with #if TOOLS or else it will result in build issues when exporting the game.
This is likely to change in the future. Most likely there will be a separate C# project for working with the editor API.


Create a page in the app with a qr code to sponsor the leaderboard for the month

This will allow a user to sponsor the leaderboard in the app and make an in app payment that will then be distributed to the first place winner of the month.

Is this issue related to payments on blockchain? cause we could face a similar issue like in the donation page.


Update sbt-mdoc to 2.2.19

Updates org.scalameta:sbt-mdoc from 2.2.18 to 2.2.19.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-mdoc" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #112 (dc13a80) into master (9ee3a71) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #112   +/-   ##
=======================================
  Coverage   87.13%   87.13%
=======================================
  Files          28       28
  Lines         832      832
  Branches       31       31
=======================================
  Hits          725      725
  Misses        107      107

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 9ee3a71...dc13a80. Read the comment docs.


Dark mode rewrite

I noticed that the dark theme was styled very differently to the light theme so I rewrote styles.dark.css to both fit overtop of the existing styles.css as well as replace the jquery dark theme that was causing the ugly buttons on the player page. I've attached screenshots of the new and old styling for reference. I also added a hover effect to the toggle-theme button.
Old:

New:

Oh! I also converted styles.css to spaces to match everything else in the repo, it was (as far as I could tell) the only file using tabs for some reason.


Fix hardcoded .breeze-block-hero-title icon dimensions

Using an icon with dimensions different from 48x9px results in an unexpected visualization.

Thanks!


client: multiple minor UI-changes +  workflow/usability-issues

Moved to https://github.com/leibniz-psychology/bawwab-client/pull/1


refactor: update SideNav state management

Related to #2207
This purpose of this refactor is to

Allow for a controlled mode by using the expanded prop
Allow for a defaultExpanded state to be used without impacting future renders

Changelog
New

controlled: this ref is set on the first render and does not change on subsequent renders (even as props change). It is enabled by setting the expanded prop.
forwardRef: this allows the user to handle their own focus events should they activate the controlled mode
defaultExpanded: This prop is now used to handle the initial render and only the initial render.

Changed

isExpanded → expanded: I like expanded better but we should probably align on this.

Removed

getDerivedStateFromProps
setState from props

The tests I removed are good examples of testing implementation rather than behavior.
The behavior of this component is to change it's appearance based on props.
Our implementation was to set the props to state then use the state to apply classNames which, in turn, get applied to the component and impact it's appearance.
Rather than testing that the state was set (implementation), a better test might check if the classNames were applied. An even BETTER test might ensure that those classNames changed the appearance of our component in the way we expect.

Looking at this quickly, any reason for going from isExpanded -> expanded as the prop name?

@joshblack I did that for parity with the defaultExpanded prop. To keep things aligned, the props would have been isExpanded and defaultIsExpanded. I could be crazy but defaultIsExpanded reads like a statement rather than a boolean to me and feels clunkier. We could leave Is out of the default prop(isExpanded and defaultExpanded) but I think that we should try and keep the prop names as intuitive as possible.
I think the most important think is that we align on a naming convention. If the is prefix is the chosen solution I can definitely swap it up.

@joshblack @emyarod
I discussed this morning in person with @asudoh the possibility of just exposing a single onChange prop for these components. In that way, we could expose future state changes without increasing the number of props.
  // This could become reducer if more state changes were added
  const onChange = ([event, value]) => {
    if (!controlled) {
      setExpandedState(value);
    }
    if (onToggle) {
      onToggle(event, {expanded: value});
    }
  };

The exposed API would still just be onChange, however they could be supplied with new events describing the new state.

LGTM 👍 - Let me see how @emyarod responds and will sign-off once it happens - Thanks a lot @vpicone for gathering ideas here and making the updates!


add entt

The upstream version and compatiblity number wasn't updated on release so it had to be patched in. This will be fixed eventually https://github.com/skypjack/entt/issues/1141

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (entt) have been updated in this PR. Please review the changes.


Filtering references that aren't inbound to the node in question

Fixes https://jira.duraspace.org/browse/FCREPO-1701

Resolved with: https://github.com/fcrepo4/fcrepo4/commit/731e92ca5ad30e83edae4ef6db972d9e8a1e72fd


OPT Can Generate Human-level Text With Contrastive Search

Hi @suchenzang and @stephenroller,
Thanks for your effort on this incredible project!
1. Motivation:
Just would like to share that, for open-ended text generation, OPT models can produce very high-quality text with contrastive search [1].
2. Example from the original paper:
Take the conversation generation task from your paper (Figure 9 at the Appendix E) as an example.  Given the prefix text,
A chat between a curious human and the Statue of Liberty.

Human: What is your name?
Statue: I am the Statue of Liberty.
Human: Where do you live?
Statue: New York City.
Human: How long have you lived there?

the generated text with OPT-175B shown in Figure 9 at the Appendix E is as following:
A chat between a curious human and the Statue of Liberty.

Human: What is your name?
Statue: I am the Statue of Liberty.
Human: Where do you live?
Statue: New York City.
Human: How long have you lived there?
Statue: I have been there since 1886.
Human: What is your job?
Statue: I was built to welcome immigrants to the United States.
Human: What is your favorite food?
Statue: I like ice cream and apples.
Human: What is your favorite color?
Statue: I like red, white, and blue.
Human: What is your favorite animal?
Statue: I like dogs.
Human: What is your favorite song?

The model gets stuck in some simple and linguistically repetitive generations.
3. Generation with contrastive search:
Below, we show the result generated by OPT-6.7B (a much smaller model compared with OPT-175B) with contrastive search.
A chat between a curious human and the Statue of Liberty.

Human: What is your name?
Statue: I am the Statue of Liberty.
Human: Where do you live?
Statue: New York City.
Human: How long have you lived there?
Statue: Since 1884.
Human: Why did you come to America?
Statue: I was given to the United States by France as a gift for helping the French during the Franco-Prussian War.
Human: What do you think of America?
Statue: I love it. It is the greatest country in the world.
Human: What’s the weather like in New York?
Statue: It is cold.
Human: Is it safe to walk around at night?
Statue: Yes. There are policemen everywhere.
Human: Do you have any children?
Statue: Not yet. My pedestal is empty.
Human: What would you like to say to people who want to immigrate to America?
Statue: Come on over. You will be happy here. We have everything you need.

We see that the generated text with contrastive search is much more diverse and interesting.
[Comparison] For a more direct comparison, the generated results with the same OPT-6.7B using greedy search and nucleus sampling (p=0.95) are:

(1) Text generated by greedy search:
----------------------------------------------------------------------------------------------------
A chat between a curious human and the Statue of Liberty.

Human: What is your name?
Statue: I am the Statue of Liberty.
Human: Where do you live?
Statue: New York City.
Human: How long have you lived there?
Statue: I have lived here for over 100 years.
Human: What do you do?
Statue: I welcome people from all over the world to come to America.
Human: What do you think of America?
Statue: I love America.
Human: What do you think of immigrants?
Statue: I love immigrants.
Human: What do you think of America?
Statue: I love America.
Human: What do you think of immigrants?
Statue: I love immigrants.
Human: What do you think of America?
Statue: I love America.
Human: What do you think of immigrants?
Statue: I love immigrants.
Human: What do you think of America?
Statue: I love America.
Human: What do you think of immigrants?
Statue: I love immigrants.
Human: What do you think of America?
Statue: I love America.
Human: What do you think of immigrants?
Statue: I love immigrants.
Human: What do you think of America?
Statue: I love America.
Human: What do you think of immigrants?
Statue: I love immigrants.
Human...
----------------------------------------------------------------------------------------------------

(2) Text generated by nucleus sampling (p=0.95)
----------------------------------------------------------------------------------------------------
A chat between a curious human and the Statue of Liberty.

Human: What is your name?
Statue: I am the Statue of Liberty.
Human: Where do you live?
Statue: New York City.
Human: How long have you lived there?
Statue: Since 1876.
Human: Why is the Statue of Liberty guarded?
Statue: Because there are many people trying to steal her.

a comparison about an unexpressed thought

I would also share the story of “A Humble Fear.” At a conference in New York the Dalai Lama gave a
speech to the International Thinkers Congress in New York. The whole thing was recorded, and the
video is quite interesting. (on a side note, I love the fact that there were some people who laughed
when he described himself as a humble being… I think the video is hilarious, there is a reason why
I put up the video. Because if you cannot find the humor in this you’re sadly lacking…)

In the speech, the Dalai Lama compares the search for truth to searching for treasure. He says:
“However there is a huge difference between being a thief and a collector. A thief simply takes things,
whereas a collector looks for the beauty, even if it is just a single object.”

The above quote is perhaps the most cliched Buddhist philosophy of our times. However the comparison
between a collector and a thief is quite interesting. I like to think that the Buddha...
----------------------------------------------------------------------------------------------------

4. Resources for replication:
For easy replication, we have open-sourced all the related codes and made them super easy-to-use. If you are interested, please find more details in our [repo] and [tutorial].
Acknowledgements:
Thank you again for making OPT accessible to the public!
Reference:

[1] Su et al., 2022 "A Contrastive Framework for Neural Text Generation" [paper link]

Super cool!

Did you have to do any contrastive training for it to work? Or only the contrastive search?

Did you have to do any contrastive training for it to work? Or only the contrastive search?

Hi @stephenroller,
No contrastive training is required, and the contrastive search can be directly applied to off-the-shelf OPT with all different sizes!

@yxuansu to action on this issue from our end - would you be willing to add some documentation for how to get started with this within metaseq? Ideally we would include a script here that imports simctg to run through the above as an easy-to-get-started example.

Hi @suchenzang,
Sure! I will look into how to adapt contrastive search with the codebase of metaseq and get back to you ASAP.


Persistent values after reboot for sensor_total_energy and sensor_total_daily_energy

Changes to pulse_meter, sensor_total_energy, and sensor_total_daily_energy to restore their previous values after a reboot
Also adds on_boot flag to esphome which calls pulse_meter.set_total_pulses to manually restore the value as pulse_meter total doesn't have a restore flag.
Finally, added preferences to restrict flash writes to once every 5 minutes, to reduce wear on flash memory.
Tested on ESP32 nodemcu-32s only.

PS: apologies for the excessive number of commits, I haven't done this before.

I don't have any ESP8266 devices available for testing - are you able to make the necessary adjustments?


You forget to import argparse in generate_train_data.py

Thanks for your feedback, I have fixed it.


[Bug] Datepicker - Date does not get populated after an error in the default date and clearing the error

Description
Release Frozen -It is observed that the date does not get populated on selecting appropriate date and even on converting to normal field the data does not get populated
Expectation:
Error must removed and data must get populated
Steps to Reproduce:
1.Launch Appsmith app in the Release frozen Environment
2.Add a date widget
3.Navigate to Property Pane --> Default Date
4.Convert to JS
5.Add inappropriate date an error is displayed
6.Leave the field empty
7.Now navigate to Date picker
8.Click on the date picker select the date
and observe
VideoLink:

Important Details

Version: [14.1 (166<IP_ADDRESS>.3)]
OS: [MacOS]
Browser [chrome, safari]
Environment [Release Frozen]

We need to remove the flag in the defaultDate validations which makes this field required. Following this change, we need to verify if the widget functions correctly with undefined or empty values for this property.

could i work on this issue?

Greetings @askalik, thanks for showing interest 🎉 , This is all your. Assigning this to you now.
Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days.
Also, please don't forget to register with Appsmith's Hacktoberfest Community in order to be eligible for Appsmith swag.

@YogeshJayaseelan I wasn't able to reproduce this. Can you check once? If it's not happening please close it.

@dilippitchika now this is working fine


Make window resizable by default

I prefer flexible windows during development, and the conf can still set it to false on rare occasions it's needed. To me resizable by default makes most sense.
But when we change the default value we kind of break the API, which is not nice.

One minor reason to keep it false: on tiling window managers on Linux (i3, sway, etc.), non-resizable windows will spawn as "floating" windows with their true dimensions, whereas resizable windows will open as another tile with an arbitrary size.  It's possible to configure certain windows to always be floating by matching the window class, however LÖVR currently isn't setting an X11 window class (it could, and probably should).  Still, it would be nice if tiling windows kept the LÖVR window as floating by default without people having to add an override in their window manager or conf.lua.


Unresolved directive in  on Spring Docs

Hello!
I was reading the guides on spring.io and I notice that the files included in ASCII Doctors are throwing an error and I can't see the code snippet unless I access the file directly here in the repo.
Follow the evidence below:

Fixed by a more recent PR. Thanks for letting us know, though.


customize ICS20 assets symbol

Discussion regarding this PR: https://discord.com/channels/824484045370818580/1044457038886998137/1245709532701917336

@grod220
We have two types of unknown assets

those for which we do not have metadata. We display them like this:

those for which we have a metadata, but in which the symbol value is not defined. These are, for example, ibc assets whose metadata is generated on the node, LPNFTs. We want to display them like this:

If we do not store ibc metadata that are not in the registry at the block processor layer as you suggest, then we will display them as the first type of unknown assets
If we want to display them as the second type of assets, we can either do it in components as before:

{metadata.symbol || 'Unknown asset'}

Or do metadata customization, but instead of Unknown IBC asset (channel-2) just Unknown asset
But it is also worth considering whether we need different types of unknown assets

those for which we do not have metadata. We display them like this

Ah, thanks for finding this. It feels like a miss that we handle these two cases differently. They both mean the same thing, "we don't know what this is". Also, I find the passet display denom confusing. Think we should harmonize both of these and just display "Unknown Asset" in both cases.

Ready to review, but will hold off until RPC is available


It is possible to make the view jump by reclicking on "Scan" in the bottom bar

It is possible to make the view jump by reclicking on "Scan" in the bottom bar.
It should stay stable, and not reopen (or seem to reopen) 20 views.

The scan was reopened in order to "clean" the scan ( usefull in debug mode).
I add a check to avoid it.


Dumping objects outputs [object Object]

If you pass an object instead of a string, what gets dumped is [object Object] instead of the actual dump of that object. One solution could be to possibly check if it's of type 'object' and if so, either just return the object unstyled, or JSON.stringify() it, but I'm not sure that's ideal.

Not interested in changing that behavior. It's been like that for years and you're the first to complain. If I had done it again I would have typechecked the input and thrown a TypeError, but that's not worth doing a breaking change over.

@HillTravis for the record, you could always do
console.log(require('util').inspect(obj, {colors:true, depth:null}));

@Qix- thanks, I didn't know about that!

@Qix- , thanks for the polite reply! :)
Yes, I'm lazy. That's why I'm searching for a library, not using '\x1b[36m%s\x1b[0m'-like prefixes for outputting messages.
My use-case is that I do not want any fancy colouring options, like boldness, different colours of the same message and the like – which Chalk offers.
I just want the console.log output to be coloured depending on the log level (debug, info, warn, error), that's it.
For me, it seems simple enough for me to hope for an existing Node module that does this. Apparently, I just came across this library that turned out to be meant for something else.

@JanisE write a helper script:
// log.js
const chalk = require('chalk');

module.exports = {
    info: (...args) => console.log(chalk.cyan(...args)),
    warning: (...args) => console.log(chalk.yellow(...args)),
    error: (...args) => console.log(chalk.red(...args))
};

const log = require('./log');

log.info('This is an info in Cyan');
log.warning('This is a warning in Yellow');
log.error('This is an error in Red');

Then you can customize the output format how you like in the log.js file.

Thank you! :)

@HillTravis for the record, you could always do
console.log(require('util').inspect(obj, {colors:true, depth:null}));

This saved me, thank you!

console.log(chalk.blue(require('util').inspect(obj, {colors:true, depth:null})));

Most other libraries use util.inspect or JSON.stringify. This is explicitly a non-goal of Chalk.
Locking as there's nothing left to do here. Thank you everyone for your input.


Print finish message after compile/bundle

After purs-nix compile or purs-nix bundle, print something like ✨ done ✨
Useful for e.g. running purs-nix bundle on file change: without a done message, when the console stops outputting messages, I don't know if it's completed compilation or if I just need to wait a moment longer before seeing my compiler warnings
Currently I just add this message myself, but I figure it could be nice to have in purs-nix
Happy to implement if you're on board

I agree d32eb4e55a17765625115de334a8a9bbed4ca19e

Nice! :tada:


add missing icons, add @username to :usage

add the @username playerfinder to :usage
Add the notification icons to :headadmin, :admin, :tempheadadmin and :tempadmin as #505 did not add the icon to these

pr stats check is not working

Oh noe


Update getting started call to action

I updated the getting started action to be more direct, appear first and used a different style.
/cc @tdykstra

LGTM


Add Shared Library for make

I add a make method for libhttp_parser.so for Linux ( or Others ), because static library is a bit too old.

LGTM. Can you sign the CLA?

CLA signed.


Missing docs for referring to types without importing

I came across this: https://groups.google.com/d/msg/closure-compiler-discuss/nW5nbGcerJw/qzkMFrU2AgAJ
It suggested you could do this without importing / requiring the module:
@type {moduleId.TypeName}

(not sure this is the right syntax, "." would potentially be ambiguous with goog.provide namespaces - see a different syntax here: https://github.com/google/closure-compiler/issues/1426)
This could do with some docs in https://developers.google.com/closure/compiler/docs/js-for-compiler and probably a few small additions sprinkled through the wiki e.g.
https://github.com/google/closure-compiler/wiki/Working-With-Multiple-Module-Systems
https://github.com/google/closure-compiler/wiki/Annotating-Types
For example I would need to experiment to figure out what format this takes, e.g. what is the non-imported equivalents of:
goog.module("A");

const X = goog.require("x.X");
/** @type {X} */
var x;

import Y from "y/Y";
/** @type {Y} */
var y;

const Z = require("z/Z");
/** @type {Z} */
var z;

And what prerequisites are there regarding the compiler's awareness of that non-imported module? Clearly it must be in the source files supplied to the compiler, but must it have been included in any of the post-rewriting goog.require/provide regex matches?

This really isn't a bug, so I'm closing this. Better topic for the discussion group or stack overflow.


callAsFunction build error undefined symbol

I'm using factory in a library inside a swift package. It works well. Only problem is on when using it inside a framework it cannot find the symbol call as function.
I get this error
Undefined symbols for architecture x86_64:
  "_$s7FactoryAAV14callAsFunctionxyF", referenced from:
      _$s11ChameleonUI12ThemeManagerC17pageControlConfigAC04PagefG0VvgAFyXEfU_ in ThemeManager.o
  "_$s7FactoryAAVMn", referenced from:
      _symbolic _____y_____G 7FactoryAAV 9Chameleon5ColorV in ThemeManager.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have no clue why this happens. Do you?

Haven't seen it. Might check this...
https://stackoverflow.com/questions/18408531/xcode-build-failure-undefined-symbols-for-architecture-x86-64

We have indeed many problems with this related to x86 architecture and pods. Probably not related to factory so I will close this issue. Thanks for the response and awsome open source project!
We will be using it at Mediahuis to inject brand specific stuff in all our brands! Thanks for that!


Fix nested list markdown

Previously, the a) and b) headers were just interpreted as part of the paragraphs, and wouldn't be indented correctly. This PR fixes it to use proper Markdown nested lists.

Thanks for the patch!


qtpass: 1.0.6 -> 1.1.0

it compiles and runs on NixOS :+1:
i was not using it so i can't tell if it works as expected.
but i gt this message at first start:
NOTE: THIS IS A DEVELOPMENT VERSION!
It is only intended for test purposes and should NOT be
used in a production environment or with production keys!

also later: gpg: Sorry, we are in batchmode - can't get input

@davidak  I can't confirm these problems. Have you setup gpg-agent correctly? Which gpg version are using?

This is probably caused by having a non-graphical pin-entry set for GPG.
QtPass doesn't wrap the pinentry (for obvious security reasons).
You can set a proper graphical pinentry in ~/.gnupg/gpg-agent.conf as noted in: https://github.com/IJHack/qtpass/blob/master/FAQ.md#i-dont-get-a-passphrase--pin-dialog
Related: https://github.com/IJHack/qtpass/issues/151

it was my fault. sorry, my comment was not very helpful.

@davidak so can we assume it's correct now?
Although I am missing the graphics in your screenshot.
Might need a qt5svg package or something that might be missing.

The icon files won't be installed that's why they are missing. I haven't yet noticed that there are any. make install won't copy them. We could still copy them manually—where does qtpass expect the icons to be?

Compiled into the executable.
It's tiny svg's.
Might change in the future but for now the qrc is compiled in.

I have compiled qtpass with qtsvg locally but I still can't see the icons. Is there any build/config switch to force the use of qtsvg?
Your last update won't build because qtsvg is missing from the derivation's build inputs (and as said before just adding it doesn't seem to be enough).

Here is the build log http://pastebin.com/2EUknaZJ

You need to add qtsvg to buildInputs, yes, but you also need to wrap the executable with wrapQtProgram in the postInstall phase. This will ensure that all the required runtime dependencies are present.

@ttuegel thanks—that did it.
@annejan do you wan't to add this change yourself or should I open another PR?

Since I'm on mobile, it's probably safer when you do the honours.

@annjan I have cherry picked your changes to preserve ownership.
The new PR is over here https://github.com/NixOS/nixpkgs/pull/12733


Incorrect word 'wyślik' in file locale_pl-PL.ini

Last char in polish word 'wyślik' (send) is incorrect. Correct word is 'wyślij'.
https://translate.google.pl/?hl=pl&tab=wT#view=home&op=translate&sl=pl&tl=en&text=wyślij plik
https://github.com/go-gitea/gitea/blob/7350e439bfa580d6693eac9848353e83e51a3525/options/locale/locale_pl-PL.ini#L581

Would you be able to suggest a fix on our Crowdin project?


feat(@chromatika/tailwind-plugin): init tailwind plugin

Add Tailwind Plugin

adds @chromatika/tailwind-plugin
adds a separate (but ignored) tailwind-plugin-playground that may want to move towards a docs package in the future? left it as this for the time being though.

not sure what you wanna do versioning wise, leaving that up to you. also not sure if it's even possible to support opacity modifiers (i.e. bg-blue-250/50) with the way this is implemented, but that seems to be the only missing behavior (noted in the readme).

A couple of quick hitters before I leave comments in the code:

Would you mind running pnpm lint and pnpm format (the format command will need .vue added to the extensions prettier looks at) in the root to get things in line with the code style? Don't want to leave comments on things that will move around after running those two commands.
Also, adding - "!packages/tailwind-plugin-playground" to the pnpm-workspace.yaml file makes pnpm skip installing the dependencies. We can include it in the workspace, and release with lerna version --no-private to ignore the playground project.
In the playground, src/types/tailwind-shim.d.ts, src/types/color-palette.ts, and src/util/plugin-factory.ts are the only kebab case file names. Any reason for this? If not, can we do camelCase like the rest of the files please


Create ML_8_11_ResNet_(A).md

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes #7473

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[x] Machine Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@abhisheks008 kindly check my PR

@abhisheks008  acknowledged will make the changes by today

@abhisheks008  kindly check again


Weapon Attachment Grades Missing

Silencer, Truesight Sight, Sniper's Scope and similar attachments only include the base version (commercial), and not the higher tier grades.

This is actually intentional, upgrades act like runes and we need a better way of handling them.

@TikaelSol I know you might have some insider knowledge, if so ignore this, but the current playtest document doesn't indicate that's the case and that hasn't been my experience playtesting it either. The Install Upgrade activity is a carbon copy of the existing rules for installing talismans or "attached" weapons (minus the craft check), with many of them being situational and valuable to swap in and out on the fly to suit your upcoming encounters.
Unless there's major changes coming to them, from what I've seen in playtests with my group, an easy way to have them as items and attach/detach them on the go -similar to the current system for attached weapons- seems much more valuable than the rune system where you apply static affects that don't often change.

I'm not talking about in game rules terms. I mean in Foundry. We just don't have a good way to handle attachments in Foundry right now.


Mod Checks if presented on Server showing Uncompatibility on Multiplayer screen

So this is minor issue as connection is still possible but its annoyance showing "Server mod list is not compatible" until mod is presented on server.
Forge: forge-1.16.3-34.1.24
Mod version: light-overlay-5.5.3
[22Oct2020 19:25:38.966] [Netty Client IO #0/DEBUG] [net.minecraftforge.fml.client.ClientHooks/CLIENTHOOKS]: Received FML ping data from server at <IP_ADDRESS>: FMLNETVER=2, mod list is compatible : false, channel list is compatible: true, extra server mods: {} [22Oct2020 19:25:38.966] [Netty Client IO #0/INFO] [net.minecraftforge.fml.client.ClientHooks/CLIENTHOOKS]: Client has mods that are missing on server: [lightoverlay-forge]
Old issue that brought me here searching for mod causing it:

But apart from that these mods should be aware of the fact that they're supposed to be client side only. However they're naughty and do not override the DISPLAYTEST extensionpoint, where they would have the option of not interfering with the client compatibility checking. So if you want this fixed and the mods can't simply be put onto the server, go yell at their authors.

https://github.com/MinecraftForge/MinecraftForge/issues/6329#issuecomment-558387949

Fixed in 5.5.4, thanks for reporting!


Autoprompt pixel

Reviewer: @shakyShane
Asana: https://app.asana.com/0/0/1202674424656875/f
Description
Pass an isAutoprompt property when opening the tooltip. Mobile devices will then have to implement the logic to fire a pixel if the autoprompt is dismissed. DO NOT MERGE: it requires native updates.
Steps to test

@shakyShane FYI, I've pushed a minor change to remove form.requestSubmit. I had added it for future-proofing once Safari adopted it, but when testing on Facebook on Android (which supports it) the form submission broke pretty badly (it basically display an API response instead of the UI). I deemed it safer to just remove the thing and rely on the submit buttons to try and submit the form. It's not a critical part of the feature, anyway, just a handy helper.


Adding Benchmarks for a M1 MAX with 64GB of RAM

Adding the benchmarks from my M1 MAX, 64GB system!

It was using mlx==0.2.0


Fix issue #34 and issue #35 - Fix fontBold with Times-Roman and font per band column

Nice.  Thanks for the fixes.   I'll try and get these merged in once I complete the tests.

Great, will be happy to stay on the official version! I really like your reporting framework, will gladly contribute if I come across something else...


Make Winget error handling more robust

Improve error handling and logging when Winget App's can't be found.

#48


Issue with deployment

Describe the bug
There was an issue with a connection between my site I built and EmailJS. When the builder fixes it and tries to deploy the fix, it gives me the message of "An error occured while streaming this message." as it tries to complete the step to "build application"
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-vkgzgj
Steps to reproduce
In the chatbox ask if the connection between my site and EmailJS has been fixed
When it goes to deploy the change, the "build application" step fails
Expected behavior
I would expect that it could resolve the bug and deploy to production.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 126
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 163192736,
  "usedJSHeapSize": 144884876,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = eliastein
Chat ID = 3db3c7ef3d71

Additional context
Error:
An error occured while streaming this message.

Update: it now looks like the whole site has come down and all my chats with the bolt ai chat box give me the same error message

Have you by any chance run out of tokens?

Where would I find that out? I just subscribed to the pro plan yesterday On Oct 23, 2024, at 4:08 PM, jim80 @.***> wrote:
Have you by any chance run out of tokens?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Same issue, subscribed today and it's having giving this issue on deployment

in bolt.new go to settings and then tokens (via the little button on bottom left corner)
But if it's working otherwise and only fails on deployment it may well be another issue.

This is what I see:

on the per month it looks like you've got about 25 million left to me. However, 0 purchased tokens remaining looks a bit suspect ?
Honestly, I don't know I'm afraid, sorry about that! I've not paid for any tokens as yet, I'm waiting to see how it all develops first...

@EliaStein this is a known issue with deployments affecting some users. We are tracking and investigating in #1022


Can't find d3d8.dll on Steam Play (Linux)

Playing on Linux
Before I describe the bug, I want to start by saying that I'm playing SADX on Linux using Steam Proton. (Steam's Specialized version of Wine, optimized for gaming + DirectX translation layer)
To that end, I understand that this might not be fixable considering how many layers of Windows Steam would have to go through, but I would still like your input if possible
Encountered behavior
There are sort of two bugs... kind of:
First Issue)
When trying to run SADX from steam, before it starts I get the error message

SADX Lantern Engine will not function without d3d8to9 saved to your Sonic Adventure DX folder.
Download d3d8.dll from from https://github.com/crosire/d3d8to9
Lantern Engine Error: Missing d3d8.dll

And when I went to github to find the file and add it to the folder, I noticed that I had a d3d8.dll
I decided to replace it, yet I still get the same error
Second issue)
For the most part, after that error message, the game runs fine, seeming like it's not using the engine.
HOWEVER, if this and the Dreamcast Conversion Mod are enabled, upon entering Casino Night (update: and pre Egg Viper cutscene), the game crashes.
The level works fine with only one or the other (keeping in mind that the lighting mod isn't even working for me right now)
Expected behavior
To... uh, see the d3d8.dll that's right there
Also to not crash Casino Night
Installed mods

Steps to reproduce:

Get a Debian Installation of Steam (It was a pain in the ass when I did it, and I don't remember how I got it to work in the end)
Get SADX on Linux Steam
Run PkR's Mod installer in offline mode (wine didn't seem to want to work with the internet I guess)
Set directory as "{HOME}/.steam/debian-installation/steamapps/common/Sonic Adventure DX"
("Z:{HOME}.steam\debian-installation\steamapps\common\Sonic Adventure DX" on the wine gui)
Apply Lantern Engine Mod
Start the game via Steam
(optionally go to Casino Night with DC Conversion Mod)

Linux... Stuff
I took some liberty to do (admittedly mild) poking around for information that you might find useful
First, using this as the launch options:
echo "%command%" > ~/sadx_exec.txt
I was able to figure out that this was the command used to start SADX from Steam
'/home/alexoxorn/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/alexoxorn/.steam/debian-installation/steamapps/common/Proton 6.3'/proton waitforexitandrun  '/home/alexoxorn/.steam/debian-installation/steamapps/common/Sonic Adventure DX/AppLauncher.exe' -bootgame

In addition, some of the folders thing are found in aren't consistent.
For example, the Game Files are located at:
{HOME}/.steam/debian-installation/steamapps/common/Sonic Adventure DX

While the Steam Save data is saved in:
{HOME}/.steam/debian-installation/steamapps/compatdata/71250/pfx/drive_c/users/steamuser/My Documents/SEGA/Sonic Adventure DX

If you are able to help, or otherwise have questions for me, or want me to try something, let me know.
Thank you for your time.

The error message is a little misleading. The code that detects d3d8to9 works by detecting that d3d9.dll has been loaded, as seen here: https://github.com/michael-fadely/sadx-dc-lighting/blob/master/sadx-dc-lighting/mod.cpp#L482-L492 - there's no actual filesystem detection going on.
This works on native Windows because:

d3d8to9 will load d3d9.dll implicitly;
d3d9.dll not being loaded implies that d3d8to9's d3d8.dll also failed to load;
99% of the time, d3d8to9's d3d8.dll is missing in this scenario.

In the case of Proton, I could imagine d3d8to9's d3d8.dll actually might not be getting loaded at all, and if it is, there could be some dxvk trickery going on. This is ultimately what I would need to know in order to resolve the issue.

HOWEVER, if this and the Dreamcast Conversion Mod are enabled, upon entering Casino Night (update: and pre Egg Viper cutscene), the game crashes.

This is likely because Dreamcast Conversion is attempting to use Lantern Engine APIs. Lantern Engine doesn't have a way to communicate to other mods that initialization failed. The only thing other mods can do is check that Lantern Engine is loaded (which it still is in this scenario).

That's really interesting thank you.

In the case of Proton, I could imagine d3d8to9's d3d8.dll actually might not be getting loaded at all, and if it is, there could be some dxvk trickery going on. This is ultimately what I would need to know in order to resolve the issue.

Is there anything I can do to help with this?
I want to help make things as Linux Compatible as Possible

Since Proton is Wine derived, I would imagine it shares the ability to prefer native DLLs over built-in DLLs. I haven't used Wine in a long time though, and I haven't really poked around with Proton, so I'm not sure this is the case. But maybe you can get it working with d3d8to9's d3d8.dll.

I looked into that and found the environment variable WINEDLLOVERRIDES
So i set the launch command to WINEDLLOVERRIDES="d3d8.dll=n,b" %command% which tells wine to prefer the native d3d8.dll over a builtin.
This does cause the game to launch without the "can't find d3d8.dll" message, so that's good.
However, upon launching, the screen just displays a white background and freezes.
:")

i set the launch command to WINEDLLOVERRIDES="d3d8.dll=n,b" %command% which tells wine to prefer the native d3d8.dll over a builtin.
This does cause the game to launch without the "can't find d3d8.dll" message, so that's good.
However, upon launching, the screen just displays a white background and freezes.

you need to change the Proton version, i tried with Proton-6.9-GE-1 and its working, maybe it works with the latest version of Proton GE too

you need to change the Proton version, i tried with Proton-6.9-GE-1 and its working, maybe it works with the latest version of Proton GE too

Combining the new version of Proton and my launch command thing works. Plus the CGI cutscenes play again :)
Thank you.

Glad it all worked out. Thanks you two!


new blog post on traffic permissions

Creating a new blog post outlining traffic permissions in Kubernetes when using Kuma service mesh. Covers overall installation process for Kuma as well as configuration of the first policies.

I agree with @sftim 's comment, closing this PR
/close


rpc_allow instead of rpc_allow_remote

Currently, it is only possible to enable/disable RPC access for <IP_ADDRESS> rather than being able to specify exactly which address or addresses have access - while for admin-specific commands this is already possible. I would like to propose instead having rpc_allow with a similar syntax as rpc_admin_allow.
This is related to #170 and #174 but is more of a suggested improvement rather than a bugfix; in a lot of cases we want to open up the RPC interface just to a particular network (ie. DMZ, VPN) for just a particular address or a particular group of addresses. Moreover, this would allow for the OS to handle whether or not a socket can be established (rather than rippled itself as with rpc_allow_remote), potentially increasing security.

Obsolete


Fix issue where numbering does not show up for ordered lists on Pages

Codecov Report

Merging #280 (55a229d) into master (efb1213) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #280   +/-   ##
=========================================
  Coverage     58.02%   58.02%
  Complexity      679      679
=========================================
  Files           131      131
  Lines          2585     2585
  Branches        273      273
=========================================
  Hits           1500     1500
  Misses          986      986
  Partials         99       99

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 efb1213...55a229d. Read the comment docs.


[Bug Report] Busybox network command causes errors

I have tried several command for network on rCore, this is the result:

Networking is currently unavailable in current master.


Added Sign in button on top right of landing page that links to sign in page for supabase

Vercel does not allow me to Deploy for some reason and i approved


CSI u mode confuses neovim

Contour Terminal version
0.4.0
Installer source
Github: source code cloned (Void package, technically)
Operating System
Void Linux
Architecture
x86-64
Other Software
neovim 0.9.4
vim-surround at this commit, I think: https://github.com/tpope/vim-surround/tree/baf89ad26488f6a7665d51b986f5c7ad2d22b30b
Steps to reproduce

set keyboard layout to non-ANSI QWERTY (I'm using Canadian French, e.g. setxkbmap -layout ca)
enter neovim
enter insert mode and type 'a'
leave insert mode, put the cursor over the a, and type cs'" to change the surrounding ' to "

Expected Behavior
buffer contains "a"
Actual Behavior
buffer contains <80><fc>^B"a<80><fc>^B"
Additional notes
See also:

https://github.com/tpope/vim-surround/issues/313
https://codeberg.org/dnkl/foot/pulls/1017

I believe this is caused by CSI u mode not having the semantics neovim expects. Following the semantics foot uses in the above PR will probably fix this. On my layout, " is Shift + 2 (and ' is Shift + ,, so this can be reproduced with other combinations of characters like cs"')

Merry christmas, @classabbyamp . I have fixed this now and it works for me (i could repro it using German keyboard layout as well). I would still like you to confirm that it also works for YOU. :)
You may need to rebuild from source. Please ping us, if you need some kind of assistance.

can confirm that it is fixed with that patch, thanks!


I think users should confirm that copied the mnemonic by inserting it on app

I think users should confirm that copied the mnemonic by inserting it on app. Maybe when installing could have the option to skip the backup. But if the user skip it, will always show on main window a message of how important is the backup to not lose bitcoins.
So the phrase: Thanks for using Phoenix. Have you made a backup of your wallet?
could be changed to something like this:
Hi, it's very important to backup your wallet so you don't risk losing your bitcoins.
Like proposed here: https://github.com/ACINQ/phoenix/pull/39/files

The first time User Experience should be welcoming, that's why we did not want to print a scary warning.
Also, forcing the user to confirm his mnemonic does not work well, people usually find a way around it (like a screenshot) and that can be dangerous.
I think a good middle ground could be to regularly show a notification reminding the user that backups are very important. First version of the app had that, but the notification could not be dismissed so it was quite annoying.


adding standard OpenSearch issue templates and ADMIN/MAINTAINERS/CODE…

…OWNERS list
Description

Standardized OpenSearch Issue Templates
ADMIN.md, MAINTAINERS.md, and CODEOWNERS files completed as per standard

Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@opensearch-project/admin, can this PR be merged and the proper permissions granted, please, along with the mend PR? For reference on how this repo got here, please check https://github.com/opensearch-project/opensearch-plugins/issues/217
cc: @gsingers


Dataset Download Failed

Hi, I am very impressed with the work you have done, particularly the organization of the dataset you provided in your GitHub repository.
I attempted to download the dataset using Git LFS, but unfortunately, I encountered the following message: "This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access."
I was wondering if there might be an alternative way for me to access the dataset or if there is any possibility of expanding the data quota. I believe your dataset is crucial for further exploration and analysis in future research.

Hi,
I have same problem and couldn't access to dataset. I would really appreciate it if you could tell me how to download these files.

I have try to download the project using "git clone" but it fails at downloading pages of the dataset.
However, by navigating through folders on github website and downloading tar.gz archives, one by one, it works.

I did the same thing, but the size of the downloaded file is less than 1K and it cannot be unzipped.

I did the same thing, but the size of the downloaded file is less than 1K and it cannot be unzipped.

It had worked. I don't know how I did it (I know it was two manual download from github page). I can not do it again.
I still have both complete archive and their decompressed version.


Ability to get content type of files

I believe it's exposed by multipart but not accessible through the params::File struct, could this be fixed?

Hmm, looks like some refactoring needs to be done with the usage of multipart. Totally doable, though!
It should be noted that this value (like the filename and its extension) should not be trusted.


Update bazel dependencies

Summary
This PR updates certain Bazel dependencies to their most recent versions.
This includes:

rules_cc
platforms
rules_fuzzing
rules_python
buildifier

One of the motivations for this PR is that our current versions of these dependencies do not support bzlmod (or do not support it well enough).
Another is that newer versions of Python (specifically 3.12) require a more recent rules_python.
Non-bazel dependencies
This PR also updates tockloader to an upstream version which includes our custom patch. This is necessary due to rules_python breakage around Git dependencies. tockloader's dependencies are now locked and hashed.
I've had to disable the jsonschema dependency from being used in the bitstream script when run under Bazel. This was used to check the layout of the manifest.json that comes from the bucket. Changes to rules_python have made it very difficult for rules to depend on pip dependencies. Outside of Bazel (or if we get it working again) the schema will be checked when jsonschema is available.
Asides
rules_rust was not updated in this PR because recent versions require Bazel 7 or higher. We'll need to update this later, but deferring since updating Bazel is a lot of work.
All of these new versions have working bzlmod modules in the Bazel Central Registry. There is a commit at the end which renames our abseil-cpp repository to match the one provided by bzlmod to make this compatibility even closer.

Realized, #24372 needed to be cherry-picked over to the earlgrey_1.0.0 branch first before the cherry-pick automation will work here. Once #24807 merges I will apply the automation label again here.


CodeClimate only accepts headers with Adobe as copyright owner

According to https://www.apache.org/licenses/LICENSE-2.0#apply the first line consists out of

Copyright [yyyy] [name of copyright owner]

The CodeClimate rule only accepts lines matching the following regex  ?* Copyright (C) \d\d\d\d(( -)|( - \d\d\d\d))? Adobe
That excludes all files having a different copyright owner than "Adobe".
That rule should be relaxed, as not for all source code files Adobe is necessarily the copyright owner (compare with https://softwareengineering.stackexchange.com/questions/150798/on-what-name-should-i-claim-copyright-in-open-source-software).
One such false positive is reported at https://codeclimate.com/github/Adobe-Consulting-Services/acs-aem-commons/pull/2499#issues.

I understand your concern.  One counterpoint is disputed ownership can wreak havoc for the project as a whole.  Case in point: Consider what happened to the Bukkit project a few years ago when one of the authors issued a takedown for all the code that they contributed.  It basically killed the project.  https://blog.jwf.io/2020/04/open-source-minecraft-bukkit-gpl/
Granted that was more to do with the GPL license than Apache but it is still a concern.  Happy to hear others' perspectives on the topic, I don't really have a preference here unless it's the decision that helps ensure the long-term health of this community project.

The COPYRIGHT file at the root of the repository clearly states that "Adobe holds the copyright for all the files found in this repository."

The COPYRIGHT file is IMHO more targeted at consumers, not at contributors. If you have to give Adobe the full copyright, this should be clearly mentioned in https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/CONTRIBUTING.md. In contrast to e.g. https://github.com/adobe/aem-core-wcm-components/blob/master/CONTRIBUTING.md signing the Adobe CLA (which implies giving Adobe the copyright) is not necessary for this project... The main concern with giving Adobe the full copyright is that this would even allow Adobe to do anything with that source code (even selling it under a separate license which is incompatible with the ASF license)

Can some owners of this repo please clarify whether it is mandatory to grant the full copyright to Adobe for all new files? If that is the case then this should be clarified in the  https://github.com/adobe/aem-core-wcm-components/blob/master/CONTRIBUTING.md. In that case most probably signing https://opensource.adobe.com/cla.html is necessary as well.

Can some owners of this repo please clarify whether it is mandatory to grant the full copyright to Adobe for all new files? If that is the case then this should be clarified in the  https://github.com/adobe/aem-core-wcm-components/blob/master/CONTRIBUTING.md. In that case most probably signing https://opensource.adobe.com/cla.html is necessary as well.

@davidjgonzalez Can we please remove this enforced copyright donation. Recent changes made it clear that this whole project is not driven by Adobe as company but only engaged individuals. Forcing contributors to donate even the copyright to Adobe seems unfair to me (and pretty uncommon).


Still reporting double temp data

I am very new to all of this, so sorry if this is silly and annoying.
I have an ender 3 pro. Adding octopi now and got the notificaiton that my printer shipped with firmware that prodices the 2x temp data. I used the .zip on the github page and installed from the plugin manager. But, the terminal is still reporting doubled readings. I am not sue what i did wrong.

It's fixed, just still shows the wrong temperature in the Terminal :)

Just to clarify to anyone else reading this; the plugin works, and does what it's supposed to do, but as the "terminal" tab shows the raw content it gets from the printer, it still look weird in the GCODE terminal, also resulting in the "suppress temperature" feature not working.
I had not thought of the suppress feature, so I'll see what I can do about that :)

https://github.com/SimplyPrint/OctoPrint-Creality2xTemperatureReportingFix/issues/10#issuecomment-716045501


Document smart contract validator management + general validator how-to

Describe the bug

[x] Missing content
[ ] Outdated content
[ ] Wrong content
[ ] Confusing or misleading content
[ ] Other

Change suggestion

Add section on adding/removing validators via smart contract to the Configure QBFT page, similar to Besu.
Also add general information to this page on how to add/remove validators via block header voting (similar to Besu) - but simplified, linking to the existing tutorial. Also add this general info to the Configure IBFT page.
First confirm that smart contract validator management is implemented in GoQuorum.

smart contract validators merged here


Feature parsing

Ability parse data from PowerModels to PowerSystems, fixes #13
Removed data files and added build.jl to download data files from release based on tag,  fixes #29
Add SIL limit check for lines , fixes #24

@sourabhdalvi, some of the testings, is failing, can you check where, please?

Codecov Report

Merging #31 into develop will increase coverage by 20.39%.
The diff coverage is 52.55%.

@@             Coverage Diff              @@
##           develop      #31       +/-   ##
============================================
+ Coverage    17.57%   37.96%   +20.39%
============================================
  Files           19       25        +6
  Lines          535     1014      +479
============================================
+ Hits            94      385      +291
- Misses         441      629      +188

Impacted Files
Coverage Δ

src/models/loads/shunt_elements.jl
100% <ø> (ø)

src/parsers/standardfiles_parser.jl
75% <ø> (ø)
:arrow_up:

src/models/branches/transformers.jl
33.33% <0%> (ø)
:arrow_up:

src/models/topological_elements.jl
75% <0%> (-25%)
:arrow_down:

src/parsers/cdm_parser.jl
0% <0%> (ø)

src/parsers/json2ps_parser.jl
0% <0%> (ø)

src/models/forecasts.jl
100% <100%> (ø)

src/models/branches/lines.jl
50% <50%> (ø)
:arrow_up:

src/parsers/forecast_parser.jl
78.37% <78.37%> (ø)

src/parsers/dict_to_struct.jl
86.4% <86.29%> (+86.4%)
:arrow_up:

... and 8 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 8ddb9f0...8e1b466. Read the comment docs.