'TextEncoder' refers to a value, but is being used as a type here

Getting the following error when compiling in Typescript:
node_modules/@cloudamqp/amqp-client/types/amqp-base-client.d.ts:27:27 - error TS2749: 'TextEncoder' refers to a value, but is being used as a type here. Did you mean 'typeof TextEncoder'?
27     readonly textEncoder: TextEncoder;
This is version - 3.1.1
If I comment out
line 27 in
<EMAIL_ADDRESS>everything works.

What version are you using? Can you show the code you are trying to run?

Typescript - 5.2.2
NodeJS - v20.8.0
This occurs when compiling the code running the tsc command
Here is the tsconfig
{     "compilerOptions": {       "lib": ["es2020"],       "module": "node16",       "esModuleInterop": true,       "target": "ES2020",       "moduleResolution": "node16",       "resolveJsonModule": true,       "sourceMap": true,       "checkJs": false,       "outDir": "dist",       "types": ["node"]     },     "include": ["./**/*.ts"],     "exclude": ["node_modules", "dist"]   }
Example Code
Client Service:
`import { AMQPChannel, AMQPClient, AMQPConsumer, AMQPQueue } from '@cloudamqp/amqp-client';
export class AmqpClientService {
static #Instance: AmqpClientService;
#client: AMQPClient;
#channel: AMQPChannel;
#connection;
#queue: AMQPQueue;
#consumer: AMQPConsumer;
private constructor(client, connection,  channel, queue){
this.#client = client;
this.#channel = channel;
this.#queue = queue;
this.#connection = connection;
}
public static async init(uri: string) {
const client = new AMQPClient(uri);
const conn = await client.connect();
const ch = await conn.channel();
const q = await ch.queue();
return this.#Instance = new AmqpClientService(client, conn, ch, q);
}
async subscribe() {
try {
this.#consumer = await this.#queue.subscribe({noAck: true}, async (msg) => {
console.log(msg.bodyToString())
})
await this.#consumer.wait();
} catch (e) {
  console.error('ERROR', e)
  e.connection.close()
  setTimeout(this.subscribe, 5000) // will try to reconnect in 1s
}

}
async publish(message) {
try {
await this.#queue.publish(message, {deliveryMode: 2});
} catch(e) {
console.error('ERROR', e)
e.connection.close()
setTimeout(this.publish, 5000, message)
}
}
async close(){
await this.#consumer.cancel();
await this.#client.close();
await this.#connection.close();
}
}`
bootstrap
`import { AmqpClientService } from '../shared/services/amqp-client-service.js'
import { ConfigurationService } from '../shared/services/configuration-service.js';
const location = 'QAUS'
const configuration = new ConfigurationService(
[
'AMQP_SERVICE_URI',
],
.env.${location}
);
const {
AMQP_SERVICE_URI,
} = configuration.environmentVariables;
const amqpClientService = await AmqpClientService.init(AMQP_SERVICE_URI);
amqpClientService.subscribe();
while(true){
amqpClientService.publish(This is a test ${makeId(10)});
await wait(10000);
}
async function wait(time) {
return  await new Promise(resolve => setTimeout(resolve, time));
}
function makeId(length) {
let result = '';
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
const charactersLength = characters.length;
let counter = 0;
while (counter < length) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));
counter += 1;
}
return result;
}`

Same issue here, lets open a pull request?


Successfully message after reinstall command

Description

Questions
Answers

Why?
No message after reinstall on cmdline

BC breaks?
no

Tests exists & pass?
yes

Related tickets?
no

How to test?
not needed. can test by reinstall a plugin on console

Requirements met?
no

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-19746.
Please use this issue to track the state of your pull request.

thanks for your contribution @MapGhost :+1:


Unique, lowercased, sorted topics

Normalise topics so we can search via 'foo' = any(topics) rather than ilike. This would mean we discard any cases for topic display. At a glance, topics are already lowercased and uniqued on the Github side. This is just ensuring that on our end so we can assume it for queries.
Does that make sense, @daveverwer ?
This is just a PR into the topics branch, so ok to merge. I'll then deploy from the branch again and grab another snapshot when it's ingested.

Hold on, this may not be necessary.

It does help.


.schemmat not saving properly

When i try to transfer schematics into the folder to load them, my computer wants to open them in other programs while im in minecraft. this happened when i tried to opened the load design with / it said i didnt have anything in the folder. i opened it is and saw my schematic that i downloaded but it was coming up as a white file picture that said dragonstatue.schemat but none of the tutorials explained what to do after putting schematics into the main folder or if it just auto sets up. so far its just sitting there now because my computer started to register it as a adobe file and now it thinks its a krita file(krita is like a free photo shop kinda thing). even when i tried to make my own schematic just to see what would happen all those files are saving as an adobe file now. is there something im missing? i have both the newest versions of lunatrius core and schematic. is there another program that can fix how my computer sees .schemat files?

It should be a .schematic file. If you got it through discord know that discord changes the extension to .schemat. Rename it and it should work properly.

the thing is this is whats its doing now. the top file is how my game is saving everythign and the second one is how my computer mesesd it up :/

so this is what i'm working with. every time i keep trying to make a new blueprint it doesnt make multiple it just over rides what i have there.
as for the one thats stating it is a schematic file even after renaming it its still not showing up or wanting to still load as an adobe file.

this is what i'm having a hard time with. none of the tutorials state what you have to do with the file after dragging it into the schem folder. and when you go into the / menu it doesnt auto show my blueprint. so i tried to open the schem folder and double click it that way, me thinking i have to select open it for it to show, but again in picture one this is what it wants to do with it. which is why im having so much trouble and that all the tutorials are assuming that everyone just knows what to do which isnt the case. i have never used forge before and it would be better if the main creator or someone actually made a more informative tutorial to show what to do rather then just say "load it up from here and it will be in the quick menu now" which they mean the one from the third picture.

I don't know what exactly the issue was, but both the loading and saving wiki pages explain how to use the menus. There is not a lot of elements on the GUI so most of them should be pretty straight forward as to what they actually do.


Copy/pasted long wrapped lines in terminal on windows come out as multiple lines

Description

Cannot copy a long string that wraps in the terminal as a single line.
When pasted, it pastes as multiple lines.
Perhaps Windows specific.

Impact
copy/paste is broken on windows for long lines that wrap the terminal width.
Environment and steps to reproduce
Use powershell with a windows container.

write or paste this into terminal

echo "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" > a
cat a

copy the result of the cat a.
paste it somewhere, and see it is multiple lines rather than one line.

Maybe a simpler xterm.js demo, or a Terminal component story can be used in isolation to reproduce (haven't tried this yet).
Expected behavior
copy/paste works with wrapped lines.
If you use Windows Terminal with Powershell copy/pastes a single line as expected.
Additional information
xterm.js seems to have a special way of detecting wrapped lines where it looks for whitespace.
Maybe have to fix in xterm.js
Perhaps an \r\n related thing (because \r is whitespace).

First, it checks the OS platform of the user's device, instead of the container's system.
Second, it introduces a new bug. When you print two lines of text, and each line contains the exact same size of characters as the terminal width, the two lines will be copied as a single line.


When used SELECT the options not translated by  Spatie/Laravel-translatable

Package
filament/forms
Package Version
v3
Laravel Version

Livewire Version

PHP Version

Problem description
When used SELECT form component
and i used relationship
like
SELECT::make('dd')->relationship('categories','name'),
name returned as json  but i still add configrations right in model and working fine in when update or create
only SELECT option returned as json
Expected behavior
When used SELECT form component
and i used relationship
like
SELECT::make('dd')->relationship('categories','name'),
name returned as json  but i still add configrations right in model and working fine in when update or create
only SELECT option returned as json
Steps to reproduce
When used SELECT form component
and i used relationship
like
SELECT::make('dd')->relationship('categories','name'),
name returned as json  but i still add configrations right in model and working fine in when update or create
only SELECT option returned as json
Reproduction repository
11
Relevant log output
No response

got the same problem;
                Forms\Components\Select::make('state_id')
                    ->relationship(name: 'state', titleAttribute: 'name')
                    ->required(),

Same problem

got the same problem;
                Forms\Components\Select::make('state_id')
                    ->relationship(name: 'state', titleAttribute: 'name')
                    ->required(),

Here's a working solution
 Forms\Components\Select::make('category_id')                         ->label('Категория')                         ->relationship('category', 'title')                         ->getOptionLabelFromRecordUsing(fn (Category $record) => $record->title)

Same problem

Try this , it's working
Forms\Components\Select::make('category_id')
->label('Категория')
->relationship('category', 'title')
->getOptionLabelFromRecordUsing(fn($record, $livewire) => $record->getTranslation('title', $livewire->activeLocale))

if you are still looking for the answer , I have found it.
what you're looking for is a property called activeLocale and it exists on $livewire.
to access it you use a Closure and inject $livewire.
For example:
If you have a relationship called type and you want to display it's name in a Forms\Components\Select this is how I was able to make it display the correct values in the locale chosen in the LocaleSwithcher
// use the database field id
Forms\Components\Select::make('type_id')
// specify the relationship
->relationship('type', 'name')
// specify how to get the relationship translated values
->getOptionLabelFromRecordUsing(fn($record, $livewire) => $record->getTranslation('name', $livewire->activeLocale))

Hope this helps
And I hope this gets added to the docs to avoid future confusion.

@AlaaHabib
Thanks a lot, bro you made my life easier

@ahmedkalash , if you are still looking for the answer , I have found it. what you're looking for is a property called activeLocale and it exists on $livewire. to access it you use a Closure and inject $livewire. For example: If you have a relationship called type and you want to display it's name in a Forms\Components\Select this is how I was able to make it display the correct values in the locale chosen in the LocaleSwithcher
// use the database field id
Forms\Components\Select::make('type_id')
// specify the relationship
->relationship('type', 'name')
// specify how to get the relationship translated values
->getOptionLabelFromRecordUsing(fn($record, $livewire) => $record->getTranslation('name', $livewire->activeLocale))

Hope this helps And I hope this gets added to the docs to avoid future confusion.

thanks for the that tips
now how to show again in table

@ahmedkalash , if you are still looking for the answer , I have found it. what you're looking for is a property called activeLocale and it exists on $livewire. to access it you use a Closure and inject $livewire. For example: If you have a relationship called type and you want to display it's name in a Forms\Components\Select this is how I was able to make it display the correct values in the locale chosen in the LocaleSwithcher
// use the database field id
Forms\Components\Select::make('type_id')
// specify the relationship
->relationship('type', 'name')
// specify how to get the relationship translated values
->getOptionLabelFromRecordUsing(fn($record, $livewire) => $record->getTranslation('name', $livewire->activeLocale))

Hope this helps And I hope this gets added to the docs to avoid future confusion.

thanks for the that tips now how to show again in table

You can try using
->getStateUsing instead of ->getLabel

in the screenshoot i already try that way but i got


Pg/soc small cones speedup

Improves numerical efficiency in problems with a large number of small SOCs by removing @views in favor of explicit loops with @inbounds.

Codecov Report
Patch coverage: 73.12% and project coverage change: -1.36% :warning:

Comparison is base (50b0c6e) 82.22% compared to head (eb3ff93) 80.87%.
Report is 10 commits behind head on main.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #137      +/-   ##
==========================================
- Coverage   82.22%   80.87%   -1.36%
==========================================
  Files          37       39       +2
  Lines        2701     2803     +102
==========================================
+ Hits         2221     2267      +46
- Misses        480      536      +56

Files Changed
Coverage Δ

src/cones/coneops_defaults.jl
15.55% <0.00%> (-7.18%)
:arrow_down:

src/equilibration.jl
97.95% <ø> (ø)

src/precompile.jl
0.00% <0.00%> (ø)

src/settings.jl
4.44% <0.00%> (-3.56%)
:arrow_down:

src/variables.jl
77.64% <ø> (+11.64%)
:arrow_up:

src/version.jl
28.57% <0.00%> (ø)

src/Clarabel.jl
55.55% <42.85%> (-44.45%)
:arrow_down:

src/utils/mathutils.jl
80.98% <50.00%> (+3.77%)
:arrow_up:

src/types.jl
85.71% <70.00%> (-0.65%)
:arrow_down:

src/MOI_wrapper/MOI_wrapper.jl
85.27% <91.66%> (+0.30%)
:arrow_up:

... and 17 more

... and 1 file with indirect coverage changes

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


unclear whether this is a bug or intentional - probably needs a better console.log

Running amok (I see what you did there) I get the following output:
Attaching debugger...
Server listening on http://<IP_ADDRESS>:9966
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: connect ECONNREFUSED
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:983:19)

But there is no indication whether this is intentional behaviour with a console.log explaining why this is happening and how to mitigate it, or whether this is a bug that needs fixing asap.

It's happening when trying to connect to chrome, and chrome is not listening on 9222 (or the debuggerPort specified if not using the default)

The bug part of it should be fixed where the debugger was trying to connect before the browser was opened.

Should be covered by documentation now, a client with remote debugging enabled must either be launched beforehand or specified via the client option.


Set default values of modules to a secure value

All default values should comply with a security baseline, e.g. NIST 800
The build-in policies of Azure can be used as a reference.
The task would be to scan over each of the following policies and make sure, that the module is per default complying to them.
The following policies are the NIST 800 ones:
\built-in-policies\policyDefinitions\Azure Data Explorer\ADX_CMK.json
\built-in-policies\policyDefinitions\Azure Data Explorer\ADX_disk_encrypted.json
\built-in-policies\policyDefinitions\Azure Data Explorer\ADX_doubleEncryption.json
\built-in-policies\policyDefinitions\Azure Stack Edge\AzureStackEdge_DoubleEncryption_Audit.json
\built-in-policies\policyDefinitions\Bot Service\BotService_CMKEnabled_Audit.json
\built-in-policies\policyDefinitions\Cache\RedisCache_AuditSSLPort_Audit.json
\built-in-policies\policyDefinitions\Cache\RedisCache_CacheInVnet_Audit.json
\built-in-policies\policyDefinitions\Cache\RedisCache_PrivateEndpoint_AuditIfNotExists.json
\built-in-policies\policyDefinitions\Cosmos DB\Cosmos_CMK_Deny.json
\built-in-policies\policyDefinitions\Cosmos DB\Cosmos_NetworkRulesExist_Audit.json
\built-in-policies\policyDefinitions\Cosmos DB\Cosmos_PrivateEndpoint_Audit.json
\built-in-policies\policyDefinitions\Data Box\DataBox_CMK_Audit.json
\built-in-policies\policyDefinitions\Data Box\DataBox_DoubleEncryption_Audit.json
\built-in-policies\policyDefinitions\Data Lake\DataLakeAnalytics_AuditDiagnosticLog_Audit.json
\built-in-policies\policyDefinitions\Data Lake\DataLakeStore_AuditDiagnosticLog_Audit.json
\built-in-policies\policyDefinitions\General\Subscription_AuditCustomRBACRoles_Audit.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_AddSystemIdentityWhenNone_Prerequisite.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_AddSystemIdentityWhenUser_Prerequisite.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_AzureLinuxBaseline_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_AzureWindowsBaseline_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_DeployExtensionLinux_Prerequisite.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_DeployExtensionWindows_Prerequisite.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_LinuxNoPasswordForSSH_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_LinuxPassword110_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_LinuxPassword121_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_LinuxPassword232_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_SecureWebProtocol_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_WindowsDefenderExploitGuard_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_WindowsMaximumPassword_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_WindowsMinimumPassword_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_WindowsPasswordComplexity_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_WindowsPasswordEncryption_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_WindowsPasswordEnforce_AINE.json
\built-in-policies\policyDefinitions\Guest Configuration\GuestConfiguration_WindowsPasswordLength_AINE.json
\built-in-policies\policyDefinitions\HDInsight\HDInsight_CMK_Audit.json
\built-in-policies\policyDefinitions\HDInsight\HDInsight_EncryptionAtHost_Audit.json
\built-in-policies\policyDefinitions\HDInsight\HDInsight_EncryptionInTransit_Audit.json
\built-in-policies\policyDefinitions\Internet of Things\IoTDps_CMKEncryptionEnabled_AuditDeny.json
\built-in-policies\policyDefinitions\Internet of Things\IoTDps_EnablePrivateEndpoint_Audit.json
\built-in-policies\policyDefinitions\Internet of Things\IoTHub_AuditDiagnosticLog_Audit.json
\built-in-policies\policyDefinitions\Monitoring\Arc_Linux_LogAnalytics_Audit.json
\built-in-policies\policyDefinitions\Monitoring\Arc_Windows_LogAnalytics_Audit.json
\built-in-policies\policyDefinitions\Monitoring\LogAnalyticsClusters_CMKDoubleEncryptionEnabled_Deny.json
\built-in-policies\policyDefinitions\Monitoring\LogAnalyticsClusters_CMKEnabled_Deny.json
\built-in-policies\policyDefinitions\Search\Search_AuditDiagnosticLog_Audit.json
\built-in-policies\policyDefinitions\Search\Search_PrivateEndpoints_Audit.json
\built-in-policies\policyDefinitions\Search\Search_RequirePrivateLinkSupportedResource_Deny.json
\built-in-policies\policyDefinitions\Search\Search_RequirePublicNetworkAccessDisabled_Deny.json
\built-in-policies\policyDefinitions\Service Fabric\ServiceFabric_AuditADAuth_Audit.json
\built-in-policies\policyDefinitions\Service Fabric\ServiceFabric_AuditClusterProtectionLevel_Audit.json
\built-in-policies\policyDefinitions\SignalR\SignalR_PrivateEndpointEnabled_Audit.json
\built-in-policies\policyDefinitions\SQL\GeoRedundant_DBForMariaDB_Audit.json
\built-in-policies\policyDefinitions\SQL\GeoRedundant_DBForMySQL_Audit.json
\built-in-policies\policyDefinitions\SQL\GeoRedundant_DBForPostgreSQL_Audit.json
\built-in-policies\policyDefinitions\SQL\MariaDB_DisablePublicNetworkAccess_Audit.json
\built-in-policies\policyDefinitions\SQL\MariaDB_EnablePrivateEndPoint_Audit.json
\built-in-policies\policyDefinitions\SQL\MySQL_DisablePublicNetworkAccess_Audit.json
\built-in-policies\policyDefinitions\SQL\MySQL_EnableByok_Audit.json
\built-in-policies\policyDefinitions\SQL\MySQL_EnablePrivateEndPoint_Audit.json
\built-in-policies\policyDefinitions\SQL\MySQL_EnableSSL_Audit.json
\built-in-policies\policyDefinitions\SQL\MySQL_InfrastructureEncryption_Audit.json
\built-in-policies\policyDefinitions\SQL\PostgreSQL_DisablePublicNetworkAccess_Audit.json
\built-in-policies\policyDefinitions\SQL\PostgreSQL_EnableByok_Audit.json
\built-in-policies\policyDefinitions\SQL\PostgreSQL_EnablePrivateEndPoint_Audit.json
\built-in-policies\policyDefinitions\SQL\PostgreSQL_EnableSSL_Audit.json
\built-in-policies\policyDefinitions\SQL\PostgreSQL_InfrastructureEncryption_Audit.json
\built-in-policies\policyDefinitions\Stream Analytics\StreamAnalytics_AuditDiagnosticLog_Audit.json
\built-in-policies\policyDefinitions\Stream Analytics\StreamAnalytics_CMK_Audit.json
\built-in-policies\policyDefinitions\Synapse\ASC_SQLVulnerabilityAssessmentOnSynapse_Audit.json
\built-in-policies\policyDefinitions\Synapse\SynapseWorkspaceCMK_Audit.json
\built-in-policies\policyDefinitions\Synapse\SynapseWorkspaceUsePrivateLinks_Audit.json
\built-in-policies\policyDefinitions\Web PubSub\WebPubSub_PrivateEndpointEnabled_Audit.json
\built-in-policies\policyDefinitions\Azure Government\Azure Stack Edge\AzureStackEdge_DoubleEncryption_Audit.json
\built-in-policies\policyDefinitions\Azure Government\Bot Service\BotService_CMKEnabled_Audit.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_AddSystemIdentityWhenNone_Prerequisite.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_AddSystemIdentityWhenUser_Prerequisite.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_AzureLinuxBaseline_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_AzureWindowsBaseline_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_DeployExtensionLinux_Prerequisite.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_DeployExtensionWindows_Prerequisite.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_LinuxNoPasswordForSSH_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_LinuxPassword110_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_LinuxPassword121_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_LinuxPassword232_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_SecureWebProtocol_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_WindowsDefenderExploitGuard_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_WindowsMaximumPassword_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_WindowsMinimumPassword_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_WindowsPasswordComplexity_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_WindowsPasswordEncryption_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_WindowsPasswordEnforce_AINE.json
\built-in-policies\policyDefinitions\Azure Government\Guest Configuration\GuestConfiguration_WindowsPasswordLength_AINE.json
\built-in-policies\policyDefinitions\Azure Government\SQL\MariaDB_EnablePrivateEndPoint_Audit.json
\built-in-policies\policyDefinitions\Azure Government\SQL\MySQL_EnablePrivateEndPoint_Audit.json
\built-in-policies\policyDefinitions\Azure Government\SQL\PostgreSQL_EnablePrivateEndPoint_Audit.json
\built-in-policies\policyDefinitions\Azure Government\Storage\StorageSync_PrivateEndpoint_AuditIfNotExists.json

https://microsofteur-my.sharepoint.com/:x:/g/personal/elbatane_microsoft_com/ETDmQZJQ9WJCmQ1GF1rC_2oBM3_Lf-UaVVOAQA_OY3-nCQ?e=4%3AzQ4n8X&at=9&CID=23B866C8-F128-4411-B3C3-699ACC9EC37E&wdLOR=c82C59166-B6CF-494E-BE9C-C95B7F9F56C7
Excel file with default values

Closing as dedicated issues were created


vcpkg tool: vcpkg-configuraion.json now requires default-registry to be present

Before November-December 2022, it was possible to have a vcpkg-configuration.json that looked like this:
{
  "registries": [
    {
      "kind": "git",
      "repository": "https://github.com/Azure/azure-sdk-vcpkg-betas",
      "baseline": "733d7216b2e19365127b8578e1b4b2056dcaa970",
      "packages": [
        "azure-core-cpp",
        "azure-identity-cpp",
        "azure-security-keyvault-certificates-cpp",
        "azure-security-keyvault-keys-cpp",
        "azure-security-keyvault-secrets-cpp",
        "azure-storage-blobs-cpp",
        "azure-storage-common-cpp",
        "azure-storage-files-datalake-cpp",
        "azure-storage-files-shares-cpp",
        "azure-storage-queues-cpp",
        "azure-security-attestation-cpp",
        "azure-core-tracing-opentelemetry-cpp"
      ]
    }
  ]
}

All worked fine. It would pull the ports that are listed in the config from our private registry, and the ones that are not there, it would pull from this repo.
Now if you use it (vcpkg install azure-core-cpp), it says:
error: The configuration defined in C:\src\vcpkg\vcpkg-configuration.json is invalid.
Using registries requires that a baseline is set for the default registry or that the default registry is null.
See https://github.com/Microsoft/vcpkg/tree/master/docs/users/registries.md for more details.

Setting "default-registry" to null does not work for us because it will not fall through this repo for the packages that are not found (our dependencies such as curl).
If we set it, it requires baseline to be set to a commit SHA from this repo. We also don't want to do that, because we want for the users' vcpkg to keep working exactly as before, with the current baseline of what they had. And logistically, for us, updating it regularly will be hard (here is our consumption model: https://github.com/Azure/azure-sdk-vcpkg-betas/blob/12068478c142d6fb95df9cdf960a0bb22c026300/README.md).

@vicroms I believe this check was added in:
https://github.com/microsoft/vcpkg-tool/pull/778/files#diff-a7dc1f432d5bfbd00785a5742acaa7861bf9279fabbcb1131612ee56f89bf8eaR182-R200

For classic installations, it makes sense to not have a baseline (the baseline is just the classic style git clone)

I was also hit by this, we updated the vcpkg repo but we kept vcpkg-tool to 2022-11-10 to avoid this problem. We simply want to keep our current config working unless there's a port guide somewhere and it's not a bug.

Can this be fixed within the next week? We have automation that updates https://github.com/Azure/azure-sdk-vcpkg-betas/, and we're going to run it in a week from now to toggle the next series of beta releases. With this bug, in place, we'll need to craft it by hand (plus customers using it won't be able to use the pirvate registry as intended).

I think @vicroms was working on a fix; if he has something ready by then we can do a tool release just to pick that up but can't promise anything at this time. The behavior you were experiencing wasn't really "intended" behavior; my extremely limited understanding is that as a result it wouldn't give you the behavior you're expecting reliably; but we do intend to put the behavior you expect in place.

@BillyONeal fwiw, my intention was the old behaviour.

Maybe you could at least make default-registry.baseline optional (missing = latest SHA), so then we could put it in the vcpkg-configuration.json that we publish in our private registry (https://github.com/Azure/azure-sdk-vcpkg-betas) and that would practically be equivalent of the consumption model that we intend to offer to our customers.

It's not how it used to be, but maybe then the same could be done for registries[N].baseline, and that would enable convenient consumption model for us: user patches their vcpkg installation once, and get special channel for our ports forever (unless we add new ports that were not listed in the vcpkg-configuration.json at a time they copied config to their vcpkg dierectory).

@antkmsft

All worked fine. It would pull the ports that are listed in the config from our private registry, and the ones that are not there, it would pull from this repo.

I think you might replicate this behavior with builtin registry

this should point default to your local clone of vcpkg
it's a bummer you still need to define baseline sha

just paste the commit SHA of your local vcpkg clone (e.g. git log)

we want for the users' vcpkg to keep working exactly as before, with the current baseline of what they had.

they would paste their clone commit SHA as baseline

{
  "default-registry": {
    "kind": "builtin",
    "baseline": "4a1035927d26de8601513a0591ba99213d3bcfbc"
  },
{
  "registries": [
    {
      "kind": "git",
      "repository": "https://github.com/Azure/azure-sdk-vcpkg-betas",
      "baseline": "733d7216b2e19365127b8578e1b4b2056dcaa970",
      "packages": [
        "azure-core-cpp",
        "azure-identity-cpp",
        "azure-security-keyvault-certificates-cpp",
        "azure-security-keyvault-keys-cpp",
        "azure-security-keyvault-secrets-cpp",
        "azure-storage-blobs-cpp",
        "azure-storage-common-cpp",
        "azure-storage-files-datalake-cpp",
        "azure-storage-files-shares-cpp",
        "azure-storage-queues-cpp",
        "azure-security-attestation-cpp",
        "azure-core-tracing-opentelemetry-cpp"
      ]
    }
  ]
}

@strega-nil-ms

For classic installations, it makes sense to not have a baseline (the baseline is just the classic style git clone)

Totally agreed. The above may be a way to say it explicitly (unfortunately you still need to dump the local git clone SHA as baseline)

I am still affected by this issue and I have not upgraded since.
This is a breaking change and any breaking change should have an official port guide. Please, I just want to know if this is gonna be fixed, and if not, how can I port my projects to the new vcpkg. Thank you.

Thank you @vicroms - speaking for ourselves, the solution works us.

@vicroms Thank you! I'll do that then when upgrading. Now it's clear that it was intentional and there's a clear step to port the config

Closed as this change was intended by design.

Ah! I got it working. We can ask vcpkg to fetch the baseline from the vcpkg repo instead of the builtin one.
Here's the lines I needed to add in my configuration:
	"default-registry": {
	  "kind": "git",
	  "repository": "https://github.com/microsoft/vcpkg",
	  "baseline": "f6a5d4e8eb7476b8d7fc12a56dff300c1c986131"
	},


Update docs on selecting referenced assemblies

Fixes: https://github.com/NuGet/docs.microsoft.com-nuget/issues/2548
Fixes: https://github.com/NuGet/docs.microsoft.com-nuget/issues/2362

Docs Build status updates of commit e3761f4:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md
:warning:Warning
View
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md

Line 31, Column 350: [Warning: file-not-found - See documentation] Invalid file link: '../reference/msbuild-targets'.
Line 58, Column 84: [Warning: file-not-found - See documentation] Invalid file link: '../reference/msbuild-targets'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 70d6337:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 82124b5:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2b826a5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit a0f8607:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 2a6e14f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 6abef02:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 6d0afb3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/create-packages/Select-assemblies-referenced-by-projects.md
:white_check_mark:Succeeded
View

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


Refactor operator/test/test.sh

Use parameters to control behavior.
Improve output formatting.
Run each test in its own namespace.
Remove unused triggers test.
Update doc.

Signed-off-by: Romain Arnaud<EMAIL_ADDRESS>

/retest

/retest

/retest

Do you think it is necessary to run each test in its own NS.
Maybe tests can be linked: create pipelines, sign them and store them.
But more importantly this means we will need to each time ask for  additional permissions to access a new NS (in staging and prod envs)

I see. I did that to simplify troubleshooting, but that might not be a great idea for the general usecase. I'll put everything in pipeline-service-test.

I see. I did that to simplify troubleshooting, but that might not be a great idea for the general usecase

Sure it is easier to quickly identify pipelines of different tests, maybe we can prefix the piplines name with the corresponding test.


NEMiOSApp will not be updated

This problem is serious.
Did this project abandon development?

For the iOS version, last update was in Nov 2017, hope for new updates as it currently crashes on latest iOS 11.


Feature: support python projects with a requirements.txt

This adds support for requirements.txt and using external libraries in python.
Example
Here's an example using bottle for more complex routing (JSON responses, etc ...):
import os
from bottle import route, run, template

@route('/')
def hello():
    return "hello"

@route('/hello/<name>')
def hello(name):
    return template('Hello <b>{{name}}</b>!', name=name)

run(port=int(os.environ.get('PORT', 8080)))

Shorter example
Similar to the current python example (slightly simpler/shorter with bottle):
import os
from bottle import route, run

@route('/')
def hello():
    return "Hello World from Python"

run(port=int(os.environ['PORT']))

Demo
https://ae2t1y6bfc.execute-api.eu-west-1.amazonaws.com/development/hello/TJ

 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.

Much appreciated!


EDU-1267 Allow edit initial item in media library

Closes https://educandu.atlassian.net/browse/EDU-1267

Works great :+1:


Fix breadcrumb max items logic

Description
Change breadcrumb logic with MaxItems set so that it only collapses is max items is exceeded and not collapse when items count is equal to it.
How Has This Been Tested?
Updated existing unit tests
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

@henon What do you think about it? Is it a kind of breaking change? I haven't seen issues about it, so maybe devs are used to this buggy property, and we should give them a notice time.

The way I see it, it is a bug and therefor fixing it, is not a breaking change in my eyes. Also, even if you consider it a break, it doesn't really impact usability of existing applications.


License Clarification

I would like to fork this project to hack on it a bit. Since there's no licence file in the repo I first wanted to ask for clarification of the licensing. Are you keen to keep it unlicensed or would you consider using a permissive open source license (e.g. MIT license)?

Hi, maybe I forgot to put a license file. However, most of my work is released under the MIT license, which is the case for this project. Please, go ahead! Regards.


openshift created docker registry and router dont' use the same name for the service + RC so we get 2 rows on the apps page

should we assume they are the same if the labels are identical?

Example:

I guess if the names match, or the selectors match is a nice enough workaround for now?

There's already a check for if the selectors match, and they totally don't between the service and RC, plus there's little to correlate between the labels as well.  Looks like for now we're stuck with doing a simple match against the name to link them, will do that for now.

am using the latest greatest console - 1.0.29 that I just released and I still see 2 rows for docker and 2 rows for router in the apps page


Feat: Highlight courses sidebar for the currently running content

PR Fixes:

Fixes : #256

Resolves #256

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Already done


Add Moonshot model client

Hi, this PR is add Moonshot model client and has passed unit testing.
I can provide my api_key if needed for testing
the  PR content:

Moonshot AI model client
unit test
spring starter
chat client documents

Moonshot is a popular LLM in China Mainland recently, the link: Moonshot

Add autoconfigure unit test and squash commits.

Hi @markpollack , sorry to bother you, I noticed there have been some recent refactorings to the code. Do these model client PRs also need to be adjusted accordingly?

@tzolov hi, sorry to bother you, it seems Mark is on vacation...
this PR has completed the refactoring, has been squashed and force pushed again, and also added support for function calls.

I sent the API keys for Moonshot and others model provider's key to Mark via email before.
I'm not sure if Mark has shared them with you.
If you need them, please contact me and I can provide them again, including QianFan on https://github.com/spring-projects/spring-ai/pull/751 and DeepSeek https://github.com/spring-projects/spring-ai/pull/702

Hello, I apologize but was pulled into other areas of work.  I will be going through this today.  Thanks again.

Hello, I apologize but was pulled into other areas of work. I will be going through this today. Thanks again.

Wow, welcome back,  I just checked the emails, and the API keys for Deepseek and Moonshot were sent before.
I noticed that i haven't sent the API key for Qianfan, so I just sent you a new email with it.
but the balance in it is not very much, but it should be enough for testing, If the balance is insufficient, please contact me.

Merged in d5b8123e60411f5d4a2cd5ee9eaf31f92a72c88c  made a few minor changes.  Note that BeanOutputParser is deprecated, so the tests should use BeanOutputConverter and other similar OutputConverter classes.
The api keys you sent worked!


Allow Any Case with roles

Currently, you have to match the case of the role in the config exactly, else the command fails as it doesn't find the role. I'd like to implement a way for the bot to recognize the roles no matter the case of the letters.

check this out: https://github.com/lbryio/lbry-wunderbot/blob/master/bot/modules/commandsV2.js#L39

I'll look into it. I also need to add the ability to add All roles, so maybe have aliases with the roles in the config and if more than one role has the same alias, it adds them all.


docs: add more details on rich container

Signed-off-by: Allen Sun<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
This pr tries to add a graph to explicitly show the architecture of rich container. And some illustration of rich container as well.
Ⅱ. Does this pull request fix one issue?

none
Ⅲ. Describe how you did it
none
Ⅳ. Describe how to verify it
none
Ⅴ. Special notes for reviews
none

Codecov Report

Merging #1440 into master will increase coverage by 22.52%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1440       +/-   ##
===========================================
+ Coverage   16.26%   38.79%   +22.52%
===========================================
  Files         206      256       +50
  Lines       13759    16808     +3049
===========================================
+ Hits         2238     6520     +4282
+ Misses      11365     9459     -1906
- Partials      156      829      +673

Impacted Files
Coverage Δ

cri/stream/httpstream/spdy/connection.go
0% <0%> (ø)

registry/auth.go
54.12% <0%> (ø)

storage/volume/error/errors.go
28.57% <0%> (ø)

storage/volume/modules/ceph/map.go
0% <0%> (ø)

storage/quota/set_diskquota.go
9.09% <0%> (ø)

storage/volume/driver/remote.go
75.4% <0%> (ø)

storage/volume/driver/context.go
8.69% <0%> (ø)

storage/quota/prjquota.go
0% <0%> (ø)

network/mode/init.go
70.96% <0%> (ø)

pkg/system/network.go
70% <0%> (ø)

... and 113 more

Thanks a lot for your feedback. I will try to answer your question. While feel free to share more information if there is something missing in our docs. @houstar

I don't know that why we need --initscript here ? I think systemd is the init application that integrated in the CentOS and is enough to startup the rich container.
i.e. We only need to --rich systemd to start the rich container.

--initscript is used to add a prestart hook in the container which will be executed before the systemd starts. --rich is used to choose one type of the rich container mode from systemd, dumbint.

From this User Case, you also specified -v /tmp:/tmp,
I have question that If there're content in the container image's /tmp and /run , how did you handle this case ?

This will handle it like the docker way. In most cases, it will override the inner container path.

If we're running Systemd inside pouch ( so-called rich container), did we support pouch stop [container_id] has the same process as 'systemctl stop' inside pouch

I do not think rich container will do the systemctl stop, since in the original way, pouchd would send a terminal signal to the pid=1 process in the rich container which is systemd.

In reply to @allencloud ,

--initscript` is used to add a prestart hook in the container which will be executed before the systemd starts. --rich is used to choose one type of the rich container mode from systemd, dumbint.

I'd like to --initscript is invisible to user and pre-defined the hook within /usr/libexec/pouch/hook.d directory. This pre-defined hook will be executed if the CMD is either systemd/init or dumbinit

From this User Case, you also specified -v /tmp:/tmp,
I have question that If there're content in the container image's /tmp and /run , how did you handle this case ?

This will handle it like the docker way. In most cases, it will override the inner container path.

If there're contents in container images's /tmp and not specified -v /tmp:/tmp, did we'll move container images's /tmp content into temporary directory and then mount tmpfs in /tmp,  lastly move back the content from temporary dirtectoy to /tmp  ?

I do not think rich container will do the systemctl stop, since in the original way, pouchd would send a terminal signal to the pid=1 process in the rich container which is systemd.

There're some applications needs to be gracefully shutdown.  e.g. The Storage App.
I mentioned this since there're  argues between Systemd and Docker.
See Systemd vs. Docker

There're some applications needs to be gracefully shutdown. e.g. The Storage App.
I mentioned this since there're argues between Systemd and Docker.

I have to say systemd has no this functionality to pass the SIGTERM to its sub processes. While what I wanna say is that dumb-init supports this. @houstar

LGTM


fileHighlight is included in Prism.js and as a plugin

Information:

Prism version: master branch (latest)
Environment: Browser

Does the latest version of Prism from the download page also have this issue?

Yes
~If you're using Prism with Node or Webpack, please also see the usage section.~
Description
The fileHighlight functionality is included as a plugin but it is also included in Prism.js at the end of the file. Including it at the end of the file means that users of Prism always end up having fileHighlight, even if they do not want that functionality.
I'm hoping we can remove it from the main Prism.js file and keep it only as a plugin, this is likely a major version change as it does remove default functionality of Prism.js.

Including it at the end of the file means that users of Prism always end up having fileHighlight

Not really.
The prism.js generated by the download page doesn't have this issue.
In node, this is a little more tricky. Instead of importing prism directly, you can import its parts.
prism.js is a generated file which is the result of the concatenation of prism-core.js, prism-markup.js, prism-css.js, prism-clike.js, prism-javascript.js, and file-highlight/prism-file-highlight.js.
So if you don't want any of the parts of prism.js, then you can import its parts instead and leave out the ones you don't need.
To exclude fileHighlight, do the following:
-import prism from 'prism/prism.js';
+import prism from 'prism/components/prism-core.js';
+import 'prism/components/prism-markup.js';
+import 'prism/components/prism-css.js';
+import 'prism/components/prism-clike.js';
+import 'prism/components/prism-javascript.js';

(It's better to load other components using loadLanguages, but you get the idea.)

That being said, I agree that the default export of Prism shouldn't include File Highlight or any other plugins. I think that the default languages shouldn't be included either but that definitely a breaking change.
prism.js includes these languages and plugins because this file is used to highlight the code on the prismjs.com website. I don't get why we use this as the main of the project, but that's how it is right now.

I'm ok with this being the main of the project, as it gives the user a useful set of defaults to start using the project. If you need to customize what's bundled with Prism, use either loadLanguages in Node or the babel plugin in webpack, etc.
We can't change this, as mentioned, because the website uses that prism.js file and loads the code snippets used there.
I don't consider this a bug, so closing this issue, but happy to continue the discussion if I missed anything.


service plan cost truncated in 1st service display

Frontend Deployment type

[x] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, using docker compose
[ ] Docker, single container deploying all components
[ ] npm run start
[ ] Other (please specify below)

Backend (Jet Stream) Deployment type

[x] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, using docker compose
[ ] Docker, single container deploying all components
[ ] Other (please specify below)

Expected behaviour
Service plan costs display is consistent over time
Actual behaviour
Service plan costs display is initially truncated, and then properly displayed once a service instance creation screen has shown
Steps to reproduce the behavior

Deploy a service broker which returns the following V2/catalog payload

{
  "services": [
    {
      "id": "noop-ondemand-service",
      "name": "noop-ondemand",
      "description": "On demand noop dedicated cluster",
      "bindable": true,
      "plans": [
        {
          "id": "noop-ondemand-plan",
          "name": "default",
          "description": "Default plan (beta).",
          "metadata": {
            "key1": "value1",
            "costs": [
              {
                "amount": {
                  "eur": 48
                },
                "unit": "Monthly"
              }
            ],
            "key2": "value2",
            "displayName": "noop plan display name",
            "bullets": [
              "2GB storage",
              "50 concurrent connections"
            ]
          },
          "free": false
        }
      ],
      "tags": [
        "noop",
        "document"
      ],
      "metadata": {},
      "requires": []
    }
  ]
}

Go to marketplace
Display service plans for a given service : the cost is truncated

Start service instance creation workflow: service plan displays correctly

Cancel service instance creation
Display service plans for the service: cost is not truncated

Log output covering before error and any error statements
Insert log hereCopy

Detailed Description

Following https://github.com/cloudfoundry-incubator/stratos/pull/2959
 the costs are properly displayed.
Context

Why is this change important to you? How would you use it?

our users see broken costs display in their marketplace. This triggers support requests.

Reproduced with current stable stratos with commit hash https://github.com/cloudfoundry-incubator/stratos/commit/a728011a79e47be7eb017394542b8816efc5a596
Possible Implementation
Suspecting the create service instance workflow is modifying/normalizing the service catalog data, and that this logic is missing when only displaying service plans
/CC @ldangeard-orange

Good spot! I think we use a common component to show all, so it could be that the data is missing in one instance. We'll look into this

@gberche-orange Found the issue! We failed to register the fr locale, which it used to format the currency value, at the service plan table level. This already happens when we show the service plan card in the create service stepper, which explains why after visiting it the amount is shown correctly. I've created a PR and the fix will be in the next release

great, thanks @richard-cox !


Please cut a 3.6.1 bugfix release?

There are a few useful bugfixes that have been merged to master since the 3.6.0 release was made on Mar 3 2016. It would be nice to be able to use them without having to make a fork.
Bumping the version in tweepy/__init__.py would be enough for our use-case (doesn't look like you've pushed 3.6.0 to pypi yet either, but for anyone who maintains their own cheeseshop that's okay).

3.6.0 has now been tagged as a release and is available on PyPI.

3.7.0 has also been released now.


Fixed releases button in readme

Shame on me. I haven't even noticed that there was something wrong. Thanks!


Allow declared class constructors to specify a non-void return type

b99042b05a38cc72e7d147f33b38470d1bad715b made it possible for the inferred return type of a constructor to be non-void, but it seems that declared classes still can't specify a return type.
declare class D {
  constructor(): { x: number };
}

var d = new D();
d.x = "";

constructor call
Error:
object type
his type is incompatible with undefined

assignment of property x
Property not found in
D

This is useful for the "NamedConstructor" concept in IDL files. See #478.

I suppose I don't know for a fact that this is an easy fix. I'm just guessing :).

I checked it out—agree it's pretty tractable. One thing I learned: an explicit return undefined will actually return an instance of the class, so we don't need to differentiate between explicit and implicit return types.

Thanks for reporting, fix on the way.


Can't adjust font size of chart title

Hello,
I need to adjust the title font size in some charts I created. I try to follow the documentation, but the option doesn't seem to be available: https://python-pptx.readthedocs.io/en/latest/api/chart.html#pptx.chart.chart.ChartTitle
It seems like .format only provides access to fill and line properties, which don't seem useful for the title. Also there are no font property like you have for category/value axis (like used here to adjust the label fonts: https://python-pptx.readthedocs.io/en/latest/user/charts.html).
Is this feature really missing?
Thanks for your help

Title text and formatting are adjusted using the text frame, as in any regular shape.
https://python-pptx.readthedocs.io/en/latest/user/text.html


Text after a break line in the same cell cannot be extracted

Steps to reproduce.

Create a new Numbers file.
Type "part 1" in a cell.  Tap Option+Return (in MacBook) to create a new line in the same cell.  Type a phrase such as "part 2" in the newly created line of the same cell.
Save the Numbers file and close the file.
Use numbers-parser to read the content of this cell.  The word of "part 2" which is after the new line won't be recognized.  Only the texts before the new line ("part 1") are picked up
Note, if there are more new lines in the same cell, the value of the cell becomes None, i.e., "part 1" cannot be extracted.

Or unzip and open the attached parts.numbers.zip file
parts.numbers.zip
.

Which method(s) are you using to return the data? It looks OK to me:
% cat-numbers -b /Users/jon/Downloads/parts.numbers
,,,,,,
,Part 1

Part 2
,,,,,
,,,,,,

This was with version 2.1.1 of numbers-parser and I used table.cell(row, col) to get the data

@traceymeng I've added https://github.com/masaccio/numbers-parser/blob/master/tests/test_issues.py as a test so let me know if this is what you're doing.
I'll close the issue as done in a couple of weeks if there's no more activity.
Thanks for raising.

Thanks, Jon.
I did not get time to test it.  I'll let you know if I still have issues.
Best Regards,
Tracey
On Fri, Dec 17, 2021 at 12:50 AM Jon Connell @.***>
wrote:

@traceymeng https://github.com/traceymeng I've added
https://github.com/masaccio/numbers-parser/blob/master/tests/test_issues.py
as a test so let me know if this is what you're doing.
I'll close the issue as done in a couple of weeks if there's no more
activity.
Thanks for raising.
—
Reply to this email directly, view it on GitHub
https://github.com/masaccio/numbers-parser/issues/4#issuecomment-996541153,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFMGNICQPLSUKYSFIW4JUHTURL2TRANCNFSM5J7L5WLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Support multiple types in JSDoc typing

In JSDoc you can type for example a parameter to allow multiple types, like this:
@param {String|Number} myParamName description
Same thing goes for @type
Tern doesn't seem to recognize this.

Any updates on this?

I started on it, got stuck and then got completely sidetracked, so unfortunately no progress.
And no idea when I might get around to it now

Please take a look at patches 4604a1e747a89...29bcf0adc53 and see whether they reflect what you had in mind.

Yes, thanks!

@marijnh There is problem though:
function a(x) {} a(1)
function b(x) {} b("x")

var t = Math.random() > 0.5 ? a : b;
t( // shows only `t(x: number)` here while should be `t(x: number|string)` or at least `t(x: number)|t(x: string)`

To do what you are expecting here, we'd need a unification algorithm that goes from two function types to a single function type with union arguments. That's not how completion and type resolution currently works. Though if you want to look into it, the way to do it would be to replace similarType in infer.js with a unifyTypes function that, given two types, either returns a unified type or null if they are incompatible.

I would like to see this functionality as well. I implemented a quick hack into my tern plugin that allows fake union types by simply reproducing what ever type is listed in the jsdoc param (its far from perfect, but works until I can get official Tern support).
Try the following code in [my demo] (http://sevin7676.github.io/Ace.Tern/demo.html):

/**
 * @param {string|number} a - first part of addition
 * @param {string|number} [b] -second part of addition
 */
function add(a,b){
    if (b == null) return a
    return a+b;
}

add(1,2);

@sevin7676 Did you think to try the current Tern version? Your example code already works there.

that's awesome! I actually wrote my code about 6 months ago, and at that time there was no such support. Thanks!

@RReverser On closer look, I don't think your example really is something that is important to support. The value in t would not be a function that takes a number or a string, it would in fact be either a function that takes a number, or a function that takes a string. In terms of typing, that is not a very useful situation. So I've decided not to move to a unification algorithm, and I'm closing this issue.


adding genome attributes to config file

related to #7 (but for genomes instead of for assets)
what if we want to add some other attributes about a genome? examples include a description, URL to where it came from, what species it comes from, how long it is, etc.
maybe the config format should introduce an "assets" attribute under genome so they are not right under it?

I've transferred it here since majority (if not all) of the related changes will be needed here
the question is: do we introduce this before we release refgenie as a whole?

after is fine.

This has come again, eg, https://github.com/databio/refgenconf/pull/46#discussion_r301821235
This is becoming higher priority. I think it will be critical to include a description of each genome on the server.
What would it take to solve this now?

change the config format to introduce an assets attribute, so we can have other attributes right under the genome key
add a new top-level attribute called 'config_version' to the genome config file. we'll be introducing version 0.2.
make a new refgenie release that, if given a previous version (ie there's no 'config_version' specified), will say 'please update your config file'
add a new refgenie command, updatecfg, that will take in a versionless cfg file and make it compliant with version 0.2
then we just have to make the actual changes to the refgenconf functions to use the new version.

@vreuter, @michalstolarczyk do you think this is something we could accomplish by today or tomorrow if we focus?
I'm just thinking this is actually a rather major change, so it would be better to do it before we release refgenie into the wild rather than after (countering my opinion from last month I know).

the other nice thing about this is that it will make the genome attributes infinitely flexible.
an alternative would be go have a 'genomes' section and an 'assets' section... the assets would then tie to genomes.
genomes:
  hg38:
    description: Genome derived from blah blah blah
    attr1: val1
    checksum: checksum from refget

assets:
   hg38:
     bowtie2_index:
      attr1: val1
      path: path/to/asset

Here the assets section would be exactly what we now call the genomes section.

The first organization has my vote. The intrinsic hierarchy in the YAML files takes care of what we'd try to accomplish with the second one. So it just adds complexity IMHO

I think I'm pretty much done with the config file format changes
We need to adjust the tests, though..
@vreuter, this is clearly your area of expertise, could you take a look at it? I'd spend ages to understand and correct them
Because of that I could just test the changes using the CLI and working with RefGenConf in an interactive python session, but it seems to work as expected

understanding those tests can be challenging. If @vreuter isn't around to make these changes, I'd say just comment out the failing tests for now... we need to move on.

For future reference, tagging with @pytest.mark.xfail is probably easier


Unable to parse checkov results.

After opening a file, checkov attempts to scan it and then fails. Logs show the following:
java.lang.Exception: couldn't parse checkov results output, reason:
{
    "passed": 0,
    "failed": 0,
    "skipped": 0,
    "parsing_errors": 0,
    "resource_count": 0,
    "checkov_version": "2.0.1075"
}

	at com.bridgecrew.CheckovResultKt.getFailedChecksFromResultString(CheckovResult.kt:54)
	at com.bridgecrew.services.CheckovScanService.getGroupedResults(CheckovScanService.kt:138)
	at com.bridgecrew.services.CheckovScanService.analyzeScan(CheckovScanService.kt:110)
	at com.bridgecrew.services.CheckovScanService.access$analyzeScan(CheckovScanService.kt:40)
	at com.bridgecrew.services.CheckovScanService$ScanTask.run(CheckovScanService.kt:165)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:436)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:120)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:496)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:244)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:188)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:624)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:698)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:646)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:623)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:175)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:244)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:829)

I was able to successfully execute the same command as the plugin which showed the same json output as shown in the exception.
If I scan a file with a resource that triggers checks I was consistently getting timeouts through the plugin even though the checkov command with the same arguments would return within 20 seconds.
IntelliJ 2021.3.3:
Runtime version: <IP_ADDRESS>+1-b1751.46 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

MacOS 12.3.1
Checkov plugin version: 0.0.18
Python version: 3.9.12
Checkov version: 2.0.1075

Thanks for opening the ticket.
This was fixed in version 0.0.19 :)


Occasional but inconsistent connection timeouts result in "parsing errors"

This issue is important because we lose data as a result of this occurring.
I have attached a screenshot of my terminal output for reference. I would advise against scraping at low speeds.

A work around could be to make a function to keep trying until it works. Will need to look more into it

Closing issue because of changes in #15. You will need to terminate the process in a different manner because of the loop I made.


Add the Common Platform Enumeration (CPE) for the CycloneDX output

What would you like to be added:
The Common Platform Enumeration (CPE) which is currently missing in the CycloneDX output
Why is this needed:
It makes the current CycloneDX report unusable for tools like Dependency Track which uses the CPE to scan for vulnerabilities.
Dependency Track related message:

The internal analyzer evaluates components against an internal vulnerability database derived from the National Vulnerability Database and VulnDB (if enabled). This analyzer makes use of the Common Platform Enumeration (CPE) defined in components. Components with a valid CPE will be evaluated with this analyzer.

Given that https://github.com/anchore/syft/pull/271 has been merged, looks like this can get picked up now.
Developer note: don't use this use this instead

On second look, I misinterpreted the XML schema; though the type definition still exists in the schema, the usage within components has been explicitly listed as deprecated (https://github.com/CycloneDX/specification/blob/master/schema/bom-1.2.xsd#L307).
We could add the CPE, however, it seems potentially ill-advised since Syft generates multiple potential CPEs from the underlying raw data, where as the cyclonedx spec allows for a single value --this could be problematic since it would be a guess.
@geertvanheusden do you know if Dependency Track is planning to keep pulling CPEs from CycloneDX documents in the future (or what they may be using in it's place)?

I just did an additional check and apparently applications with a valid PURL are checked against an internal analyser (NVD) as well. I might have misinterpreted the documentation or it is outdated/incorrect.
@stevespringett maybe you can elaborate on the correct and current behaviour?

@geertvanheusden I assume you're referring to Dependency-Track? If so DT has a few different analyzers including an internal analyzer (uses CPE for NVD and VulnDB), NPM Advisories (PURL), and OSS Index (PURL).
Findings from OSS Index may be unique (not in the NVD) or may be CVEs. In DT 3.8 and previous, it was unclear what analyzer was attributed to finding a vulnerability on a component. In DT 4.0, attribution is now specifically supported along with a reference URL to the external source of the finding.
More than likely, a CycloneDX BOM was imported and the components had a PURL. If OSS Index was enabled, then those components would additionally be analyzed with the OssIndexAnalyzerTask possibly resulting in CVEs being identified and a NVD label being applied to it. Again, in 3.8.0 and prior, it wasn't super clear what analyzer was attributed to the finding. This is much improved in 4.0 being released later this month.

Thanks @stevespringett for taking the time to provide us with this clear answer.
Based on the above answer I think it would still be relevant to have the CPE available in the CycloneDX BOM as Dependency Track still uses it to scan for vulnerabilities against two databases. If however it would be a guess as multiple CVE's could be dedicated from the raw-data for one application, it might not be the best solution to have it after all.

Thanks for the clarity @geertvanheusden / @stevespringett . We are planning on sorting the list of CPEs to be most specific first in the near future, in which case we could put in the "best guess" in the cycloneDX output --not foolproof, but potentially worth while. Until we have that ranking in place I'd suggest leaving out CPE for now (we can leave this issue open too).

Given that https://github.com/anchore/syft/pull/289/files was merged in - would it make sense to add the CPE field in the CycloneDX output?

Now that sorting by specificity is in I think adding in CPE into the CycloneDX output would be alright 👍 (still not perfect, but probably better than a random guess)


Update tutorials (apache/streampipes#769)

Purpose

Update the existing tutorials in the documentation
Approach

Samples

Remarks

Fixes:

Do we want to adress https://github.com/apache/streampipes/issues/800 here as well?
Or leave it open for 1.0.0 like currentply planned?

Thanks, fixed!


Incompatible with clappr 0.3.9

I've tried to get this plugin to work with clappr 0.3.9, and it just failed silently.
After some investigation, I was able to solve it by making this change to the plugin source:

OLD:
  bindEvents() {
    this.listenTo(this.core.mediaControl, Events.CORE_ACTIVE_CONTAINER_CHANGED, this.reload);
    this.listenTo(this.core.mediaControl, Events.MEDIACONTROL_RENDERED, this.render);
    this.listenTo(this.core.mediaControl, Events.MEDIACONTROL_HIDE, this.hideContextMenu);
    this.listenTo(this.core.mediaControl, PlaybackRatePlugin.MEDIACONTROL_PLAYBACKRATE, this.updatePlaybackRate);
  }

  unBindEvents() {
    this.stopListening(this.core.mediaControl, Events.MEDIACONTROL_CONTAINERCHANGED);
    this.stopListening(this.core.mediaControl, Events.MEDIACONTROL_RENDERED);
    this.stopListening(this.core.mediaControl, Events.MEDIACONTROL_HIDE);
  }

NEW:
  bindEvents() {
    this.listenTo(this.core, Events.CORE_ACTIVE_CONTAINER_CHANGED, this.reload);
    this.listenTo(this.core.mediaControl, Events.MEDIACONTROL_RENDERED, this.render);
    this.listenTo(this.core.mediaControl, Events.MEDIACONTROL_HIDE, this.hideContextMenu);
    this.listenTo(this.core.mediaControl, PlaybackRatePlugin.MEDIACONTROL_PLAYBACKRATE, this.updatePlaybackRate);
  }

  unBindEvents() {
    this.stopListening(this.core, Events.CORE_ACTIVE_CONTAINER_CHANGED);
    this.stopListening(this.core.mediaControl, Events.MEDIACONTROL_CONTAINERCHANGED);
    this.stopListening(this.core.mediaControl, Events.MEDIACONTROL_RENDERED);
    this.stopListening(this.core.mediaControl, Events.MEDIACONTROL_HIDE);
  }

The event unbinding still looks wrong, but meh... it works now where it didn't before.

Thanks for the report.  Feel free to open a PR to improve the event binding/unbinding if you have ideas.

Alas, clappr doesn't have good documentation for plugins, so all I know I learned by looking at this and other plugins.  It just looks like an event that was never bound is being unbound (Events.MEDIACONTROL_CONTAINERCHANGED), and an event that was bound is not being unbound (PlaybackRatePlugin.MEDIACONTROL_PLAYBACKRATE)


Is there any way to get a key value from Info.plist on iOS ?

I'm using this config on android:
productFlavor {
   buildConfigField('String', 'MY_ANDROID_APP_KEY', 'MY_ANDROID_APP_KEY_VALUE')
}

and I'm able to get this key using:
import Config from 'react-native-config'

Config.MY_ANDROID_APP_KEY //will return MY_ANDROID_APP_KEY_VALUE

and I have this key and value on my Info.plist:
<key>MY_IOS_APP_KEY</key>
<string>$(MY_IOS_APP_KEY_VALUE)</string>

My question is: Is there some way to get  MY_IOS_APP_KEY from Info.plist ?

try this:
<key>MY_IOS_APP_KEY</key>
<string>__RN_CONFIG_MY_IOS_APP_KEY_VALUE</string>

@namaxinan none of the plist variables show up on my Config object, so adding a new one obviously does nothing.

Any solutions?

Have you done these steps?

thx, nhnam, you helped me a lot.
my Info.plist
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleShortVersionString</key>
<string>$(__RN_CONFIG_VERSION_NAME)</string>

my .env
VERSION_CODE=1000000003
VERSION_NAME=0.0.4

any workaround @nmantulenko

@nhnam yes, the extra steps didn't fix the problem

The solution I found was:
0. Tap the app name next to the run button on Xcode

Tap Edit Scheme/Build/Pre-actions
Based on $CONFIGURATION, calculate your env variables and echo the path to a file containing them to /tmp/envfile, like so:

if [[ $CONFIGURATION == "Beta" ]]; then
echo "VERSION_CODE=${BUILD_NUMBER}" >> $ROOT_DIR/.env.beta
echo ".env.beta" > /tmp/envfile
fi

Any workaround without setting a value in the .env ?

still waiting for read from Config without setting a value in the .env..

@Darkilen  @moxspoy : I don't get your idea. The .env file is used if you want to sync Configurations between JS and Native Code ( android, ios native project). Might you pls explain your problem? It is hard to know what do you want to do

Basically i want to access my secret credential from react native config but without setting from env file.
In android i use gradle property to save my credential then link into gradle file, and able to access that through Config.[VARIABLE]. In iOS, i cant do that approach. Any idea?
In a simple word, i want to share the KEY but the value is depend on how platform make it more secure

@moxspoy . In iOS, you can set directly in Build Settings, or create a XCConfig file to manage it. https://nshipster.com/xcconfig/

@nhnam In my case, I want to have access to VERSION_NAME value. For Android, it's the value I set in the build.gradle file under the key versionName but for iOS, I can't access this value at all, except if I set a new key/value pair in a .env file.


chore: drop banners

Reason for Change

Census banner is droppin' cookies so we are removing the banner everywhere.

Changes

Remove cellguide, GE, and landing page banners.

Is there an open issue associated with this?

Are there any test that need to be updated associated with these changes.


Allow specifying DC amount instead of HNT amount in HNT => DC swap

Definitely.
People usually want a specific amount of DC received in the wallet. Not a specific amount of HNT burned to DC.

Is there any timeline for that fix?

Not yet, it's been pushed back a few times by more pressing issues. Hoping within the next few weeks

This is Done now isnt it? via another issue


Converting dataframe tempView to correct schema

Hey,
this is more of a support request since the real issue is my unfamiliarity with scala but i really hope you'll humor me.
I followed this tutorial: https://databricks-prod-cloudfront.cloud.databricks.com/public/4027ec902e239c93eaaa8714f173bcfc/4082562773728035/2089274675795739/3712305628257488/latest.html
But i get binary values where i am expecting strings.
%spark2.spark
val nodesDF = spark.read.parquet("/tmp/geo/bremen-filtered.osm.pbf.node.parquet")
nodesDF.createOrReplaceTempView("nodes")
nodesDF.show()
---result----
+-----+-------+-------------+---------+-------+--------------------+--------------------+--------------------+
|   id|version|    timestamp|changeset|    uid|            user_sid|                tags|             members|
+-----+-------+-------------+---------+-------+--------------------+--------------------+--------------------+
| 2952|     26|1488545617000| 46548312| 339581|[6E 79 75 72 69 6...|[[[B@2343598a,[B<EMAIL_ADDRESS>| 3800|      3|1491746258000| 47593689|  44217|       [6B 6A 6F 6E]|[[[B@16219edd,[B<EMAIL_ADDRESS>
%spark2.spark
nodesDF.printSchema()
nodesDF.select($"tags".getItem(1)).head().get(0)
---result---
root
 |-- id: long (nullable = true)
 |-- version: integer (nullable = true)
 |-- timestamp: long (nullable = true)
 |-- changeset: long (nullable = true)
 |-- uid: integer (nullable = true)
 |-- user_sid: binary (nullable = true)
 |-- tags: array (nullable = true)
 |    |-- element: struct (containsNull = true)
 |    |    |-- key: binary (nullable = true)
 |    |    |-- value: binary (nullable = true)
 |-- latitude: double (nullable = true)
 |-- longitude: double (nullable = true)
res11: Any = [[B@5d543cb8,[B@ce6535f]

The schema recognized all string types, i.e. user_sid and key as well as value of element, as binary.
How do i convert them back to strings or better yet, apply the correct schema at the start?
Thanks!

Some additional info.
spark: <IP_ADDRESS>.6.0.3-8
scala: 2.11.8
jdk: 1.8.0_131
The parquet schema according to spark-shell:
message spark_schema {
  required int64 id;
  optional int32 version;
  optional int64 timestamp;
  optional int64 changeset;
  optional int32 uid;
  optional binary user_sid;
  repeated group tags {
    required binary key;
    optional binary value;
  }
  required double latitude;
  required double longitude;
}

This is what spark makes of it:
StructType(StructField(id,LongType,false), StructField(version,IntegerType,true), StructField(timestamp,LongType,true), StructField(changeset,LongType,true), StructField(uid,IntegerType,true), StructField(user_sid,BinaryTzpe,true), StructField(tags,ArrayType(StructType(StructField(key,BinaryType,false), StructField(value,BinaryType,true)),false),false), StructField(latitude,DoubleType,false), StructField(longitude,DoubleType,false))

Hi @serialoverflow
In Parquet there is no String type, but bytearrays (binary type). To tell Spark that it has to handle the the binary content as Strings you have to set spark.sql.parquet.binaryAsString to true.
If you have control over SparkSession creation you can specify it there or you if are using Zeppelin then go to Interpreters and add the property to the Spark interpreter.
Let me know if this works.

yes, it does work ^^
perfect timing, i just hit run with that setting when you posted your response.

great! don't hesitate to ask other questions!


when open the togle the jetson nano freeze

librealsense
2.53.1 RELEASE

OS
Linux

Name
Intel RealSense D435I

Serial Number
239122070694

Firmware Version
<IP_ADDRESS>

Advanced Mode
NO

Camera Locked
YES

Usb Type Descriptor
3.2

Product Line
D400

Asic Serial Number
243323067229

Firmware Update Id
243323067229

Please provide a description of the problem

Hi @LeoVerheyden  Could you provide more information about your problem, please?  What it is that you are toggling?  Thanks!

Hi @LeoVerheyden  Do you require further assistance with this case, please?  Thanks!

@LeoVerheyden please submit dmesg log when it happens.

Hi @LeoVerheyden  Are you able to generate a dmesg log as @dmipx suggested in the comment above, please?  Thanks!

Hi @LeoVerheyden  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


New Pattern: aws-lambda-cr-apigateway

Add your +1 👍  to help us prioritize
Overview:
This AWS Solutions Construct implements an Inline AWS Lambda function and custom resource to invoke an API endpoint and post user provided metrics data
User provided props for the construct:

URL for API endpoint
Metrics data as ResourceProperties JSON blob
Optional flag to append UUID as unique identifier for every request (default: true)
Optional lambda.Function an existing instances of Lambda Function (default: None)
Optional lambda.FunctionProps to deploy new Lambda Function (default: Default props are used)

Default settings
Out of the box implementation of the Construct without any override will set the following defaults:
AWS Lambda Function

Configure least privilege access IAM role for Lambda function
Enable reusing connections with Keep-Alive for NodeJs Lambda function

AWS CloudFormation CustomResources

Generate the unique identifier (UUID) per request
Post the user provided ResourceProperties (metrics data) + UUID to the API endpoint

+1


glibc: apply pending PR29162 to unbreak gnat6

commit e938c0274 "Don't add access size hints to fortifiable functions"
converted a few '__attr_access ((...))' into '__fortified_attr_access (...)'
calls.
But one of conversions had double parentheses of '__fortified_attr_access (...)'.
Noticed as a gnat6 build failure:
/<<NIX>>-glibc-2.34-210-dev/include/bits/string_fortified.h:110:50: error: macro "__fortified_attr_access" requires 3 arguments, but only 1 given

The change fixes parentheses.
ZHF: #172160
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Tested emacs.pkgs.ada-mode, works great.


Reduce JAR size

Fix proguard issues to reduce size of generated JAR.

Are you by any chance still working on this?

Hi, I'm not currently working on this and I probably won't get started anytime soon. I'd be happy to accept a PR though if you can get proguard working.


Add a number extension for number formatting

This extension is just a wrapper for number format.

Any chance of this being added to the main repo?


Create integration test for regression of test discovery

Create integration test for https://github.com/Microsoft/vscode-python/issues/4566

as part of testing rewrite I have re-designed all tests and added integration tests


[Feature request] Separate grid, color, and typography CSS files

This is my first time contributing - I read the guidelines but the rules around feature requests really only said to make sure that it's relevant to multiple people and didn't explain much else. If I've posted this in the wrong place, I'm happy to revise / move this request elsewhere. Thanks all! 🙇

Expected Behavior
Separation of layout, color, component, and typography classes (as individual css files) to provide the option of using each piece independently out of the box.
Current Behavior
Right now the dist folder only has one master CSS document.
Possible Solution
Keep the master CSS document, but also include smaller CSS chunks. My assumption is that we'd want to have materialize-colors.css, materialize-typography.css, materialize-grid.css and materialize-components.css.
This would allow for lightweight implementation of certain features, and would also allow this library to play more nicely with custom-built css rulesets.
Steps to Reproduce (for bugs)
n/a
Context
In particular, students I work with would like to implement the excellent MaterializeCSS color classes without the other default behaviors that come along with loading the entire library. I did a brief lesson with them about how to read the css files and copy paste only what they need, but working with 30 first-time-learners at once who are all trying to parse a 10k-line file means many of them mistakenly copy over too much or too little.
Your Environment
Probably not relevant, but...

Version used: 1.0.0
Browser Name and version: Chrome 74
Operating System and version (desktop or mobile): OSX Mojave
Link to your project (if appropriate): n/a

Having multiple seperate CSS files will make the site loading slower. I think there should be a way to modify the output of the CSS. Say you only need some components but don't need the typography you should be able to remove the typography from the output. Something similar to this: https://github.com/SuperDJ/material/blob/master/src/sass/_index.scss, by commenting you can change what's in the output


Black OPS 4 does not start

Black OPS 4 does not start when you click the Play button on the launcher. It is launching but it does nothing visible. The launcher shows that the game has exited after 10 seconds. Then you must kill the game process. The launcher works only with win 7 and I tested game process files with win8.1 and win10. Using the virtual desktop did not help. I have a clean wine prefix. I created a log file by:
xfce@ryzenpc:/media/ssd/BattleNet/Call of Duty Black Ops 4$ wine 'Black Ops 4 Launcher.exe' &> winelog.log
Any ideas what to try?
Software information
Call  Of Duty: Black Ops 4 standard edition, it is free when buy an Asus gaming product. The download size  is 85GB.
System information

GPU: Asus RX570 4GB
Driver: Latest Oibaf ppa Mesa and the AMD wip kernel
Wine version: wine-4.0-rc2 (Staging)
DXVK version: 0.94

winelog.log
Log files

d3d11.log: created but empty
dxgi.log: created but empty

To clean messages from the log, use: winetricks  vcrun2015 and disable audio notifications in the launcher.
What debug channels are useful for tracing what happens?
https://wiki.winehq.org/Debug_Channels

The game runs some agent and it creates the dxgi.log file.
Agent_dxgi.log

Doesn't contain any useful info. Not sure what's happening but i doubt it's dxvk related.

Related: https://www.reddit.com/r/wine_gaming/comments/9r3t0v/call_of_duty_black_ops_4_wont_start/
Seems as wine issue also recommends invoking WINEPREFIX="<PATH_TO_WINEPREFIX>" winetricks dxvk as non-root to make sure that dxvk is installed ->  WINEPREFIX="<PATH_TO_WINEPREFIX>" winetricks dxvk<DXVK_version>` to eliminate issue with latest -> filing wine bug.
Also winelog with WINEDEBUG="+message,+dll" wine <path_to_game> might reveal something helpful.. it seems to be missing a dependency which cause it to be stuck in a regression.

The game loads 32-bit dlls only, so the next tester could try with a 32-bit wine prefix. The game requirements says that OS must be 64-bit.

This game is most definitely not 32-bit. Aren't you mixing that up with the Blizzard launcher?

I have 64-bit wine prefix. I mixed windows versions only. as I wrote: "The launcher works only with win 7 and I tested game process files with win8.1 and win10. "

I don't have the game, can you post the log?
If it tries to load 32-bit DLLs then something is wrong, the game has to be a 64-bit exe.

May I ask what the current state is and if it's fixable?

Probably doesn't work and the main reason for that is probably not DXVK.


Reviewing Placement Metadata table

In this PR, we added support for getting the placement table from the unauthenticated healthz endpoint.
Although this server is enabled only when opted-in by users, it means that unauthenticated users with access to the healthz endpoint now have full access to the placement table. This was not the case before this PR. It is also not clear to users that enabling option may have security implications in that any client with access to that endpoint can discover the entire actor table set, regardless of whether they are a member of the Dapr cluster or not.
I would like to have a larger discussion in v1.13 about what the security boundaries are in Dapr, what client generated data in Dapr may contain PII/sensitive data or not, and what privacy/security guarantees users can expect. In lieu of this discussion, since it is more difficult to remove features than add features, I am in favor of the project removing having the placement table being available on an unauthenticated endpoint and instead reserve this information for only fully authenticated gRPC clients.

I would like to clarify that the placement table maps actor types to sidecar endpoints (host + port) and DOES NOT contain any Actor Id. So, it contains things like:
ProductActor -> <IP_ADDRESS>:3501 <IP_ADDRESS>:3502 <IP_ADDRESS>:3505
CreditCardActor -> <IP_ADDRESS>:3501 <IP_ADDRESS>:3502
The calculation to map a given actor ID to a sidecar is a local decision of each sidecar based on the list of hosts of a given actor type. Each sidecar keeps a local cache of the placement table.
The reason that PR was merged is because that does not give access to any actor invocation or disclose PII information (no actor ID is present). The security of Dapr does not rely on hiding Actor Types or IP addresses, we rely on private certificates for that. IMO, Actor Types are part of the exposed API of the app, the same way a service has a document HTTP endpoint. The security comes from certificates and credentials to access those and not from not documenting the endpoint.

@artursouza I hear you on Actor Types being equivalent to REST APIs or similar. I do think that this is problematic for trying to achieve a zero trust architecture in Dapr. It also still poses a privacy consideration for users who would like to use a single Dapr cluster in a multi-tenant scenario. A user will not be able to have multiple teams or organizations access to the same Dapr cluster without them being able to discover implementation details (like CreditCardActor above) of another. I think that supporting multi-tenant scenarios which have constraints on privacy is a worth while goal.

The security of Dapr does not rely on hiding Actor Types or IP addresses, we rely on private certificates for that.
Regarding privacy, actor types (today) are considered part of the app's exposed API

I think there is a distinction between privacy and authn/z. While I agree that we rely on crypto for enforcing authenticity of peers, privacy of data is a separate concern. An adversary can get further in an attack by gaining information about the target. I include IP addresses here- I don't think any unauthenticated client on the network should be able to list the IP addresses of all actor apps in the cluster.
Currently this endpoint is also returning the App ID of all registered actors. I think this must be removed at a minimum.

Question: why is only exposing this API on an authenticated endpoint not good enough for now? What is the use case for a client which cannot join the Dapr cluster but must fetch all actor information in the system?

One of the scenarios is for local development and debugging. Knowing which instances are serving a given actor since people do get errors trying to resolve a given actor.

@artursouza As a solution we could make a debugging CLI command which calls the gRPC endpoint?


Parsing Issues

I'm not sure if Pyverilog is any longer being actively supported or upgraded? I have made quite a few modifications in order to parse my in-house standard digital library, and it would take some effort to incorporate these in the main branch. Some of these include:

Specify blocks are not handled. I have extended Pyverilog to handle the "Simple module paths - 14.2.2 in IEEE Std 1364-2001) that are used in my library - this has not been well tested but does include edge-sensitive state-dependent paths (pg 217 in IEEE Std 1364-2001) and full connection and parallel paths and multiple module paths in a single statement (pg. 220, Sect. 14.2.6)
The "or" sensistivities such as in:
always @(posedge clk or reset) did not parse properly (note mixing an edge sensitive ID and a non edge-sensitive ID).
Multiple value assign statements, such as example 3 on pg 71 of IEEE Std 1364-2001, did not parse properly.
Is there any interest in adding these changes? I have very little experience in starting new branches in git hub and then publishing them. From the previous issue, it appears udp's also need to be supported if we want to go forward. Bringing my changes in would involve committing quite a bit of time, and would negatively impact on-going projects, so it is dependent on this project being actively developed.

Thank you for your suggestions. I think these problems should be fixed, but I could not take sufficient time for the development, unfortunately.


[LANG-1307] - Add getDigits method to StringUtils

Coverage increased (+0.003%) to 94.366% when pulling 8bed366ff2895cceeb293318403dd5821ff29e5b on arbasha:master into 021e4dfb501a8e6e5810a4f0efe1267810d62d64 on apache:master.

Thanks!


add missing filter type in swagger.yml and sort filter type in alphabets

Signed-off-by: allencloud<EMAIL_ADDRESS>I found that there are some missing types about filter in daemon API in swagger.yml. Here is the missing type list:

in GET /containers/json, filter type expose and publish;
in GET /events, filter type plugin;
in GET /volumes, filter type label;

Secondly, I sort the all filter type in swagger.yml sorted by alphabet sequence.
Thirdly, I add filter type volume, network and isolation in command ps and sorted this filter types. Also update events command line reference to sort filter types.
- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

ping @dnephin @vdemeester

Do you know which of these are in 1.13, and which for the upcoming 1.14 release? (would be great to have them in separate commits/PR's if needed, so that we can cherry-pick)

plugin filter in GET /events is in docker 1.13.0: https://github.com/docker/docker/blob/v1.13.0/daemon/events/filter.go#L65-L67
label filter in GET /volumes is in docker 1.13.0:https://github.com/docker/docker/blob/v1.13.0/daemon/list.go#L24
expose and publish filters in GET /containers/json are in docker/master, not in docker 1.13.0:
https://github.com/docker/docker/blob/master/daemon/list.go#L41-L42
So I need to separate the PR. thanks a lot @thaJeztah


Bug: The search option is not functioning properly in the project section.

In the project section, Sorting of the cards is not executed when searching by name.

@Gyanthakur