Missing boolean/bit data type

From<EMAIL_ADDRESS>on November 22, 2009 05:58:00
The type drop down list doesn't contain a data type for boolean (aka bit)
data types.
Original issue: http://code.google.com/p/wwwsqldesigner/issues/detail?id=49

From ondrej.zara on November 22, 2009 03:34:21
For which DB? Can you please adjust the datatypes.xml and send me the patch?

From<EMAIL_ADDRESS>on December 26, 2009 14:37:25
atrophic: feel free to let me know what database it is, and I can make a patch if you can't.

From<EMAIL_ADDRESS>on December 27, 2009 12:01:08
Part of this bug was me not reading directions.  I had changed the database I was
designing against after I started the design, which did not work (as designed).
However, after starting from scratch, MySQL was still missing the BIT data type,
which was an alias for tinyint(1) prior to version 5.0.3, but is now an official data
type (albeit with some confusing implementation).
I added it to the Miscellaneous section, where it is found in most other database
engines' datatypes.xml.  Attached is my attempt at a patch.
kuba, thanks for reminding me about this ;)
Attachment: mysql_add_bit.patch

From ondrej.zara on January 03, 2010 11:21:21
Fixed in r73 , thanks!
Status: Fixed


Disable Jamfile for msvc-14.0

You need to fix your Jamfile to disable the library for msvc-14.0, because
your current checks do not exclude it. Add msvc-14.0:no
either somewhere here
https://github.com/boostorg/url/blob/643d959e3db8b59cf3f065ec1738cd0197c70b02/build/Jamfile#L11
or here
https://github.com/boostorg/url/blob/643d959e3db8b59cf3f065ec1738cd0197c70b02/Jamfile#L13
C:\boost-git\develop\libs\url>b2 build toolset=msvc-14.0
Performing configuration checks
- default address-model    : 64-bit (cached) [1]
- default architecture     : x86 (cached) [1]
- symlinks supported       : yes (cached)
- cxx11_constexpr          : yes (cached) [2]
- cxx11_decltype           : yes (cached) [2]
- cxx11_hdr_tuple          : yes [2]
- cxx11_template_aliases   : yes [2]
- cxx11_variadic_templates : yes [2]
- cxx11_constexpr          : yes (cached) [3]
- cxx11_decltype           : yes (cached) [3]
- cxx11_hdr_tuple          : yes (cached) [3]
- cxx11_template_aliases   : yes (cached) [3]
- cxx11_variadic_templates : yes (cached) [3]

[1] msvc-14.0
[2] msvc-14.0/debug/python-2.7/threadapi-pthread/threading-multi/visibility-hidden
[3] msvc-14.0/debug/python-2.7/threadapi-win32/threading-multi/visibility-hidden
...patience...
...found 1343 targets...
...updating 9 targets...
compile-c-c++ ....\bin.v2\libs\url\build\msvc-14.0\debug\threading-multi\src.obj
src.cpp
C:\boost-git\develop\boost/url/grammar/lut_chars.hpp(262): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning)
C:\boost-git\develop\boost/url/grammar/detail/tuple.hpp(83): warning C4814: 'boost::urls::grammar::detail::tuple_element_impl<I,T>::get': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\boost-git\develop\boost/url/grammar/detail/tuple.hpp(91): note: see reference to class template instantiation 'boost::urls::grammar::detail::tuple_element_impl<I,T>' being compiled
C:\boost-git\develop\boost/url/param.hpp(886): error C2134: 'boost::urls::grammar::string_view_base::string_view_base': call does not result in a constant expression
C:\boost-git\develop\boost/url/param.hpp(886): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\boost-git\develop\boost/url/grammar/string_view_base.hpp(72): note: see declaration of 'boost::urls::grammar::string_view_base::string_view_base'
C:\boost-git\develop\boost/url/rfc/pchars.hpp(45): error C2127: 'boost::urls::pchars': illegal initialization of 'constexpr' entity with a non-constant expression
C:\boost-git\develop\boost/url/grammar/lut_chars.hpp(300): note: a non-constant (sub-)expression was encountered

Add msvc-14.0:no

That's <toolset>msvc-14.0:<build>no.

Get this to the Greek!


Disallow invalid triplet names passed via --triplet

Fixes https://github.com/microsoft/vcpkg/issues/10120
Triplets specified together with ports, e.g. zlib:x64-windows are restricted to lowercase alphanumeric characters and hyphens. However, triplets passed using --triplet or --host-triplet weren't checked for this requirement.
This PR resolves this inconsistency by adding validation of triplet names to check_triplet.

Thanks!


Documentation for Adding Services

Hi.  I've written a step by step guide for adding services to Ohana using the admin/backend.  I did this for my users who need to perform these tasks.  I've found this process to be quite time consuming and am wondering if I'm missing something about how to use the app.  Please let me know if you think my process could be improved. Thanks.

Go to add location
type in organization name to see if organization exists
if does not exist, go to add new organization
if it does exist, skip to add a new location
Add new organization
add required: name description
click back to home
Add new location
required: select organization, location name, description, street address
click Add Street Address button
required: street address, city, state, country code (US)
save
Now you have to find the location you just entered to add a service to it…
Search for the name of the organization that manages the location
Click on the location you just created
Scroll down and click “Edit”. Now we're back in the admin area.
Scroll all the way down to "Add New Service"
required: name, description, how to apply
we also recommend adding service categories
click “Save”
You're back on the location page. Scroll down to Add New contact
required: name and other info

Here are a few changes that I think could improve the workflow:

When creating a New Organization, give the user an autocomplete style display so they can see if that organization already exists.
After adding a new location, instead of bringing the user to /admin/locations bring them back to the page of the location they just created.  That way they they can add a service more easily.
Add Search to the backend for organizations, services, locations, programs

That's just a few.  More to come as I use the application more.
Thanks for everything!

Thanks, @devinbalkind. This is excellent feedback.

After adding a new location, instead of bringing the user to /admin/locations bring them back to the page of the location they just created. That way they they can add a service more easily.

Makes sense. This is an easy fix.

Add Search to the backend for organizations, services, locations, programs

This has been on my to-do list for future enhancements.

When creating a New Organization, give the user an autocomplete style display so they can see if that organization already exists.

This shouldn't be necessary once search is in place. In the meantime, I believe organizations and locations are listed alphabetically by name, so you can find them that way. If they're not sorted alphabetically, that's an easy fix as well.

Now you have to find the location you just entered to add a service to it…
Search for the name of the organization that manages the location
Click on the location you just created
Scroll down and click “Edit”. Now we're back in the admin area.

That is very interesting that you did that. What prompted you to do that? When you created the new location, it took you back to /admin/locations, right? Why couldn't you just click on the new location from admin/locations?

I just fixed the redirect issue. After you create a new location, it will take you to that location.

On Tue, Feb 17, 2015 at 6:45 PM, Moncef Belyamani<EMAIL_ADDRESS>wrote:

Thanks, @devinbalkind https://github.com/devinbalkind. This is
excellent feedback.

Happy you think so. :)

After adding a new location, instead of bringing the user to
/admin/locations bring them back to the page of the location they just
created. That way they they can add a service more easily.
Makes sense. This is an easy fix.
Add Search to the backend for organizations, services, locations, programs
This has been on my to-do list for future enhancements.
When creating a New Organization, give the user an autocomplete style
display so they can see if that organization already exists.
This shouldn't be necessary once search is in place. In the meantime, I
believe organizations and locations are listed alphabetically by name, so
you can find them that way. If they're not sorted alphabetically, that's an
easy fix as well.

Organization and locations aren't sorted alphabetically in my
installation.  That would definitely be helpful.

Now you have to find the location you just entered to add a service to
it…
Search for the name of the organization that manages the location
Click on the location you just created
Scroll down and click “Edit”. Now we're back in the admin area.
That is very interesting that you did that. What prompted you to do that?
When you created the new location, it took you back to /admin/locations,
right? Why couldn't you just click on the new location from
admin/locations?

It's much easier for me to use the front end search interface than the
backend browse one.  Alphabetical ordering would help.  It would be even
more helpful if, instead of numbered pagination on the bottom it was
alphabetically organized as well.  Also, having a list of "recently
changed" items would somewhere would also facilitate a quicker workflow.

—
Reply to this email directly or view it on GitHub
https://github.com/codeforamerica/ohana-api/issues/305#issuecomment-74780784
.

Thanks, that's good info. I just pushed a fix to sort all entities alphabetically. I hope that helps while I work on search.

I'm going to close this and open 2 new issues: one for admin search, and one for a list of recently changed items.

Awesome.  Thanks.
On Sun, Mar 15, 2015 at 6:43 PM, Moncef Belyamani<EMAIL_ADDRESS>wrote:

I'm going to close this and open 2 new issues: one for admin search, and
one for a list of recently changed items.
—
Reply to this email directly or view it on GitHub
https://github.com/codeforamerica/ohana-api/issues/305#issuecomment-81275495
.


Add a CommandKit::Options::Type base class

Add a CommandKit::Options::Type base class to make it easier to define custom OptionParser.accept types.
Example
class CustomType < CommandKit::Options::Type

  usage 'CUSTOM'

  pattern /.../

  def self.parse(value)
    # ...
  end

end

Options::Types.register CustomType

The register method would simply call OptionParser.accept and populate the USAGE Hash:
OptionParser.accept(type, type.pattern, &type.method(:parse))

Could also add some of the Regexp patterns for pre-existing OptionParser types, like Regexp. That would allow for easier re-use of existing patterns to create composite patterns (ex: /#{Patterns::REGEXP}:[,]*/).


SimpleInstantiation.prefil is a Dictionary<string,string>

This was not obvious from context.

Description

Related Issue(s)

#{issue number}

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

See https://altinn.slack.com/archives/C02FK32FBR6/p1675156852054739


[Crosswalk-14][Cordova] Adjust the crosswalk version config

Support shared mode according cordova-plugin-crosswalk-webview
Use crosswalk-test-suite/VERSION to configure the crosswalk version for cordova 4.0 build
For cordova 4.0 shared mode: feature currently not completely support

Impacted tests(approved): new 0, update 28, delete 0
Unit test platform: Crosswalk Project for Android 14.43.343.21
Unit test result summary: pass 28, fail 0, block 0
https://crosswalk-project.org/jira/browse/XWALK-4458

What about the UT? This update affects all tests under cordova folder.

LGTM


Feat/realtime payments

Closes #56
Closes #57
Also simplifies test names a bit.

Good to merge @rbval ? Want to make a change shortly as well that will bump the version, want to get the right version.


Fix token model dates to match spec 'At' vs 'On'

Thanks for the example, one mistake I found when using this template:
accessTokenExpiresAt instead of accessTokenExpiresOn
refreshTokenExpiresAt instead of refreshTokenExpiresOn

Anyone care to merge? This was purely a fix in the example documentation.


Get OKAPI API keys and push them in environment

For #9 it will be required to have API keys for OC* websites. Please request official GK keys and add them to prod environment.
Suggested env variables names are "OC_XX_OKAPI_CONSUMER_KEY"
At least:
Pl https://opencaching.pl/okapi/signup.html
UK https://opencache.uk/okapi/signup.html
DE https://www.opencaching.de/okapi/signup.html
US http://www.opencaching.us/okapi/signup.html
NL https://www.opencaching.nl/okapi/signup.html

Variables should be accessible in the cron container. Take particular attention that cron may not automatically include environment variables when launching scripts.
Please note, I still not have received the tokens for OC.UK, I'll add them when received. Un-configured OKAPI client will have a default value of '' (empty string).

Also there is OC.RO, I missed them first ;) https://www.opencaching.ro/okapi/signup.html

ro and uk added.


[Bug] Geode download loader resources on every restart

Geode Issue

[X] I confirm that this bug is NOT related to a mod but directly to Geode Loader itself.

Platform
Android64
SDK commit
No response
Geode Version
v2.0.0-beta.24
Mods Installed
No response
Expected Behavior
The game starts normally after downloading the resources downloaded once.
Actual Behavior
Every time you start the game, the resources will downloaded, regardless of whether the files downloaded before.
Steps to Reproduce

Launch the game from android.

Additional Information
No response

I have this issue too.
It seems to occur on old/bad android phones and it happens with normal GD(it doesnt save data).
I think this is an issue with the cocos engine since it happens in every single gd game (at least for me) and the engine is so old and niche you can expect to have quite a few bugs on certain platforms.
I havent looked into this too much though.

Do you have a multi-user environment on your device?
Cocos's CCFileUtils::getWritablePath doesnt seem to work with it.

Do you have a multi-user environment on your device?
Cocos's CCFileUtils::getWritablePath doesnt seem to work with it.

Negative, I'm the only user on the device. Any feature that allows mutliple data partitions(multi-user, second space, etc.) are disabled.

Fixed in v2.0.0-beta25


Multiple triggers

If the first trigger is ignored, will now check if the second onwards are worth observing
Made the project settings edit page clearer:

Made MWA and ATCA specific observing/project settings
Automatically pass these settings to the observation triggering


Parameter descriptions missing for ModelBatchDeploymentSettings Class

Parameter descriptions are missing and the ones showed seems to be incorrect.
ModelBatchDeploymentSettings(*, mini_batch_size: int | None, instance_count: int | None = None, max_concurrency_per_instance: int | None = None, output_action: BatchDeploymentOutputAction | None = None, output_file_name: str | None = None, retry_settings: BatchRetrySettings | None = None, environment_variables: Dict[str, str] | None = None, error_threshold: int | None = None, logging_level: str | None = None, **kwargs)

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

ID: 8a263eb0-6394-2fbc-7b76-a193fb651402
Version Independent ID: 19f4cba8-2a4e-87a7-8c84-fa785359cb25
Content: azure.ai.ml.entities.ModelBatchDeploymentSettings class
Content Source: docs-ref-autogen/azure-ai-ml/azure.ai.ml.entities.ModelBatchDeploymentSettings.yml
Service: machine-learning
GitHub Login: @lmazuel
Microsoft Alias: lmazuel

Thank you for the feedback @guidorietbroek . We will investigate and get back to you asap.
cc @azureml-github

Closing as obsolete


Add support for handling Player.OnResume event through TCP

As detailed here, Kodi will stop sending the event Player.OnPlay when resuming a video, sending a Player.OnResume event instead. This PR handles that change.

Shouldn't the activities that listen for Player events be updated as well, to handle the Player.OnResume event?

The activities don't listen to HostConnection.PlayerNotificationsObserver events (which is where the OnResume was added), they listen to HostConnectionObserver.PlayerEventsObserver.
The "mapping" is done in HostConnectionObserver

Ah I missed the chainCallGetActivePlayers call.


Option for Lower Case Title in Generated Note

Please Select if your Request is Either something new or an Enhancement

[ ] Enhancement of an existing Feature.
[x] Request of a new feature.

Please select the area your request applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[x] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[ ] Misc (Choose this if your not sure)

Is your feature request related to a problem? Please describe
I want the file title to be the same as the lower case file name I use. It is frustrating to always manually changing them every time after I create a new note.
Describe the solution you'd like
Add an option in setting so that when a new note is created, the note title will be capitalized, or not, depending on user's preference, with one of them as the default.
Describe alternatives you've considered
The two alternatives I can think of on the fly are:

Change it manually every time a note is created.
Create a custom script that will be executed when a new file is created in the vault and then programmatically changing the title's upper case to lower case.

Thanks for the feature request. Added it to our community roadmap. This will show up as an upcoming CROP

Hi!
Yes, I would like to have the option to leave unchanged filename in title. I am encoding capitalize letters in name as split аnd now losing them.
Thanks.
@kevinslin


onedrive search not returning results

onedrive search only returns blank response.
Steps to reproduce the behavior:

I have created graph.xlsx in the root folder of my one drive
grant permissions for files.readwrite.all and sites.readwrite.all
get /v1.0/me/drive/root/search(q='graph.xlsx')?select=name,id,webUrl
Response = 200 OK
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
"value": []
}
value is blank.  I can replace the query with any search term and no file details are ever returned.

I would expect to see a response that includes the driveItem details.
If I do /v1.0/me/drive/root/children (get all items in my drive), I receive back all driveItems with details, including the graph.xlsx file I am searching for.
I'm testing in the graph explorer as well as python graph client and get same behavior for both.

hey @anthony1293,
I'm unable to reproduce this. I have tried something similar and I get a response

Could you confirm if you are still getting a blank response?

but if I do a driveitems search I get a response:

It's worth noting that the user I have signed into graph explorer with has no admin privileges, so I an only give delegated permissions, no application permissions.

@ElinorW It's worth noting that the user I have signed into graph explorer with has no admin privileges, so I can only give delegated permissions, no application permissions. Not sure if that would have any effect.

Yeah, I tried this with a user with no admin privileges and it still works. I'll investigate some more

Hey @anthony1293, are you still having trouble this? I'm still unable to reproduce

Hi @Elinor,  yes it's still a problem but it seems to be related to only a specific Tenant.  Using a login for another tenant, and it works ok.

Hey @anthony1293
Oh okay. Could be a configuration issue...
I'll close this since it doesn't seem to be a problem specific to Graph Explorer.


calling method on Smart contract without ABI, Failed to Execute error

Hi,
I am trying to call some methods (pure view) on Justswap smart contract. As you probably know the justswap smart contract was created by a factory contract and for this reason is without ABI.
I have tried to wrap the contract object with the Justswap ABI and then calling a constant view method without success.
I have tried to call the same method on Justswap template contract and it works.
it seems tronweb contract object failed to setup correctly if the smart contract is without ABI.
below my code, if I change the justswap contract with his template (address: TDNbPAZh1cWvdJDnJ5M56eCwbxFm7b1x8V) works!
const TronWeb = require('tronweb');
const TronGrid = require('trongrid');
const HttpProvider = TronWeb.providers.HttpProvider;
const fullNode = new HttpProvider("https://api.trongrid.io");
const solidityNode = new HttpProvider("https://api.trongrid.io");
const eventServer = new HttpProvider("https://api.trongrid.io");
const privateKey = "3481E79956D4BD95F358AC96D151C976392FC4E3FC132F78A847906DE588C145";
const tronWeb = new TronWeb(fullNode,solidityNode,eventServer,privateKey);
var testContract;
var factoryAddr;
// ABI, a portion of ABI, only for testing the factoryAddress call method. To be replaced with the complete Justswap ABI
const JSABI = [{
"outputs":[{"type":"address"}],
"constant":true,
"name":"factoryAddress",
"stateMutability":"View",
"type":"Function"
}]
// initiate justswap contract with a specified ABI
async function initiateContract() {
testContract = await tronWeb.contract(JSABI,"TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE");
}
async function methodCalling() {
try {
factoryAddr = await testContract.factoryAddress().call();  //<------ here we have the error,
factoryAddr = tronWeb.address.fromHex(factoryAddr);
}
catch (error) {
console.log(error);
}
}
function init() {
await initiateContract();
await methodCalling();
}
init();

see #104 , you can fixed in your self workspace
this.tronWeb.transactionBuilder.triggerSmartContract() -> this.tronWeb.transactionBuilder.triggerConstantContract()

try
await testContract.factoryAddress().call({_isConstant: true});


Refactor frontend

GHData's frontend currently has a steep learning curve. One would have to understand the whole thing before adding a new metric.
It should be more modular to make it easier for potential contributors to add metrics.

To close this, we need all the code now in front-end-next in front-end.

Moved


bytes slot rage: xsd:int to xsd:long

Some data objects in the NMDC metadata have file_size_bytes > 2GB, e.g. https://api.dev.microbiomedata.org/data_objects/jgi:55a9caff0d87852b2150891e

See https://www.w3.org/TR/xmlschema11-2/#int

This just seems like term metadata, so unlikely to break anything. I'm inclined to merge this in.


Add a note to README about supported versions of bundler

The cucumber rake task which is run as part of the default rake task does not work with bundler versions of 1.13.0 onwards. The following exception occurs: cannot load such file -- active_model/translation (LoadError). The full stack trace is recorded here.

Looks good to me, @floehopper.


 There are now PersistedOutputRDD and PersistedInputRDD where the name of the RDD for the SparkContext is outputLocation and inputLocation. Tada! Now, if you have a chained GraphComputer job, you don't need to write the RDD to disk (e.g. HDFS), you can have SparkContext persist it across jobs. This work naturally extends the constructs we already have and thanks to @RussellSpitzer for implementing persistent Spark contexts for us. I updated various docs.

NOTE: I also renamed GraphComputer.config() to .configure() in this push. This is another ticket that was recently closed, but decided that configure() is a better name given the convention of the other GraphComputer methods.

I ran mvn clean install, full integration tests, and built and published the docs.
http://tinkerpop.incubator.apache.org/docs/3.1.0-SNAPSHOT/#sparkgraphcomputer
VOTE +1.

Re-ran full integration tests. Passed.

Full integration tests ran yet again and passed.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:50:19.288s
[INFO] Finished at: Fri Oct 30 21:17:18 MDT 2015
[INFO] Final Memory: 89M/731M
[INFO] ------------------------------------------------------------------------

Code looks clean, tests and docs look good.
VOTE: +1

Had another look at this and it looks good to me. Docs, tests and all. Ran mvn clean install without an issue and also ran verify with integration tests for some of the more relevant projects and they passed.
VOTE: +1

Late to the party but looks good to me as well,
+1


[Script]: Web Server Log Analyzer

Aim
Develop a script that parses and analyzes web server logs to extract useful information such as visitor statistics, popular pages, or potential security threats.
Details
Use regex or specialized log analysis libraries to extract and process the log data.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


feat(card-section-offset): create component

Related Ticket(s)
#6241
Description
Create card-section-offset.

Changelog
New

card-section-offset componet, story, styles, tests, example

Changed

card-group border styles updates
background-media gradient updates

Hey @ariellalgilmore ! Thanks for putting this together. Only minor comments!

Can we have a knob for changing Heading and CTA text?

Video CTA doesn't work. Expecting a Lightbox media player to open.

Focus state glitches when tabbing through

Text width of Heading and CTA seems too long at all breakpoints:

Hey @shixiedesign! Thanks for the review.

I added the option to update the cta text, but at this time the heading knob still won't update in storybook
video-cta works now!
focus state is glitching on all cards currently in canary. I am currently working on the card accessibility fix in another PR which will stop the glitching. (preview: https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/6642/index.html?path=/story/components-card-group--default)
cta-text styles are updated!

Hey @ariellalgilmore , could you wrap the codesandbox example in a grid?


add back icon colors

some icons were previously colored but aren't right now:

outgoing/incoming transaction icons should be red/green depending on status

in the previous (Material UI) design, the icons for outgoing/incoming transactions (arrow up-right, down-left respectively) in the Transactions tab would be red/green depending on transaction status.
this was removed during the move to tailwind, because we were still figuring out the colors (and because due to #841 , red in dark mode didn't look very good)
it's possible that solving this requires solving #841 itself as a by product (should be trivial for anyone with react + tailwind knowledge)

can i worl on this ?
i'm an experienced frontend developer.

@Prosper1218 sure. I added extra context to the description above. let me know if it's clear
and please provide some progress updates ocasionally, so we don't take this for stale :)

Thanks. I'll jump on it and send you a DM on telegram.

I am Nze Shalom, a full stack developer and UI UX designer with strong foundation in modern web development frameworks and technologies. My expertise includes: Figma Nuxt.js, Next.js, React jss and Tailwind CSS with a bit of knowledge in Cairo. I am Experienced in crafting responsive, visually appealing designs using Tailwind CSS, ensuring consistency and efficiency in the development process. I would love to contribute to this project. ETA is 4hrs

I'd be happy to do this.


Approvals App for Teams - API and callbacks

Hi 👋,
this is just a question, not an issue.
The approval app sounds like a really nice extension and I wonder whether it is possible to create approval requests programmatically using the Graph? API?
Also is it possible that an approved request triggers a webhook, e. g. an Azure Function?
Cheers,
Martin
[Enter feedback here]

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

ID: 055b01ff-ee6c-7d5a-74bd-0e8eed7ee6b5
Version Independent ID: 13c4174f-2a2a-2ef9-14c5-2f10817cc66a
Content: Approvals application availability in Teams - Microsoft Teams
Content Source: Teams/approval-admin.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


feat: add color to the help text

Description
Color
Motivation and Context
Because pretty
How Has This Been Tested?
cargo run -- --help
Screenshots / Logs (if applicable)

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (no code change)
[ ] Refactor (refactoring production code)
[ ] Other

Checklist:

[x] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.
[x] I have formatted the code with rustfmt.
[x] I checked the lints with clippy.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

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

Project coverage is 40.04%. Comparing base (bfe9beb) to head (50b1d61).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #897   +/-   ##
=======================================
  Coverage   40.04%   40.04%
=======================================
  Files          21       21
  Lines        1671     1671
=======================================
  Hits          669      669
  Misses       1002     1002

Flag
Coverage Δ

unit-tests
40.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Nice, it was something that I needed :)
Btw how about orange-ish colors? (maybe yellow if true color isn't possible) - for aligning it a bit closer to the logo colors?


Using panels (Dialog and Sheet)

Describe the bug
Hello @natew ,
first of all let me tell you that the work you have done is truly impressive, and I don't understand why tamagui is so less popular than other similar framework like Native Base or other. BTW, I am very happy to have found tamagui, and I think I will use it by default on all my future projects, its build layer is a real superpower, and the typing system is amazing.
That being said, I am also a NX fan boy and an Expo detractor, so I built a monorepo project with NX + Tamagui + NextJS + Bare React Native Project, you can find it here.
It works pretty well, I also managed to integrate solito (even though  I had quite a lot of headaches with it).
The reason for this issue however is because I am experiencing troubles integrating Dialogs and Sheet on both the web and native.
From what I can understand from the documentation:

AlertDialog work only on web
Dialog work  on web and on native too, but it needs some tweak on the latter
Sheet has no warning about compatibility, so I assume it should work both on the web and native

I am than trying to integrate Sheet, and the first problem is this:

it seem that shorthands are not recognized, even though they are on the rest of the codebase.
It is just a typescript error, so I am able to use it anyway by ignoring warnings: If I add to my a component with the exact same code of you example https://tamagui.dev/docs/components/sheet, I get this error on the web

and this one on mobile

The tamagui provider is properly integrated as I can successfully use useTheme hook.
What's the proper way to integrate the Sheet component?
The second question is:
In the docs, for the Modal component, you say

Notice: Dialog is in beta for Web only, it renders on Native but some styling and interaction needs fixes before it's usable.

Can you please elaborate more on what you mean for "but some styling and interaction needs fixes before it's usable."?
Thank you
To Reproduce

Clone the repo https://github.com/apperside/nx-tamagui-example
CHECKOUT test-sheet branch
launch mobile and web app and you will get the described errors.

System Info (please complete the following information):
System:
OS: macOS 12.4
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 248.80 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.19.3 - ~/.nvm/versions/node/v14.19.3/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v14.19.3/bin/yarn
npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm
Browsers:
Chrome: 103.0.5060.134
Firefox: 102.0.1
Safari: 15.5

@apperside love the repo, thanks for checking it out. I think once we get to 1.0 and maybe post to ProductHunt, we'll get make up the stars. I also prefer bare RN projects, I've just done the starter as it is to be a bit simpler. Have some vague plans to put together a much nicer starter at some point.
Sheet.Frame should accept shorthands, it does for me in the demo at least. Not sure on that yet.
The useContext error is interesting, are you sure you've de-duped the react node_module? Just a guess.
Dialog, Sheet, and AlertDialog are all coming out of beta soon and should work on native as well as of the latest betas.
Thanks for the repro, I'll check it out soon.

@apperside can you try updating that repo to the latest? There's be 14 releases since with a variety of fixes. I have it pulled but don't have time yet to upgrade.

Hello @natew ,
thanks for your update.
I tried to upgrade all of tamagui dependencies in my main branch to 1.0.1-beta.135, but unfortunately something gets broken:
on iOS I get the folling error

on web I cannot even run the app because of this error
error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error

 >  NX   Cannot find module 'html-webpack-plugin'

   Require stack:
   - /Users/simone/dev/tamagui/nx-tamagui-example/node_modules/html-inline-css-webpack-plugin/build/index.js
   -<EMAIL_ADDRESS>   -<EMAIL_ADDRESS>   - /Users/simone/dev/tamagui/nx-tamagui-example/apps/web/next.config.js
   Pass --verbose to see the stacktrace.

Consider that the only and unique changes from the working version and the not working one is just the tamagui pacakges versions.
Are there some breaking changes I should be aware of? Reading the release notes I only see one breaking change, but it is related to a shorthand change

@apperside thanks for the detail, I'll check the repo again.

Did this ever resolve?

I'll need to check, I focused on other things and made a lot of changes, need to check again, I'll let you know

i think fixed, re-open if not

I ran into a similar issue starting from npm create tamagui. Tracked it down the @typescript-eslint/no-empty-interface linter rule, which when added replaced an interface with a type in packages/ui/src/global.ts, which somehow cause all of the shorthand properties to no longer be treated as valid types.


Extension icon not found

The extension icon "icon.png" can't be found when setting the icon in background.js.

Fixed in branch Version-1.3.6.


Handle properties files among files in a @Classpath parameter

Filtering contents (comments, empty lines)
Sorting properties
Removing timestamp
Ignoring line endings

There is now some support for normalizing property files as part of the manifest properties: https://github.com/gradle/gradle/pull/11937


Internationalization ?

Here in Europe internationalization (i18n) is a real need. I can't switch to flow-router if I can't have language-customized routes, because URLs matter (SEO, bookmarks etc.).
Unfortunately it looks like people from iron-router-i18n won't help for flow-router i18n as once hoped in #45 a long time ago.
Is there any plan for i18n in flow-router  in the near future ?

I get it. But that's not something I can help with at the moment.
I'm pretty busy. I hope someone from the community can chime in.

Anyway, why i18n needs to go through with the router. I hope it's sits on the UI layer. Try to find a package like that.

Well for instance for the same page to be directed to /en/record for English-language browsers and to /fr/enregistrement for French-language browsers.  Isn't it the very role of the router layer to do so?
For the page content itself of course there are lots of i18n packages.
I also hope someone from the community can chime in. I will try a few dirty tricks myself.

You can create a new flow router group for each language you want to
support.

Thanks @elie222 , I will definitively try something like that.

+1 I too have had to give up on flow-router, and it's my guess that many other developers in europe have had to do the same - here multi-language sites are very common for obvious reasons. We need /en/record vs /fr/enregistrement for SEO, there's no getting round it. We can of course create different groups for different languages, but it's not DRY.

@elie222 could you please post a small example of using groups as a workaround for the current topic. ATM I would be glad if there was an example when only locale part would change in the url, f.ex
/en/record
/fr/record

+1 painfully needed as meteor 1.3 crashed my app running on iron:router.

Any update on this? I've a site with 12 languages and this is badly needed for SEO and usability reasons.


COL-481: Refactor/new triangulum version

Purpose
Refactoring clojure code to use the newest version of triangulum.
Changed webpack to Vite.
Related Issues
Closes COL-481
Submission Checklist

[x] Included Jira issue in the PR title (e.g. COL-### Did something here)
[x] Code passes linter rules for each file you updated. To lint all files at once, run npm run lint. To just lint one specific file run npx quick-lint-js src/js/<file-you-changed> --snarky.
[x] No new reflection warnings (clojure -M:check-reflection)

NOTE

Make sure that you receive both the params and session maps in your front-end mounting function(s).

config.edn

Add these map entries:{:triangulum.handler/private-request-keys  #{:base64Image :plotFileBase64 :sampleFileBase64}
 :triangulum.handler/private-response-keys #{}}

config.example.edn

CREATE ME! Don't include any private information.

deps.edn

3-21: Remove unused dependencies.
34: (require,'triangulum.server) -> (require,'collect-earth-online.routing)
35-36: Use this for your :check-deps alias:{:deps      {com.github.liquidz/antq {:mvn/version "RELEASE"}}
 :main-opts ["-m" "antq.core"]}

package.json

54: Add yourself and Kyle Woodward to the contributors list.
110-112: Move vite libs to dependencies. Don't duplicate vite-plugin-svgr.
113-114: Remove webpack libs from devDependencies.
122,123: Remove CLI flags from server start commands.

src/clj/collect_earth_online/db/doi.clj

7: [collect-earth-online.views :refer [data-response redirect]] -> [triangulum.response :refer [data-response]]

src/clj/collect_earth_online/routing.clj

2-14: Align :as and :refer into a single column, leaving only one space between them and the longest namespace name.
235: Remove extra blank line.

src/clj/collect_earth_online/workers.clj

Add start and stop functions for a temp file clean-up service worker:(defonce ^:private clean-up-service (atom nil))

(def ^:private expires-in "1 hour in msecs" (* 1000 60 60))

(defn- expired? [last-mod-time]
  (> (- (System/currentTimeMillis) last-mod-time) expires-in))

(defn- delete-tmp []
  (log-str "Removing temp files.")
  (let [tmp-dir (System/getProperty "java.io.tmpdir")
        dirs    (filter #(and (.isDirectory %)
                              (str/includes? % "ceo-tmp")
                              (expired? (.lastModified %)))
                        (.listFiles (io/file tmp-dir)))]
    (doseq [d    dirs
            file (reverse (file-seq d))]
      (io/delete-file file))))

(defn- start-clean-up-service! []
  (log-str "Starting temp file removal service.")
  (future
    (while true
      (Thread/sleep expires-in)
      (try (delete-tmp)

vite.config.js

Ask Sif to review this file to make sure this contains effectively the same functionality as webpack.config.js.

triangulum.handler (Submit in a PR on triangulum)

Update wrap-request-logging to dissoc keys passed in the :triangulum.handler/private-request-keys field in config.edn.
Update wrap-response-logging to dissoc keys passed in the :triangulum.handler/private-response-keys field in config.edn.
Add both of these keys to the config.edn spec-checking code.

NOTE

Make sure that you receive both the params and session maps in your front-end mounting function(s).

config.default.edn

Rename file to config.example.edn.
9: Remove trailing whitespace.
11-12: Move triangulum.handler keys down under the ;; handler (server) section.
68-73: product-ns -> collect-earth-online
71: Remove unused :mapbox-token entry.
72: Remove unused :mapquest-key entry.

deps.edn

3-14: Remove unused dependencies:

bk/ring-gzip
com.draines/postal
com.cognitect/transit-clj
org.clojure/tools.cli
cider/cider-nrepl

8: Upgrade to org.clojure/clojure {:mvn/version "1.11.1"}
12-13: Upgrade to the latest triangulum:

{sig-gis/triangulum {:git/url "https://github.com/sig-gis/triangulum"
                     :git/sha "4a597e121996129b2a5a5cbf1b4822796d856714"
                     :git/tag "2023.08.10-4a597e1"}}

28: :extra-deps -> :deps

src/clj/collect_earth_online/db/doi.clj

31: Unused function upload-deposition-files! (apparently replaced by upload-deposition-file! ??)
59: create-shape-files is undefined.
73: sql-primitive is undefined.
Did you mean to delete the download-doi-files function?

src/clj/collect_earth_online/plots.clj

32: Only 1 space between sentences.

src/clj/collect_earth_online/routing.clj

2-13: Leave only one space between the longest namespace name and the :as/:refer column.

src/clj/collect_earth_online/workers.clj

6: Remove clean-up-service atom.
32-37: Remove start-clean-up-worker! and stop-cleanup-worker!.
Add this worker stop function:

(defn stop-clean-up-service! [service-thread]
  (future-cancel service-thread))

Provide the correct references to these worker functions in config.example.edn.

src/clj/collect_earth_online/utils/mail.clj

Remove this file and switch over to use triangulum.email.

src/py/gee/routes.py

Remove ^M line endings. (switch to unix format)

vite.config.js

62: Fix indentation.

triangulum.handler (Submit in a PR on triangulum)

Update wrap-request-logging to dissoc keys passed in the :triangulum.handler/private-request-keys field in config.edn.
Update wrap-response-logging to dissoc keys passed in the :triangulum.handler/private-response-keys field in config.edn.
Add both of these keys to the config.edn spec-checking code.

config.example.edn

24: Indent collect-earth-online.workers/stop-clean-up-service! under the values above it.
73: product-ns -> collect-earth-online

deps.edn

3-14: Remove unused dependencies:

hiccup/hiccup
org.clojure/core.async
org.postgresql/postgresql
ring/ring-headers
ring/ring-ssl
ring/ring-json
seancorfield/next.jdbc

18: Add a blank line before :aliases.
28: Fix indentation.

src/clj/collect_earth_online/db/doi.clj

2-13: Move libspecs up to begin on the :require and :import lines (like all the other namespaces).
66,153: Instead of calling first on sql-primitive and then :insert_doi on the returned row, just use sql-primitive in insert-doi!. You'll need to refer it from triangulum.database.
94: #(tc/jsonb->clj %) -> tc/jsonb->clj
95: Remove extra space after assoc.

src/clj/collect_earth_online/db/projects.clj

2-21: Move libspecs up to begin on the :require and :import lines (like all the other namespaces).
7: Align :as above other :as and :refer keywords.

src/clj/collect_earth_online/routing.clj

112-114: Align values in map into a column to maintain consistent spacing in the routing table.

src/clj/collect_earth_online/users.clj

6-11: Align :as and :refer keywords into a column.
22: Indent (first (call-sql ...)) expression to align above user-info map value.
29: You could move the :session map up onto the previous line.

src/clj/collect_earth_online/generators/external_file.clj

270: Indent db-config value under shape-folder-name value.
273: Remove extra blank line.

src/js/components/PageComponents.jsx

192: Remove console.log.

src/js/home.jsx

81: Remove console.log.

src/js/institutionDashboard.jsx

101: Remove console.log.

src/js/project/ManageProject.jsx

200-205,226-228: Fix indentation.

src/js/project/Overview.jsx

330: Remove extra blank line.
331: Why are we using classNAme="font-weight-bold" for this label tag and b tags within all the others above it?

src/js/projectAdmin.jsx

148: No return statement necessary for a single expression function body. Just remove the surrounding curly braces and you can drop the return as well.

src/js/reviewInstitution.jsx

70: Revert this line to setIsAdmin = (isAdmin) => this.setState({ isAdmin });
1183: Remove console.log.

src/sql/functions/plots.sql

Add a blank line after the function body and before the $$ LANGUAGE SQL; line. See other functions for examples.


How can I change the size of the dot in Material slider?

The dot in slider is too large now

CC @clocksmith

The default radius has been updated from 6 to 10 for better accessibility. You can change it back by passing a SliderThemeData to your Theme or SliderTheme
instance:
SliderTheme(
  data: SliderThemeData(
    thumbShape: RoundSliderThumbShape(enabledThumbRadius: 6);
  ),
  child: Slider(...)
);

global:
Theme(
  sliderTheme: SliderThemeData(
    thumbShape: RoundSliderThumbShape(enabledThumbRadius: 6);
  ),
);

@clocksmith  thanks a lot


Vue removes tab character from spans

Version
2.5.2
Reproduction link
https://jsfiddle.net/50wL7mdz/72614/
Steps to reproduce
Add a span element containing a tab character somewhere inside the app element, like inside a paragraph, before the text to be indented.
What is expected?
The tab character should be left alone, thus being able to indent a given line.
What is actually happening?
Vue strips out the tab character from the span.

I am using https://yabwe.github.io/medium-editor/ to edit content for my posts. When pasting in some code, it will contain tab indentations, which are transformed into [TAB]. Upon viewing what was saved, I came to find out Vue removes the tab characters from inside the aforementioned span tags, thus the code I pasted in loses all indentation.

That's not Vue - that's just how HTML works. Any continuous whitespaces are displayed as a single whitespace. You probably need to learn about
 tags.

Hi Evan,
Thanks for your answer. However, it is in fact due to Vue, not HTML. You can see that in the fiddle provided. If you comment out the Vue instantiation, the output code will be displayed with indentations.

I'm talking about HTML pre tags, not v-pre.


Include explain functionality

Obviously this extension is still in it's infancy, but are there plans to add an explain button that is available with SQL Server?
How to View the Query Execution Plan in Azure Data Studio (SQL Server)

@mguinness  currently we have not planned to implement it but I have noted it as feature request and will look into it in future.

Awesome, thanks for the feedback.  Feel free to close issue if it's being tracked elsewhere.


Init operationNames's cache capacity

Signed-off-by: jukylin<EMAIL_ADDRESS>

fixes #618

Coverage remained the same at 100.0% when pulling ecd2fabb72d2ab4b4af1cef440a05772a95ffcf4 on jukylin:init_capacity_v1 into a97dfbe5b2e0954f15d833cffc4275090ba3e1dc on jaegertracing:master.


Sort x-axis values. Category: Question

Expected Behavior
I have a simple line chart:
labels: [1.0, 3.0, 4.0]
datasets: [{
                label: "Track Plot",
                borderColor: 'rgb(255, 0, 0)',
                datata: [0.0, 2.0, 3.0]
              }]

When I try to add new point (2.0, 5.0) I expect that dataset will be modified in a such way:
labels: [1.0, 2.0, 3.0, 4.0] datata: [0.0, 5.0, 2.0, 3.0]. So x-axis stay sorted.
config.data.labels.push(2.0);
config.data.datasets[0].data.push(5.0);

Current Behavior

When I try to add new point (2.0, 5.0) the dataset is be modified in a such way:
labels: [1.0, 3.0, 4.0, 2.0] datata: [0.0, 2.0, 3.0, 5.0]. New point is appended to the end of the dataset.
Possible Solution

Is there any options to append new point between other points to make x-axis sorted?
Thanks,
Alina.

@AlinaYablokova the category axis always renders the labels in the order they are given. If you need to have them sorted, you'll need to sort the labels and data before calling update()

Ok, thanks. I'm a bit confused by "category axis". Are there another types of axis?

@AlinaYablokova yes, there are linear, logarithmic, and time axes. The samples show them off

Please ask questions on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js


Problem with image Webp in IOS

images webp called by url not working in ios, but android work perfect.
I working with:
PackageReference Include="Xamarin.FFImageLoading" Version="<IP_ADDRESS>2"
PackageReference Include="Xamarin.FFImageLoading.Forms" Version="<IP_ADDRESS>2"
PackageReference Include="Xamarin.Forms" Version="<IP_ADDRESS>9228"
I see this error:
Image loading failed: https://upload.wikimedia.org/wikipedia/commons/b/b2/Vulphere_WebP_OTAGROOVE_demonstration_2.webp;
ObjCRuntime.RuntimeException: Can't register the class WebP.Touch.WebPDecoder when the dynamic registrar has been linked away.
at ObjCRuntime.Class.GetClassHandle (System.Type type, System.Boolean throw_if_failure, System.Boolean& is_custom_type) [0x0010a] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/ObjCRuntime/Class.cs:176
at ObjCRuntime.Class.GetClassHandle (System.Type type) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/ObjCRuntime/Class.cs:181
at ObjCRuntime.Class.GetHandle (System.Type type) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/ObjCRuntime/Class.cs:134
at Foundation.NSObject.AllocIfNeeded () [0x00012] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/Foundation/NSObject2.cs:511
I deleted the folders: bin and obj, also clean the solution and the error persist
Thanks.

Adding "--optimize=-remove-dynamic-registrar" helped me

@maxfkdk are there any adverse issues when enabling that? Did your app size or build times increase, performance degrade, etc? We're in the same boat but are reluctant to do something so heavy handed.


Fix pollInterval bug

Try to make a pull request.

Hey mail2fish,
Thanks for the change. I'm not really able to make sense if it as these are all older commits in this pull request. Closing. Feel free to open a new one with just the change set you'd like to make.
Cheers,
John


Inconsistent allowing environment variables in configs

Under what conditions are environment variables substituted in the config file (YAML specifically, I suppose)? Just the normal config passed via envoy -c <file>.yaml, without doing any external preparatory substitution, e.g. with a script using envsubst.
For example, I'm defining an OAuth2 http filter:
authorization_endpoint: ${AUTHORIZE_URL}
redirect_uri: ${CALLBACK_URL}

This seems to work fine for redirect_uri and many other places, but curiously (and seemingly arbitrarily) doesn't work fro authorization_endpoint. In the proto api, both are simply strings, with the same validator rules (minimum length).
I am able to use environment variables using the ${VAR} syntax for redirect_uri, client_id, path matchers, auth scopes. It also works for the address of the endpoint when defining a cluster.
Searching around, this is purportedly not supported, but it appears to work empirically sometimes. If anything, this is difficult to reason about.
https://github.com/envoyproxy/envoy/issues/22152

There is no condition under which Envoy performs environment variable substitution in configs before parsing.
You can pass YAML-encoded proto via a command line argument (--config-yaml). This is subject to OS limits on command line length. Obviously, the shell will alter the value subject to shell substitution rules before Envoy sees the config. That argument, once parsed as an envoy.config.bootstrap.v3.Bootstrap is merged (e.g. using the protobuf library's MergeFrom utility) into whatever was previously loaded via --config (if anything). I believe this was intended to allow tweaking bootstrap-level values (node metadata, etc), but the merge operates recursively on the Bootstrap object and its nested messages.
I hacked together a config with an oauth filter in it and set the redirect_uri to ${CALLBACK_URL}. As expected, after loading envoy with --config, I can see that the field's value is "${CALLBACK_URL}" via Envoy's /config_dump admin endpoint.
Formatters
The oauth filter does pass the redirect_uri to Envoy's log formatting code and that supports environment variable substitution. The format is different from the shell-style: %ENVIRONMENT(CALLBACK_URL)% (See the bottom of https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage.) AFAICT that filter only does this for redirect_url.
Generally speaking, any place where the %-formatters work (logs, header manipulation) can do an environment variable lookup using that syntax. I presume that formatter support for the oauth plugin predates the ability to lookup environment variables and exists so that the redirect URI can be based on request metadata.
Other
Besides the formatter code, I found some other uses of environment variables (specifically getenv) in Envoy:

There is explicit support for looking up environment variables in the data source object.
Tracing supports picking up custom tags from an environment variable, again by explicit config.
ENVOY_NGHTTP2_TRACE and ENVOY_QUICHE_VERBOSITY enable additional logging for those libraries.
The AWS extensions use a number of common AWS_-prefixed environment variables.
The WASM VmConfig allows allow-listing environment variables that can be accessed by WASM extensions.
There's a plugin for the unified matcher api that allows environment variable lookup, by config.

Thanks for the clarification.
I resolved this in my setup with a launch script using envsubst, which
feels much more robust.
On Fri, Jan 26, 2024 at 6:50 PM Stephan Zuercher @.***>
wrote:

There is no condition under which Envoy performs environment variable
substitution in configs before parsing.
You can pass YAML-encoded proto via a command line argument (--config-yaml).
This is subject to OS limits on command line length. Obviously, the shell
will alter the value subject to shell substitution rules before Envoy sees
the config. That argument, once parsed as an
envoy.config.bootstrap.v3.Bootstrap is merged (e.g. using the protobuf
library's MergeFrom utility) into whatever was previously loaded via
--config (if anything). I believe this was intended to allow tweaking
bootstrap-level values (node metadata, etc), but the merge operates
recursively on the Bootstrap object and its nested messages.
I hacked together a config with an oauth filter in it and set the
redirect_uri to ${CALLBACK_URL}. As expected, after loading envoy with
--config, I can see that the field's value is "${CALLBACK_URL}" via
Envoy's /config_dump admin endpoint.
Formatters
The oauth filter does pass the redirect_uri to Envoy's log formatting
code and that supports environment variable substitution. The format is
different from the shell-style: %ENVIRONMENT(CALLBACK_URL)% (See the
bottom of
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage.)
AFAICT that filter only does this for redirect_url.
Generally speaking, any place where the %-formatters work (logs, header
manipulation) can do an environment variable lookup using that syntax. I
presume that formatter support for the oauth plugin predates the ability to
lookup environment variables and exists so that the redirect URI can be
based on request metadata.
Other
Besides the formatter code, I found some other uses of environment
variables (specifically getenv) in Envoy:

There is explicit support for looking up environment variables in
the data source object
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/base.proto.html#config-core-v3-datasource
.
Tracing supports picking up custom tags
http://source/common/quic/platform/quiche_logging_impl.cc from an
environment variable, again by explicit config.
ENVOY_NGHTTP2_TRACE and ENVOY_QUICHE_VERBOSITY enable additional
logging for those libraries.
The AWS extensions use a number of common AWS_-prefixed environment
variables.
The WASM VmConfig allows allow-listing environment variables that
can be accessed by WASM extensions.
There's a plugin for the unified matcher api
https://www.envoyproxy.io/docs/envoy/latest/xds/type/matcher/v3/matcher.proto#unified-matcher-api-proto
that allows environment variable lookup, by config.

—
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/issues/32057#issuecomment-1912839447,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHFZH5KSOMOUFMZTPDCOIDYQQ6MBAVCNFSM6AAAAABCLHVKPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSHAZTSNBUG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Fix 23

Fixes #23. A consequence of this is that the min sdk is now 11.

Current coverage is 0.00% (diff: 100%)

Merging #24 into master will not change coverage

@@           master   #24   diff @@
===================================
  Files           1     1
  Lines         148   148
  Methods         0     0
  Messages        0     0
  Branches       10    10
===================================
  Hits            0     0
  Misses        148   148
  Partials        0     0

Powered by Codecov. Last update e8cb098...ac6cbe0


Broken links in README

http://derecho.elijah.cs.cmu.edu:8585/ecomfe/echarts

？

Sorry, these links in the README are broken for me.
(Search the README for example/map)
The links to echarts.baidu.com are not prefixed with http://,
so GitHub is prefixing them with the GitHub URL for this repo:

https://github.com/ecomfe/echarts/blob/master/echarts.baidu.com/doc/example/map12.html
https://github.com/ecomfe/echarts/blob/master/echarts.baidu.com/doc/example/map11.html


Radzen Dropdown does not return selected items

Hello guys. I have created an asp.net core application which in, I have used the RadZen dropdown. everything is ok and the component is rendered successfully but when the user clicks on the item and selects them, I am not able to get the selected values. Here is a brief of my code :
this is the razor file which the RadZen dropdown exists there.

here is also my .cshtml file which I have wrapped in the razor file in order to use it somewhere else.

I called it this way:

as you can see in this image, everything is ok 👍

but when I try to get Model.SelectedValues  (that I have bonded it in the razor file) when the form is submitted. nothing there on the list.

I also read that the selected items data type and data list should have the same data type as well so I have changed the selected items data type, unfortunately, it did not work.

I am not sure if Blazor components support your scenario. You can try using the built-in InputSelect and see if it makes a difference. Also I see you have opened a forum thread as well - will close this issue as I don't think there is anything actionable on our side.


Responsive Webiste with two pages

Home page is added
Home page designing is done
Home Page Speakers Section is done dynamically
Event Listener Function is used
About page is Added
About Page Styling is done
Mobile Menu is added
Link to My Recording Video https://www.loom.com/share/429ea271e3c146dc999b2e7e08e96e9b

Please consider these changes. I tried my very best.
Now I don't have time to make new changes. Because time is up. I will be very thankful to you.


Creating many expressions via script is very slow when GUI is running

All versions of VisIt are affected.
I have a script and data files on the RZ.
If you create expressions before opening the database the problem goes away. Seems like every time a new expression is created, a whole lot of other work is done in the GUI.

The following set of command replicates the behavior.
import time

OpenDatabase("/usr/gapps/visit/data/rect2d.silo")
t1 = time.time()
print("starting")
for i in range(1000):
    var="var%04d" % i
    expr="d*%d" % i
    DefineScalarExpression(var, expr)
t2 = time.time()
print("time used=%.4f" % float(t2 - t1))

To replicate:

Start the GUI.
Start the CLI.
Issue the commands in the GUI (I usually put them in a script and source them)

Here are the timings for several number of expressions on rzwhippet with 3.4.1.
400: 4.8884
500: 6.1578
600: 6.5138
700: 63.8159 and 58.0881
800: 127.2102
1000: 445.7228

Definitely looks exponentially bad...

One quick solution might be to have a method to suspend and resume GUI updating work during such a loop. Maybe something like...
import time

OpenDatabase("/usr/gapps/visit/data/rect2d.silo")
t1 = time.time()
print("starting")
SuspendGUIUpdates()
for i in range(1000):
    var="var%04d" % i
    expr="d*%d" % i
    DefineScalarExpression(var, expr)
ResumeGUIUpdates()
t2 = time.time()
print("time used=%.4f" % float(t2 - t1))

Wtih #20149, The above loop takes forever without Suspend... and Resume... but takes only 6 seconds with it.


Fiks reset should also clear stash?

Is it problematic to clear the stash git stash clear for all directories if we want to reset?

It should be quick and easy to implement this feature. I only fear the possibility of unintentionally losing stashed changes that were not automatically created by fiks.
Maybe some developers may use and keep stashed changes for longer than others as part of their development processes? Maybe fiks stashes can also come in handy if we encounter some unexpected error along the way?
Besides this, I don't see any problem in clearing stash on reset, if that's the behaviour we want.

How about just doing a "All changes including the stash will be lost. Hit enter to continue."
And then Ctrl + C will cancel.


Use -RC(x) suffixes in vote process

In the beta release vote:
> Release Candidate:
> *https://dist.apache.org/repos/dist/dev/incubator/skywalking/5.0.0-beta/

I strongly recommend using suffixes like -RC1 in the release candidate
URL and tag -- how do voters (and anyone checking the vote later) know if you
happened to make a 'second 5.0.0-beta' release candidate?

Suggest we should change our release document, in vote process, we use RC(x) for every round of vote, then keep the real version in publish.

Provided


Add extrude support

It makes sense to enable this mode when editing objects with building=*, but not natural=water (and such).
https://josm.openstreetmap.de/wiki/Help/Action/Extrude
Not everything must be implemented: "ctrl" mode (as default way to move way segments) and probably "basic mode"
It makes no sense to draw arbitrary shaped object, then use Q tool, then correct some portion of the object, then press Q again.
It is time-consuming to human to draw 90-degree objects using pattern mentioned above.

Yes I would also like the ability to select segments and extrude them.
Both extrusion (selecting a segment and moving it), and polygon operations (#435), are useful tools described here:  https://www.mapbox.com/blog/fast-building-tracing/

I'd really love to be able to extrude, it's the main thing keeping me mapping buildings in JOSM.
Extruding speeds up rectangular building creation so much, I feel it'd be a very valuable feature to add to iD ^-^


Can't sign in

Hello,
I can't connect to my app on remote server. It works on local but not on remote server :
$application->add(new HttpBasicAuthentication([
    'realm' => 'Piso',
    'secure' => true,
    'relaxed' => ['localhost'],
    'users' => [
        'root' => '$2y$10$TJor1LmWl5Vi9Ljrqp5Fr.S5TdIUbleIei9.Ndo0gT1IO0/ELwKyK',
        'test' => 'azerty'
    ]
]));

I use "tuupola/slim-basic-auth": "^3.0" .
Thank you

What does "not working on remote server" mean? Do you get an error? Password does not work?

Password doesn't work. No message error but the browser always asks username and password.

Are you are testing with user test using password azerty or with user root?

test and azerty as clear password and root with htpasswd -nbBC 10 root [my secret password] .  It works perfectly on my localhost with apache but not on my remote server (ovh hosting)

Look at possible error logs. Look at the differences between your dev and live environment. Remove the middleware totally and see if live environment still asks for password. My bet is that there is something else such as an .htaccess file asking for the password.

I remove the middleware and it works (not protected) .
My .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

Look at logs, look for differences such as PHP version between live and dev. Ie the usual debugging stuff. Something is apparently different in your live environment.

If you are using FastCGI this might help:
https://github.com/tuupola/slim-basic-auth#usage-with-fastcgi

I found this https://stackoverflow.com/questions/11990388/request-headers-bag-is-missing-authorization-header-in-symfony-2/17175260#17175260 and it works .

Great :)


pod version is not the latest version

The pod component version is 1.1.3, not the latest version
Problem
What is expected to happen?
What does actually happen?
Information

Command or Code

Environment, Platform, Device

Version information

Checklist

[ ] I searched for existing GitHub issues
[ ] I updated all Cordova tooling to most recent version
[ ] I included all the necessary information above

Thanks for the issue, but we (Apache) don't own the CocoaPods, it was published by "The Adobe PhoneGap Team" according to the CocoaPods page, which, as far as I know, no longer exists.

Thanks for the issue, but we (Apache) don't own the CocoaPods repository for cordova-plugin-device, it was published by "The Adobe PhoneGap Team" according to the CocoaPods page, which, as far as I know, no longer exists.

For iOS, it is more convenient to use CocoaPods integration plug-in. Do you have any plans to do it


possible packaging issues: .babelrc causes react-native not to work

Hello, I am having problems using react-native 0.21
According to this report
https://github.com/facebook/react-native/issues/5393#issuecomment-174319207
it has to do with .babelrc being included in your distribution of npm.
I am not actually sure if that's the problem, or not. The solution to remove all the .babelrc from my node_modules directory does not appear to fix anything.
Therefore, I wanted to reach out to you to see if you could take a look.
my package.json does not even include deep-force-update

"engines": {
"node": ">=4",
"npm": ">=2 <4"

},
"devDependencies": {

"babel-core": "^6.6.5",
"babel-register":"^6.6.0",
"babel-eslint": "^5.0.0",
"babel-loader": "^6.2.0",
"babel-preset-react-native": "^1.5.1",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-1": "^6.5.0",
"eslint": "^2.2.0",
"eslint-loader": "^1.1.1",
"eslint-plugin-react": "^4.0.0",
"react-native-webpack-server": "^0.8.4",
"webpack": "^1.12.14",
"webpack-dev-server": "^1.14.1"
},
"dependencies": {

"react-native": "^0.21.0",
"@remobile/react-native-splashscreen": "^1.0.3",
"react-native-blur": "^0.7.10",
"react-native-htmlview": "^0.2.0",
"react-native-material-kit": "^0.3.0",
"react-native-material-design": "^0.3.3"
}

I recommend you to stop using react-native-webpack-server because it’s not actively maintained and often causes issues like this.
The latest versions of react-deep-force-update both for 1.x and 2.x branches do not include .babelrc anymore. Neither does react-proxy. Unfortunately I don’t think there is anything actionable in this issue for this package so I’m closing. Maybe using the official React Native packager will solve your issues.

Thank you for your help. I had re-examined a number of packages in my devDependecies section. And have gotten it to work.
I had upgraded to React-native 0.21 but still needed to run eslint on my sources (I had not used react-native-web-pack actually, so I removed it with no consequencies).
Big problem was between babel-eslint and other packages.
Specifically, what solved for me were these 3 things:

using a beta version of babel-eslint
including react-proxy 2.0.6,
removing  "babel-preset-react-native": "^1.5.1"

In case somebody else searches for a working configuration for react-native  and eslint (until next nodejs dependency hell :-( ) here it is

    "engines": {
    "node": ">=4",
    "npm": ">=2 <4"
  },

    "devDependencies": {

        "react-proxy":"^2.0.6",
        "babel-eslint": "^6.0.0-beta.1",

	"babel-preset-es2015": "^6.6.0",
	"babel-preset-react": "^6.5.0",
	"babel-preset-stage-1": "^6.5.0",

        "eslint": "~2.2.0",
	"eslint-loader": "^1.1.1",
	"eslint-plugin-react": "^4.0.0"
    },

    "dependencies": {

	"react-native": "^0.21.0",

	"@remobile/react-native-splashscreen": "^1.0.3",

	"react-native-blur": "^0.7.10",
	"react-native-htmlview": "^0.2.0",

	"react-native-material-kit": "^0.3.0",
	"react-native-material-design": "^0.3.3"
    }

I’m confused about how you use<EMAIL_ADDRESS>Which project depends on it? For example, react-transform-hmr currently uses<EMAIL_ADDRESS>

@gaearon. Sorry<EMAIL_ADDRESS>was a left over (form when I was testing out things)  in my config when I pasted into the comment screen. It is not there and not needed. I had removed it from my comment above. You are correct, it is transform-hmr that uses react-proxy at 1.x level.

:+1:


User registration: default display name to GitHub username when no profile name is set

Closes #652.
Less important now that #627 is done but still an annoying bug!

Only failures are related to #653, will merge


NetworkWeapon._can_fire() will desync if dependent on NetworkTime.tick

The example weapon script's implementation of _can_fire relies on NetworkTime.tick which will tend to be smaller when the client calls the function in their _tick compared to when the server calls it in their _request_projectile rpc.
Adding the line print(multiplayer.get_unique_id(), "] last_fire: ", last_fire, " -> ", NetworkTime.tick) before assigning last_fire = NetworkTime.tick confirms this:
626816780] last_fire_tick: 4050 -> 4052 ; 2 tick delay on the client
1] last_fire_tick: 4053 -> 4055         ; 2 tick delay on the server, but 1 tick behind the client
626816780] last_fire_tick: 4052 -> 4054 ; 2 tick delay on the client, but 1 tick ahead of server
626816780] last_fire_tick: 4054 -> 4055 ; Now a 1 tick delay on the client since _accept_projectile calls _after_fire
1] last_fire_tick: 4055 -> 4057         ; 2 tick delay on the server

; Server now gets the client's _request_projectile(id, 4054, {...}) rpc 4 ticks late
[ERR][netfox.extras::NetworkWeapon] Projectile ghisrnm0t4gq rejected! Peer 626816780 can't use this weapon now (tick=4054; NetworkTime.tick=4058)

This shows that the server is desynced from the client (inherently) and that delay isn't properly accounted for. I think the simplest solution would be to modify _can_fire(), fire(), and _after_fire() to take the tick: int from _request_projectile (or an arbitrary if called locally from fire(tick: int)), though that would break compatibility and require users to fix their _can_fire(), fire(), and _after_fire() implementations. Another option would be to temporarily store the tick: int parameter in an externally accessible variable - potentially even in NetworkTime.tick for maximum compatibility, which would need to be restored after the calls to _can_fire() and _spawn(). The downside here is that a player could potentially cheat by manipulating the tick variable in their RPC request, but I think that should be handled by _is_reconcilable. EDIT: This doesn't work as it leads to projectiles being requested in the past. It seems the real solution involves removing the need to call both fire() and _request_projectile on the server (or at least confirm both of those calls are for the same projectile and skip the second one).

Really good catch, thanks for bringing this up! Your solution is really compelling, though indeed, it's a bit uncomfortable that it's breaking. I'll see what I can do!


Add tests to sources, snapshots and seeds when using TestBehavior.AFTER_EACH

Previously Cosmos would only create a task group when using TestBehavior.AFTER_EACH for nodes of the type DbtResourceType.MODEL. This change adds the same behavior to snapshots and seeds.
For this to work as expected with sources, we would need to create a default operator to handle DbtResourceType.SOURCE, which is outside the scope of the current ticket. Once this operator exists, sources will also lead to creating a task group.
All the test selectors were tested successfully with dbt 1.6.
This screenshot illustrates the validation of this feature, with an adapted version of Jaffle Shop:

The modifications that were done to jaffle_shop were:
Appended the following lines to dev/dags/dbt/jaffle_shop/models/schema.yml:
seeds:
  - name: raw_customers
    description: Raw data from customers
    columns:
      - name: id
        tests:
          - unique
          - not_null

snapshots:
  - name: orders_snapshot
    description: Snapshot of orders
    columns:
      - name: orders_snapshot.order_id
        tests:
          - unique
          - not_null

And created the file dev/dags/dbt/jaffle_shop/snapshots/orders_snapshot.sql with:
{% snapshot orders_snapshot %}

{{
    config(
      target_database='postgres',
      target_schema='public',
      unique_key='order_id',

      strategy='timestamp',
      updated_at='order_date',
    )
}}

select * from {{ ref('jaffle_shop', 'orders') }}

{% endsnapshot %}

Closes: #474

I'm merging since the PR was approved, and the open discussion should only be closed once we decide whether to have a follow-up ticket.


fix(iOS): Update .gitignore of template to exclude *.xcodeproj/ for iOS projects

We don't need to track xcodeproj in git because it is generated using xcodegen

Well the whole gen folder is generated, and if you want to commit it, why wouldn't you want to commit the xcodeproj too?

In this case, do we need to ignore the whole gen folder ?

No, if you do ignore it then you'll always have to run ios init every time you clone the project. It's similar for .xcodeproj too since it contains settings you probably want to share with others/your team.


Proposed changes

This is what I am proposing by using the departure info, instead of schedules.  It reduces the need to recalculate, and refetch a lot of the data.

When I tried this approach the predictions were no longer updating live. It just captured a snapshot of departureInfo on click. Out of curiosity  does the departureList component appear to update for you?

When I tried this approach the predictions were no longer updating live. It just captured a snapshot of departureInfo on click. Out of curiosity does the departureList component appear to update for you?

Yeah you are right the predictions won't update when the data is passed that way.  Forgot about that requirement.  I have another thought then.  Will close this pull request.


fixed hash issue with same base features

if there is a feature which is the square of another feature, that would not be currently possible with our current feature primitive.
Feature(es["log"]["value"]) * Feature(es["log"]["value"])

So this fixes this by having the left and right point to the same element in base_features

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

can you add a test?

looks good to me


Allow re-run testsetup with manila

Running twice "mkcloud testsetup" would fail with manila enabled due to Error: manila type-create failed. This patch aims to fix that.

@abel-navarro is not related with https://github.com/SUSE-Cloud/automation/pull/808

@aplanas oops, right, it's the same fix. Closing this PR.


Make system sets public

So I can do something like this:
app.add_systems(
  PostUpdate,
  update_my_sprites_anchor_and_size
    .after(AnimationSystemSet)
    .before(Sprite3dSystemSet),
);

To keep my system ordered correctly with bevy_spritesheet_animation.
Note: These seemed to have been made private in a cleanup commit, possibly accidentally?

Ah yes, sorry about that.
I usually make anything that doesn't need to be exposed publically private so as not to pollute the API and I didn't think about this use case. Now I know better!
Thanks.


Blacklist For Unchained

Incorporate a blacklist for Unchained using either labels like tags, or specific name of the Pokemon, or both. Perhaps even a whitelist that overrides this blacklist, say you have legendaries blacklisted, but you want a certain legendary to be whitelisted, without having to list each individual legendary, you would put it in that whitelist.

say you have legendaries blacklisted, but you want a certain legendary to be whitelisted, without having to list each individual legendary, you would put it in that whitelist.

If you have just a whitelist or a blacklist, they operate independently. If you have both, the whitelist becomes a list of exceptions to the blacklist.

Fixed by #17


Auth token with Null username and password

When I try to log in with
curl https://<hostname>/cgi-bin/luci/rpc/auth --data '{ "id":1, "method":"login", "params" : [null,null] }'
I get {"id":1,"result":"a3aa53c842f6ec306e1480a4c7cef5b1","error":null}
The token don't let me do command like get_all and set but it should't  exist in the response.

in sys.lua, user.checkpasswd looks really suspicious. It returns true when pwh == nil???
A simple fix would be to check username, but I think there is a big (and severe) problem there.
function user.checkpasswd(username, pass)
	local pwh, pwe = user.getpasswd(username)
	if pwe then
		return (pwh == nil or nixio.crypt(pass, pwh) == pwh)
	end
	return false
end

Fixed with feefc60 - null, null authentication now returns null instead of a defunct token


The font size not show in html when I convert to html

Is there an existing issue for this?

[X] I have searched the existing issues

The question
I want to convert document to html, but the html not show fontSize attributes when I changed the fontSize. And I convert to json it will show fontSize
html:
Wrtyuuuuurcvjiiknuoonbbbnn

json: [{insert: Wrtyuuuuu}, {insert: rcvjiikn, attributes: {size: 22.0, bold: true}}, {insert: uoonbbbnn, attributes: {size: 28.0}}]

same issue

The issue comes from Vsc_quill_delta_to_html. You need to pass a custom ConverterOptions with you own inlineStyles implementation. This works for me

This issue is already solved by the Vsc_quill_delta_to_html. Here is his ### ### answer:
By default, QuillDeltaToHtmlConverter uses defaultInlineStyles (in op_to_html_converter.dart) to convert the Quill size attribute - this handles the semantic sizes: small large and huge. defaultInlineStyles has a map that defines how to convert one of these sizes to a CSS style.
If you want to use a size value that is different from small large or huge, you have to define your converter to handle it, like below.
      converter = QuillDeltaToHtmlConverter(
        delta,
        ConverterOptions(
          converterOptions: OpConverterOptions(
            inlineStylesFlag: true,
            inlineStyles: InlineStyles({
              ...defaultInlineStyles.attrs,
              'size': InlineStyleType(
                fn: (value, _) => 'font-size: ${value}px',
              ),
            }),
          ),
        ),
      );

InlineStyles takes either a map to define an explicit mapping of a value to a CSS style, or a fn - like in the example above - which converts an arbitrary value to a CSS style.


Specify texture type per material channels

We would like to add the ability to specify using ECT1 textures for some material channels (albedo, emissive, metallic) and UTASC for those with high frequency detail (normal, roughness). This selection of formats is consistent across assets which assign textures to the above channels, and any albedo only (unlit) materials can rely on existing methods.

Currently gltfpack supports three texture kinds (color, normal, attrib) that can be used in -tc, -tu and -tq command line options; for example,
gltfpack -i input.gltf -o output.glb -tc color -tu normal,attrib

will use ETC1S for all color-like textures (albedo, emissive, sheen color, etc.) and UASTC for normal maps as well as textures with other attributes (roughness, metallic, occlusion).
What you are asking for exactly can't be implemented in glTF: there's a single texture that combines roughness and metallic information, so it's impossible to split these into two textures with two formats. Assuming you meant that metallic should use UASTC (as it's part of the roughness texture), it seems like this is already possible via the command line above?
I'd be open to discussing extensions that allow more fine grained control of course but I'd like to avoid having to expose fine grained options for every single material channel (e.g. "sheen color", "anisotropy" etc.) because there's a lot of those and glTF adds new material extensions frequently.

Thanks, and this is exactly what I need. I will close the request and review the documentation with my team to ensure we are using the strategy across our scripts.


Components Re-rendering

Given the following example my understanding is that Component should only re-render when value changes. But it seems that because useSelector internally uses use which uses useState you are essentially subscribing to the entire state update but just returning a filtered value? So Component re-renders whenever anything in state changes? Or have I misunderstood something?
// state.js
export const exampleState = newRidgeState({ count: 0, value: 0 });
setInterval(() => {
  // we are only updating the count value
  exampleState.set(x => ({...x, count: x.count + 1 }));
}, 100);

// component.js
const Component = ({ children }) => {
  console.log("Render: ExampleInner");
  // we want to subscribe to only changes to value and only rerender if value changes
  const exampleValue = exampleState.useSelector(x => x.value);
  return ( ... );
};

The desired behaviour is not re-rendering on state updates when deep value of selector has not changed. It should work!

Hmm yeah this is what I thought but I can't see how this can be achieved. Because in the code the use function is doing:
const [state, setState] = useState();
sub(setState);

So anytime the subscriber fires it is going to cause a re-render.
Here is a code sandbox showing this:
https://codesandbox.io/s/peaceful-http-lk8bx?file=/src/App.js

I've opened a PR that I believe fixes this issue. (Sorry for the confusing account switching 😂  Me and JakeNap are the same person).
https://github.com/web-ridge/react-ridge-state/pull/19
Let me know what you think? I've tested this tweak in the PR and it fixes my issue and I think it's how useSelector should handle state updates. But there maybe some context I'm missing as to why this library doesn't do this already.

@RichardLindhout any thoughts on this?


Turn on aggregate report and change test matrix to match the platform matrix JSON

Description
Turn on aggregate report and change test matrix to match the platform matrix JSON

/azp run java - azure-communication-phonenumbers - tests

/azp run java - azure-communication-phonenumbers - tests

API change check
API changes are not detected in this pull request.

/azp run java - azure-communication-phonenumbers - tests

/azp run java - azure-communication-phonenumbers - tests

/azp run java - azure-communication-phonenumbers - tests


Add opened timestamp to submission

Would be nice to have a lab start date/time for students.
This would mean that the submission row in the db gets created when the student first opens the lab.
That also means that we need to remove the code in labGradingCtrl::gradeLab that creates submissions for student/group that doesn't have them yet

Latest commit fixes this


Feature/filter comments tags whitelines

Sometimes native feature files written in Gherkin contain comments, tags or white lines at the top of the files. These are not allowed by the parser now. This pull request filters out any comment, tag or line with no characters before parsing the Gherkin lines.

Fantastic - merged!


fix(python): add support for pyarrow 13+

Description
I build on top of the branch of @wjones127 https://github.com/delta-io/delta-rs/pull/1602. In pyarrow v13+ the ParquetWriter by default uses the compliant_nested_types = True (see related PR: https://github.com/apache/arrow/pull/35146/files)and the docs: https://arrow.apache.org/docs/python/generated/pyarrow.parquet.ParquetWriter.html).
In arrow/parquet-rs it fails when it compares schemas because it expected the old non-compliant ones. For now we can have pyarrow 13+ supported by disabling it or updating the file options provided by a user.
Related Issue(s)

Closes https://github.com/delta-io/delta-rs/issues/1744

Documentation

Thanks for finishing this up!


Language rework reworked

Your PR can not be merged at once because changes are so several.
I will modify the wording little by little referring to your pointed out.

some strings are cherry-picked at https://github.com/tateisu/SubwayTooter/commit/740258049b811148bba4c9bfbd6cab99cb7840b7 .


Issues building/running Ibex Demo System on Arty35

I had to resolve two issues while trying to get the Ibex Demo System running on my Arty35 board, following the steps in the Readme.md; I hope the following will save time for anyone else who tries this, and can be incorporated into the Readme.md via an appropriate update.
First Issue: the FPGA bitstream built via FuseSoC absolutely wasn't talking to OpenOCD at all.  Explanation: the debug module was not being built correctly, because the FuseSoC installed via the python_requirements.txt file doesn't allow for a 'Flags' item in a 'Target' section within a .core file.  This causes incorrect fileset selection for the Debug module: the Arty build needs to read the flag 'use_bscane2_tap' as True, but with 'Flags' unrecognised that's not happening.   A quick workaround is simply to tweak the .core file so it selects unconditionally the fileset containing the bscane tap module.   A cleaner resolution for the long term probably needs to be decided by a maintainer of the lowRISC fusesoc repo who knows how the various branches are being used, but here's the gist of the problem: the file fusesoc/capi2/core.py creates the Core() class from the string 'description', and there's a crucial difference between the OT and Main branches: in Main, the Target section is defined to allow an entry with name 'flags' at line 799, within .dicts; by contrast, in OT, the Target section does not have any .dicts at all, and doesn't have 'flags' in .members or .lists either - hence the rejection of the keyword 'flags'.   Options would include (a) updating python_requirements.txt to select Main branch rather than OT,  IF that would work - haven't tried it (b) updating the OT capi2/core.py file to add the missing 'flags' entry IF that doesn't break things for someone else(c) some other solution.
Second Issue: The script used to run the demo program uses an option set_prefer_sba which is not known to OpenOCD v.012, and appears to make that tool get stuck in and endless loop while communicating with Arty via JTAG. A comment in the source repo says this option is now deprecated, so I tried simply commenting it out, and confirmed this lets the demo run successfully.

I think I'm having the same issue, where are you getting the bscane module fileset to include in the .core?

If you take a look in pulp_riscv_dbg.core, it shows the flag is supposed to do a pretty simple job.  In the targets section, lines 45-46 bring in either "files_xilinx_bscane_tap" (this is the selection you want) or "files_jtag_tap" (this is the selection you're probably getting).   Both of those filesets are defined just a little way back in the same .core file, starting at lines 25 and 30 respectively: all that really needs to happen is to choose vendor/pulp_riscv_dbg/src/dmi_bscane_tap.sv rather than vendor/pulp_riscv_dbg/src/dmi_jtag_tap.sv
My quick fix was to edit line 45 so it just reads "files_xilinx_bscane_tap", knocking out the flag check, and to comment out line 46 entirely (because I'm not creating an ASIC).
Hope that gets it working for you; good luck!

Thanks for noting these issues @LMC53! As you say the first issue would be fixed if we upstream our fusesoc changes, this is on our radar but won't happen imminently. The second issue should probably be changed in the script, would you like to make a PR for that?

PR for the second issue created now.    For the first issue, understanding that upstreaming the OT changes for FuseSoC is not something that can happen quickly/easily, an interim solution would be to offer two versions of ibex-demo-system.core: one for Arty, one for CW305.  The idea is simply that since OT FuseSoC doesn't (yet) support automatic selection of the appropriate JTAG file via a flag setting, a user can just make the selection manually by choosing the .core file that matches their preferred target.   If this makes sense, I can do another PR.

Sorry: that previous comment included a slight confusion on my part about which of the existing synth targets in ibex-demo-system.core try to select the xilinx flavour of the debug module.
Just to be clear: all the synth targets that currently try to employ the flag 'use_bscane_tap' could instead use a version of ibex-demo-system.core that unconditionally selects the fileset 'files_xilinx_bscane_tap', while any synth target (currently only synth_sonata) that does not set the flag could use an alternative version of the.core that unconditionally selects the fileset 'files_jtag_tap'.
Of course this usage could be made clear in an update to the Readme.md


Indexed optics.

The solution for indexed optics used by lens does not work with profunctor optics. Indexed optics are very useful however, even if their index can't be implicitly forgotten like in lens. Here, I experimented with the following compromise:
For each profunctor p there is a profunctor Indexed p i with which we can define indexed optics by
type IndexedOptic p i s t a b = Indexed p i a b -> p s t

This does not compose to the right with Optics or other IndexedOptics, but composes to the left with Optics. If one has an IndexedOptic and wishes to compose it to the right with another Optic or IndexedOptic, one can use
unIndex
  :: forall p i s t a b. (Profunctor p)
  => IndexedOptic p i s t a b -> Optic p s t a b

to explicity convert an IndexedOptic to an Optic by forgetting indices. Despite of a bit of syntactic inconvenience, I reckon that this is a small price to pay. What do you think?
On that note, what would be a sensible place to put an IndexedTraversable type class like the following in the purescript ecosystem?
class (Traversable t) <= IndexedTraversable i t where
  itraverse :: forall f a b. (Applicative f) => (i -> a -> f b) -> t a -> f (t b)

This looks nice, and I think it's a good compromise until I implement equality constraints.
I think we could make a new package for the indexed variants of the Functor hierarchy. Or perhaps they should go into foldable-traversable.

:+1: Thanks!

I had a bit more of a think about this. Could something like this work:
type IndexedOptic p i s t a b = Indexing i (p a b) (p s t)

data Indexing i x y = Indexing ((i -> x) -> y)
instance Category Indexing

? I haven't thought through the details but I wanted to make a note.


Added checking for letsencrypt files on the base domain of the hostna…

…me in situations where the SSL certificates were issued to the base domain instead of the SAN FQDN for the host in question.
#1274
One test was failing right out of the gate with a fresh fork.  The only thing I am really unsure of in this particular pull request is that I created a new docker container to test this particular letsencrypt SSL implementation when I probably could have attached this to another running container.  If that is acceptable cool, otherwise any suggestions on which running container test to add it to would be great.

@fbartels can you have a look please? I'm not using letsencrypt myself. Of course if you are not using it either I can review.
@neuralp it is optional, but we are in the process of refactoring the tests to avoid starting all the containers up front. If you have the time it would be nice if you could refactor your tests to use the new model with a separate bats file with setup/teardown for the container.

@erik-wramner sure will have a look in the afternoon.

@erik-wramner sure will have a look in the afternoon.
@neuralp can you already rebase your pr. there are some merge conflicts it seems.

@fbartels things move pretty fast, I will rebase for the next submission.

You will either need to rebase or start from scratch as there have been significant changes in master. We are on Debian Buster now and many files have changed.

You will either need to rebase or start from scratch as there have been significant changes in master. We are on Debian Buster now and many files have changed.

I am going to start from scratch using the suggestions here.  It wasn't that much to do over.


Error while deploying on EKS

Hello, Can someone help here,
Error:
│   Normal   Scheduled           2m43s  default-scheduler        Successfully assigned lago/lago-worker-59d56d585c-rmg85 to ip-10-46-13-162.ap-southeast-1.compute.internal                                                                 ││   Warning  FailedAttachVolume  2m43s  attachdetach-controller  Multi-Attach error for volume "pvc-21a75921-9e01-4324-9072-5c0c529557bc" Volume is already used by pod(s) lago-api-79d77799-jmdn9

Hello @akashg116414
You should use S3 since PVC and RWM is not easy with EKS

Hello, Can someone help here,
Error:
│ Normal Scheduled 2m43s default-scheduler Successfully assigned lago/lago-worker-59d56d585c-rmg85 to ip-10-46-13-162.ap-southeast-1.compute.internal ││ Warning FailedAttachVolume 2m43s attachdetach-controller Multi-Attach error for volume "pvc-21a75921-9e01-4324-9072-5c0c529557bc" Volume is already used by pod(s) lago-api-79d77799-jmdn9

Hello,
To resolve the issue you're encountering with the PVC being attached to multiple pods, I would suggest considering one of the following options:

Use S3 storage: This is the recommended option. By leveraging S3, you can avoid the complications that come with managing Persistent Volume Claims (PVCs), as data is stored externally and can be accessed by multiple pods without any limitations.

Use MinIO: If you're working in a local environment or prefer to keep everything within your own cluster, MinIO is a viable alternative, as it provides S3-compatible storage. However, please note that we do not recommend this option for production environments.

In general, avoiding the use of PVC for workloads that require access from multiple pods is advisable.


Spawn Problem

Hello, i got a problem with the Spawn.
I do have multiverse core so i do have more worlds then just one.

ServerSpawn
Normal

I setted the Spawn on the Server Spawn.
I set the config file of the login security plugin in this way:
When enabled, player gets a blindness effect when not logged in.
blindness: true
Temporarily login location until player has logged in.
Available options: DEFAULT, SPAWN, RANDOM
location: SPAWN
When i do log in i got tp in Normal world Spawn and not ServerSpawn Spawn.
I did set a bunch of spawn in ServerSpawn (guest, default, admin, mod, etc) but when i do log in it tp always me on the standard normal world spawn. how do i fix it?

The spawn functionality teleports the player so the spawn location of their current world.
There is no plugin-independent way to retrieve a server spawn, as such functionality is often provided by third-party plugins like Essentials.


Fixes "connected" event which was being emitted as "connect"

thanks, published the updated module to npm