[support] Change default quota from 2G to 5G memory

What
Registers requested a quota change to their "trial" organisation because
they have hit the memory limit of the default quota by using a handful of
Rails applications each with two instances of 256M (which doesn't seem
unreasonable):

https://gaap.deskpro.com/agent/#app.tickets,inbox:agent,t.o:4199,vis:7

Following a discussion with @alext, @jollery, and @bleach, we agreed that it
would be cheaper (in terms of total potential cost to us) to give "trial"
orgs more memory on the default quota rather than move them to the small
quota which allows for paid service plans.
I'm in favour of modifying the existing quota rather than introducing
another quota for "trial" users, because it requires less effort now to deploy
and less effort in the future to determine which quota an org should be
created with or later request a switch to.
Alex confirmed that we don't need to add an existing cells to support this
change:

I could probably answer that for you with a quick hack to the memory-usage report.
Looks good, we’d need 337Gb to meet our defined limit, and we currently have 359Gb

How to review
Code review should be sufficient because we've changed quotas using this mechanism before.
Who can review
Not @dcarley

my name is michael and I approve this message
merging


Dark mode and light mode manual select for user tq

Some website not sure is showing light mode of scroll bar but actually website is nearly dark mode.
Your can give user a website list each for light mode and dark mode setting

I forget which website, if future I have found it I will let you know.
Thank you for replying to me.
On Fri, May 7, 2021 at 4:31 AM Luandersonn Airton @.***>
wrote:

Which website?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/luandersonn/Modern-scrollbar/issues/5#issuecomment-833803116,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR6IBFPPXNV77LOVD7FQCATTMLVC7ANCNFSM42U3UV3A
.

Here is my view on reddit

Yes, they need to set the body background to black, but they didn't

Working on fix to reddit using js ;) (<IP_ADDRESS>)


Update frontpage with "Almond In The News" Section

Links are collected here: https://community.almond.stanford.edu/t/almond-in-the-media/159/6

@euirim can you finish this PR with the missing links? We might need a carousel/scroller too, if we cannot fit on mobile/tablet or even desktop.

Pull Request Test Coverage Report for Build 2013

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 67.431%

Totals

Change from base Build 2006:
0.01%

Covered Lines:
6921

Relevant Lines:
9634

💛  - Coveralls


[Question] How to use this with react-router or react-router-redux?

Hi,
I've setup an action to login a user after the login form was submitted. I've created a matching alias to have this async action of checking credentials happen in the background page. However, I'm using react-router and would like to "redirect" on a successful login. This happens by doing:
import { browserHistory } from 'react-router';

browserHistory.push('<new-path-here>');

As you might expect, having to setup the routing in the popup page (together with the browserHistory) we can't just access the same browserHistory object in the background page. Meaning that one cannot simply redirect a user after a successful login. See code example:
// popup

import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { Store } from 'react-chrome-redux';
import { Router, browserHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
import getRoutes from './routes';

const store = new Store({
    portName: 'xxx'
});

const unsubscribe = store.subscribe(() => {
    unsubscribe();
    const history = syncHistoryWithStore(browserHistory, store);

    ReactDOM.render(
        <Provider store={store}>
            <Router history={history}>
                {getRoutes(store)}
            </Router>
        </Provider>,
        document.querySelector('#app')
    );
});

// background

import firebase from 'firebase';
import { browserHistory } from 'react-router';

// This is an aliased action executing from the background
// with redux-thunk
const loginUser = () => {
    return (dispatch) => {
        firebase.auth().signInWithEmailAndPassword(email, password)
            .then(user => {
                dispatch({
                    type: LOGIN_SUCCESS,
                    payload: user
                });

                // Redirect here
                // This won't work, because the browserHistory obviously differs
                // from the one in the popup page.
                browserHistory.push('/dashboard');
        });
    };
};

I hope this is kind of clear? My question however is: is there a way this issue is supported by react-chrome-redux and am I just not seeing it? Or should I use messaging to send a message to my popup page saying: "Hey, all is fine, you can redirect now using the correct browserHistory object"?
Note: don't mind missing imports and such, just assume everything works. I just want to figure out, how I can get back to the browserHistory in a neat way.
Thanks in advance!

FYI: In the meantime I'm using this workaround:
// popup
const unsubscribe = store.subscribe(() => {
    unsubscribe();
    const history = syncHistoryWithStore(browserHistory, store);

    // @todo: Check if there's a cleaner way to redirect.
    // https://github.com/tshaddix/react-chrome-redux/issues/39
    chrome.runtime.onMessage.addListener(
        function(request) {
            if (request.type == 'redirect') {
                history.push(request.payload);
            }
        }
    );

    ReactDOM.render(
        <Provider store={store}>
            <Router history={history}>
                {getRoutes(store)}
            </Router>
        </Provider>,
        document.querySelector('#app')
    );
});

// background

chrome.runtime.sendMessage({
    type: 'redirect',
    payload: '/dist/index.html'
});

Hi @vanbosse, really sorry for the late response. I with family for the holidays but I will try to find some time to jump into this! Thanks for posting the workaround!

@vanbosse I'm not super familiar with react-router (yet - we'll be using it extensively in the following months). Just commenting here so I can be subscribed to this thread. :-)

@vanbosse So looking through this, looks like you've found all the limitations I can think of.
One suggestion if you don't want to write your own "sendMessage" and handler: Just use a key on the state object to indicate what route the popup should be.
For example, in your alias:
.then(user => {
                dispatch({
                    type: LOGIN_SUCCESS,
                    payload: user
                });

               dispatch({
                 type: POPUP_REDIRECT,
                 payload: 'some-redirect'
               });
        });

Then include a corresponding reducer for the POPUP_REDIRECT action.
Finally, in your popup you can use:
const lastRoute = // ...

store.subscribe(() => {
    // check store popup router is different than last route
   // redirect if so
});

That way you can still manage your routing in your state. This may be a little more manual than you had hoped, but it has the nice property that Redux promotes which is representing your entire app in the stores state.

@vanbosse This is very interesting, can you please post your full working code? I mean if you actually used @tshaddix 's suggestion? I'd love to see it, I still haven't understood how to implement this, and react-router is not working with me today..!

@SudoPlz I didn't use @tshaddix 's suggestion. I continued using the workaround. Since this was code of a test project, it didn't matter all that much.


Write migration guide for azure-spring-boot-starter-active-directory

Parent issue: #24351

How to use the features that is supported in azure-spring-boot 3.x

[ ] Spring security oauth2 related content. #23922

group-name based access control.
group-id based access control.
AADAuthenticationFilter and AADAppRoleStatelessAuthenticationFilter

Closing this issue because we will not release spring-security-azure-oauth2-client  any more.

Reopen this issue, because even if we do not release spring-security-azure-oauth2-client, we still need customer how to drop azure-spring-boot-starter-active-directory.

Issue resolved. Link: https://microsoft.github.io/spring-cloud-azure/docs/4.0.0-beta.1/reference/html/appendix.html#from-azure-spring-boot-starter-active-directory-to-spring-cloud-azure-starter-active-directory


Incompatability with Windows Server 2022

Since support for WSL 2 was pulled with Windows Server 2002, this should be specified in the documentation. As of now this is not mentioned anywhere and Docker is simply not starting because it can't enabled WSL2.

@JLangthaler - Thanks again for your feedback. After consulting further with the product team, it was determined that we won't include all Docker considerations in the Microsoft Cloud App Security document. I have added a bullet to the first note on this page, indicating that further information about Docker for Windows can be found here.
I recommend that if you'd like more details about WSL 2 support, you request that it be added to the Docker page.


Add OpUndef instruction to block's instruction list for completeness.

Undefs are hoisted out separately. Is there any reason why these have to be part of the block ops? Have to tested that it works correctly? None of the backends expect this.

This would not impact translation from SPIR-V to high level language. I will check the failures.
My application traverses all instructions and build symbol for each of them. The symbol table helps to translate SPIR-V to other IR. If OpUndef is not in the instruction list, no symbol is built for it, and symbol table lookup failure will occur.


How to combine multiple maf files without loss

Hi, I have 25 maf files which I want to combine so that I can run them through maftools. I don't want to lose any data, as is the case when using merge_mafs as it deletes duplicates. I have looked into either using a dplyr function (which could be far more tedious and tricky with the many columns on maf files) or using regular merge, but if there is better insight I would appreciate it. Ultimately I am trying to use the maftool functions plotmafSummary and oncoplot.
My experience till now in R is very limited and mostly in relation to excel, so apologies if I'm overlooking something.

Hi,
I don't think it removes any duplicates.
But you could do something as below if you don't want to use merge_mafs
mafs = list.files(path = "/path/to/mafs/", pattern = "*.maf$", full.names = TRUE)
maf_dat = lapply(mafs, data.table::fread, sep = "\t", skip = "Hugo_Symbol")
names(maf_dat) = unlist(data.table::tstrsplit(basename(path = mafs), spli = "\\.", keep = 1))
maf = data.table::rbindlist(l = mafs, use.names = TRUE, fill = TRUE, idcol = "maf_file")
maf = maftools::read.maf(maf, removeDuplicatedVariants = FALSE)

I haven't tested the above code but I it should work.

Hi @PoisonAlien,
I used the code above to merge the mafs, but got the error below:
maf = data.table::rbindlist(l = mafs, use.names = TRUE, fill = TRUE, idcol = "maf_file")

Error in data.table::rbindlist(l = mafs, use.names = TRUE, fill = TRUE,  :
Input is character but should be a plain list of items to be stacked

Hi,
The input mafs - it seems to be a list of files. rbindlist merges data tables. Please make sure mafs is a list of data.tables or data.frames.


don't uglify in debug mode

It's easier to track down values and variables in debug / development mode when uglify is turned off. This PR doesn't uglify in debug.
Thanks!

it would be nice to be able to turn off uglify (or better control mangling?) -- having code that you're trying to debug optimized away is mildly frustrating.

Perhaps a generic flag to turn off transforms might be the way to go?
Transforms are great, but you're right in that software isn't flawless, and
having a way to toggle things might be useful
On Mon, Jun 26, 2017 at 3:25 PM Todd Kennedy<EMAIL_ADDRESS>wrote:

it would be nice to be able to turn off uglify (or better control
mangling?) -- having code that you're trying to debug optimized away is
mildly frustrating.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/bankai/pull/203#issuecomment-311074867,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWler3ij9eR2b31O5CGONGR4cSdt2p9ks5sH79IgaJpZM4OD4ca
.


Add translations introduced by react-admin v4.4.0

Version 4.4.0 added the Customize component, which includes some new i18n keys.  More info here.

We've fixed this issue with the PR https://github.com/BlackBoxVision/react-admin-extensions/pull/10. We're going soon to release a new version of this package!

We've published version 4.4.0, you can upgrade:
npm i<EMAIL_ADDRESS>
Let me know if this helps you!

Great! thanks a lot Jonatan


add initial users and copy-pastes

Description

Relevant issues/tickets

Type of change

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

Checklist

[ ] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps

To properly preview the changes use view file

Apologies for commit spam, Github has slightly different formatting than vscode, never sure what it looks like until I push it


Particular thermostat does not start or it dissapears after some time

In my log I see following message:
Logger: homeassistant.components.climate
Source: components/climate/init.py:354
Integration: Climate (documentation, issues)
First occurred: 17:29:23 (6 occurrences)
Last logged: 22:36:08
Entity None (<class 'custom_components.dual_smart_thermostat.climate.DualSmartThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/swingerman/ha-dual-smart-thermostat/issues
Entity None (<class 'custom_components.dual_smart_thermostat.climate.DualSmartThermostat'>) implements HVACMode(s): off, heat, cool, heat_cool and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/swingerman/ha-dual-smart-thermostat/issues
Is this bug or I missconfigured something?

I wrongly configured things. Sorry ;)


feat: ADR for api cleanup and async commit

I'd generally still suggest starting with separating out version management (#737 )

I'd generally still suggest starting with separating out version management (#737 )

@tac0turtle @yihuang , how about separating out version manager?
After Saveversion with batch, we will have only version-related functions as a modifier. IMO, separated interfaces looks meaningless in the store module.

I'd generally still suggest starting with separating out version management (#737 )

@tac0turtle @yihuang , how about separating out version manager?
After Saveversion with batch, we will have only version-related functions as a modifier. IMO, separated interfaces looks meaningless in the store module.

I'd suggest figure out the minimal changes needed to support store v2 first (async commit, atomic commit), I don't see a big problem in current API design.
The MutableTree is a singleton, so I think it's not too bad for it to also do the version manager job, I'm ok either way :)

lets separate concerns, first what is needed for store v2 then a new api. I think conflating the two could be clouding what is all needed

Do we really require the Immutable Tree in Store V2, considering that iavl will solely be utilized for SC?
cc: @alexanderbez @tac0turtle

im still a bit lost with this adr, API cleanup has nothing to do with store v2. The commitment structure should be agnostic to what is going on at a higher level. I think we should remove any notion of store v2 and the plans there and work on creating a stable and sane API for this code base

im still a bit lost with this adr, API cleanup has nothing to do with store v2. The commitment structure should be agnostic to what is going on at a higher level. I think we should remove any notion of store v2 and the plans there and work on creating a stable and sane API for this code base

ok, I modified the ADR, and assumed ImmutableTree is still necessary.

just removed the parallel WorkingHash part, I think it is unnecessary since we can parallelize on a module basis.
Regarding the naming convention (Reader/Writer), we can organize it on the consumer side, I'd like to keep the current structure.

it is not iavl 2.0, just simple API cleanup
@kocubinski is currently working on iavl 2.0


updates for mongodb 2.0 (mongod 3.0.4)

Can change the target branch if needed, but this'll get things up and running for mongodb 3.x and mongodb 2.x driver as 2.0 drivers and 3.0 dbs are incompatible MongoError: driver is incompatible with this server version

add user roles in tests (mongo >= 2.6)
remove deprecated collection and db prototype methods
update mongodb dependency to 2.0.49
update assertions for the respones format of insert / upsert queries
update assertions for key matching on returned result objects /
cursors
remove test examples for deprecated methods
add removeUser step to setup since user wasn't dropped with database
during test teardown

Any idea why the tests are failing?

Didn't look into it very deeply since I have no real access to travis besides seeing it failed. Nothing fails locally with mongo 3.0.4
What's travis running?


chore: release 1.2.320

:robot: I have created a release *beep* *boop*
1.2.320 (2024-07-10)
Bug Fixes

ci-env: unable to copy /home//.docker/mutagen (440dfad)
suppress warnings for some commands (6e5f8a4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.320 :sunflower:


complete italian translation

Looks good to me (as far as I can tell ^_^)
Re-open this under the current release branch and its merge town!


[Refactoring] Page 6510 - "Item Tracking Lines"

Hi,
is it possible to make the source code in the OnInsert-Trigger accessible from the outside? E.g. by adding a new function "OnInsertPage".
The point is that we want to add our own line(s) to the page, but don't have access to the global variable "TempItemTrackLineInsert". We want to offer an action (via a PageExtension) that can create one or more "Item Tracking Line" according to a certain logic.
The new function could look like this:
[External] OnInsertRecordPage()
IF "Entry No." <> 0 THEN
  EXIT;

"Entry No." := NextEntryNo;

TempItemTrackLineInsert.TRANSFERFIELDS(Rec);
TempItemTrackLineInsert.INSERT;
ItemTrackingDataCollection.UpdateTrackingDataSetWithChange(
  TempItemTrackLineInsert,CurrentSignFactor * SourceQuantityArray[1] < 0,CurrentSignFactor,0);

It is not necessary to trigger the function "CalculateSums" in the new function if "CalculateSums" is set to global/external (-> https://github.com/Microsoft/ALAppExtensions/issues/2320). Then it would be possible to create several lines in the page and then start the function "CalculateSums" once.

Closing this request as this is very old one (our sync from GitHub missed to create internal bug for this one) and no questions have been created for this area during last year. Sorry for possible inconvenience. If this is still active problem, please create new request with reference to this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


MWPW-118022 - Improve Modal Accessibility

Addressed lack of focus indicator on close button
Moved close button higher in the append order to get free focus

Resolves: MWPW-118022
Test URLs:

Before: https://main--milo--adobecom.hlx.page/docs/authoring/how-to-videos#create-page?martech=off
After: https://focus-modals-vhargrave--milo--adobecom.hlx.page/docs/authoring/how-to-videos#create-page?martech=off

@Brandon32 @meganthecoder this is a good one for your info: the test page is firing a modal so performance is going to be terrible. It's not indicative of a real-world scenario we would run LH against.


Allow Db.exec_multi to take query with spaces

This allows to keep SQL queries in a separate file where spaces and
newlines are very common.

I think this already works, it's tested here.
i tested locally with spaces too and it works fine, sqlite already ignores whitespaces and comments.
Do you have a test case that doesn't work with the current code ?

Right, thanks. The problem is the final newline. I have a separate SQL file and I do @embedFile, so the trailing newline is in the variable as well. What do you think the correct approach would be? One option is to make callers strip final whitespace. Mine option is a bit too much since we only need it at the end, at the same I'm not sure I know a better place to strip the final whitespace.
test "sqlite: exec multi newline" {
    var db = try getTestDb();
    defer db.deinit();
    try db.execMulti("create table a(b int);\n", .{});
    const val = try db.one(i32, "select max(c) from b", .{}, .{});
    try testing.expectEqual(@as(?i32, 0), val);
}

By the way, fixing it on the caller's site is more involved than just query[0 .. query.len - 1] since in DynamicStatement.prepare it takes query.ptr, so we need to insert a null at the end of the query before the final whitespace.

I'm still not sure I understand the problem.
Your test case fails for another reason, you're selecting from the table b which doesn't exist.
This works fine:
test "sqlite: exec multi newline" {
    var db = try getTestDb();
    defer db.deinit();
    try db.execMulti("create table a(b int);\n", .{});
    const val = try db.one(i32, "select max(b) from a", .{}, .{});
    try testing.expectEqual(@as(?i32, 0), val);
}

Running this test on master
test "sqlite: exec multi newline" {
    var diags = Diagnostics{};
    var db = try getTestDb();
    defer db.deinit();
    db.execMulti("create table a(b int);\n", .{
        .diags = &diags,
    }) catch |err| {
        std.log.err("Got error {}. Diagnostics: {s}", .{ err, diags });
        return err;
    };
}

with zig built test produces this output:
Test [3/50] test "native-Debug-multi sqlite: exec multi newline"... [default] (err): Got error error.SQLiteError. Diagnostics: {code: 0, near: -1, message: the input query is not valid SQL (empty string or a comment)}
Test [3/50] test "native-Debug-multi sqlite: exec multi newline"... FAIL (SQLiteError)
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:1599:17: 0x24d826 in DynamicStatement.prepare (test)
                return error.SQLiteError;
                ^
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:486:16: 0x244044 in Db.prepareDynamicWithDiags (test)
        return try DynamicStatement.prepare(self, query, options, 0);
               ^
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:861:24: 0x2381db in Db.execMulti (test)
                stmt = try self.prepareDynamicWithDiags(new_query, new_options);
                       ^
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:2360:9: 0x21f4f1 in test "native-Debug-multi sqlite: exec multi newline" (test)
        return err;
        ^
49 passed; 0 skipped; 1 failed.
1 errors were logged.
error: the following test command failed with exit code 1:
/home/grfork/reps/kisa/deps/zig-sqlite/zig-cache/o/17d07fb7d4d2aa8d347213801e4f8ea7/test /home/grfork/zig-linux-x86_64-0.10.0-dev.3685+dae7aeb33/zig
error: test...
error: The following command exited with error code 1:
/home/grfork/zig-linux-x86_64-0.10.0-dev.3685+dae7aeb33/zig test -fstage1 /home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig -lc -lsqlite3 --test-name-prefix native-Debug-multi  --cache-dir /home/grfork/reps/kisa/deps/zig-sqlite/zig-cache --global-cache-dir /home/grfork/.cache/zig --name test -fno-single-threaded --pkg-begin build_options /home/grfork/reps/kisa/deps/zig-sqlite/zig-cache/options/JWYz7ByIA0maQkPaEkvjasUVcgwDdWXrViXUDmcywjW9syJoPrPfTtJcntMCWnYa --pkg-end --enable-cache
error: the following build command failed with exit code 1:
/home/grfork/reps/kisa/deps/zig-sqlite/zig-cache/o/e8c7e47bf7278113a988e32bda21a73b/build /home/grfork/zig-linux-x86_64-0.10.0-dev.3685+dae7aeb33/zig /home/grfork/reps/kisa/deps/zig-sqlite /home/grfork/reps/kisa/deps/zig-sqlite/zig-cache /home/grfork/.cache/zig test

When I run your example test, I get this output:
Test [3/50] test "native-Debug-multi sqlite: exec multi newline"... FAIL (SQLiteError)
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:1599:17: 0x24d866 in DynamicStatement.prepare (test)
                return error.SQLiteError;
                ^
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:486:16: 0x244084 in Db.prepareDynamicWithDiags (test)
        return try DynamicStatement.prepare(self, query, options, 0);
               ^
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:861:24: 0x2380cb in Db.execMulti (test)
                stmt = try self.prepareDynamicWithDiags(new_query, new_options);
                       ^
/home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig:2355:5: 0x21f334 in test "native-Debug-multi sqlite: exec multi newline" (test)
    try db.execMulti("create table a(b int);\n", .{});
    ^
49 passed; 0 skipped; 1 failed.
error: the following test command failed with exit code 1:
/home/grfork/reps/kisa/deps/zig-sqlite/zig-cache/o/499c5766f7fba74d265a6478b34ad25f/test /home/grfork/zig-linux-x86_64-0.10.0-dev.3685+dae7aeb33/zig
error: test...
error: The following command exited with error code 1:
/home/grfork/zig-linux-x86_64-0.10.0-dev.3685+dae7aeb33/zig test -fstage1 /home/grfork/reps/kisa/deps/zig-sqlite/sqlite.zig -lc -lsqlite3 --test-name-prefix native-Debug-multi  --cache-dir /home/grfork/reps/kisa/deps/zig-sqlite/zig-cache --global-cache-dir /home/grfork/.cache/zig --name test -fno-single-threaded --pkg-begin build_options /home/grfork/reps/kisa/deps/zig-sqlite/zig-cache/options/JWYz7ByIA0maQkPaEkvjasUVcgwDdWXrViXUDmcywjW9syJoPrPfTtJcntMCWnYa --pkg-end --enable-cache
error: the following build command failed with exit code 1:
/home/grfork/reps/kisa/deps/zig-sqlite/zig-cache/o/e8c7e47bf7278113a988e32bda21a73b/build /home/grfork/zig-linux-x86_64-0.10.0-dev.3685+dae7aeb33/zig /home/grfork/reps/kisa/deps/zig-sqlite /home/grfork/reps/kisa/deps/zig-sqlite/zig-cache /home/grfork/.cache/zig test

Could it be caused by different Zig versions? I use 3685+dae7aeb33

Hi @greenfork. It's been a while, do you still have this issue ?

I don't use the updated versions right now, I think we can close it and I will re-open if it comes up again.


sagan gradle build fails on macOS Sierra v10.12.6

sagan gradle build fails on macOS Sierra v10.12.6
Ran command below and got the /Users/x7yv/GitHub/sagan/sagan-client/npm-debug.log
npm-debug.log

That's not really specific to your OS or version. The CI builds fail constantly, for instance. See e.g. #856.


run_command ends with a newline

Adds a newline to the run_command functions.

Should fix https://github.com/prefix-dev/pixi/pull/210

Ha, cool, thanks! I hope I get the chance to learn rust soon.


Add CLI option for custom port number

Fixes #46

Thanks!
Next time we add an option, it will be a good idea to use optimist or yargs. Parsing CLI arguments is a solved problem.

I didn't want to add a dependency for just one CLI argument but I definitely agree, it doesn't have to be that manual. Will do!


Update Charity Parameters:

ID_Charity_crt_Cash -> ID_Charity_crt_all

ID_Charity_crt_Asset -> ID_Charity_crt_noncash

Also, modify two partial equilibrium tests for new validation
on BE_inc

Ah, this must be updated in lockstep with Tax-Calculator. We need a release current with the latest master in order for Travis CI to work.


[WEBSITE] Change the website to a React Application

Description
The website contains html, css and JavaScript files and is a normal website. But, I wish to change it to a React Application to include more features and easy maintenance as well as including some benefits of using React. The React App should look visually beautiful and appealing and should contain the same nav bar items and different pages for each of the nav bar items. The pages should at least contain the contents present now.
Additional information
Please comment below if you wish to work on this issue and I shall assign you with the task.

Hey @SaptarshiSarkar12 ,Iam new to open source and  I have been learning react for the past 2 weeks . Can I try this out?

I also want to work on this issue, I will use Tailwind CSS & NextJs- a framework of ReactJs, which provides many benefits to the website like in SEO, or it helps in backend stuff too. This tech-stack will do wonders in terms of quality and easiness of building.
I can work alone too, but if anyone else wants to work along, we can work together and deliver the best website.
Thanks

I want to work on this project. I will use React Js with " Vanilla CSS " ( because it gives more flexibility ). Open to collaborating with anyone or can do it alone. I am also comfortable switching to any other tech stack according to Admin.

Okay, so all three of you are interested in working on this issue. You can collaborate among yourself and divide the task to make the development faster. I am assigning all three of you. Work on the issue, open the PR , and I shall review it. Note: The website needs to be responsive on almost all devices. Let me know if you agree with me @naveen13-06 @Agrim-Sharma174 @sayande2002 .

Yeah, I am ready.
With tailwind CSS, there's no need to worry about responsiveness.
Also, I am well versed with NextJs, there's not a huge difference between NextJs & ReactJs, just it will be easier for routing, and other things we can discuss, I think we should connect,
Here's my Twitter id: https://twitter.com/Agrim_Sharma174
If required to DM

Yeah, iam also ready to collaborate👍

Okay then @Agrim-Sharma174 start the work in collaboration with @naveen13-06 . Please use Tailwind CSS and Next.js. I have googled them and found them very useful and beautiful.
@sayande2002 if you want, you can modify the website made by them once it gets reviewed and merged. If anyone faces any problem, let me know.

@Agrim-Sharma174 How much worl is done?

Not much, because I was busy in an event at college

Ok @Agrim-Sharma174 once the basic site is made, you can open the PR and work on the rest. I shall review it.

I'm sorry to let you know, but I will have to opt out of this project, I will not be able to proceed, the reason being, I am currently very busy with many works related to college, and events. In the last 4 days, I got very less time to work on this project, but again I can not fully devote myself, so someone else should get a chance to work.
Please unassign it from me at the moment, I can get back in 1-2 weeks if required.

I'm sorry to let you know, but I will have to opt out of this project, I will not be able to proceed, the reason being, I am currently very busy with many works related to college, and events. In the last 4 days, I got very less time to work on this project, but again I can not fully devote myself, so someone else should get a chance to work. Please unassign it from me at the moment, I can get back in 1-2 weeks if required.

It's okay.
If @naveen13-06 or @sayande2002 or anyone else wants to contribute, please comment below and I will assign you. If no one gets assigned within 2 weeks, then @Agrim-Sharma174 would work on the issue.
NOTE : You need to use Next.js and tailwind CSS.

I would like to work on it. Since iam learning and trying it would take some time, is that ok for you?
It would also be helpful if someone can help me with tailwind css

I would like to work on it. Since iam learning and trying it would take some time, is that ok for you? It would also be helpful if someone can help me with tailwind css

Yes, you can work on it. You need to use Next.js and tailwind CSS. And you can collaborate with someone who knows tailwind CSS or you can refer the documentation of Tailwind CSS . I shall be free after 20th March, so you have got a month's time. Learn Next.js and tailwind CSS and then you can work on it. Please open the Pull Request by 20th so that I can review once I am free.

@naveen13-06 How much work is done? Have you started?

Hey @SaptarshiSarkar12, i have completed nearly 50% of the website. Will Complete within march 20👍

Great 👍 ! Keep doing!

Hi @naveen13-06 🖐!!
How much work is done? Has the website been completed?

Hi @naveen13-06 🖐!!
How much work is done? Has the website been completed?

Hey @SaptarshiSarkar12 ,I have completed most of the work. The only remaining works are the animation and some errors during build process. Can you give me time till Sunday?

Hi @naveen13-06 raised_hand_with_fingers_splayed!!
How much work is done? Has the website been completed?

Hey @SaptarshiSarkar12 ,I have completed most of the work. The only remaining works are the animation and some errors during build process. Can you give me time till Sunday?

okay @naveen13-06 , that's great!
You can go on with the work and open the Pull Request once it's done.
Thank you!

Hey @naveen13-06 , if you wish you can change the whole UI (the theme of the website). Also, you should make separate pages for each Navbar elements (like '/downloads', '/about', etc.). Make it beautiful as much as possible and making it responsive on most/all devices.

Hi @naveen13-06 🖐!!
How much work is done? Has the website been completed?

Hey @SaptarshiSarkar12 ,I have completed most of the work. The only remaining works are the animation and some errors during build process. Can you give me time till Sunday?

Hi, if you'd like me to help, just ask.

Hi @naveen13-06 🖐!!
How much work is done? Has the website been completed?

Hey @SaptarshiSarkar12 ,I have completed most of the work. The only remaining works are the animation and some errors during build process. Can you give me time till Sunday?

Hi, if you'd like me to help, just ask.

Hey, Thank you for asking . I am stuck with the animation part , can you help me with it?

Hey @JaiS99 and @naveen13-06 , if you want to discuss together on this issue, you both can join our Discord server and discuss there. There are also more Web Devs to help you out.

Hi @naveen13-06 🖐!!
How much work is done? Has the website been completed?

Hey @SaptarshiSarkar12 ,I have completed most of the work. The only remaining works are the animation and some errors during build process. Can you give me time till Sunday?

Hi, if you'd like me to help, just ask.

Hey, Thank you for asking . I am stuck with the animation part , can you help me with it?

Yes! sure, link me to your codebase and ill get started, you can even ping me on discord as gamingskull16 in the server.

Hi @naveen13-06 raised_hand_with_fingers_splayed!!
How much work is done? Has the website been completed?

Hey @SaptarshiSarkar12 ,I have completed most of the work. The only remaining works are the animation and some errors during build process. Can you give me time till Sunday?

Hi, if you'd like me to help, just ask.

Hey, Thank you for asking . I am stuck with the animation part , can you help me with it?

Yes! sure, link me to your codebase and ill get started, you can even ping me on discord as gamingskull16 in the server.

@JaiS99 You can review #204 for the website.

@Agrim-Sharma174 @sayande2002 Please review #204 to provide more suggestions and help us to fix bugs early.


Return the tagValue of sorted tag

Which scenario and how would the client uses this new return time?

When performing stream sorting, the tagValue will be used for merge sort, ensuring that not too many elements are read out.

BTW @hanahmily @ButterBright As we are adding more features into server side, and we plan to keep the compatibility as much as possible with OAP, we should run a matrix e2e testing.
OAP should be set for a version matrix. Such as in this case, we should support the version is 10.0.1 and latest(not latest commit, just another commit ID with latestname). Then we will know the version compatible list for the latest BanyanDB server.


Add watch mode and dev server

First naive implementation of the watch mode and dev server.
With -watch flag it starts monitoring changes in ./css and ./markdown directories, and in template files. When file change is found it rebuild the whole blog.
Blog is available at http://localhost:8080/ while the app is in the watch mode.
It's prototype-ish and RFC, so no tests at the moment :-)
Later / some day:

inject js to automatically reload page
rebuild only changed files
rebuild index only when dates, slugs or post titles are changed

Awesome, thank you!

I'm not sure why, but the Docker build fails:
build github.com/radovskyb/watcher: cannot load github.com/radovskyb/watcher: open /build/vendor/github.com/radovskyb/watcher: no such file or directory

See https://hub.docker.com/repository/registry-1.docker.io/freetonik/underblog/builds/eb4de122-7e7f-4504-94b8-46d2875acde7
@kolomeetz If you have a chance, please take a look.

@freetonik It seems we're caching dependencies, that's not good: https://github.com/freetonik/underblog/pull/29

Oh I see! Thank you!


This a clone of the Newsweek Magazine.

I worked alone on this project and I was able to achieve the clone of the Newsweek page using HTML, CSS and Bootstrap. I resolve the issues I was asked to do.

The mobile version of the clone should fill the whole screen, currently, it's only taking a small part of the screen and stay squeezed on the left side of the screen. This part is displaying well on Mozilla firefox, I don't understand why it is not displaying well on chrome

All the required changes have been fixed.

The required section has been added.
All other changes have been fixe.

STATUS: APPROVED :champagne:  :dancers:
Hi @Arinpe  :wave:  :wave: , great job on working on all comments given by the TSE's, I know it's a lot but great job for working on all of them. I, therefore, have to approve your project :partying_face:  . Go ahead and merge, all the best in the next project!
Regards
Peris Ndanu


fix(curriculum): Remove unnecessary assert message argument from English Front End Libraries challenges - 02

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Related to issue #36400
This PR removes assert message arguments from testString for the following sub sections of the Front End Libraries curriculum section:

React
Redux

@thecodingaviator I believe I got them all now.  If any more are missing in the two sections this PR deals with, then I think we can deal with them on a case-by-case basis.  Overall, I was able to remove a lot of unnecessary code from these files.
I will now go to the other PRs and make sure to capture these same types of messages (surrounded with two single quotes) and commit any new changes to them also.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Duplicate labels and milestones from kubernetes repo

To facilitate management of action items owned by the engineering team.

@bgrant0607 right now the engineering team should know everything that requires their review here:
https://github.com/kubernetes/kubernetes.github.io/labels/Needs Tech Review
Is this not sufficient?

@johndmulhausen Not if we want docs for any new features, no.

Ok, Needs Tech Review, really, really, really needs to be split by team.

<EMAIL_ADDRESS>

@foxish Is already working on duplicating labels to all repos.

Labels have been created. @bgrant0607 PTAL.

@foxish Yeah! Thanks!
As we discussed in person, there are few enough milestones, needed in few enough repos, that we can call this done for now.


AAD Token can’t be validated on some tenants

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Linux
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[X] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version : Edge, Chrome, Safari latest
SPFx version: 1.13.0
Node.js version: 14

Describe the bug / error
We are using the AAD token that is generated by SharePoint Online Client extensibilty helper app in our SPFx code.
We send this code to our backend system. For the past 2 days, we are now unable to validate it for some tenants.
It works fine for some tenants. The code suddenly started throwing this token invalid error.
Steps to reproduce
The code to generate/retrieve the token is fairly standard SPFx way which is as below:
import { ServiceKey, ServiceScope } from '@microsoft/sp-core-library'
import { AadTokenProviderFactory } from '@microsoft/sp-http'

export class SB {
  public static serviceKey = ServiceKey.create<SB>(
    'SB',
    SB
  )

  constructor(private serviceScope: ServiceScope) { }

  public getAuthenticationToken = async (): Promise<string | undefined> => {
    try {
      const aadTokenProviderFactory = this.serviceScope.consume(AadTokenProviderFactory.serviceKey)
      const tokenProvider = await aadTokenProviderFactory.getTokenProvider()
      const accessToken = await tokenProvider.getToken(`https://${window.location.host}`, true)
      return accessToken
    } catch (err) {
      console.error(`[SB.getAuthenticationToken]: ${err}`)
      return undefined
    }
  }
}

The code works fine.
However, suddenly since the past 2 days, there has been some change in the token retrieved.
The "newer" tokens now contains a nonce claim. This is only in some tenants not all and started around 11 PM CET.
So, in our backend where we validate the token , this started failing as we didn't expect this.
The backend where we validate the token is written in Kotlin.
The SPFx webpart where we have this code is based on SPFx 1.13.0 , so the change has happened/is happening in Azure AD side I suspect
Expected behavior
It turns out the JWT tokens containing a nonce field in the header cannot be verified as-is but the nonce value needs to be SHA-256 hashed, then URL-safe Base64-encoded and put back into the header instead of the previous nonce. Then the RS256 signature verification succeeds properly.
@VesaJuvonen  - as discussed opening the bug here, feel free to close it whenever you want since it is now resolved by a code change that we did.
Reference - https://xsreality.medium.com/making-azure-ad-oidc-compliant-5734b70c43ff and https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/609

We could observe exactly the same behaviour. In some of our customer clients, a nonce claim was returned in the JWT header (not in the payload, where one would actually expect this).
This caused the JWT validation to fail. Other tools also reported an invalid token (e.g. jwt.io).
Since we also validate SharePoint tokens on our site, all tokens were rejected for the affected tenants. As a workaround, we have deactivated our validation of SharePoint tokens.
However, the nonce claim is now no longer returned for the affected tenants, which indicates that a rollback has taken place on the part of Microsoft?
I couldn't find any other information about a potential update, but this behaviour has led to very big problems on our side and with our customers.

This issue has been mitigated earlier today and the impacted feature/piece of code is rolled back. Would love to get a confirmation from you both @gautamdsheth  and @Philluxx  if possible on the situation from your side.
This was caused a faulty piece of code which was not making the right assumptions in a specific underlaying feature. There's work done now internally to ensure that as the new feature will be rolling again - the impacted code is no longer there.
Thank you both for reporting this - as it helps enormously on detecting the issues and to understand the scale of the issues.

Hey @VesaJuvonen we can confirm that in the affected tenants the delivered JWTs no longer contain the "nonce" entry in the header. This means that a signature check is now successful again. Thank you very much for your information. It helps us with the subsequent evaluation of the situation.
Thanks again!

hi @VesaJuvonen , can confirm that the token doesn't contain nonce anymore. Thanks for acknowledging 🙏😊

Everyone,
Although the nonce has been temporarily removed from the token, our plan is to start adding it back very soon (meaning in the next few weeks).
These changes in the SharePoint token are driven by new security improvements that we constantly introduce to ensure that our service is always up to date and has the latest and best possible security capabilities in place to protect from attacks that are constantly increasing all around internet.
Introduction of nonce is just one of those improvements. In the future, you will see more and more hardening in the way we handle tokens and, generally speaking, artefacts from SharePoint used by SharePoint.
And that is the important part here: that token is supposed to be used by SharePoint from the client. It is not supposed to be sent to any different clients and be used there (to access SharePoint data or anything else).
If you need a proof of user authenticity on a middle tier, the right way to do that is to use the On Behalf Of flow as described here: Microsoft identity platform and OAuth2.0 On-Behalf-Of flow - Microsoft Entra | Microsoft Learn.
That would mean register an API in the middle tier so the client can ask for a token to access that middle tier FROM SharePoint (SPFx in this case), which can have very limited to no permission to the middle tier itself. Then, pass that token to the middle tier and initiate OBO flow there.
I’m going to close this GH issue.


Unit tests aren't running in CI

Describe the bug

As far as I can tell, we're only building/installing the package but we're not running the unit tests during CI.
In addition, the CI checks on PRs appear to be blocked (waiting approval).

Finally, we seems to be deploying the documentation from any branch and not just the main branch.

To Reproduce
Steps to reproduce the behavior:

open a PR that breaks some unit tests
notice that checks don't run (waiting for approval)
assuming checks ran and passed, notice that you're not blocked from merging
notice that the docs have been deployed from your branch before you even merged

I haven't actually reproduced the issue beyond step 2 but I noticed that:

Unit tests are broken on main
The CI action doesn't seem to run any of the unit tests. There is a coverage step but it's silently failing:

Expected behavior
All the PR checks (build/install, lint, docs, unit tests) should run on push and probably block merge until they pass.
Output
See inline screenshots.
Desktop (please complete the following information):
NA
Additional context
None

Are these fixed now after all the recent pull requests?


Add DBGp Proxy IDE Key support

Adds support for the ini xdebug.idekey and environment variable DBGP_IDEKEY to set the IDE Key being sent with remote debugging requests.
Variance from XDebug behaviour: xdebug checks for the ini before the env. To preserve backwards compatability, env is used if present, otherwise the ini, with the ini default being the previous fixed value "hantaohuang". If preserving this behaviour is not required, I would suggest the order of use matches the xdebug implementation.

Thank you!


Add fallspeed

time is weird after level 2 so fallspeed could be added to level 3

Would this be in altitude or pressure space? is there any issue with the interpolated grid on L3?

sorry, I only saw this now.
There is no issue with the interpolation, I think, but nevertheless for speed calculation interpolated time is a bad dimension, because we do the interpolation with bins. That is why fallspeed should be calculated on level 2 and not on the interpolated grid. Theoretically, we could calculate both, but I think I'd just stick with altitude first.

I think, we can leave this, as it was requested to have a dataset that has as few derived variables as possible (e.g. Issue #64). We might consider adding this to a potential Sonata dataset, but it's not an issue for the general package


Declaring license

Type: Missing
Summary:
Declaring license
Details:
Opened an issue to clarify the license: https://github.com/typicaljoe/taffydb/issues/166.  The registry has no license info for this version (http://registry.npmjs.com/taffydb/2.6.2).  Package files includes taffy.js with BSD-1-Clause.
Resolution:
Curating BSD-1-Clause for now, pending resolution of the above issue.
Affected definitions:

taffydb 2.6.2

Note:
•	The registry for the package has no license info for this version (http://registry.npmjs.com/taffydb/2.6.2).
•	Package files includes taffy.js with BSD-1-Clause.
•	More recent package version is BSD-2-Clause - http://registry.npmjs.com/taffydb/2.7.3.
•	Source repo master license is MIT - https://github.com/typicaljoe/taffydb/blob/master/License.
•	Source master README says BSD-1-Clause - https://github.com/typicaljoe/taffydb/blob/master/README.md

I will hold off on this one for a few days to see if they respond. If no answer by this week's end, I will merge as-is.

[…] If no answer by this week's end, I will merge as-is.

I has been a long time, now.
Is there any chance that the real license applying to this code could be specified?


Compose up command fails with an error error setting rlimits for ready process

Description
nerdctl compose up command fails to run containers when memlock is set in yml file
   ulimits:
      memlock:
        soft: -1 # Set memlock to unlimited (no soft or hard limit)
        hard: -1

Original error msg:
The compose command showed following error msg.
FATA[0000] error while creating container opensearch-node2: exit status 1
Underlying error msg:
While debugging, I printed the underlying error msg and it shows following error:
FATA[0000] failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting rlimits for ready process: error setting rlimit type 8: operation not permitted: unknown.
If i remove the memlock from the yml file then compose command works.
      memlock:
        soft: -1 # Set memlock to unlimited (no soft or hard limit)
        hard: -1

Steps to reproduce the issue

curl -O https://raw.githubusercontent.com/opensearch-project/documentation-website/2.5/assets/examples/docker-compose.yml
limactl shell
nerdctl compose up

Describe the results you received and expected
Received output:
$ nerdctl compose up --debug-full
DEBU[0000] stateDir: /run/user/504/containerd-rootless
DEBU[0000] rootless parent main: executing "/usr/bin/nsenter" with [-r/ -w/Users/monirulu/washington-compose/git-issue-186 --preserve-credentials -m -n -U -t 1859 -F nerdctl compose up --debug-full]
DEBU[0000] printing project JSON
DEBU[0000] {
    "name": "git-issue-186",
    "services": {
        "opensearch-dashboards": {
            "command": null,
            "container_name": "opensearch-dashboards",
            "entrypoint": null,
            "environment": {
                "OPENSEARCH_HOSTS": "[\"https://opensearch-node1:9200\",\"https://opensearch-node2:9200\"]"
            },
            "expose": [
                "5601"
            ],
            "image": "opensearchproject/opensearch-dashboards:latest",
            "networks": {
                "opensearch-net": null
            },
            "ports": [
                {
                    "mode": "ingress",
                    "target": 5601,
                    "published": "5601",
                    "protocol": "tcp"
                }
            ]
        },
        "opensearch-node1": {
            "command": null,
            "container_name": "opensearch-node1",
            "entrypoint": null,
            "environment": {
                "OPENSEARCH_JAVA_OPTS": "-Xms512m -Xmx512m",
                "bootstrap.memory_lock": "true",
                "cluster.initial_cluster_manager_nodes": "opensearch-node1,opensearch-node2",
                "cluster.name": "opensearch-cluster",
                "discovery.seed_hosts": "opensearch-node1,opensearch-node2",
                "node.name": "opensearch-node1"
            },
            "image": "opensearchproject/opensearch:latest",
            "networks": {
                "opensearch-net": null
            },
            "ports": [
                {
                    "mode": "ingress",
                    "target": 9200,
                    "published": "9200",
                    "protocol": "tcp"
                },
                {
                    "mode": "ingress",
                    "target": 9600,
                    "published": "9600",
                    "protocol": "tcp"
                }
            ],
            "ulimits": {
                "memlock": {
                    "soft": -1,
                    "hard": -1
                },
                "nofile": {
                    "soft": 65536,
                    "hard": 65536
                }
            },
            "volumes": [
                {
                    "type": "volume",
                    "source": "opensearch-data1",
                    "target": "/usr/share/opensearch/data",
                    "volume": {}
                }
            ]
        },
        "opensearch-node2": {
            "command": null,
            "container_name": "opensearch-node2",
            "entrypoint": null,
            "environment": {
                "OPENSEARCH_JAVA_OPTS": "-Xms512m -Xmx512m",
                "bootstrap.memory_lock": "true",
                "cluster.initial_cluster_manager_nodes": "opensearch-node1,opensearch-node2",
                "cluster.name": "opensearch-cluster",
                "discovery.seed_hosts": "opensearch-node1,opensearch-node2",
                "node.name": "opensearch-node2"
            },
            "image": "opensearchproject/opensearch:latest",
            "networks": {
                "opensearch-net": null
            },
            "ulimits": {
                "memlock": {
                    "soft": -1,
                    "hard": -1
                },
                "nofile": {
                    "soft": 65536,
                    "hard": 65536
                }
            },
            "volumes": [
                {
                    "type": "volume",
                    "source": "opensearch-data2",
                    "target": "/usr/share/opensearch/data",
                    "volume": {}
                }
            ]
        }
    },
    "networks": {
        "default": {
            "name": "git-issue-186_default",
            "ipam": {},
            "external": false
        },
        "opensearch-net": {
            "name": "git-issue-186_opensearch-net",
            "ipam": {},
            "external": false
        }
    },
    "volumes": {
        "opensearch-data1": {
            "name": "git-issue-186_opensearch-data1",
            "external": false
        },
        "opensearch-data2": {
            "name": "git-issue-186_opensearch-data2",
            "external": false
        }
    }
}
INFO[0000] Creating network git-issue-186_opensearch-net
DEBU[0000] Creating network args: [--label=com.docker.compose.project=git-issue-186 --label=com.docker.compose.network=opensearch-net git-issue-186_opensearch-net]
DEBU[0000] Running [/usr/local/bin/nerdctl --debug-full=true network create --label=com.docker.compose.project=git-issue-186 --label=com.docker.compose.network=opensearch-net git-issue-186_opensearch-net]
INFO[0000] Creating network git-issue-186_default
DEBU[0000] Creating network args: [--label=com.docker.compose.project=git-issue-186 --label=com.docker.compose.network=default git-issue-186_default]
DEBU[0000] Running [/usr/local/bin/nerdctl --debug-full=true network create --label=com.docker.compose.project=git-issue-186 --label=com.docker.compose.network=default git-issue-186_default]
WARN[0000] Ignoring: service opensearch-dashboards: [Expose]
INFO[0000] Ensuring image opensearchproject/opensearch:latest
INFO[0000] Ensuring image opensearchproject/opensearch-dashboards:latest
INFO[0000] Ensuring image opensearchproject/opensearch:latest
DEBU[0000] filters: [labels."com.docker.compose.project"==git-issue-186,labels."com.docker.compose.service"==opensearch-node2]
INFO[0000] Creating container opensearch-node2
DEBU[0000] Running [/usr/local/bin/nerdctl --debug-full=true run --cidfile=/tmp/compose-1379803671/cid -l=com.docker.compose.project=git-issue-186 -l=com.docker.compose.service=opensearch-node2 -d --name=opensearch-node2 --pull=never -e=discovery.seed_hosts=opensearch-node1,opensearch-node2 -e=cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2 -e=bootstrap.memory_lock=true -e=OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m -e=cluster.name=opensearch-cluster -e=node.name=opensearch-node2 --net=git-issue-186_opensearch-net --hostname=opensearch-node2 --ulimit=memlock=-1:-1 --ulimit=nofile=65536:65536 --restart=no -v=git-issue-186_opensearch-data2:/usr/share/opensearch/data opensearchproject/opensearch:latest]
FATA[0000] error while creating container opensearch-node2: exit status 1

Expected output:
The compose command should run the containers without any error.
What version of nerdctl are you using?
nerdctl version
Client:
Version:	v1.1.0-245-g4293ca4
OS/Arch:	linux/amd64
Git commit:	4293ca403a12457f30ce43cf99f788954f9196c0
buildctl:
Version:	v0.10.6
GitCommit:	0c9b5aeb269c740650786ba77d882b0259415ec7
Server:
containerd:
Version:	v1.6.12
GitCommit:	a05d175400b1145e5e6a735a6710579d181e7fb0
runc:
Version:	1.1.4
GitCommit:	v1.1.4-0-g5fd4c4d1
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Lima
Host information
nerdctl info
Client:
 Namespace:	default
 Debug Mode:	false

Server:
 Server Version: v1.6.12
 Storage Driver: overlayfs
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Log: fluentd journald json-file syslog
  Storage: native overlayfs fuse-overlayfs stargz
 Security Options:
  apparmor
  seccomp
   Profile: default
  cgroupns
  rootless
 Kernel Version: 5.19.0-29-generic
 Operating System: Ubuntu 22.10
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 3.825GiB
 Name: lima-nerd-env
 ID: cab833bd-4aae-46af-8392-dc211499b9db

WARNING: AppArmor profile "nerdctl-default" is not loaded.
         Use 'sudo nerdctl apparmor load' if you prefer to use AppArmor with rootless mode.
         This warning is negligible if you do not intend to use AppArmor.
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

Expected behavior for rootless mode.
Please use sudo nerdctl with sudo systemctl enable --now containerd.


Rename Dao to DAO

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

有个任务SnapshotUtil的任务跑失败了，Dao->DAO后需要更新下测试用例

有个SnapshotUtil的任务跑失败了，Dao->DAO后需要更新下测试用例

SnapshotUtil测试任务已更新


Exit code of doc is 0 even when it fails with errors

Version(s)
1.0.2
Describe the bug
Exit code of scala-cli doc command is 0, even if scaladoc fails with errors
To Reproduce
// repro.scala
//> using option -release:8

object Foo {
    @Deprecated
    def foo(): Unit = ???
}

Build with a version of compiler which has a bug, leading to failure and check exit code
scala-cli doc --server=false --force=true repro.scala -S  3.3.2-RC1-bin-20230715-4851278-NIGHTLY
echo $?

Expected behaviour
The snippet above should fail with exit code 1 instead of 0

Hi @WojciechMazur, Thanks for reporting, I've tried to reproduce this in SBT and it appears to work the same way as in scala-cli.
➜  scala-doc-issue sbt doc
[info] welcome to sbt 1.9.2 (Azul Systems, Inc. Java 17.0.7)
[info] loading global plugins from /Users/lwronski/.sbt/1.0/plugins
[info] loading project definition from /Users/lwronski/projects/scala-doc-issue/project
[info] loading settings for project root from build.sbt ...
[info] set current project to scala (in build file:/Users/lwronski/projects/scala-doc-issue/)
[info] compiling 1 Scala source to /Users/lwronski/projects/scala-doc-issue/target/scala-3.3.2-RC1-bin-20230715-4851278-NIGHTLY/classes ...
[info] Main Scala API documentation to /Users/lwronski/projects/scala-doc-issue/target/scala-3.3.2-RC1-bin-20230715-4851278-NIGHTLY/api...
-- Error: src/main/scala/Hello.scala:2:2 ---------------------------------------
2 |  @Deprecatedmpile / compile 0s
  |  ^^^^^^^^^^^
  |wrong number of arguments at <no phase> for (since: String, forRemoval: Boolean): Deprecated: (Deprecated#<init> : (since: String, forRemoval: Boolean): Deprecated), expected: 2, found: 0
1 error found
[info] Main Scala API documentation successful.
[success] Total time: 6 s, completed Jul 24, 2023, 3:06:51 PM
➜  scala-doc-issue echo $?
0

This issue is being tracked at https://github.com/lampepfl/dotty/issues/18279.


Metal part 1 - Scaffolding for metal.

Empty scaffolding for metal support.

Great, thanks a lot for breaking this down in an independent PR, was very easy to reviewed and looks all good to me!


[WIP] e2e test for search logs

What did:

e2e test for search logs
use expect-puppeteer to simplify the code, not rely on ant design specific selectors as much as possible

hi @breeswish , please help take a look, thanks!


Already installed vundle is not detected by vundle plugin

Currently the vundle quickstart guide specifies ~/.vim/bundle/Vundle.vim as the installation guide, and I suspect others like me installed it there.
The vundle plugin however assumes that vundle is or is to be installed at ~/.vim/bundle/vundle/. This means that even though vundle has been correctly installed, the plugin needlessly attempts to clone a second copy of vundle.
I think the plugin should either use the default installation location, or should detect whether vundle is installed by querying vim whether :PluginUpdate is available along the lines of:
vim -c 'if exists(":PluginUpdate") | q | else | cq | endif'

This is fixed in the current version, can you please check?

Looks good on my end, thanks for the update!


Added output of class individuals under has member in ontdoc

Under the ontdoc profile, individuals of rdf:type of the class are now linked from the class definition in HTML and Markdown
Made a small edit to README.RST as well as excludecss=True in the Python statement wasn't working for me.

Thanks @adamml! I'll be doing a lot of work on pyLODE next week )project work, not hobby stuff!) so I'll review all this then.
Some new things to appear soon:

ASCCIIDOC templating for OGC-style outputs (Issue #115)
linking pyLODE profiles to formally defined profiles (e.g. VocPub to https://w3id.org/profile/vocpub
shape validation as an pre-rendering option
improvements in the Python code generally

eventually moving to RDFlib 6.0.0 when it comes out - a couple of months

Thanks for the update @nicholascar
A bit of background - we're working on an ontology of policies to go with Ireland's National Marine Planning Framework. Some of the stuff I put in the separate profile might, on reflection, be done more introspectively in ontdoc so I may look at that early next week.
The ASCII Doctor might come in handy for documenting  the work on NetCDF-LD using the Binary Array LD ontology which we're prepping for OGC submission.
Looping @jyucsiro and @marqh on that.

@adamml could you send me an example of an NMPF ontology, preferably RDF & HTML (assuming you've already run your own branch of pyLODE on some of your ontologies), just so I have a comparison input & output? for the examples? Thanks.

@nicholascar You've got mail...


Migrate from "g2" to "sz"

See https://github.com/senzing-garage/sz-sdk-go/issues/177

Delivered via https://github.com/senzing-garage/demo-quickstart/issues/63


Fix console scripts entrypoint in setup.py

this was changed in https://github.com/tomchristie/apistar/pull/171 wonder if we should be changing scripts to match cli instead?


pulumi up fails on update when using resource outputs as inputs to other resources

What happened?
A user reported https://github.com/pulumi/pulumi-docker/issues/685.
In summary, the user was attempting to use baseImageName, a resource output property on docker.Image, as the image  field on docker.Container. Initial creation works fine; but when updating the Image resource, the Container.Image field is set to null.
We have verified that this behavior does not occur when using the NodeJS runtime.
When reproducing the issue on Docker, the GRPC logs for Check() which is where the error occurs look like this:
{
  "method": "/pulumirpc.ResourceProvider/Check",
  "request": {
    "urn": "urn:pulumi:yaml-dev::pulumi-yaml-image-update-issue::docker:index/container:Container::container",
    "olds": {
      "__defaults": [
        "attach",
        "containerReadRefreshTimeoutMilliseconds",
        "logs",
        "mustRun",
        "readOnly",
        "removeVolumes",
        "restart",
        "rm",
        "start",
        "stdinOpen",
        "tty",
        "wait",
        "waitTimeout"
      ],
      "attach": false,
      "containerReadRefreshTimeoutMilliseconds": 15000,
      "image": "pulumi-yaml-image-update-issue",
      "logs": false,
      "mustRun": true,
      "name": "pulumi-yaml-image-update-issue",
      "ports": [
        {
          "__defaults": [
            "protocol"
          ],
          "external": 3000,
          "internal": 3000,
          "ip": "<IP_ADDRESS>",
          "protocol": "tcp"
        }
      ],
      "readOnly": false,
      "removeVolumes": true,
      "restart": "no",
      "rm": false,
      "start": true,
      "stdinOpen": false,
      "tty": false,
      "wait": false,
      "waitTimeout": 60
    },
    "news": {
      "image": null,
      "name": "pulumi-yaml-image-update-issue",
      "ports": [
        {
          "external": 3000,
          "internal": 3000,
          "ip": "<IP_ADDRESS>"
        }
      ]
    },
    "randomSeed": "Yr3RNYvDLEoTUuzsI4U5+B6DIQhLXtLzS/8tBY2sOqc="
  },
  "response": {
    "inputs": {
      "__defaults": [
        "attach",
        "containerReadRefreshTimeoutMilliseconds",
        "logs",
        "mustRun",
        "readOnly",
        "removeVolumes",
        "restart",
        "rm",
        "start",
        "stdinOpen",
        "tty",
        "wait",
        "waitTimeout"
      ],
      "attach": false,
      "containerReadRefreshTimeoutMilliseconds": 15000,
      "logs": false,
      "mustRun": true,
      "name": "pulumi-yaml-image-update-issue",
      "ports": [
        {
          "__defaults": [
            "protocol"
          ],
          "external": 3000,
          "internal": 3000,
          "ip": "<IP_ADDRESS>",
          "protocol": "tcp"
        }
      ],
      "readOnly": false,
      "removeVolumes": true,
      "restart": "no",
      "rm": false,
      "start": true,
      "stdinOpen": false,
      "tty": false,
      "wait": false,
      "waitTimeout": 60
    },
    "failures": [
      {
        "reason": "Missing required argument. The argument \"image\" is required, but no definition was found.. Examine values at 'container.image'."
      }
    ]
  },
  "metadata": {
    "kind": "resource",
    "mode": "client",
    "name": "docker"
  }
}

Expected Behavior
The dependent resource (docker.Container) should have access to docker.Image's output field.
Steps to reproduce
The user provided a reproduction of this issue.
Output of pulumi about
n/a - yaml does not tell you the current version. Using latest pulumi.
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Is there a work-around for this? I tried downgrading to v3.75.0 without luck.

I looked at the stack history, looks like last update that worked was on 3.76.0. The resource types that were failing with the corresponding outputs are as follows:
type: gcp:cloudfunctions:Function
output: httpsTriggerUrl

type: gcp:vpcaccess:Connector
output: id

It seems that it's failing during preview as I can bypass the errors with --skip-preview.


Feat: Add clipboard button

Closes #295
Add clipboard item into Visualization page
When user hover on button:

When user click on button tooltip content are going to change:

There's a small thing with the provider signature I think, that needs to be updated in the tests, nothing major.

@corners2wall

You're right, makes sense, I'll let the team know, so we can start using that hook in the future instead.
In the past we faced a few issues while renaming tokens, given that sometimes the import was done with different names, it didn't happen often, but when happened... ouch :sweat_smile:.

If you have the time to update it to use named exports, it would be great, but if not, it's also ok, we can check it out later.
Once again, thanks a lot for putting this PR together :muscle:

Thanks once again @corners2wall for your contribution :handshake:


Use spr and bors together

SPR targets a temporary branch instead of the parent. This avoids the need for rebases but makes it impossible to merge the PR directly. The PR simply does not have the information. This makes SPR incompatible with merge bots like bors.
I have no useful ideas of my own to offer, but for prior art, Graphite supports both stacks and merge queues. Not FOSS of course.

+1, doesn't support merge queue from GitHub too.

I've switched to jujutsu lately. It can create temporary branches for mutable changes. If there was a jj spr that provided the same workflow but rebuilt on top of jj's extremely compatible model, the problem would be solved.
Though at the cost of giving up on force push-free PRs.

For those using spr with a merge queue repo, are you just manually clicking "merge" on the UI? And then changing the base branch of the next PR manually as well?

I had to switch to the golang version of spr (same name). The goal of spr is to do that automatically, if I have to do something manually, then I fail 😅.
I tried to implement support for merge queue, but I hurt my rust limitation.

@davinkevin can you share a link to the golang version?

@davinkevin can you share a link to the golang version?

https://github.com/ejoffe/spr 😉


Post checkout

I wrote this into my own app originally but thought it was probably helpful to everyone so made it a little more generic and move it over.

Reusable template to easily add PaddleJS and Paddle.Setup to a page
Checkout model and a post checkout view to save basic Checkout information
Some JS to automatically send data to the above API on checkout complete
Doc update with the above info
Make on_subscription_created use update_or_create. This is incase someone wants to create a subscription before a Webhook is received

Codecov Report

Merging #22 into master will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   97.95%   98.10%   +0.14%
==========================================
  Files           8        8
  Lines         196      211      +15
  Branches       17       18       +1
==========================================
+ Hits          192      207      +15
  Partials        4        4

Impacted Files
Coverage Δ

djpaddle/models.py
96.39% <100.00%> (-0.19%)
:arrow_down:

djpaddle/views.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1dbf345...d0ef70f. Read the comment docs.

@FPurchess  I've fixed all those bits up thanks.
I also did some testing with Paddle's redirects and it didn't quite work as expected so I've added in a way to redirect with djpaddle_post_checkout.html and some info in the docs about it to try and save some people the same hassle.
I've also just made a note that a few management commands are coming soon.

Thanks for the review again. I've cleaned up those bits.
Sorry about the poor English in the docs, you would never guess it was my first language.


[TF 2.2.0] Error on creating optimizer slot variable under multi GPU training with tf.distribute.MirroredStrategy

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution: Red Hat Enterprise Linux Server release 7.6 (Maipo)
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): tensorflow/2.2.0--cuda--10.1
Python version: 3.8.2
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source): [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
CUDA/cuDNN version: 10.1
GPU model and memory: 4x Tesla V100-SXM2-16GB

Describe the current behavior
I am using Tensorflow 2.2.0 GPU with Tensorflow's Keras API for training a GAN model with multi GPU using Distributed Tensorflow MirroredStrategy. Under the mirrored strategy scope, I've:

instantiated the model;
defined the optimizer (tf.keras.optimizer.RMSProp);
compiled the model with that optimizer.

In the train_step function I've defined the computational graph in Pythonic-way. I'm using Lazy mode (as opposed to the default TF2.0 eager mode and Keras graph mode) because TF warned me that running MirroredStrategy with eager execution still has overhead problems.
When the execution arrives to the apply_gradients call on the optimizer of my model, TF crashes reporting me this error:
   ValueError: Trying to create optimizer slot variable under the scope for tf.distribute.Strategy (<tensorflow.python.distribute.distribute_lib._DefaultDistributionStrategy object at 0x20079d15d4f0>), which is different from the scope used for the original variable (MirroredVariable:{       0: <tf.Variable 'conv2d_20/kernel:0' shape=(3, 3, 2, 2) dtype=float32>,       1: <tf.Variable 'conv2d_20/kernel/replica_1:0' shape=(3, 3, 2, 2) dtype=float32>,       2: <tf.Variable 'conv2d_20/kernel/replica_2:0' shape=(3, 3, 2, 2) dtype=float32>,       3: <tf.Variable 'conv2d_20/kernel/replica_3:0' shape=(3, 3, 2, 2) dtype=float32>     }). Make sure the slot variables are created under the same strategy scope. This may happen if you're restoring from a checkpoint outside the scope
Describe the expected behavior
The apply gradient should execute fine, because I've correctly defined the model and the optimizer under the MirroredStrategy object, as reported in: https://www.tensorflow.org/guide/distributed_training
Standalone code to reproduce the issue
https://pastebin.com/MyT6p1T8
Other info / logs

Hi @DekraN, I've tried to run the code you've shared but am getting syntax errors. If I fix the syntax errors, I get the error 'Model' object has no attribute 'generator' Can you please double check the code runs and provide it in Colab?
Additionally, although I am not able to run the code yet, there are a few things that stand out. Firstly the use of tf.compat.v1.disable_eager_execution() as we don't support custom losses in legacy graph mode (which is what you have if you disable eager mode). It is true that running MirroredStrategy with eager execution still has overhead problems, but that just means you need to wrap your distributed training step in a @tf.function (which it looks like you have done), and not disable eager execution all together.
Lastly, it doesn't look like you've distributed your dataset. As explained here, you'll need tf.distribute.Strategy.experimental_distribute_dataset when using MirroredStrategy with a custom training loop.
Happy to provide further support if you can share reproducible code.

Greatly thanks for the answer! I was looking for a confirm regarding the execution modality to use in TF2.2.0. In fact, in my code I use custom losses, therefore I should use normal eager execution instead of legacy graph mode.
Now, after some other issues, I've been successful in executing with multi-GPU my code in eager execution
Sorry for the not reproducible code.

@DekraN Could you please tell me how exactly do you fix the code? I am encountering the same issues.


Differences with DotNet.jl

Hi great package but I'm curious what's the difference between this and https://github.com/azurefx/DotNET.jl ? It would be nice if these things could join efforts.

Nvm I saw you mentioned it in README.


Network Agent Flaps every 5 seconds if uuid is duplicated on the host

This was discovered by @sangeethah when starting/stopping/removing the network agent directly on the host. In that scenario, removing the network agent from the host caused the entire docker daemon to hang.
When the daemon was restarted, a bug in docker caused the original network agent container to land in a "dead" state and have its name changed from the rancher uuid id to a docker generated one.
When rancher decided it needed to recreate the network agent, this caused two containers to be on the host with the same value for the io.rancher.container.uuid label.
This label duplication caused the rancher ping logic to detect the container as both up and down at the same time. So, rancher tried to restart the container, which it did successfully to the real network agent, but the dead container stayed dead and caused the next ping to still think the network agent was down.
The end result is that rancher tries to restart the network agent container every five seconds (every ping).

The real world way to reproduce this (hanging the docker daemon and getting the a dead container with a new name but old uuid) is really hard to do. Here's an easier way to reproduce:

Start rancher and create a container so that the network agent is created.
Inspect the net agent container to obtain the rancher uuid label.
Do docker run -itd --label io.rancher.container.uuid=<value from step 2> --label io.rancher.container.system=NetworkAgent echo hi.

@ibuildthecloud and I discussed the right thing to do in this scenario. We decided that the ping logic needs to detect when we have more than one container with the same rancher uuid. When we detect that, we consider the best match to be the one with the docker id that matches the recorded externalId in rancher.
For all containers that are not the best match, we will force stop them. If they are already stopped, we will do nothing.

Ping @sangeethah. Just wanted to let you know that I wrote up this issue and also that I will not get to fixing it until next week.

@cjellick thanks for including a detailed explanation of the issue seen.

With the introduction of CNI and network drivers in v1.2.0, there is no network agent running on hosts anymore. This is no longer applicable.


Xgimi internal keycodes

KEYCODE_FOCUS_LEFT = 2097; // manual focus
KEYCODE_FOCUS_RIGHT = 2098; // manual focus
KEYCODE_MOTOR_LEFT_OVERSTEP = 2095;
KEYCODE_MOTOR_LEFT_START = 2092;
KEYCODE_MOTOR_RIGHT_OVERSTEP = 2096;
KEYCODE_MOTOR_RIGHT_START = 2093;
KEYCODE_MOTOR_STOP = 2094;
KEYCODE_FOCUS_AUTO = 2099; // autofocus
KEYCODE_FOCUS_AUTO_NEW = 2103; // same as previous
2101 - shortcut settings
2102 - choose source
2106 - hibernate/turn off tooltip
2108 - xmusic player

What model did you use?
I just tried it for XGIMI H1, but none of these work as described. They mostly do nothing, but some behave as simple back / ok buttons.

@jirislav Xgimi Horizon Pro

Hi manymuch,
Love your work. A question though. With the latest v0.0.7 update how should the "choose_source" command work? Is that using the call service with "remote.send_command", and if so, should the command be "choose_source", but are you able to specify the source?
Thanks in advance,
gunionbag

@gunionbag yes, call the service like below:
service: remote.send_command
data:
    command: choose_source
target:
    entity_id: remote.z6x

may not work in all device, if success, will show the source menu, and you can use the script to add up/down/ok command after that.

Thanks for that. I'll give it a try.
On Thu, Feb 1, 2024, 03:16 Jiaxin @.***> wrote:

@gunionbag https://github.com/gunionbag yes, call the service like
below:
service: remote.send_command
data:
command: choose_source
target:
entity_id: remote.z6x
may not work in all device, if success, will show the source menu, and you
can use the script to add up/down/ok command after that.
—
Reply to this email directly, view it on GitHub
https://github.com/manymuch/Xgimi-4-Home-Assistant/issues/21#issuecomment-1920424441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXRUQVKIGJ2XSKOOTDCELTYRMCIBAVCNFSM6AAAAAA2QVNTH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGQZDINBUGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi manymuch,
I tried this out this evening but couldn't get it to work. And then I remembered I haven't been able to get any of the commands to work with my Horizon Ultra projector using your integration. The only command I have been able to get to work is the poweron command using the following:
service: remote.send_command
data:
hold_secs: 3
command: poweron
target:
entity_id: remote.xhu
I do have the token that I managed to work out for the projector in the configuration.xml file.
Are you, or is anyone else able to confirm that your integration works for the Horizon Ultra projector? If not, and you don't have access to a Horizon Ultra projector I am happy to help troubleshoot/test to try and get this working if you're interested.

Actually, does anyone know how to work out what the key codes are for a Bluetooth remote control? In this case the remote control for a Horizon Ultra?

Hi manymuch,
I tried this out this evening but couldn't get it to work. And then I remembered I haven't been able to get any of the commands to work with my Horizon Ultra projector using your integration. The only command I have been able to get to work is the poweron command using the following:
service: remote.send_command data: hold_secs: 3 command: poweron target: entity_id: remote.xhu
I do have the token that I managed to work out for the projector in the configuration.xml file.
Are you, or is anyone else able to confirm that your integration works for the Horizon Ultra projector? If not, and you don't have access to a Horizon Ultra projector I am happy to help troubleshoot/test to try and get this working if you're interested.

The same happens to me but with Horizon Pro, only the method poweron / 3 secs hold works. None of the others commands I had success.

Hi manymuch,
I tried this out this evening but couldn't get it to work. And then I remembered I haven't been able to get any of the commands to work with my Horizon Ultra projector using your integration. The only command I have been able to get to work is the poweron command using the following:
service: remote.send_command data: hold_secs: 3 command: poweron target: entity_id: remote.xhu
I do have the token that I managed to work out for the projector in the configuration.xml file.
Are you, or is anyone else able to confirm that your integration works for the Horizon Ultra projector? If not, and you don't have access to a Horizon Ultra projector I am happy to help troubleshoot/test to try and get this working if you're interested.

Same problem with my Horizon (1080p) only the poweron works with 3 sec hold

@Maxime-Marie @gunionbag @leo-storch For UDP commands not working issues, please see #40.
Closing this issue for it's original toplic.


Remove travis config file.

All the repositories are completely migrated to circleci. This might have missed.

Good catch!


Force HTTPS for GitHub

Hi @olivierlacan, just a small contrib to avoid those warnings on latest bundler:

The git source git://github.com/olivierlacan/simple_form.git uses the git protocol, which transmits data without encryption. Disable this warning with bundle config git.allow_insecure true, or switch to the https protocol to keep your data secure.

@jmonteiro Cool trick :-)


Hide client IPs inside the debug log

This pull requests redacts all public IP addresses inside the snippet of the server log, which are usually client IPs. It does such by using grepcidr to select lines with non private IP ranges, uses grep and uniq to extract the individual IPs and sed to replace them.

LGTM .. Thanks a lot for your help @orazioedoardo ...
Merging.


Bug: ins attributes only highlights last line number in list

---
import {Code} from "astro-expressive-code/components";
const code = `line one
line two
line three
line four
line five
line six
line seven
line eight
line nine
line ten`;
---

Hello! As you're using JSX syntax here, you actually forgot to make it a list. :)
You need to use the array syntax, so {[1, 3, 5]}.

Got it, thanks. That worked well.
Is there a way to specify a range?

What you're aiming for is not possible directly in JSX, as it would perform a calculation instead of actually specifying a range.
To work around this issue, the  component has a meta prop that allows you to use exactly the same syntax as you normally would in the meta information after an opening code fence. Applying this to your example code, the working version would look like this:

I'm sorry if this is confusing, I realize that the necessary changes between the syntax used in fenced code blocks and the syntax used in  component props aren't explained in enough detail in my docs. I'll add some more explanations and examples.


ENYO-1288 : Transparent button in image header and full image pattern. (rank: 27)

Issue
There is a requirement to display transparent buttons in panel's header in Dreadlock
Solution

in Header.less, I added 9 classes from 10-transparency to 90-transparency
Framework provides only [10, 20, 30, 40, 50, 60, 70, 80, 90] transparency which can be set.
in Header.js, I added two properties ( translucentButtons which can make buttons be transparent and translucentAmount which can set how much transparent).
Because class that will be applied from Header.less override spotlight related css, I added '!important' in Button.less and IconButton.less

Enyo-DCO-1.1-signed-off-by: Suhyung Lee<EMAIL_ADDRESS>

closed, because the implementation should be different,
now we directly apply translucent property to button, iconButton, etc instead of header


fix: fix responsive, test middleware config

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


Learning Rate scheduler with custom training using "tf.GradientTape"

Hello, I am using a learning rate scheduler to reduce the learning rate which is defined in the function as follows:
def scheduler(epoch):
    learning_rate = 0.0012
    if epoch >= 9 and epoch == 19:
        return learning_rate / 10
    elif epoch > 19:
        return learning_rate / 100
    else:
        return learning_rate

How can I use this defined scheduler() function with custom training loop using "tf.GradientTape"?
The way I know is to use the scheduler as a callback:
callback = tf.keras.callbacks.LearningRateScheduler(scheduler)

model.fit(
	x = data, y = labels,
	epochs=100, callbacks=[callback],
	validation_data=(val_data, val_labels))

Thanks

Hi,
In TF 2.1, I would advise you to write your custom learning rate scheduler as a tf.keras.optimizers.schedules.LearningRateSchedule instance and pass it as learning_rate argument to your model's optimizer - this way you do not have to worry about it further.
In TF 2.2 (currently in RC1), this issue will be fixed by implementing a tf.keras.Model subclass and overriding its train_step method - this way you can still use model.fit and pass callbacks, although you are using a custom train step behaviour.
In your specific case, a hack can be to call model.fit multiple times, specifying both epochs and initial_epoch to ensure continuity, and changing manually the learning rate of model.optimizer in-between.
I hope this helps :)

If I use the following code:
boundaries = [9, 19]
values = [0.1, 0.01, 0.001]

learning_rate_fn = tf.keras.optimizers.schedules.PiecewiseConstantDecay(boundaries, values)
optimizer = tf.keras.optimizers.SGD(learning_rate=learning_rate_fn)

And then during training using "tf.GradientTape", if I want to get the current learning rate being used by the optimizer, I am using the following code:
optimizer.learning_rate.numpy()
which throws the error:
AttributeError: 'PiecewiseConstantDecay' object has no attribute 'numpy'
How can I get the current learning rate used by the optimizer?
Thanks!

Here, optimizer.learning_rate it the PiecewiseConstantDecay you instantiated, thus to get its value at a given step, you should call it with the step number - e.g. to know the value at step 1000, optimizer.learning_rate(1000). Note that you can gather the current step value from the optimizer itself: optimizer.iterations; thus you can run optimizer.learning_rate(optimizer.iterations).
Note that this is only valid when the learning rate is indeed a Scheduler instance :)

Thanks!

You are welcome!

tf.keras.optimizers.schedules.LearningRateSchedule

and how would I do that? The documentation is pretty empty:
https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/schedules/LearningRateSchedule

I'm trying to run this line optimizer.learning_rate(optimizer.iterations) but it is not  callable

You can call optimizer._decayed_lr(tf.float32) which should return the current learning rate

Hi there,
I have a question seems like related to this thread.
I have a custom model (not keras model) and a custom training loop. I wish to use self-defined lr-schedule function to manually change the lr based on the current step, and under the distribute strategy as well... I google everywhere and could not find answer. If some one has worked on similar situation before, much more than appreciated to listen how to deal with!


Add a Github workflow for running unit tests

This allows unit tests to be run via Github actions with every push.
Hmmm, this might not be necessary given that there's appveyor.

So this is a database driver... that tests against SQL Server.

@kardianos It is a database driver... that tests against SQL Server... and has unit tests ?


[Model] tool calling support for ibm-granite/granite-20b-functioncalling

Add tool calling parser support for ibm-granite/granite-20b-functioncalling.
Also adds an example chat template that is based off of the granite fc paper.

@wseaton one of the tests is failing and looks most likely related: https://buildkite.com/vllm/fastcheck/builds/3985#0191dd9c-724a-4fbe-99d3-a1e1c94a2106

@maxdebayser are you still interested in contributing the streaming JSON parser for granite support? I have rebased off of main and might have some bandwidth to work on it, just let me know :)

Hi @wseaton , yes, I've been working on this. There is only one unit test that isn't passing. But I know what the cause is.

@wseaton, now all tests are passing. I've pushed a squashed merge of everything to this draft PR so that you can take a look and perhaps merge with yours: https://github.com/vllm-project/vllm/pull/8915

@maxdebayser I've cherry picked the commits from your PR, please review!

@maxdebayser working on fixing merge conflicts w/ upstream now

@K-Mistele , if you have the time, could you take a look at this PR?

@K-Mistele would be great if you could give this a quick look over and stamp :pray:

Getting an OOM error on the granite20b CI checks, looks like the model doesn't quite fit into the available memory of the instance type used for that CI.

Getting an OOM error on the granite20b CI checks, looks like the model doesn't quite fit into the available memory of the instance type used for that CI.

@wseaton we may need to comment this test out for now, as long as it's been verified manually on a larger GPU.

The test could also be run on a larger GPU, although that's probably a bit wasteful
$ git diff .
diff --git a/.buildkite/test-pipeline.yaml b/.buildkite/test-pipeline.yaml
index 8c98aa36a..8a396fada 100644
--- a/.buildkite/test-pipeline.yaml
+++ b/.buildkite/test-pipeline.yaml
@@ -293,6 +293,7 @@ steps:
 - label: OpenAI-Compatible Tool Use # 20 min
   fast_check: false
   mirror_hardwares: [ amd ]
+  gpu: a100
   source_file_dependencies:
     - vllm/
     - tests/tool_use

@njhill Happy to rebuild my fork of vLLM and re-verify the PR manually on an A100, disabled the test for now

@wseaton I've verified a couple of hours ago. The tool_use tests run successfully on an A100. I have a quantized version of the model that passes the tests and I'm testing it if it can fit in the CI environment.

The test could also be run on a larger GPU, although that's probably a bit wasteful

@maxdebayser yes that's what I thought too, since none of the other model sub-tests require it

Thanks @wseaton! Could you try merging in the latest main branch again? That should hopefully help with the failing CI tests.

@wseaton just a minor point of clarification, this PR is for Granite 20B functioncalling -- is this the same function calling format as the granite 3.0 models? I saw that these were released recently:

https://huggingface.co/collections/ibm-granite/granite-30-models-66fdb59bbb54785c3512114f
https://huggingface.co/ibm-granite/granite-3.0-8b-instruct

I'm not as familiar with IBM/granite as with some other families of models. if they are compatible, then that's great and we should indicate that in the docs, as well as name the tool parser granite most likely. If not (and this is what I suspect is the case, based on a brief reading of their docs & github code for agentic stuff), then it might be worth adding a call-out in the docs that this is NOT compatible with granite 3.0

@K-Mistele , they are not compatible. We have another PR for those models but we're waiting for this one to be merged first because there are some code dependencies.

@njhill , @wseaton my tests with a quantized version of the model are now passing. With quantization the model size was reduced to ~20GB: mbayser/granite-20b-functioncalling-FP8-KV, but I still had to add a bunch of flags to reduce memory usage:
"--max_num_seqs", "1", "--max-model-len", "1024", "--enforce-eager", "--cpu-offload-gb", "20"

Because of the nature of this branch and how long it's been running (with many merge commits from  main), I don't feel comfortable doing a rebase to fix the DCO issue. Can it be bypassed to get this merged?

@K-Mistele , they are not compatible. We have another PR for those models but we're waiting for this one to be merged first because there are some code dependencies.

sounds good! Let me know if you'd like for me to take a look at it  whenever it's ready :)

@wseaton I'll merge this to unblock the other granite PR, could consider re-enabling the test with @maxdebayser's quantized model as a follow-on update...


Training against COCO dataset

Can someone briefly explain, when I add a new style image why is training against 82000 COCO images required? And how does it generate a model?
Or please could point me to an article where I can get an overview about the algorithm.

I'm pretty sure the original algorithm and research is linked to in the repo README.