[Improvement] Remove the file extension from the link

Instead of ?f=aaaaaaa.png make it ?f=aaaaaaa.

alr i'll do it soon after i am done w other projects


SDK-3671 and SDK-3327

removed unused code, fixed casting warnings, refactored ProgramOptions
fixed how we calculate output video fps, and added processed frames per second in final summary
fixed:--draw 0 will write out overlaid video correctly if -o option is specified.
fixed: output overlaid video has same number of frames as input video's frames, and will not skip any frames while processing the video if using default sampling frame rate

Adding everyone, please feel free to review

was closed because target branch was renamed, created new PR with #115 and merged to ics-2.3 @adennie


Update WebviewCookieManagerPlugin.java

fix if cookie is null will throw exception

#8 for fix null exception

LGTM
@amag2511 please check

Maybe a ternary operator here looks better.
final ArrayList<String> individualCookieStrings = allCookiesString == null ? new ArrayList<>() : new ArrayList<>(Arrays.asList(allCookiesString.split(";")));

You have to update

[ ] pubspec.yaml
[ ] CHANGELOG.md

@rodruiz Updated to the ternary operator

@rodruiz Updated to the ternary operator
New version already available

Two definitions, no errors in the compilation process?

Oy shit)
will fix, thx @jiechic


chore: Accordion

Description
Add Accordion component
Closes #238
Dependencies
Add @radix-ui/react-accordion version 0.1.5
Misc
Some typing issues...
I set any type everywhere I couldn't figure out what was the cause of type issue

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Failed to verify username

Nubie question. After I start the image and connect I see the following messages in the log. Connection obviously fails with the same message. What do I do with them?
[10:43:22] [User Authenticator #5/ERROR]: Username 'Dad' tried to join with an invalid session
[10:43:22] [Server thread/INFO]: /<IP_ADDRESS>:60564 lost connection: Failed to verify username!

I am hitting this issue when i try to join with a bot. I am wondering if there is a config setting that will allow my bots to join.


Sanitize OpenShift deployment service name

Summary
Here https://github.com/quarkus-qe/quarkus-test-framework/pull/1066 I've renamed blocking to the resteasyClassic and OpenShift test started to fail with:
16:20:40,515 INFO  oc: Error from server (Invalid): error when creating "/home/mvavrik/sources/quarkus-test-framework/examples/blocking-reactive-model/target/OpenShiftGreetingResourceIT/resteasyClassic/openshift.yml": Deployment.apps "resteasyClassic" is invalid: [metadata.name: Invalid value: "resteasyClassic": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), spec.template.spec.containers[0].name: Invalid value: "resteasyClassic": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')]

We need to check that name used in OpenShift Deployment follow these rules, however we also need to keep consistency across whole application (f.e. we can't use different name inside OpenShift extension module and different in another places). Situation is easy because we only need to handle situations where user do not explicitly write name (like operator name), so they are Java class fields and already follow some rules.
Please check the relevant options

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[x] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests

run tests

OpenShiftStrimziOperatorKafkaWithoutRegistryMessagingIT.(?) was there even before this PR (see the release PR CI I saw it in one of the runs), hence OCP CI already shows that OpenShiftGreetingResourceIT is fixed by this PR.

I am curious what causes problems on OC JVM, but PR solves other issue, so approved.

This https://github.com/quarkus-qe/quarkus-test-framework/pull/1076


Add optional button for sharing current url and improve preference handling

Sorry for not being very atomic about these changes. The most important parts are

Add two ShareActionProvider menuItems for sharing current url.

One of them is an action that is hidden by default.
Two make sure updates are reflected immediately, PrefsActivity is called with a return request.

Preference handling was refactored a bit, also fixing bugs.

onSharedPreferenceChanged was testing if preference key matched preference description(obviously not)
Most referencing of preferences was switched to using constants stored in classes that use said preference.
Enforcing of update interval limits was moved to PrefsActivity

Most probably as I was checking everything commit by commit. I've merged everything I wanted :)
Thanks for the patchs!
Il 21 settembre 2016 19:23:49 CEST, Patrik Hirvinen<EMAIL_ADDRESS>ha scritto:

hirvinen commented on this pull request.

 }

@Override

public void onSharedPreferenceChanged(SharedPreferences
sharedPreferences, String key) {
    Log.d("fbn.PrefsActivity", key);

   if (key.equals("enable_notification_synchro")

           || key.equals("update_interval")) {

   if (key.equals(ENABLE_NOTIFICATION_SYNCHRO)) {

       Log.d("fbn.PrefsActivity", "Calling WakeupManager");

       WakeupManager.updateNotificationSystem(this);

I don't understand. I cant see these duplicated. Aren't these lines
from an intermediary commit before i switched to a switch instead of an
if cascade?
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/gsurrel/FacebookNotifications/pull/23

--
Envoyé depuis mon téléphone. Veuillez excuser ma brièveté.


Opening hiveSession on existing hiveClient hangs indefinitely when HS2 server is restarted

We are using hive-driver in REST API layer to connect to HS2 server and initiate some DDL commands. This is the way we have implemented it right now:

Initiate hiveClient when REST server is started (one time and singleton instance)
Open one hiveSession per request and 1-many hiveOperations as required and close them at the end of every REST API call.

In some instances, when the REST server is running if the underlying HiveServer2 is restarted on the hadoop cluster, then opening hiveSession on existing hiveClient (which is created before HS2 restart), is hanging indefinitely with no errors.
Few questions in this context:
Is it possible for hive-driver to return whats has happened and why it hanged (better exception handling in this scenario)?
Do we have to restart REST API server when HS2 server is restarted?
Is there a way to refresh/recreate hiveClient based on some configuration?

Some errors, particularly of the connection one, are asynchronous, so it is difficult to track them and throw an exception in the appropriate way and time. You may try to subscribe on client 'error' event:
const client = new hive.HiveClient(
    TCLIService,
    TCLIService_types
);
client.on('error', (error) => {
     // do re-connect
});

Also, try to use connection options:
    max_attempts?: number,
    retry_max_delay?: number,
    connect_timeout?: number,
    timeout?: number,

These options are passed directly to thrift connection. For more details about these options, you can look at node_modules/hive-driver/node_modules/thrift/lib/nodejs/lib/thrift/http_connection.js or node_modules/hive-driver/node_modules/thrift/lib/nodejs/lib/thrift/connection.js depends on what kind of connection you use.
Let me know if it helps.
Also, can you tell me what connection you use binary or HTTP? Probably, I can dig deeper to find some workaround for such cases.

I am using these options to make the connection
new hive.connections.TcpConnection(),
new hive.auth.PlainTcpAuthentication({
username: username,
password: password,
}))
Is there any documentation on above params that you know of? esp connect_timeout and timeout. I hope the unit is millis.
This is what I tried: I started rest server, went ahead to stop HS2 server and didnt receive any event on subscribe (client.on) and also when getting hiveSession on existing hiveClient, it hung.
Looks like I have to create new hiveClient for every request, do you know how much resource/time intensive it is to create hiveClient for every new REST API request as opposed to what I was doing earlier (like hiveClient only one and create as many sessions as many requests)

@ntallapa12 actually I did not find any documentation for thrift module in node js, I found out about these options from source code. And yes, it seems like values in mills.
I tried to reproduce the behavior you described, and I see what you mean. It seems like those options not really helpful. I noticed that thrift connection has a few additional events: close, timeout, reconnecting (the last is called when you define those options above).
Also, I added logic, which will throw an exception when a session is opened but a connection is lost. It led to hanging.
I added to troubleshooting.md an explanation of how to re-connect in case the connection is lost. You will be able to try this approach as soon as I publish 0.1.3 version.
Also, below is a rough example of how it can be used.
For this example you can run a test server:
git clone https://github.com/lenchv/hive-driver.git
cd hive-driver/.docker
make up TYPE=tcp.ldap

# to stop server
docker-compose stop

# to start again
docker-compose start

# to shutdown
make down

hive.js

const hive = require('hive-driver');
const { TCLIService, TCLIService_types } = hive.thrift;
const { HiveClient, auth, connections } = hive;

const connection = new connections.TcpConnection();
const authProvider = new auth.PlainTcpAuthentication({
    username: 'admin',
    password: '123456'
});

const client = new HiveClient(
    TCLIService,
    TCLIService_types
);

const utils = new hive.HiveUtils(
    TCLIService_types
);

client.on('error', (error) => {
	console.error('[Hive Error]', error);
});

client.on('reconnecting', (params) => {
	console.error('[Hive Reconnecting]', params);
});

client.on('close', () => {
	console.error('[Hive Connection Closed]');
	connect(30).catch(error => {
		console.error('[Hive Connection Failed]', error);
	});
});

const connect = (attempts) => new Promise((resolve, reject) => {
	setTimeout(() => {
		client.connect({
			host: '<IP_ADDRESS>',
			port: 10000,
			options: {}
		}, connection, authProvider).then((client) => {
			console.log('Connected successfully!');
			resolve(client);
		}, (error) => {
			console.error('[Hive Connection Failed]: ' + attempts, error);

			if (!attempts) {
				reject(error);
			} else {
				connect(attempts - 1).then(resolve, reject);
			}
		});
	}, 3000);
});

module.exports = connect(30).then(async client => {
	await migration(client);

	return hiveService(client);
}, (error) => {
	console.error('[Hive Connection Failed]', error);
});

function migration(client) {
    return client.openSession({
        client_protocol: TCLIService_types.TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V10
    }).then(async (session) => {
		const createTableOperation = await session.executeStatement(
			'CREATE TABLE IF NOT EXISTS pokes (foo INT, bar STRING)'
		);
		await utils.waitUntilReady(createTableOperation, false, () => {});
		await createTableOperation.close();

        return await session.close();
    })
}

function hiveService(client) {
	return {
		openSession() {
			return client.openSession({
				client_protocol: hive.thrift.TCLIService_types.TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V10
			});
		},

		async insertIntoPokes(session, data) {
			const operation = await session.executeStatement(
				`INSERT INTO pokes (foo, bar) VALUES (${data.foo}, '${data.bar}')`
			);
			await utils.waitUntilReady(operation, false, () => {});
			await operation.close();
		},

		async selectFromPokes(session) {
			const operation = await session.executeStatement(
				`SELECT * FROM pokes`, { runAsync: true }
			);
			await utils.waitUntilReady(operation, false, () => {});
			await utils.fetchAll(operation);
			await operation.close();

			return utils.getResult(operation).getValue();
		}
	};
};

server.js
const express = require('express');
const app = express();
const bodyParser = require("body-parser");
const port = 3000;

app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());

require('./hive').then((hiveService) => {
	app.post('/', async (req, res, next) => {
		try {
			const session = await hiveService.openSession();

			await hiveService.insertIntoPokes(session, req.body);
			await session.close();

			res.json({ "success": true });
		} catch (error) {
			next(error);
		}
	});

	app.get('/', async (req, res, next) => {
		try {
			const session = await hiveService.openSession();

			const result = await hiveService.selectFromPokes(session)
			await session.close();

			res.json(result);
		} catch (error) {
			next(error);
		}
	});

	app.use(function (err, req, res, next) {
		console.error(err.stack)
		res.status(500).send('Something broken!')
	});
});

app.listen(port, () => console.log(`Example app listening on port ${port}!`));

this is working like a charm. thank you


Feature: generate sprites from icons

How about add sprite generator ( like https://github.com/Ensighten/grunt-spritesmith ) and icons folder ?

@Bogdaan, Thanks for the suggestion!
That plugin looks pretty awesome. I will look into adding it.
Of course, a PR is welcome as well :+1:

Hey @Bogdaan,
I realize this is from a VERY long time ago, so I'm going to close it.
If you find some extra time to write a guide on how to implement gulp-spritesmith within a project and PR it, that would be awesome!
Closing for now.


Mongoid creating object on relation assignment

I tried to write this up well here: http://stackoverflow.com/questions/27697076/mongoid-association-creating-records
But, I'm not sure why Mongoid is creating a record when I assign a value to it. Is this intended behavior? This only happens for one record. It might be a bug. Thanks for any help.

I couldn't duplicate in a simple app, I'm going to close.


Updates for reviewer messaging

This is proposed change to AC console's messaging feature. We were told last week in ICLR demo that the functionality is unintuitive and we need to split it into 2 parts, one to email submitted reviewers and another to un-submitted reviewers.
The change I am proposing here is slightly from different but along the same lines.
Refer to the image below.

The "Message Reviewers" button has been moved to left and the "Sort By" field has been moved to the right.
The button "Message Reviewers" is disabled when an AC lands on this page. It has a tool-tip that says that the user needs to select papers. When one or more papers are selected, the "Message Reviewers" button is enabled.
ACs now a checkbox to select/deselect all papers, placed at the top of the first column of checkboxes.
The "Message Reviewers" button is actually a dropdown of buttons (refer to image below).

Based on the option selected, the messaging modal heading tells the user which reviewers are being emailed.

The step-2 of messaging remains the same as earlier

The test will pass once https://github.com/iesl/openreview/pull/1538 is merged.


Mailchimp invalid fix

Fix for the changes in Mailchimp's error response for invalid emails. The method now catches generic Mailchimp 400s (i.e. the user has made a mistake, not Mailchimp).
Previous response message: email address looks fake or invalid
Now: Please provide a valid email address
See recent log message example:
{'type': 'http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/', 'title': 'Invalid Resource', 'status': 400, 'detail': 'Please provide a valid email address.', 'instance': '<instance-id-redacted>'}

Also

renamed some tests that were still referring to the old return values for errors
changed the expected error case to log level WARNING rather than ERROR

@benvand yeah I was deliberating on that 😹 Decided on 'fix' as that part of the current major bump is genuinely broken...


Consider reusing StringBuilders across event writes

Have you consider reusing StringBuilders across event writes?
NLog makes sure to minimize string allocations by sharing a StringBuilder for all involved layout renderers. However, could take the savings a level up by introducing a StringBuilderCache like this one:
https://github.com/opserver/Opserver/blob/8a18ff8b8550ea8d5793580477ecb0f7aaa3dfee/Opserver.Core/StringBuilderCache.cs
It caches the StringBuilder per thread and it has a shared StringBuilder for cases where a nested method requests the cached StringBuilder but it was taking by a method higher up in the stacktrace.

Hi!
This sounds like a cool idea! I like it, but we need some well timing tests for this. It should be only merged when the improvement is significant.

Alex,
Thanks for all the proposals and code contributions! We are really happy with your style of code and contributions. We think it would be great if you would like to join the NLog team! Check https://github.com/NLog/NLog/issues/828 for some info. Just let us know!

Thanks for the invitation! Yes, I would like to join the team.

Totally agree about carefully testing the reuse of StringBuilderCache. I'll start doing some tests.

:) Cool! Will send you an invite when I'm behind a pc.

I did some testing using the StringBuilderCache and just using it in SimpleLayout like this:
protected override string GetFormattedMessage(LogEventInfo logEvent)
{
    if (IsFixedText)
    {
        return this.fixedText;
    }

    string cachedValue;

    if (logEvent.TryGetCachedLayoutValue(this, out cachedValue))
    {
        return cachedValue;
    }

    int initialSize = this.maxRenderedLength;
    if (initialSize > MaxInitialRenderBufferLength)
    {
        initialSize = MaxInitialRenderBufferLength;
    }

    //var builder = new StringBuilder(initialSize);
    var builder = StringBuilderCache.Get(initialSize); //<-- change here

    //Memory profiling pointed out that using a foreach-loop was allocating
    //an Enumerator. Switching to a for-loop avoids the memory allocation.
    for (int i = 0; i < this.Renderers.Count; i++)
    {
        LayoutRenderer renderer = this.Renderers[i];
        try
        {
            renderer.Render(builder, logEvent);
        }
        catch (Exception exception)
        {
            if (exception.MustBeRethrown())
            {
                throw;
            }

            if (InternalLogger.IsWarnEnabled)
            {
                InternalLogger.Warn("Exception in {0}.Append(): {1}.", renderer.GetType().FullName, exception);
            }
        }
    }

    if (builder.Length > this.maxRenderedLength)
    {
        this.maxRenderedLength = builder.Length;
    }

    //string value = builder.ToString();
    string value = builder.ToStringRecycle(); //<-- change here
    logEvent.AddCachedLayoutValue(this, value);
    return value;
}

and used this app to check memory usage:
static void Main(string[] args)
{
    LogManager.Configuration = CreateConfigurationFromString(@"
        <nlog>
            <targets>
                <target name='Debug' type='Debug' layout='${longdate}|${level}|${message}'>
                </target>
            </targets>
            <rules>
                <logger name='*' levels='Debug' writeTo='Debug'></logger>
            </rules>
        </nlog>
    ");

    ILogger logger = LogManager.GetLogger("A");
    logger.Log(LogLevel.Debug, "message");

    Console.WriteLine("Take First snapshot");
    Console.ReadLine();

    for (int i = 0; i < 100; i++)
    {
        logger.Log(LogLevel.Debug, "message");
    }

    Console.WriteLine("Take Last snapshot");
    Console.ReadLine();
}

As expected memory consumption went down from:

to:

Notice how char[] dropped from first offender. Also the total number of bytes and objects went down.
Then, I did a performance test with the following app:
static void Main(string[] args)
{
    LogManager.Configuration = CreateConfigurationFromString(@"
        <nlog>
            <targets>
                <target name='Debug' type='Debug' layout='${longdate}|${level}|${message}'>
                </target>
            </targets>
            <rules>
                <logger name='*' levels='Debug' writeTo='Debug'></logger>
            </rules>
        </nlog>
    ");

    ILogger logger = LogManager.GetLogger("A");
    logger.Log(LogLevel.Debug, "message");

    var sw = new Stopwatch();
    for (int j = 0; j < 25; j++)
    {
        sw.Restart();
        for (int i = 0; i < 1000000; i++)
        {
            logger.Log(LogLevel.Debug, "message");
        }
        sw.Stop();
        Console.WriteLine(sw.ElapsedMilliseconds);
    }
}

and the numbers favor the original code:

Original (ms)
Cache (ms)

Run 1
1093
1150

Run 2
1094
1150

Run 3
1089
1150

Run 4
1098
1151

Run 5
1104
1152

Run 6
1129
1153

Run 7
1101
1154

Run 8
1097
1152

Run 9
1095
1147

Run 10
1093
1150

Run 11
1094
1148

Run 12
1090
1165

Run 13
1099
1149

Run 14
1095
1152

Run 15
1089
1145

Run 16
1091
1144

Run 17
1092
1158

Run 18
1096
1178

Run 19
1097
1151

Run 20
1091
1167

Run 21
1090
1148

Run 22
1116
1144

Run 23
1089
1150

Run 24
1089
1149

Run 25
1091
1148

Avg
1096.08
1152.2

An increase of 0.00005612 ms per log write. I consider this increase to be small enough. The memory savings would help reduce memory pressure. So for long running apps trying maintain high throughput this change could be beneficial.

Similar strategy is applied with #1663

Maybe resolved with #1799 ? (NLog 4.4.2)

Yes indeed! Thanks!


[AMQP Python] test sending non-closing detach to service (SB) to ensure correct behavior

If we do trigger a LinkDetach with close=False, the service may send back a DetachFrame with no error code.
In this case, we must set self._error as well in order to signal that our Link has been closed for future operations.
Initial attempt: https://github.com/Azure/azure-sdk-for-python/pull/34989

Additionally, I believe if the link can be closed with close=False both ways in the scenario as follows --
A session endpoint can choose to unmap its output handle for a link. In this case, the endpoint MUST send a [detach](http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-detach) frame to inform the remote peer that the handle is no longer attached to the link endpoint. If both endpoints do this, the link MAY return to a fully detached state. Note that in this case the link endpoints MAY still indirectly communicate via the session, as there could still be active deliveries on the link referenced via delivery-id.
We currently handle a case where we get an incoming non-closing detach from the service -- we should also investigate if that logic works as expected.
Note that one peer MAY send a closing detach while its partner is sending a non-closing detach. In this case, the partner MUST signal that it has closed the link by reattaching and then sending a closing detach.


make edit in README.md

-Remove "faster" to decrease repetition (quickly and faster are redundant)

I signed it!

Thanks!

[landing on red to flush devicelab]


Disable backwards-compatibility-check on proto

What changes are proposed in this pull request?
Tentatively disable backwards-compatibility-check on proto
Why are the changes needed?
We are in the preparation of 300 release, backwards compatibility breaks may be introduced
Does this PR introduce any user facing changes?
No

alluxio-bot, merge this please


support hover tooltip on string that mapped to module/symbol

now we have an infrastructure for string <=> module/symbol map from https://github.com/microsoft/pylance-release/issues/3700
one enhancement we can do is adding hover support as well, so that for those strings, we show the same tooltip user would get if user hovers over those names in import statement.
ex) from module1.module2 import symbol => "module1.module2.symbol"

@heejaechang assigning to you for now. Please put back in triage if that's not okay.

This issue has been fixed in prerelease version 2023.10.31, which we've just released. You can find the changelog here: CHANGELOG.md


Show Compare panel in cluster mode

Monokle currently hides the Compare panel when there is no local project - I suggest we still show it with all local sources disabled - which would still allow you to compare clusters / namespaces

@olensmar hi I want to work on this issue can you please guide me through it


Check if the scripts table still suits our needs

The scripts table represents a high level command and control of the custom job scripts that can be executed.
It should:

[ ] Have admin access only
[ ] Each row represents a type of analysis
[ ] For each row, the ability to store a, templateable command, that will directly translate to an executed command run by a job runner. Note: there will often be duplication of commands (since AP.exe uses very similar CLI args for most analyses) but this is not really an issue.
[ ] For each row, store a settings file. May be templateable? Can't see any use case for templating config at the moment
[ ] User friendly identifier, other relevant metadata
[ ] Discuss: whether versioning the scripts (with cyclic parent linking) is still a feature that is relevant to us

Originally proposed when users could execute their own scripts. However, secure execution environments are not part of the custom jobs spec at this stage.

current db structure:
create_table "scripts", force: :cascade do |t|
    t.string   "name",                       limit: 255,                                         null: false
    t.string   "description",                limit: 255
    t.text     "notes"
    t.string   "settings_file_file_name",    limit: 255
    t.string   "settings_file_content_type", limit: 255
    t.integer  "settings_file_file_size"
    t.datetime "settings_file_updated_at"
    t.string   "data_file_file_name",        limit: 255
    t.string   "data_file_content_type",     limit: 255
    t.integer  "data_file_file_size"
    t.datetime "data_file_updated_at"
    t.string   "analysis_identifier",        limit: 255,                                         null: false
    t.decimal  "version",                                precision: 4, scale: 2, default: 0.1,   null: false
    t.boolean  "verified",                                                       default: false
    t.integer  "updated_by_script_id"
    t.integer  "creator_id",                                                                     null: false
    t.datetime "created_at",                                                                     null: false
  end

Questions:
What are the data_file fields for?
What is updated_by_script_id intended for?
What is the difference between analysis_identifier and name? I'm guessing machine vs human readable.
This table does not have the concept of a command to execute. That seems to be the only thing missing from the spec (not inc. all the extra stuff that is there).

settings_file_* and data_file_* are currently fields for file uploads using the paperclip gem.
updated_by_script_id is the self reference. Scripts created from an existing script get the previous script's id set here.
yes, analysis_identifier is machine readable, name is human readable.
I think I'll leave verified and the script versioning there for now. I think it's best to remove possibility to upload files, unless we think user scripts are at all a possibility?
Todo:

[ ] add a command_template field
[ ] add a settings_template field
[ ] remove the settings_file_* and data_file_*?

I was thinking about this earlier today.
The hierarchal relationship in this table was originally designed so that the scripts could be immutable.
It wasn't clear if this property was still useful - but now I think it is. Particularly so we can always see what script was executed - from a historical perspective - because that information is not saved in the jobs table at the moment. See https://github.com/QutBioacoustics/baw-server/issues/191
However, I think the hierarchical relationship is too complex - we've seen in the past that hierarchial relationships are hard to deal with in SQL.
So instead of hierarchical:
id:     1    ->  2 -> 3
parent: null ->  1 -> 2

We instead 'group' the versions together:
id:        1 ->  2 -> 3
script_id: 1 ->  1 -> 1

And another script (independently created):
id:        1 ->  2 -> 3
script_id: 2 ->  2 -> 2

Much simpler structure (where the hierarchical structure is cyclic, the grouped structure is flat) means it's much easier to query for the latest version of a script.
I'd also suggest making the script_id a uuid (Guid)... that we don't have to count for highest unique script_id to generate a new script tuple.

Wouldn't this be better done with two tables?
create_table "scripts", force: :cascade do |t|
    t.string   "name",                       limit: 255,                                         null: false
    t.string   "machine_name",               limit: 255,                                         null: false
    t.text     "description",                limit: 255
    t.decimal  "current_version",                        precision: 4, scale: 2, default: 0.1,   null: false
    t.integer  "creator_id",                                                                     null: false
    t.datetime "created_at",                                                                     null: false
    t.integer  "updater_id",                                                                     null: false
    t.datetime "updated_at",                                                                     null: false
  end

An additional script_versions table could store the versions of the script. Entries in this table are not mutable - any changes result in a new entry and the version number incremented (the version could be set automatically). The current version is stored in the scripts table. This allows for using old versions of the script as the default. It could also be possible to specify a script version when creating a job (defaulting to the current_version). The version would be unique per script_id.
create_table "script_versions", force: :cascade do |t|
    t.integer  "script_id",                                                                      null: false
    t.text     "command_template"
    t.text     "settings_template"
    t.decimal  "version",                                precision: 4, scale: 2, default: 0.1,   null: false
    t.integer  "creator_id",                                                                     null: false
    t.datetime "created_at",                                                                     null: false
  end

Perhaps... It was one table already so my solution kept it that way.
Architecturally I'd prefer one table, it seems simpler conceptually, and the sql seems simple.
If it were split into two tables, we certainly wouldn't need two API endpoints.
I'm not up to date on my normal form, but from the gut I think either form is acceptable.
There is some duplication in some of the scripts fields for the single form, but we know modifications to this table will be in the low hundreds... Not in the hundreds of thousands for sure


feat [IDP-1429] : Added the tutorial to register software components in Harness IDP

Harness Developer Pull Request
Tutorial to register software components in Harness IDP
What Type of PR is This?

[x] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

LGTM barring review comments. Bulk register is something not covered. Do we think it's the right place? Also, perhaps some mention about GitHub auto-discovery.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Switching on Asana integration doesn't "stick"

OS version: MacOS 10.15.4
Browser version: Chrome Version 83.0.4103.116 (Official Build) (64-bit)
Extension version: 1.63.0

Relevant integration (if any):
Asana
🐛 Describe the bug
Choosing Asana as integration does not stick. When you refresh the page, it is unselected again.
Expected behaviour
Integration selection should stick.
Steps to reproduce

Open Integrations tab
Choose Asana
Refresh

Other details or context
Slack
Case reference

This in fact happens with all of the following:

asana.com
breeze.pm
brokerengine.com.au
clubhouse.io
codeable.io
dom-integration
khanacademy.org
gqueues.com
heflo.com
helpscout.net
huskymarketingplanner.com
liquidplanner.com
meistertask.com
nozbe.com
osticket.com
sourcelair.com
teamleader.eu
vivifyscrum.com
zenhub.com


sync master branch

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.8 out of 10 committers have signed the CLA.:white_check_mark: RakhithaRR:white_check_mark: wso2-jenkins-bot:white_check_mark: ashera96:white_check_mark: Lakith-Rambukkanage:white_check_mark: nandika:white_check_mark: nimsara66:white_check_mark: AnuGayan:white_check_mark: PasanT9:x: BLasan:x: chamilaadhiYou have signed the CLA already but the status is still pending? Let us recheck it.


chore(deps): update terraform terraform-ibm-modules/cos/ibm to v8.11.7

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cos/ibm (source)
module
patch
8.11.6 -> 8.11.7

Release Notes

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v8.11.7
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/kms-all-inclusive/ibm to v4.15.11 (#716) (b992f2a)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 7.19.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


chore(wadmExample): use component instead of actor in wadm.yaml

Feature or Problem

Under docs -> Tool Chain -> wadm -> Defining Applications, the "Putting It All together" example refers to an "actor" instead of "component".
Based on the docs, "actor" is deprecated, so updated the example to refer type as "component".

Related Issues

None

Release Information

Consumer Impact

Consumer gets the latest example

Testing

Tested in local by starting the docs.

Unit Test(s)

Acceptance or Integration

Manual Verification

Hey @saikiran1043, thanks for the catch and fix! If you follow the instructions here, that'll satisfy the DCO check.

Hey @saikiran1043, thanks for the catch and fix! If you follow the instructions here, that'll satisfy the DCO check.

Thank you @ericgregory , I have updated it.

Thanks @saikiran1043!


'Read' permission is required to 'Use' a Visualisation

Similar to #1229 but for Visualisations!
Was #1229 a general fix?

#1229 was a general fix!


Diagram Software

I just want to know if it is possible to know which software did you use for the diagram in the HFO/doc/manual.pdf page 3 ?
Thanks!

It is made using Google Drawings.


Feature/add extra types to choices guide questions

Description
This feature adds extra types to the choices guide questions;

input
textarea
multiple-choice

This allows the Choices Guide component to be used to ask different kind of questions, for example a textarea to ask a visitor to elaborate on a specific choice.
Type of change
New feature
Tests
Tested manually.

LGTM, but shouldn't there be a correspnding PR in openstad-components?

Correct! But this PR was required to introduce such a change to openstad-components. For now, combined with the fix in https://github.com/openstad/openstad-frontend/pull/420 we can update our environment. There are a few related PRs for openstad-components coming soon!


null reference on reform ideology

Exception filling window for RimWorld.Dialog_ReformIdeo: System.NullReferenceException: Object reference not set to an instance of an object
[Ref C9725752]
at EnhancedBeliefs.GameComponent_EnhancedBeliefs.BaseOpinionRecache (RimWorld.Ideo ideo) [0x00029] in :0
at EnhancedBeliefs.FluidIdeoTracker_Reformed.Postfix (RimWorld.IdeoDevelopmentTracker __instance) [0x0000b] in :0
at RimWorld.IdeoDevelopmentTracker.Notify_Reformed () [0x000e5] in <3d931901449c4087b86953a6d5c84d50>:0
- POSTFIX rimworld.smartkar.enhancedbeliefs.main: Void EnhancedBeliefs.FluidIdeoTracker_Reformed:Postfix(IdeoDevelopmentTracker __instance)
at RimWorld.IdeoDevelopmentUtility.ApplyChangesToIdeo (RimWorld.Ideo ideo, RimWorld.Ideo newIdeo) [0x0002f] in <3d931901449c4087b86953a6d5c84d50>:0
at RimWorld.Dialog_ReformIdeo.b__27_3 () [0x00000] in <3d931901449c4087b86953a6d5c84d50>:0
at RimWorld.IdeoDevelopmentUtility.ConfirmChangesToIdeo (RimWorld.Ideo ideo, RimWorld.Ideo newIdeo, System.Action confirmCallback) [0x00090] in <3d931901449c4087b86953a6d5c84d50>:0
at RimWorld.Dialog_ReformIdeo.DoWindowContents (UnityEngine.Rect inRect) [0x009e0] in <3d931901449c4087b86953a6d5c84d50>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <3d931901449c4087b86953a6d5c84d50>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Currently this means I can't reform the ideoligion because the exception stops processing the [DONE] button.
(Does the recaching also happen if the user makes changes with dev mode to an ideology?)
(If the ideo is the pawn's should it recalculate the opinions of all other ideologies?)

How much unsolicited comments on code would you like, by the way?

Oh feel free to comment on code as much as you want. Yeah this is an issue that I've been struggling to fix, its not happening 100% of the time either - I'm unsure of what's going on. BaseOpinionRecache() recaches opinion of all pawns on a specific ideo

Is the opinion based on their own ideo?

Well, I was going to put together a pull request, but you're building with C# version 12, and the highest I can use is C# 7. Things like return [baseIdeoOpinions[ideo] / 100f, PersonalIdeoOpinion(ideo) / 100f]; instead of the older return new float[2] {.....}
Trying to get that the make reasonable pull requests without changing large chunks of your code sounds complicated, unless you don't care about that

I'm sorry but what is even preventing you from using C# 12 in the first place?
Yes, opinions are partially based on their own ideo as well - memes like supremacist will lower opinion of all other ideos, plus pawns get opinion from similar memes.

Monodevelop on Linux doesn't support C# 12
¯_(ツ)_/¯
You'll want to clear all of the pawn's opinions if the ideo needing to be re-cached is theirs - if their own idea changes to a supremecist, e.g.

I downgraded the project to C# 7, its only a few minor changes.


Add default ECP resource

https://issues.redhat.com/browse/HACBS-1650
Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>

/lgtm

Merged on first try! Sweet.


New package: TabbyML.Tabby version 0.13.1

Pull request has been created with komac v2.3.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\llama-server.exe returned exit code: -1073741515
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\tabby.exe returned exit code: -1073741515

Automated error analysis suggests -1073741515 may mean STATUS_DLL_NOT_FOUND - possibly due to a dependency on Microsoft.VCRedist.2015+.x64 (or .x86).
(Automated response - build 886.)

Tabby runs llama-server and llama-server depends on CUDA runtime being available. How could I ensure that those are installed properly?

Automatic Validation ended with:
(Automated response - build 886.)

Manual Validation stalled after installing dependencies:

I tried again, and when it paused, I opened Task Manager. MsMpEng.exe was taking up ~11-13% (aka 1 CPU core of an 8-core system), so I waited. Eventually, it had completed its unschedled scan and the install process proceeded. The sandbox doesn't support Defender so wouldn't have this wait. (It's one reason I use VMs instead of sandboxes for validations.)

Verify:


added parent_model_type to fct_model_fanout

This is a:

[ ] bug fix PR with no breaking changes
[x] new functionality

Link to Issue

Closes #230
Description & motivation

Added field parent_model_type to fct_model_fanout to allow users to write exceptions based off of the parent's model type.
Integration Test Screenshot

Checklist

[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[x] Snowflake
[ ] Databricks
[ ] DuckDB

[ ] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)

Just wondering, there is no test implication with this change? And if not, should there be either a change or a new test?

@b-per good callout, we should update the tests too. I think it passed because we're hardcoding the columns to compare in the equality test!
should be a quick fix!

Updated the integration test @b-per


Kedro asynchronous IO takes too much memory when downloading many files

Description
I am using kedro run --async to download a lot of ~200000 of ~200K files from S3. This is accomplished by passing a function to Kedro IO using #744 implementation. This then starts doing the materialization of the dataset on the disk, and though it properly download and saves the dataset, it somehow keeps building in memory.
Context
This bug makes Kedro take basically the entire memory of the computer, even after the files are downloaded. It doesn't seems like Kedro needs to take that much memory if it can just download the file and be done with it.
Steps to Reproduce
This is something I cannot reproduce without a large dataset with a lot of small files (image data). If strictly needed, I can look after some public dataset that could reproduce, but as of now I'd like help to understand how memory is being built. So if there are any scripts or shell commands to help, I can post whenever asked.
Expected Result
Kedro should be able to use the computer threads to download the file and then free the dataset from memory, giving space to download the remaining files.
Actual Result
The process runs and downloads the many files, and the files are correctly written on disk. However, the memory keeps building up until it gets 100% of memory and the process kills itself.
Oddly enough, when i run top to see which processes are taking memory, it doesn't shows what is exactly taking memory.
When I look at the system monitor, it simply says that Kedro is using 1.4GB RAM, and shows no other processes that take that much memory (which amounts to 30GB of memory being written).
Note: The files are stored in memory as numpy arrays and saved in a compressed format in disk. This could partly explain why the in-memory size is larger.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:

Kedro version used (pip show kedro or kedro -V): 0.17.4
Python version used (python -V): 3.7.6
Operating system and version: Pop! Os 20.04

I have solved this issue by making proper use of fsspec in the dataset I have built. Just follow something on the line of ImageDataSet. It really makes a huge difference when using large datasets.

@yurigba thanks for following up - could you elaborate more on what you changed in the fsspec implementation for future users to see?

What actually happened was that when I have developed the implementation of raster datasets with rasterio.open the _save method did not implement fsspec, but rather implemented just rasterio.open which does not work well with kedro IO implementation due to losing somehow the information in the memory pointer of the rasterio.open function (if I pass the rasterio DataSetReader to the load method, it would lose the information when working with many files, i.e. PartitionedDataSet). This probably was messing with garbage collection but I am not sure.
Either way, this was not a good practice in object-oriented programming. Therefore what I have done is to not pass the rasterio DataSetReader, but instead the raster as a more common formats numpy array and the metadata as a dict in the load()method. This was for loading. So a Raster would be a Dict with the "raster": np.array and "metadata": dict keys.
For saving, when I added the fsspec layer (note that I am adding this to the _save method):
with self._fs.open(save_path, **self._fs_open_args_save) as fs_file:
    with rasterio.open(fs_file, 'w', **raster_in["metadata"]) as dst:
        dst.write(raster_in["raster"])
self._invalidate_cache()

it then worked properly when saving a large number of files in a PartitionedDataSet.

Amazing thank you!


Disable benchmarks on PRs

Description
Stop the benchmarks from running on PRs. The reasons for this are the frequent failures and the long runtime. Benchmarks are still run daily and for main/develop
Related: #3662
Type of change

[x] Optimization (back-end change that speeds up the code)

Key checklist:

[x] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[x] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

I would say that completely stopping benchmark runs is not a good idea in this case. We could fairly easily write a check that skips running benchmarks on PRs by default, but does run them if [run bench] exists in the commit message – it won't be too hard to maintain either. A lot of repositories do it and we can document this somewhere in the Testing section of the Contributing guide.
This should be the required one-liner condition (off the top of my head):
if: ${{ contains(github.event.head_commit.message, '[run bench]') }}

I would say that completely stopping benchmark runs is not a good idea in this case.

They are not stopped completely. They run every day at 3am and run after a PR is merged into main and develop. This only stops them in PRs.
We also have workflows for manual benchmarks. This just speeds it up and stops a frequent failure. I don't think we need to complicated it further by adding extra checks

Yes, they aren't stopped completely, but they are disabled on PRs this way. My opinion is that there should be a way to run the benchmarks on a PR if one needs it, through this condition – and making it explicitly stated how to enable them if needed while reasonably keeping defaults to mark them as neutral/skipped (which speeds up the PR checks too as you mentioned)
The manual benchmarks workflow will have to be triggered manually from a branch through the Actions tab, which isn't convenient if you want to experiment with something – this is where commit messages can help

Hi @BradyPlanden, please let us know if we can get started on adding a self-hosted runner for the benchmarks (that will now run nightly and for changes from the the develop branch's context)


Checkboxes malfunction on iPhone

On a page with multiple checkboxes, they seem to function as radios where only one can be checked.  Sometimes, they don't check at all.  Sometimes, they work, but not often.
I've confirmed the exact same behaviour on the Creative Tim website as well, so I know it's not my installation or custom changes.
This is on multiple versions of iOS and I'm using Paper Dashboard Pro.

Hi, @guarisco! To fix the problem please take the uploaded scss partial and go to assets/sass/paper/_checkbox-radio.scss and replace with the new one. After that please compile your scss with Koala and be sure that your output path is assets/css/paper-dashboard.css.
_checkbox-radio.scss.zip
Regards,
Dragos

Hello Dragos,
I've tried the patched file on two app servers to make sure it's not a one-off, and it's still not working.  They still act like radios, but sometimes allow you to unselect all of the checkboxes.  If it helps, I'll try to capture a video of it happening so you can see it.
If you have a fix in the meantime, please send it along.  Again, it's iPhone with Safari.
Thank you.

Hi! Yes it will be more efficient to give me a video to see exactly what happened.
Regards,
Dragos

Here are two videos...one from the iPhone itself, and one old-school recording the actual touches.
https://www.screencast.com/t/jH9nxhLbu
https://www.saloninteractive.com/IMG_1180.MOV

Hi! I will show you a video of how it will suppose to work for you, after you made the changes that I told you to do and also you can check the link pd-pro.paperplane.io/examples/forms/extended.html on your iphone. Maybe you didn't compile your scss after you replaced the scss partial.
IMG_4395.MOV.zip
Regards,
Dragos

Thank you, the patched SCSS file is actually working fine and fixed the problem!  Will this fix make it into the full download soon?  Thanks again.

Hi, @guarisco! Yes, it will be available in the next update for the product.
Regards,
Dragos


[MacVim] Cannot execute fzf in MacVim

Hi @junegunn :night_with_stars: ,
I just run into this error today while trying to run FZF command on MacVim. Here is the error msg :dizzy_face:

Error running xterm -T [fzf] -bg "#141414" -fg "#E6E1DC" -geometry 183x25+0+0 -e bash -ic '/Users/babygau/.fzf/bin/fzf --expected=ctrl-v,ctrl-x,ctrl-m,ctrl-t > /var/folders/kh/hrlrq3cx6fg5kvb1tft8jm900000gn/T/vMy8R1Z/2

Note that, Vim Terminal has no issue at all

Does this work on command line?

xterm -T [fzf] -bg "#141414" -fg "#E6E1DC" -geometry 183x25+0+0 -e bash -ic '/Users/babygau/.fzf/bin/fzf'

Can you check if it works when there's no other plugins and settings?

mvim -Nu <(echo 'set rtp+=~/.fzf') +FZF

This is not relevant to your issue, but I just updated vim plugin so that MacVim window is refocused when fzf is closed. So, please update.

Thanks @junegunn for your quick reply. My feedback as follows:

Does this work on command line?

I don't understand what you mean here. If I run fzf on terminal, it works. If I run your mentioned script, it says zsh: command not found: xterm

Can you check if it works when there's no other plugins and settings?

It didn't work :disappointed:

This is not relevant to your issue, but I just updated the vim plugin so that MacVim window is refocused when fzf is closed. So, please update

With new update, the nagging error has gone, but the plugin is defective. There no pop-up windows for FZF

zsh: command not found: xterm

Well, that's the reason. You need to install http://xquartz.macosforge.org/landing/

With new update, the nagging error has gone, but the plugin is defective. There no pop-up windows for FZF

The update wasn't meant to fix your problem. I just wanted to let you know of it.

Well, that's the reason. You need to install http://xquartz.macosforge.org/landing/

Your suggestion is spot on. I can run fzf on MacVim now :+1:

The update wasn't meant to fix your problem. I just wanted to let you know of it.

Yeah, I also just wanted to let you know anyway :grinning:
Many thanks @junegunn, cheers :100:

Great. Maybe I'll have to mention this requirement somewhere. Thanks.

Thank you too :smile:

@junegunn
This could not be an issue, but is there anyway to change cursor background in fzf, currently the cursor background is white and it looks like a block cursor. I just want to turn off cursor highlight so it will look like a single line cursor.

I don't know. fzf is an ncurses program and I haven't checked if it's possible to customize cursor display on ncurses.

Thanks @junegunn,
I found a way to fix it
set highlight TermCursor NONE

And the background disappeared though I lost the vertical bar cursor.


[AMENDMENT] JMP.chat out of beta

Title
JMP.chat
Amendments
No longer in beta, new pricing https://blog.jmp.chat/b/launch-2023
Association Disclosure
Yes
Would you like to submit a PR?
None
Please tick the boxes

[X] You have filled out this form accurately, and to the best of your knowledge
[X] You have indicated weather or not you are associated with the project the amendment refers to
[X] A similar submission has not already been opened for this software/ service
[X] You agree to the code of conduct

Related https://github.com/Lissy93/awesome-privacy/issues/245
Done in https://github.com/Lissy93/awesome-privacy/pull/275


🌐 Add German translation for docs/de/docs/advanced/response-change-status-code.md

← advanced/response-headers.md (#10628)
→ advanced/advanced-dependencies.md (#10633)
German translation progress

📝 Docs preview for commit 7f31770f61e82503e3211b6f7722d40e13c222c2 at: https://51881e84.fastapitiangolo.pages.dev

📝 Docs preview for commit f558b1183166d0d8d7042bd759c1faad433f723f at: https://19998c6a.fastapitiangolo.pages.dev

📝 Docs preview for commit f11fde100d6816e8cd1b512fa4c08ce8529b3ef3 at: https://53ab05b2.fastapitiangolo.pages.dev

📝 Docs preview for commit 9111d22fe1ce2fe8710ac5a4e5f4525e7f85940f at: https://a258b696.fastapitiangolo.pages.dev

Awesome @nilslindemann! :rocket:
As you are the champion of German translations and you have done so many, and with so much attention to detail, I'm gonna go ahead and merge this. :tada:
If others see things that could be improved later, we can check that in new PRs. :nerd_face:


ETA ?

any eta ? :wink:

Not sure man, as and when I get time...I was trying to rationalise some of the queries but didn't really get anywhere so in the interests of getting to some sort of MVP I'm just recreating the original functions.
I've just pushed the getAssignmentsFunction() which seems to be working ok now, feel free to take a look

@riweston we should integrated https://github.com/dnaeon/go-vcr in this way you can reuse my cassettes to develop each function

@riweston we should integrated dnaeon/go-vcr in this way you can reuse my cassettes to develop each function

This is cool, I will investigate - thanks for the link!


Sequel warning when using primary key

I keep getting the following warning from Sequel whenever I try to define a primary key inside of a schema block in a relation.
SEQUEL DEPRECATION WARNING: Symbol splitting is deprecated and will be removed in Sequel 5.  Either set Sequel.split_symbols = true, or change :remote_files__id to Sequel.qualify("remote_files", "id").
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/sequel-4.46.0/lib/sequel/core.rb:256:in `split_symbol'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/sequel-4.46.0/lib/sequel/sql.rb:500:in `expr'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-sql-1.3.1/lib/rom/sql/attribute.rb:107:in `qualified'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-3.2.3/lib/rom/schema.rb:126:in `each'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-3.2.3/lib/rom/schema.rb:126:in `each'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-sql-1.3.1/lib/rom/sql/schema.rb:46:in `map'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-sql-1.3.1/lib/rom/sql/schema.rb:46:in `qualified'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-sql-1.3.1/lib/rom/sql/relation.rb:57:in `block (2 levels) in inherited'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-3.2.3/lib/rom/setup/finalize/finalize_relations.rb:61:in `instance_exec'
/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rom-3.2.3/lib/rom/setup/finalize/finalize_relations.rb:61:in `build_relation'

I tried using both primary_key :id and attribute :id, Types::Int.meta(primary_key: true)
Below if a full code sample that will cause the warning to be raised.
require "rom-sql"
require "rom-repository"
module Relations
  class RemoteFiles < ROM::Relation[:sql]

    schema(:remote_files) do
      attribute :id, Types::Int
      attribute :file_id, Types::String
      attribute :name, Types::String
      attribute :key, Types::String
      attribute :bucket, Types::String
      attribute :region, Types::String
      attribute :version, Types::Int

      primary_key :id
    end

    def by_id(id)
      where(id: id)
    end
  end
end

module Repositories
  class RemoteFiles < ROM::Repository[:remote_files]
    commands :create
    def [](id)
      remote_files.by_id(id).one!
    end
  end
end

config = ROM::Configuration.new(:sql, 'postgres://localhost/read_model', username: 'event_source')
config.register_relation Relations::RemoteFiles
container = ROM.container(config)

Please update rom-sql https://github.com/rom-rb/rom-sql/blob/master/CHANGELOG.md#v132-2017-05-13


Remaining slow cube/interface animations in v1.8.2pb1

v1.8.2pb1 build still contains at least 2 cube/interface animations that remain slow:

Main screen <-> Faction Mission (when you click on a faction icon directly from the main screen)
Faction Mission opening (the brownish shroud clearing the faction specific mission objectives screen, the one with the "Launch" mission button)

Please see the video for more detail: https://drive.google.com/file/d/1WL7kV2wV2XfzuWkMM2h3BMs0fWXrm3f_/view?usp=sharing

videos regenerated to resolve missing videos and fix some sound chirping in some cases


Trouble shooting doc
Yes
Agent Version and Platform
vsts-agent-linux-x64-2.140.2.tar.gz
OS of the machine running the agent? Hosted Linux Preview
VSTS Type and Version
VisualStudio.com
What's not working?
We have a repo with a lot of large files. We use git LFS to make this manageable.
I am creating a CI build to run a script on some of the files, using a hosted linux agent. My problem is that the very first step Get Sources seems to only have two choices:

I can select "Checkout Files from LFS" which works, but the agent runs out of disk space when trying to pull down absolutely everything in the repo from LFS. In any case this is wasteful since I don't need all the LFS files, just a couple of them.

I can ofcourse decide to not select "Checkout Files from LFS" (default) with the thought that I could write a manual step to do git lfs pull --include="foo.tar.gz" later. However, in this case the entire souce sync step fails with some cryptic LFS auth error (see below) specifically "Git credentials not found". So I can't even do a non LFS basic git sync on an LFS enabled repo. It seems that #1 above is required to give the right credentials to LFS?

What's the correct way to pull only a couple of LFS files without sucking down absolutely everything?
Agent and Worker's Diagnostic Logs
2018-10-16T23:08:05.9219670Z Checking out files: 100% (1850/1850), done.
2018-10-16T23:08:05.9985720Z Downloading ***/****.tar (235 MB)
2018-10-16T23:08:06.0410400Z Error downloading object:***/****.tar (2e6ca68): Smudge error: Error downloading ***/****.tar (2e6ca684fd05580a0ca8439309aef7f505510ef442991622f40776c0fc42eb1b): batch response: Git credentials for https://****.visualstudio.com/data/_git/data not found.
2018-10-16T23:08:06.0432190Z
2018-10-16T23:08:06.0432940Z Errors logged to /Users/vsts/agent/2.140.2/work/1/s/.git/lfs/logs/20181016T230806.040862.log
2018-10-16T23:08:06.0434050Z Use `git lfs logs last` to view the log.
2018-10-16T23:08:06.0445040Z error: external filter 'git-lfs filter-process' failed
2018-10-16T23:08:06.0445270Z fatal: ***/****.tar: smudge filter lfs failed
2018-10-16T23:08:06.1318140Z ##[error]System.InvalidOperationException: Git checkout failed with exit code: 128
   at Agent.Plugins.Repository.GitSourceProvider.<GetSourceAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Agent.Plugins.Repository.CheckoutTask.<RunAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Agent.PluginHost.Program.Main(String[] args)
2018-10-16T23:08:06.1360000Z ##[section]Finishing: Checkout

@tjaffri for your scenario, i would recommend you go with 2) if want customize lfs fetch process.
you need to provide credential yourselves to git/git-lfs, you can learn the command line you might need from the agent's output.

@TingluoHuang thank you. I considered that but I have two concerns:
A. First, no sources are syncing in option 2 above for the LFS enabled repo due to the error (not even the simple git files since LFS insists on running as it is enabled on the remote, yet fails due to missing creds). So I have to turn off source syncing entirely for LFS enabled repos. That seems like a straight up bug, right? Isn't the CI process completely broken for LFS enabled repos if you have to sync all files (or do a complicated custom sync)? By definition LFS is when the repo has large files and you don't want to sync the entire repo. So I was hoping to report that as a bug. What's the process to do that?
B. Second, I guess I could do a manual git clone and I did look at the commands the agent is doing. But it seems to be doing complex git magic like merging PRs in the case of CI builds. I wanted to benefit from all that and not have to duplicate all that as a custom bash script. Is there a recommendation or template for how to correctly write a custom source sync?
Thanks so much for your time!

@tjaffri without git lfs install git checkout shouldn't trigger lfs object download. i need to check the git config on the hosted linux pool, BTW, have you try Hosted Ubuntu 1604 pool instead of Hosted Linux Preview?

Thanks! I ran on Hosted Ubuntu 1604, as well as Mac OSX. Same error, specifically when Get Sources does NOT have "Checkout files from LFS" selected it is still trying to do some stuff with git lfs (see smudge error below).
On my local machine for the same remote repo (on Ubuntu as well as Mac OS) I can simply do a git clone and that does not trigger git-lfs. I have to separately do a git lfs pull for files I want to pull from git lfs.
I researched this a bit and it seems when you install git-lfs on the agent image you should need to call git lfs install --skip-smudge to avoid pulling down the entire repo. Are you doing that? Is there any way to customize the agent setup and build a custom agent? We have a corporate paid subscription to Azure DevOps I don't necessarily need to use the free one.
2018-10-17T04:03:34.6688864Z Checking out files: 100% (1850/1850), done.
2018-10-17T04:03:34.6727355Z Downloading ***/***.tar (235 MB)
2018-10-17T04:03:34.6745439Z Error downloading object: ***/***.tar (2e6ca68): Smudge error: Error downloading ***/***.tar (2e6ca684fd05580a0ca8439309aef7f505510ef442991622f40776c0fc42eb1b): batch response: Git credentials for https://***.visualstudio.com/data/_git/data not found.
2018-10-17T04:03:34.6746415Z
2018-10-17T04:03:34.6746756Z Errors logged to /home/vsts/work/1/s/.git/lfs/logs/20181017T040334.673805371.log
2018-10-17T04:03:34.6747405Z Use `git lfs logs last` to view the log.
2018-10-17T04:03:34.6762348Z error: external filter 'git-lfs filter-process' failed
2018-10-17T04:03:34.6762717Z fatal: ***/***.tar: smudge filter lfs failed
2018-10-17T04:03:34.7413679Z ##[error]System.InvalidOperationException: Git checkout failed with exit code: 128
   at Agent.Plugins.Repository.GitSourceProvider.<GetSourceAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Agent.Plugins.Repository.CheckoutTask.<RunAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Agent.PluginHost.Program.Main(String[] args)
2018-10-17T04:03:34.7806369Z ##[section]Finishing: Checkout

@tjaffri i remembered git change its default behavior on git-lfs since last year, git now by default will checkout all git-lfs objects, it's part of git's system config.
in the windows agent, we package min-git with the agent, and we do change the default lfs option back to not checkout lfs object.
however, since we can't package git for linux, we don't have that control, and i guess the recent hosted image update finally got the version that will checkout lfs objects by default.
we need to figure a way out for Linux/macOS. :)

@TingluoHuang for linux/macOS maybe just set that env variable and that's it? All you need to do is set GIT_LFS_SKIP_SMUDGE=1 and that will make lfs not checkout the object.
LMK if there's a place I can PR this to. I bet you guys have a config somewhere setting env vars for the agent...

#1901

@TingluoHuang it looks like your PR has fixed this, yes? Can you close the issue, or is there still more work to be done?

I haven't verified the fix, but I suspect you're right @moswald we should be able to close this issue. My workaround is exactly what @TingluoHuang implemented in the PR.


Slow PUTs

Bulk PUT requests to my services are taking between 30 and 40 seconds to complete successfully. Bulk POST requests complete successfully in under 1 second. I've tried submitting various numbers of objects, between 1 and 20, using both methods and the response times don't seem to vary much.
Why do you think the PUTs are taking so long?
I'm using Python 3.4, Django 1.7, DRF 2.4.4, DRF-bulk 0.1.3, with PostgreSQL 9.3 and the default Django web development server on the backend.

I ran into the same issue yesterday. I tracked it down to the way validation is handled in BulkUpdateModelMixin. In bulk_update() a serializer is created with the QuerySet for the view, and then validated. The validation in BaseSerializer loops over the entire QuerySet to extract their identities, which can be very slow, especially if you have a lot of records.
I worked around the issue by adding an extra filter to the affected views, that checks if it looks like a bulk update is in process, and filters the QuerySet to only those items that are about to be updated.


[Tooling][DSS] Right click menu option only appear on top level

Description:
$subject, this will kill the usability of the creating data service. Usually, people try to start from the folder as well. then they can't go forward with that.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
6.4.0
OS, DB, other environment details and versions:
MacOS - 10.14
Steps to reproduce:

Related Issues:

Fixed in - https://github.com/wso2/devstudio-tooling-dss/pull/161


Expose resourceLimits for instances of pods and apps

JIRA Issues: MARATHON-8749

any idea when it will available?

Planning on merging this for DC/OS 2.2


npm run build fails on Windows

On Windows, when I run the command npm run build, it fails like:

However, on Ubuntu (or WSL) or MacOS, the same command npm run build doesn't fail.
I tested it on node version 18.x and 20.x.

@justinyoo - Can you still reproduce this? I can't using the latest build.

I tried this again today, but can't reproduce. Closing as no reproduction. Please reopen if this is still happening for you!


⚠ ClamAV has degraded performance

In 7e16145, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 101 ms

Resolved: ClamAV performance has improved in 57c92ec after 1 hour, 53 minutes.


APC is not installed/setup correctly

It seems I've forgotten to get this working. D'oh!
For now, if you need it to be installed, after all provisioning is complete, run the following two commands:
$ sudo apt-get install -y php-apc

Additionally, maybe look into automatically switching to opcache settings if on PHP >= 5.5. Though that might be an issue to be opened over in the geerlingguy.php role.

Related: https://github.com/geerlingguy/acquia-cloud-vm/issues/6

This has been fixed upstream.


Snyk vulnerability report: low severity

Testing the current version of this module<EMAIL_ADDRESS>with snyk/snyk results in a low severity warning and makes it exit with an error.
This can be resolved by updating<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Vulnerability report
Steps to reproduce:
snyk test firebase-admin

Fixed


Fix error with odd length hex check

Nice. Good catch. Can you add a changeset for a patch?

added


aubergines from other mods not recognised as valid recipe inputs

im guessing the recipes arent oredicted?
this also applies to recipes in mystical world.

I think aubergines are from mystical world, so it might be good to transfer the issue there @duely

I think it's specifically referring to recipes for rituals, spells, etc, that include aubergines and don't specifically use the OreDictionary cropAubergine

yes as most recipes are in roots i decided to pit it here but its an issue in both, although having any cropeggplant/cropaubergine let you get seeds would (kind of) serve as a workaround

ah, ok


[Enhancement] Sorted chats based on last activity

Firstly, Great Work!!!
I just have a few problems:

I would like for the chats to be sorted in terms of the last message received i.e. I want the chat with the newest message to be at the top of the chat list
I would like to have an unread messages count beside the chat name instead of a *.

I am willing to make updates on my personal clone if you can point me to where to make these updates (I am not used to C : /).
Thanks.

Thanks for reporting the suggestions, I think they make sense.
To enable sorted chats some "architectural" changes are needed, so unfortunately I can't provide some simple pointers. But I'll look into this. I've also missed this functionality sometimes.
The counter for unread messages should be more simple, but I don't have the code fresh in my head now so I'll need to take a look.

Thanks for your timely reply, looking forward to the changes.

Hi @jfamousket - the architectural changes has finally been completed - and nchat has been rewritten essentially from scratch in e5b20c0. Chats are now sorted based on last message timestamp, similar to the phone app.
Message count is not available, as it is complex to report correctly. Feel free to submit a new Github issue if you still would like to see this supported. I will close this issue.


Chore: 배포환경 테스트

Preview available at: https://example.com

Preview available at: https://davinci-preview-bucket.s3.ap-northeast-2.amazonaws.com/pr-27/


Doesn't work in repo using SSH URI

I'm trying to use GitSync in an Obsidian vault that's using GitHub with an SSH URI that I normally sync using the CLI.
GitSync is unable to sync this repo even though it's been authed with GitHub. The error message is "Transport exception: remote hung up unexpectedly".

I'd prefer to avoid switching to a https:// URL because that'll require a personal access token at the CLI.

Just noticed the email bug report was acknowledged. I'll wait for working SSH URI support.

SSH support is incoming. Will update this issue when it's here!
Thanks for your patience :)

Added in this commit! Will be included in an upcoming release
https://github.com/ViscousPot/GitSync/commit/27ee90dd09e26ec50c6e2796e07113631d717e1a


Swagger swagger = Swagger20Parser().parse(swaggerAsString),  swagger.getDefinitions() doesn't return those definition which are not object/array type

Below is the version which I have used:
	<dependency>
		<groupId>io.swagger</groupId>
		<artifactId>swagger-inflector</artifactId>
		<version>2.0.0</version>
	</dependency>

Below is the swagger which I have tried. It did not return 'country' as a model.
       {
       	"swagger": "2.0",
       	"info": {
       		"title": "Pes Api Service",
       		"description": "A basic implementation to generate a PES API service, which accepts a JSON format payment and returns a JSON payload",
       		"version": "v1",
       		"x-artifact_id": "pes-api"
       	},
       	"consumes": [
       		"application/json"
       	],
       	"produces": [
       		"application/json"
       	],
       	"paths": {
       		"/payments": {
       			"post": {
       				"tags": [
       					"PaymentExecutionService"
       				],
       				"operationId": "postPayments",
       				"consumes": [
       					"application/json"
       				],
       				"produces": [
       					"application/json"
       				],
       				"parameters": [{
       					"name": "PaymentSDPData",
       					"in": "body",
       					"description": "SDP based payload with relevant instruction data, meta data and supplementary data",
       					"required": true,
       					"schema": {
       						"$ref": "#/definitions/PaymentSDPData"
       					}
       				}],
       				"responses": {
       					"200": {
       						"description": "Successful Operation"
       					},
       					"400": {
       						"description": "Bad Request"
       					},
       					"500": {
       						"description": "Internal Server Error"
       					}
       				}
       			}
       		}
       	},
       	"definitions": {
       		"country": {
       			"type": "string",
       			"pattern": "^[A-Z]{2,2}$"
       		},
       		"PaymentSDPData": {
       			"title": "details",
       			"type": "object",
       			"properties": {
       				"type": {
       					"type": "string",
       					"minLength": 1,
       					"maxLength": 35
       				},
       				"date": {
       					"type": "string",
       					"pattern": "^[0-9]{4,4}-[0-9]{2,2}-[0-9]{2,2}$"
       				},
       				"country": {
       					"$ref": "#/definitions/country"
       				},
       				"code": {
       					"type": "string",
       					"minLength": 1,
       					"maxLength": 10
       				},
       				"amount": {
       					"type": "number",
       					"format": "double"
       				}
       			}
       		}
       	}
       }

Hi can you provide an example or a test of how you use parser and inflector? I've have tried but not was able to reproduce. thanks @Neha1993


How to change the language of "code block"?

I changed the standard language from portuguese to english in matter.tex and as expected the figure names changed from "Figura" to "Figure", and the chapter names from "Capitulo" to "Chapter". But when I create a code block like this:
\begin{listing}
\begin{verbatim}
(code ...)
\end{verbatim}
\caption{Code description}
\label{code_lbl}
\end{listing}

The label still is displayed in portuguese. Instead of "Code 1: Code description" it is still "Código 1: Code description". I tried to see if I could change it in custom_theme.tex and in uaThesisTemplate.sty, but haven't found anything.
How can I make that label change from portuguese to english?

https://github.com/detiuaveiro/ua-thesis-template/issues/17

Thanks @fabiomaia.


React Native Support?

Hello, this looks like a beautiful library for playing sound in React. Congrats!
Is there a chance that it could support React Native ( preferably Expo? )

Thank you for the good feedback
Currently, there are more features to add
So I have a plan for native support, but I think it will take a long time

Thanks for the quick answer!


Update README.md

While working #32 I made some changes to enhance the README
Will be adding a Contributing guide soon


tweak test_emoticons in mysqltests.py (#536)

Thanks @gordthompson.  I know anything from you is going to be good.


recent_topics: Handle a topic being deleted.

Commit message:
This will handle a topic being deleted:
1. If the user doesn't have recent topics open at the moment of the
   deletion happening, the topic won't appear upon opening the view.
2. If the user does have recent topics open, the topic will disappear
   from the view upon receiving the deletion event.

We still don't handle individual message deletions - upon deletion of a
recent message, last_msg_id of the topic should get updated so that the
topic is ordered correctly in the view.

A reasonable way to let us handle updating the view when a single message gets deleted could be by including last message id in the topic in message deletion events when the messages being deleted are in a topic. Otherwise this might be tricky, as the data about the topic we keep in recent_topics.topics doesn't allow us to figure out that information if the current latest message is getting deleted. I'm not familiar with this system though so could be wrong.

Closing in favor #15803


Integration Tests

Setup dusk for integration tests and start work on a test suite for it

Leave this for later, a nice to have rather than needed.


Topics Flow

There are missing pointers on "Amazon EKS Workshop > Start the workshop... > ...at an AWS event" - the only link available, if the person running is not on a workshop/event, is "Start the workshop on your own".
But if the person already performed the tasks on "Start the workshop on your own", should be a link to the next steps (starting on "Amazon EKS Workshop > Start the workshop... > Install Kubernetes Tools").

as talked with @arun-gupta

@brentley this is more applicable for the overall workshop, not specific to Kubeflow


Skybox not working in POH

Describe the bug
When in your POH the Skybox plugin doesn't work anymore.
To Reproduce
Steps to reproduce the behavior:

Enter your POH
Skybox is all black.
Expected behavior
A nice blue sky like everywhere else.

Screenshots

Environment (please complete the following information):

OS: Windows 7
RuneLite version: 1.6.25
Launcher version: 1.6.0

I was unable to reproduce this issue on my platform with the latest release. Skybox worked within my POH with the GPU plugin on and off.

OS: Linux 5.4.61 (x86_64, Mesa)
RuneLite version: <IP_ADDRESS>

It looks like OP is using the new Hosidius house style. Maybe this issue is related to that?

Possibly, I wasn't testing with the same theme. Hopefully someone else who has it unlocked can try to reproduce this.


Fallback to use API for getting channel ID when not in the cache

See https://github.com/42wim/matterircd/issues/479

Closing off, it's in the upstream project (didn't realise it was separate) - https://github.com/matterbridge/matterclient/pull/3


Add support for datetime64

Current behavior
Currently, pymapd use python datetime object to return a date time data and, as it doesn't store nanosecond information, the result from/to pymapd missing the nanosecond information.
Expected behavior
pymapd should return the nanosecond information for timestamp(9).
What does this implement/fix?
This PR adds support for datetime with nanoseconds using np.datetime64 for timestamp(9) data type.
It adds this support for row and columnar methods.
Note:
It seems that the pymapd cursor description doesn't keep some information such as precision, scale (https://github.com/omnisci/pymapd/blob/master/pymapd/_parsers.py#L127-L145)
that is why I changed a test that was using cur.description to con.get_table_details
ref: https://github.com/Quansight/omnisci/issues/56#issuecomment-605326182

this PR is ready for review. thanks!

@xmnlab Nice job with this fix, and the increased test coverage 👍.


rpm-ostree rebase fails with new signed images

When trying to rebase my Fedora Silverblue with
rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/silverblue-nvidia:latest

as told by the README since 4 days ago (pull #130 / commit 0c1ae8a)
I get the following error:
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/silverblue-nvidia:latest

error: Preparing import: Fetching manifest: containers-policy.json specifies a default of `insecureAcceptAnything`; refusing usage

And it only works by using the old unsigned way:
rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/silverblue-nvidia:latest

Do I need to do anything else before rebasing to the signed images?

After rebasing to the unverified ublue image, are you able to rebase to the signed image?

I am, yes. Just got everything still working, including secure boot, after rebasing from unsgined to the signed image.

We probably need to add a note somewhere for Fedora Silverblue users so that they rebase to the unsigned images here first. Thank you so much for the information

We added this here but maybe we need stronger warnings somewhere else?
https://universal-blue.org/images/#preparing-to-rebase

Would be nice to have a warning here on the README and also on the website guide, which were my entry points when looking to try ublue instead of manually layering Nvidia on Silverblue.
Thanks for all your efforts, by the way! Quite an unusually seamless nvidia experience on Linux.

Resolved. Thank you!


Dirrecting to demo with https://

The Documentation has been observed redirecting people to the demo of the PMS without a proper SSL certificate causing Error in access to the demo.
I'd advice the following action being taken:

[ ] Fixed Documentation to redirect to interested party to a http :// .

I don't uderstand. Where did You found the link?

Apology I said Documentation, I mean The README.md
"Preview
Fully accessible demo can be found ⇛Here⇚."

somehow I no longer find this issue.


Could NOT find Boost

-- Could NOT find Boost (missing: thread program_options filesystem serialization iostreams regex system python311 chrono serialization numpy311) (found suitable version "1.72.0", minimum required is "1.56.0")
-- Found OpenGL: opengl32
-- Found OpenMP_C: -openmp (found version "2.0")
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
-- OpenMP found - compiling with
-- Found BISON: E:\Code\luxcorerender\WindowsCompile/support/bin/win_bison.exe (found version "3.7.1")
-- Found FLEX: E:\Code\luxcorerender\WindowsCompile/support/bin/win_flex.exe (found version "2.6.4")
CMake Error at CMakeLists.txt:110 (MESSAGE):
--> Could not locate required Boost files - Please check
E:\Code\luxcorerender\WindowsCompileDeps\include/Boost

If you want to build LuxCore on your own, please use the build script in the WindowsCompile repository and follow the instructions in the readme. WindowsCompile


tvOS support?

Now that the WebRTC SDK has tvOS support https://github.com/webrtc-sdk/webrtc/pull/139
How hard would it be to adapt this lib to work on tvOS?

"This lib" is just a wrapper and a build script, it does not have anything platform-specific, so I don't think it should be too hard. On the other hand you point to a non-official WebRTC repo, while we use Google WebRTC with some iOS-specific patches.
You can try swapping WebRTC repo in the build script and add a new build target. I don't mind adding tvOS support if you make a PR. But as our app is only for iOS, I can't invest time into something we don't use and can't even test.

Haha, I always forget that repo is not the official WebRTC SDK 🤦
I thought as much though, I will have a crack at it. I can't think of a good way to raise a generalised PR if the build script uses the official WebRTC SDK though.


Any settings to insert CSS variable name without var()?

I found this extension would provide auto-complete options of CSS variables in any text files. It's reasonable to use these CSS variable names when we want to set them programmatically in JavaScript, but var() is not expected to be inserted. Is there any setting to disable var() in auto completion? Or is it a bug to provide options of detected CSS variables when users are not editing CSS-like code?

I found the automatic insertion of the var(--variable) to be problematic as well.
There are cases where you want to redefine css variables in selectors. Then you just need the --variable:  insertion, not the var(--variable) insertion.
This should be easy to test for. If at the beginning of a tabbed lined insert --variable: . If after a css property: property: , then insert var(--variable).
Or just have the option to not insert the var(...) along with the css variable name.

I found a hack to this. Just clone the repo. Open in VS Code. Do "npm install" to install modules. Find the line of code that wraps the string in var(...) and change it. Then find the right scripts to run in /package.json'. Like npm run buildandnpm run package. Eventually you will find the minified .jsfiles ofindex.jsandserver.jsin/packages/vscode-css-variables/dist/`.
Now find where the VS Code extensions are installed on your computer: e.g. C:\Users\me\.vscode\extensions\vunguyentuan.vscode-css-variables-2.6.3\dist
Next backup the two files, index.js and server.js and copy them over with the new ones. Then start VSCode. No more var(--variable) when trying to redefine the css variable in a selector.


Update Amazon IVS Player SDK to 1.8.0

Update Amazon IVS Player SDK to 1.8.0
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM - thank you for the contribution!


[5.9] [Concurrency runtime] Don't read from the actor after transitioning state

Explanation: In the concurrency runtime, calls to the tracing hooks for tracking actor state transitions assumed that they could read from the actor's memory. While unlocking an actor, there is an extremely narrow window in which the actor has transitioned into an idle state and then been deallocated by another thread before the tracing hook gets invoked, causing a use-after-free in in the concurrency runtime. Predetermine the information that was being read from the actor at pointers where we know that the actor is still alive, and pass it through to these tracing functions, to eliminate the use-after-free.
Scope: Narrow; moves a load of actor state from one central place (that might be invalid) to a few places where it is guaranteed to be valid.
Risk: Low; there's no semantic change here, just moving loads around to safer places in the concurrency runtime.
Reviewers: @ktoso, @rjmccall
Issue: rdar://108497870
Original pull request: https://github.com/apple/swift/pull/66008

@swift-ci please test


SFTP Post-process File Handling

Story
As a _, so that _, I need _.
Pre-conditions

[ ] 1076

Acceptance Criteria

[ ] Required outcomes of the story

Tasks
Research

[ ] Research work needed to complete the story
[ ] Foundational: High-level research that will support this and future efforts

Engineering

[ ] Add blob storage code to move files along to where they are in the process (e.g. move from customer/import folder to customer/processed or customer/error folder)

Notes moved out of queue.go:

  // TODO - how do we decide when to move a file from import to failure/error?
  // If a queue message ends up on the poison queue, should the file still be in `import`
  // or should we know to move it to `error`? Does it matter if it's e.g. a non-success response from RS
  // vs an error calling them?
  // TODO - minimum option is to check the dequeue count, and if we're over the threshold, log an error so we at least know something failed

[ ] Once we know what folder structure we're using, add retention policy - see RS for inspiration

Definition of Done

[ ] Documentation tasks completed

[ ] Documentation and diagrams created or updated

[ ] Implementation guide (/ig folder)
[ ] ADRs (/adr folder)
[ ] Main README.md
[ ] Other READMEs in the repo
[ ] If applicable, update the ReportStream Setup section in README.md

[ ] Threat model updated
[ ] API documentation updated

[ ] Code quality tasks completed

[ ] Code refactored for clarity and no design/technical debt
[ ] Adhere to separation of concerns; code is not tightly coupled, especially to 3rd party dependencies
[ ] Code is reviewed or developed by pair; 1 approval is needed but consider requiring an outside-the-pair reviewer
[ ] Code quality checks passed

[ ] Security & Privacy tasks completed

[ ] Security & privacy gates passed

[ ] Testing tasks completed

[ ] Load tests passed
[ ] Unit test coverage of our code >= 90%

[ ] Build & Deploy tasks completed

[ ] Build process updated
[ ] API(s) are versioned
[ ] Feature toggles created and/or deleted.  Document the feature toggle
[ ] Source code is merged to the main branch

Research Questions

Optional: Any initial questions for research

Decisions

Optional: Any decisions we've made while working on this story

Notes

Optional: Any reference material or thoughts we may need for later reference

Closed, open tasks moved to story #1076


CalendarDay(Calendar calendar)  - @Deprecated, How now create CalendarDay?

CalendarDay(int year, int month, int day) is Deprecated
my code:
date = CalendarDay(1999, 1,1);
widget.setCurrentDate(date)
widget.setDateSelected(date);
how can I optimize it?

Hey @kamilwlf, factory methods were added awhile ago. In your case you would use CalendarDay.from(year, month, day).
See the javadoc here


System.DllNotFoundException:“Unable to load DLL \xx\xx\LibTorchSharp.dll' or one of its dependencies: 找不到指定的程序。 (0x8007007F)”

.net 5.0
All code :
        Module module = Module.Load(@"rect.pt");
        module.cuda();

nuget download   TorchSharp   and    libtorch-cuda-10.2-win-x64
I have installed cuda 10.2 and pytorch - py3.7 on my pc.
I‘m sure model - rect.pth It runs normally on python
I convert rect.pth to rect.pt ,then it runs error on .net

I don't think Python generated .pt files can be loaded into TorchSharp quite yet.
See https://github.com/dotnet/TorchSharp/discussions/335 and https://github.com/dotnet/TorchSharp/issues/146
Module.Load in TorchSharp is currently using a proprietary format, that is different from PyTorch's .pt.
It works fine for saving and loading TorchSharp model parameters, though.

I don't think Python generated .pt files can be loaded into TorchSharp quite yet.
See #335 and #146
Module.Load in TorchSharp is currently using a proprietary format, that is different from PyTorch's .pt.
It works fine for saving and loading TorchSharp model parameters, though.

I retry model.pth then it still have an error  "System.DllNotFoundException:“Unable to load DLL 'LibTorchSharp' or one of its dependencies: "
code :
Module module = Module.Load(@"model.pth");
module.cuda();

You'll also need the libtorch-cuda-11.1 packages

I'm pretty sure the DLL not found exception is unrelated to model loading.
On the former, Don Syme is right, you also need to install one of the native LibTorch packages -- since you may or may not have a GPU, TorchSharp requires you to install the native package that corresponds to your configuration (CPU or GPU).
On the latter: PyTorch relies on a Python specific serialization format, "pickling," which .NET does not support well. Therefore, if you want to load model weights from PyTorch into TorchSharp, you have to export the models using a special format. This is also the format that TorchSharp uses for its own needs. See a longer explanation here: https://github.com/dotnet/TorchSharp/blob/main/docfx/articles/saveload.md

Stale.


Some code directly after a comma cannot be recognized and colored.

Please help confirm if it is a purely Textmate grammar issue:

set "commonLisp.StaticAnalysis.enabled": false in this extension's built-in settings (under Common Lisp tab) or set "editor.semanticHighlighting.enabled": false in VS Code's settings.
reload VS Code.
check if you still see the bug and describe your findings.

I have restarted VSCode with "commonLisp.StaticAnalysis.enabled" disabled, and the imperfection still exists.

VS Code Version: 1.89.1 (user setup)
Desktop Electron Version or Browser version: 28.2.8
OS Version: Win11 23H2

Describe the bug
Special variables, constants, numbers, and nil have no color in backquote list after a comma. However, they can still be recognized when put in an additional list.
Code
;; Please include a code snippet that demonstrates the issue
(defparameter *test* 4)
(defconstant +test+ 6)

(print `(a b c ,(1- *test*) ,*test* ,(1- +test+) ,+test+ ,7 7 ,'(nil) ,nil))

Current Behavior Screenshot

Thank you for your report. This issue should be resolved by 79d04dc, and the solution has been released in v1.2.11.


Add missing keyword in Basic Concepts tutorial

The "new" keyword was missing from the OSM source initialization.
Fixes #16191

Thanks, @ptrgast


GC improvement (layers, repositories, modificationTime)

Hi.
This pull request consists of 3 proposals in these pull requests:
https://github.com/docker/distribution/pull/2297
https://github.com/docker/distribution/pull/2288
https://github.com/docker/distribution/pull/3051
It was necessary for our project to integrate these changes.
I added these parameters to this command:
-t ${n} - don't remove objects modified less than this number of seconds ago (it allows to perform garbage collection without stopping)
-r - remove repositories without manifests (it cleans empty repositories)
And now it collects also old links in "_layers" directory.
Also, I added a test for new features.
Let's merge this request!

About the garbage collection without stopping. It is better to disable caching on the server. Otherwise, it causes some unpleasant consequences with blobs. I suggest adding this to your docs...

https://github.com/docker/distribution/issues/2881

Thanks for this. I haven't had time to do a detailed code review, but this fixed an issue for me where repos without any tags were not getting deleted. Hoping to see this merged.

Thanks for this. I haven't had time to do a detailed code review, but this fixed an issue for me where repos without any tags were not getting deleted. Hoping to see this merged.

Is there any update on this ? Lots of people are pretty stuck with this.

Just a quick follow up that I believe this PR resulted in data loss for me if I deleted images that were cross mounted from other repositories. It's been a while and would need testing to be sure that's the case.

@sudo-bmitch are you able/willing too ? I see so many 3rd party messup that I think this will resolve things for lots of people! I can test if you want.

@sudo-bmitch are you able/willing too ? I see so many 3rd party messup that I think this will resolve things for lots of people! I can test if you want.

@Yamakasi sorry, I don't have the bandwidth right now.

@sudo-bmitch are you able/willing too ? I see so many 3rd party messup that I think this will resolve things for lots of people! I can test if you want.

@Yamakasi sorry, I don't have the bandwidth right now.

Can't you run one local and push local to your local repo ? That would do the trick! If you want me to test, let me know!

@sudo-bmitch Can I help out here in some way ?

@qnt-dmitry mind rebasing this?


docs: exec resources are non-isomorphic (duplicate namevars allowed)

hi. :)
I can't believe this wasn't written down anywhere before, but anyway, I was actually using it in anger and had to double-check that it worked like I remembered.

Can one of the admins verify this patch?

Hey @nfagerlund! Good to hear from you!
This change looks fine to me, but travis is failing because of the commit format. Could you change docs: to (docs) in the commit title?

CLA signed by all contributors.

@melissa no prob. Good to see you too :)

Thanks @nfagerlund! I rekicked appveyor, transient failure was unrelated to your PR

Oh, should we retarget this at 5.5.x?

CLA signed by all contributors.

Just going to ping @hestonhoffman so these changes make it into 5.5.x docs. I'm pretty sure he said those docs aren't being re-generated any longer, so I'll merge this now as it is.

Here's a ticket so I don't forget :) https://tickets.puppetlabs.com/browse/DOCUMENT-994

Yeah, @jtappa , we are generating only new versions as much as possible, because of reasons. We certainly CAN regenerate them if needed though. I think 5.5 is the only 5.x version I could see doing that for.


In vw wallet, ensure that tokens aren't lost if someone accidentally sends to it

Motivation
Q/concern : what if someone accidentally sends erc20 tokens to vestingwallet.sol, assuming that the wallet could send them on using erc20 interface?
Could be a real problem. Eg OPF accidentally does it, or a DF partner. Could be Ms of tokens lost. That's why I've marked this issue as a bug.
TODOs:

[ ] Support in .sol. Inspiration: here's how the same problem was solved for DFRewards.sol, for df-py#47.
[ ] Support with .py unit test. Inspiration: here's the unit tests for DFRewards.sol, for df-py#47.

(Note: this was originally in issue 10, but that issue weirdly had a PR for df-py linked to it, which always showed up in Zenhub board. Moved to this new issue so we don't keep seeing the PR.)

Let's have a short discussion around this so we can sort out the architecture.

"Architecture" can be simple: it's philosophically similar to "gulp()" in Balancer v1.

If you call Balancer amm gulp(), the contract will move any funds at its address into its liquidity pool attribute.
here, if you call vesting gulp(), the contract will move any funds at its address into the vesting wallet attribute. (OR: maybe it alreadg does this by the nature of its implementation? If yes, great! Either way, we will want to write a unit test to capture the target behavior)

The tokens & ETH sent to the contract are not lost but vested over time

Great!
Then this issue's concern is nothing to be concerned about! :)
Nothing else to do.