Fix typo, a wrong URL in README.md

Type of Change

Something else:
a wrong URL in README.md

What issue does this relate to?

Nothing.
What should this PR do?

Fix typo, a wrong URL.

The URL without https:// prefix in Markdown on GitHub will link to https://github.com/digitalocean/nginxconfig.io/blob/master/do.co/nginxconfig, which is not the right link as expected.
So this PR is fixing it.
What are the acceptance criteria?

Just have a look at the change in README.
The URL will be fixed after this PR.

Thanks for your review!

Hey, @miaotony - Thanks a ton for this sweet PR! 😄
Would you please shoot me an email when you get a chance?
mcowley at digitalocean dot com 🎉

Hey, @miaotony - Thanks a ton for this sweet PR! 😄
Would you please shoot me an email when you get a chance?
mcowley at digitalocean dot com 🎉

Thanks a lot!


dts: arm: silabs: Move gpio gecko header include

Move the include to places where it is actually used.

@MaureenHelm @galak Could you take a look?


Optimize model through c++ code integration

Hi! I am trying to optimize a model by integrating c++ code. I created a shared library object using pybind11. Locally, on a test,py project, I can successfully access the c++ functions from python, but when I try to integrate it into mmdetection3d, and try to train a model, I get ModuleNotFoundError: No module named X.
Could you please tell me why? Or is there a tutorial on how to extend the framework through c++ code?

We don't have such tutorial, sorry for that. Can you post the entire error message? Your description is not enough for us to judge what the reason is. Maybe you can give us more information? Like what the module is used for, where do you put it and how do you import it.

@selmadeac Any updates here?

@selmadeac Any updates here?

sure! sorry for the late reply, @Wuziyi616 ! I have seen you messages just now. I found out how on my own and I forgot to update the post. So, after getting the shared library file ( *.so) file one has to go to setup.py file in mmdetection3d main folder. There ,one should integrate their library by adding a make cuda ext:
make_cuda_ext(
                name='library name', #eg: voxel_layer
                module='path from base folder (mmdetection3d) to the folder where the so file is', # eg: mmdet3d.ops.voxel
                sources=[ # and here put the cpp sources with your custom functions
                 # for  eg:
                    'src/voxelization.cpp',
                ]),

after that one has to run python setup.py develop and now mmdetection3d will recognize your custom c library as one of its own.
Hope this will help future developers and make their work easier!

Hi! Thanks for your update! Hope this will help future developers :)


pip install is broken

I got the following while installing websockets via pip:
xxxxx@lamp:~$ pip install websockets
Downloading/unpacking websockets
  Downloading websockets-2.7.tar.gz
  Running setup.py (path:/tmp/pip_build_xxxxx/websockets/setup.py) egg_info for package websockets
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_xxxxx/websockets/setup.py", line 19, in <module>
        with open(os.path.join(root, 'README'), encoding='utf-8') as f:
    TypeError: 'encoding' is an invalid keyword argument for this function
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_xxxxx/websockets/setup.py", line 19, in <module>

    with open(os.path.join(root, 'README'), encoding='utf-8') as f:

TypeError: 'encoding' is an invalid keyword argument for this function

I haven't tried anything else yet, just thought I'd let you know.

Are you using a Python version websockets is compatible with?

Yes, but my system is set up for development of both Python2 and Python3 programs.
Looks like setup.py needs a shebang specifying python3, e.g.:
#!/usr/bin/env python3
and setuputils3 installed for python3 packages.

I only ended up adding the shebang, and it worked just fine!
However, if pip is invoking the default python interpreter and that interpreter is python2, downloading and invoking setup.py via
sudo python3 setup.py install
is the easiest option and would not need the shebang at all.

It looks like you're installing packages at the system level. I suggest looking into virtualenv. It will better insulate you from all the ways distros break python and pip when they package them.


NAN size

In submissions tab, I see some submissions with NAN size

Another user reported this

Ihsaan and I are not able to reproduce the bug.
Shall we close this issue?

Closing this for now. We can handle this if this happens again


add a cookie pop up

I would like to add a cookies pop up at the bottom right of the website when it loads...This feature has 3 options accept,reject and customize

Since this website has sign up and login options, it is needed to inform the users about data privacy laws and regulations that require websites to inform users about data collection practices and obtain consent for the use of cookies.
I will also be including the "cookie-policy" file for users to read.
Please assign this task to me.

hello , we arent a deployed project available for users to fetch right now , so we dont really need this , thanks for the input


[Sprint 6] Backend Setup

Set up the Node.js backend server.
Implement basic routing and API endpoints.

Completed


tsserver does not seem to respect any of the exclude or watch options

Bug Report

🔎 Search Terms
tsserver exclude watch
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about Common "Bugs" That Aren't Bugs and Common Feature Requests

💻 Code

Here is my tsconfig.json
{
  "include": ["src", "types"],
  "exclude": ["node_modules"],
  "compilerOptions": {
    "module": "esnext",
    "target": "esnext",
    "moduleResolution": "node",
    "jsx": "preserve",
    "baseUrl": "./",
    /* paths - import rewriting/resolving */
    "paths": {
      // If you configured any Snowpack aliases, add them here.
      // Add this line to get types for streaming imports (packageOptions.source="remote"):
      //     "*": [".snowpack/types/*"]
      // More info: https://www.snowpack.dev/guides/streaming-imports
    },
    /* noEmit - Snowpack builds (emits) files, not tsc. */
    "noEmit": true,
    /* Additional Options */
    "strict": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true,
    "resolveJsonModule": true,
    "allowSyntheticDefaultImports": true,
    "importsNotUsedAsValues": "error",
    "noUnusedLocals": false
  },
  "watchOptions": {
    // Use native file system events for files and directories
    "watchFile": "useFsEvents",
    "watchDirectory": "useFsEvents",
    // Poll files for updates more frequently
    // when they're updated a lot.
    "fallbackPolling": "dynamicPriority",
    // Don't coalesce watch notification
    "synchronousWatchDirectory": true,
    // Finally, two additional settings for reducing the amount of possible
    // files to track  work from these directories
    "excludeDirectories": ["node_modules", "_build"],
    "excludeFiles": ["build/fileWhichChangesOften.ts"]
  }
}

You can check the number of file watcher using the following command in Linux
find /proc/*/fd -user "$USER" -lname anon_inode:inotify -printf '%hinfo/%f\n' 2>/dev/null | xargs cat | grep -c '^inotify'
Check before and after you open a folder in your editor.
🙁 Actual behavior

I have tried various options suggested in https://www.typescriptlang.org/docs/handbook/configuring-watch.html and https://www.typescriptlang.org/docs/handbook/tsconfig-json.html for excluding the node_modules folder.
But the moment I open vscode or any editor using tsserver (I tested Emacs and Vim) the number of file watchers increases to 5000. Despite me having only 1 source file. Obviously it includes the node_modules folder.
Using any of the options provided by the editors to exclude folders doesn't work. But that is expected because they can't control what files tsserver is watching. They can just hide any problems that are reported.
🙂 Expected behavior

tsserver should respect the exclude options in tsconfig.json and not include node_modules.

Duplicate of #46351


HSQLDB v2.7.2 incompatible

Issue
Currently UCanAccess depends on HSQLDB v2.7.1, but at some point we will have to update this dependency.
I updated HSQLDB to v2.7.2, to check if it runs stable, but it doesn't.
→ Is there something we can do in the UCanAccess library to avoid the error (see below) or is it possibly a bug in HSQLDB?
Error
net.ucanaccess.jdbc.UcanaccessSQLException: UCAExc:::5.1.1 Cannot invoke "org.hsqldb.Statement.getTableNamesForRead()" because "<parameter1>.sessionContext.currentStatement" is null
    at net.ucanaccess.jdbc.UcanaccessSQLException.wrap(UcanaccessSQLException.java:123)
    at net.ucanaccess.util.Try.orThrow(Try.java:298)
    at net.ucanaccess.jdbc.UcanaccessStatement.tryCatch(UcanaccessStatement.java:406)
    at net.ucanaccess.jdbc.UcanaccessStatement.executeUpdate(UcanaccessStatement.java:165)
    at my.namespace.MyTest.TestUCanAccessWithHSQLDBv272(MyTest.java:*)

Reproducer
@Test
public void TestUCanAccessWithHSQLDBv272() throws SQLException, IOException {
    try(var conn = openNewDatabase(); var stmt = conn.createStatement()) {
        // create new table and add some data
        stmt.executeUpdate("CREATE TABLE Tbl (ID INT NOT NULL PRIMARY KEY, Txt VARCHAR(255))");
        stmt.executeUpdate("INSERT INTO Tbl (ID, Txt) VALUES (1, 'One'), (2, 'Two'), (3, 'Tre')");

        // query data
        try(var row = stmt.executeQuery("SELECT ID, Txt FROM Tbl ORDER BY ID")) {
            assertTrue(row.next()); assertEquals(1, row.getInt(1)); assertEquals("One", row.getString(2));
            assertTrue(row.next()); assertEquals(2, row.getInt(1)); assertEquals("Two", row.getString(2));
            assertTrue(row.next()); assertEquals(3, row.getInt(1)); assertEquals("Tre", row.getString(2));
        }
        // update data
        stmt.executeUpdate("UPDATE Tbl SET Txt = 'Row ' || Txt");
        try(var row = stmt.executeQuery("SELECT Txt FROM Tbl ORDER BY ID")) {
            assertTrue(row.next()); assertEquals("Row One", row.getString(1));
            assertTrue(row.next()); assertEquals("Row Two", row.getString(1));
            assertTrue(row.next()); assertEquals("Row Tre", row.getString(1));
        }

        // remove data
        stmt.executeUpdate("DELETE FROM Tbl");
        try(var row = stmt.executeQuery("SELECT * FROM Tbl")) {
            assertFalse(row.next());    // no data
        }
    }
}

private static Connection openNewDatabase() throws SQLException, IOException {
    var tempDbFile = Path.of(System.getProperty("java.io.tmpdir"), "TestDatabase.accdb");
    var dbFileLocation = tempDbFile.toString().replace('\\', '/');

    tempDbFile.toFile().delete();    // delete from previous test run

    return DriverManager.getConnection("jdbc:ucanaccess://" + dbFileLocation + ";newdatabaseversion=V2016");
}

Hello @RohdeSchwarz-SDC,
I encountered this issue back in November when upgrading the project's hsqldb dependency from v2.5.0 to v2.7.1
(imo this upgrade was important to address CVE-2022-41853).
I had wanted to go to v2.7.2 at the time but ran into the below-mentioned issue.
Despite some research (diffing changes between v2.7.1 and v2.7.2 etc.) I could not pinpoint the exact source of the problem at the time however I also suspect a flaw in hsqldb v2.7.2
Luckily v2.7.1 seems sound and cve-free, as such there is no pressing need to upgrade asap.
The upgrade has been on my to-do list. I just didn't get around to investigating in depth.
If you manage to chase down the issue and even offer a patch to the hsqldb people that would of course be superb.
I am happy to keep this ticket open for tracking until resolved.
cheers
Markus

@RohdeSchwarz-SDC fyi,
Condensed your reproducing code hoping to narrow down the issue:
@Test
public void testWithHSQLDBv272Mini() throws Exception {
    try (Connection conn = openNewDatabase();
         Statement stmt = conn.createStatement()) {

        // create new table and add some data
        stmt.executeUpdate("CREATE TABLE Tbl (Txt VARCHAR(255) NOT NULL PRIMARY KEY)");
        stmt.executeUpdate("INSERT INTO Tbl (Txt) VALUES ('One')");

        // update data
        stmt.executeUpdate("UPDATE Tbl SET Txt = 'Row ' || Txt");
    }
}

Issue occurs during update, only if data is present in the table (i.e. there is something to update; remove the insert and no problem).
It seems connected with transaction logic in hsqldb.
NPE in TransactionManagerCommon.endActionTPL(Session) line 425:
    HsqlName[] readLocks =
            session.sessionContext.currentStatement.getTableNamesForRead();

The last prior write to currentStatement takes place in org.hsqldb.Session line 1332 where the member is explicitly set to null:
sessionContext.currentStatement = null;

Maven debug settings:
<dep.hsqldb.version>2.7.2</dep.hsqldb.version>
<dep.hsqldb.classifier>debug</dep.hsqldb.classifier>

UCanAccess makes use of various hsqldb triggers to maintain a column cache (amongst other things).
This approach worked up to and including hsqldb version 2.7.1
The triggers query database meta data of the table for which a trigger is called.
The query utilizes the thread's UCanAccess connection and underlying hsqldb connection.
In v2.7.1 org.hsqldb.Session sessionContext.currentStatement is set to null in line 1332.
Subsequent access to currentStatement in TransactionManagerCommon.endActionTPL line 425 causes a null pointer exception.
After disabling these triggers (for test) the issue does not appear.
While the problem is now understood, how and where to fix (hsqldb or UCanAccess) it is not immediately obvious.

Please see my update at SourceForge.

HyperSQL bug #1697 fixed
(see https://sourceforge.net/p/hsqldb/bugs/1697/)
Will release UCanAccess after release of Hsqldb v2.7.3

Just noticed that Hsqldb v2.7.3 was released in the mean time 🥳
Will upgrade Hsqldb in UCanAccess soon.
Maven Central Link: https://central.sonatype.com/artifact/org.hsqldb/hsqldb/versions

Minor issued encountered while upgrading to v2.7.3
Column ordering of compound primary keys in database metadata
But we can work around this in UCanAccess.
The latest snapshot now uses HSQLDB 2.7.3

Fixed in release 5.1.2


Transition to Pytorch-wildlife v1.0

Recommend looking at Pytorch-wildlife which builds upon the and improvements to MegaDetectors v5.
Also helps in ease of installation and packaging
#39

Yes, I'm collaborating with PyTorch Wildlife to get their models incorporated into EcoAssist. Thanks for the heads up!


WIP R2 API

Working (probably), but still writing tests

Apologies @mrbbot! This wasn't quite ready for review—it should be now. I'll go through and have a check of your comments and fix any that are still relevant with the new code


On the way to generic support

Don't merge this right now as is. I think I'm not too far from the truth, but not definitely not there yet, and I'm not sure I'll find much time to devote to this in the next weeks, so this is a not-so-bad checkpoint.
Old tests are compiling despite the small changes I induced by overhauling the rust type id generation. I honestly think I haven't break anything there, and the code factorize some of the List of List enumeration. I went a bit berserk on that, and the diff is bigger than I expected when starting. As usual the consequence is... this will be a nightmare to rebase. I wanted to make sure you were aware of this, in case you plan to start anything on the master codegen.
On the generics side, only the trivialest of cases compiles for now, and I have not dared write test cases for them yet. Specifically, the second case I added at the bottom of the schema breaks, just because it has two parameters, I guess. It is commented out. I may actually need to have separate lifetime bounds for each binding, but I'm not sure. Any input appreciated here.
If you like the way I have refactor the type generator stuff, and want to merge it without waiting for the generics code to get more mature, I think it should not be too difficult to disable the generics code bit for now.

Sorry that it took so long for me to look at this. It looks good! It's definitely a step in the right direction, and I'm in favor of merging if it can be brought up to date.


AF-2403: Remove invalid URL pattern from manifest.json

Fixes https://github.com/kiegroup/kogito-tooling/issues/46

@jomarko @gitgabrio Woot... the erroneous URL had been fixed.


How to Improve form rendering speed for large forms

Hi, we have a very large form that has several questions and is layered using tabs and several nested forms. Is it possible to load this form asynchronously so that the for is rendered faster in about five seconds or less? Right now it's taking about 45 - 50 seconds to render the form. We would like to improve the rendering time irrespective of how the form having so many questions. Kindly advice. Thanks
Erick

Woah, 45-50 seconds is outrageous. Please make sure that you're following the tips (disable api-check when deploying to production). This will speed things up considerably. How many fields do you have?


Modal popup component does not suppress submit form event.

Framework Version: 0.1.6

This issue is not yet fixed as the modal was replaced by a simpler redirect.


Implement Postgres model implementation to use with Heroku

Task is to create alternate database interfacing to let it use Postgres instead of MongoDB.
Benefits:
One can use Heroku Postgres instead of MLabs.

I'll take a shot on this

Sure.


fix: Broken back navigation

This is a long description for very few lines of code, but it was fun to debug 😄
The type of this PR is: Bugfix

This PR resolves CX-2285
Issue description
Reproduction

Open the app
Select an artwork (Artwork X)
Scroll down to the end of the page to see related artworks
Select an artwork (Artwork Y)
Press back

Expected result
Get back to Artwork X screen 🍾
Actual result
User lands on Artwork Y screen 😲
(video below)
How I debugged the issue
What I noticed
When I press the back button, the screen is already loaded with the Artwork Y Content without any loading at all. Usually, there should be some loading even if its props are cached in the relay store.
My theory (might be right or might be wrong and might be both right and wrong at the same time 😵💫)
The screen could be actually getting rendered on the background 🤔
How can I confirm my theory?
Obviously, I will write some console.logs 😄. I will add one at the top of the artwork screen render block and see if by navigating to one artwork screen to an other, we are going to get the same number of console.logs (in a perfect world, it should be just one console.log and there will be no re-render but yeah, let's be honest, this is not the case)
Output
/* I navigate to artwork X */
render artwork screen X// console.log("render artwork screen X")
render artwork screen X// console.log("render artwork screen X")
/* I navigate to artwork Y */
render artwork screen Y// console.log("render artwork screen Y")
render artwork screen Y// console.log("render artwork screen Y")
render artwork screen X// console.log("render artwork screen X")
render artwork screen X// console.log("render artwork screen X")

We got double console.log when navigating to Artwork Y screen. by navigating to Artwork Z we even got more!
/* I navigate to artwork Z */
render artwork screen Z// console.log("render artwork screen Z")
render artwork screen Z// console.log("render artwork screen Z")
render artwork screen Y// console.log("render artwork screen Y")
render artwork screen Y// console.log("render artwork screen Y")
render artwork screen X// console.log("render artwork screen X")
render artwork screen X// console.log("render artwork screen X")

Yeah kind of... there is one way to be sure, and that's our PageWrapper inside Appregistry.tsx since that's our highest HOC. Again, how can I confirm it?

And here I noticed that this is not optimized and the props better would better live inside a reference as so
class PageWrapper extends React.Component<PageWrapperProps> {
  pageProps: PageWrapperProps

  constructor(props: PageWrapperProps) {
    super(props)
    this.pageProps = {
      ...this.props,
      viewProps: {
        ...this.props.viewProps,
        ...propsStore.getPropsForModule(this.props.moduleName),
      },
    }
  }
...

How I should have debugged the issue
Probably Dichotomic search using:

Git-bisect
or
simpler and better IMO in this case: just installing old builds from Testflight until I find the first broken build (it was 7.1.3 2<IP_ADDRESS>), then checking when it got broken in git history

Before
https://user-images.githubusercontent.com/11945712/151406848-ff184fa3-5c48-4ed3-83f6-2a378a978672.mov
After
https://user-images.githubusercontent.com/11945712/151406887-7195dc81-c69b-414a-9de7-267bf8cd1439.mov

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

fix back navigation on iOS - mounir

Android user-facing changes

Dev changes

This PR contains the following changes:

iOS user-facing changes (fix back navigation on iOS - mounir)

  Generated by :no_entry_sign: dangerJS against 55dbe9b60820d8986c95a9ee519c2754ca7a7f1c

👏 Special thanks for the detailed description and memes

Love this memes description 😂🙌

Here is the follow-up PR @rajsam003  https://github.com/artsy/eigen/pull/6119/files

Awesome to see this fixed, nice job mounir.
I have to say im not 100% clear on how the code fixes this, but from what i understand, basically we keep the props out of render instead of making them on every render. kinda like state. and im also guessing that somehow the props would change on render, but now that they are outside render and not changing, they work.
i might be very wrong, or i might be right. please help me understand 😅, whenever you got a min, thank you.

Yes, sure. Glad we spoke about it at the QA session today


[Feature Request]: Make date ranges more clear

Provide a clear and concise description of what you want to happen.
The current approach for displaying dates in PRISM isn't fully addressing how dates are work in HDC. In HDC, dates refer to the last dekad (10-day period) of any data product. In PRISM, we can visualize start and end dates a few ways, but haven't successfully visualized the ranges of a specific product in a clear way
Here's what I think we need to do:

Get the start and end date for a single observation for timeline visualization purposes.
Don't visualize date ranges for an observation until it's selected. For example, if a data layer is valid for 1-month, don't show solid bars for every month, just show ticks for the dekads available, and a full month bar when a specific observation is selected
Add information about the selected observation's dates to the bottom of the legend

This quick mockup attempts to illustrate these ideas. I know Marc is working on some designs too.

Light grey: available dates
Black: selected observation start date
Light blue: date range for selected layer / observation

Is there anything else you can add about the proposal? You might want to link to related issues here, if you haven't already.
No response

https://www.figma.com/design/5GX8jVxBCfLrcfkTniRvFi/WFP-Prism?node-id=696-1918&t=BLdhJUkThOB3FuD2-0


Trade not executed

Hey there!
I just set up version 4.0 and wanted to try the order execution part, so my profit threshold is set as low as 0.025%
The HUD has shown multiple opportunities for several seconds that were above the set profit level, but no order has been executed.
Trading is enabled via the config file.
Do I have to specify anything more within the config to enable trading?
Execution log is empty.

Hey thanks for your interest!
My suspicion is that it is the TRADING.AGE_THRESHOLD property is preventing an execution. This value ensures that you are trading with fresh market information and protects you from trading on old, stale market information. When you observe a HUD row where profit meets your criteria, check out the column titled "Age" (which is displayed in seconds not ms) is less than TRADING.AGE_THRESHOLD
Each triangle arbitrage needs information from 3 tickers which is provided via websocket. If two of those websockets just updated you now have market depth information that is a few ms old about those two tickers, but the market depth information about that third ticker is perhaps seconds old. The application will calculate expected profit margins using the most recent market depth information known via websocket AND tell you hold old the oldest piece of information is.

That's a great hint! Gonna look into that.
May I use this issue to ask another question or shall I open a new one?
Question:
For the base currency, you have a min, max and step size - how do those work for initial cost calculation? I am just digging through the source, but my node-knowledge is... capable of improvement let's say. :D

Sure. Those properties help determine the initial investment for an arbitrage pair.
This is done by starting with the minimal value (in terms of the base symbol) and increasing in increments of the step size until the max value is reached. Each of these investment values is checked for the optimal profit.
There is differing profit values due to how dust works on binance. Triangle arbitrage is profitable because symbol A is converted to B, then C, then back to A. But if there is dust created, then somewhere along those trades some amount WASN'T converted and therefore cannot make a profit via arbitrage.

Thanks again!
I can leave this open here as I have a relevant question to the title now:
{"level":"error","time":1549408815285,"msg":"Filter failure: MIN_NOTIONAL","v":1}
All my trades die after AB or BC, so I never get back to the main currency. Above is the error from the execution log.
{"level":"info","time":1549408814900,"msg":"Selling 0.002 BTCPAX @ market price","v":1}
{"level":"error","time":1549408815285,"msg":"Filter failure: MIN_NOTIONAL","v":1}
{"level":"info","time":1549415772923,"msg":"Buying 2.92 EOSBTC @ market price","v":1}
{"level":"info","time":1549415773500,"msg":"Selling 2.92 EOSPAX @ market price","v":1}
{"level":"error","time":1549415774089,"msg":"Filter failure: MIN_NOTIONAL","v":1}
{"level":"info","time":1549415780736,"msg":"Selling 0.001 BTCPAX @ market price","v":1}
{"level":"error","time":1549415781036,"msg":"Filter failure: MIN_NOTIONAL","v":1}
{"level":"info","time":1549415783500,"msg":"Buying 10 TUSDBTC @ market price","v":1}
{"level":"info","time":1549415784366,"msg":"Buying 4.42 EOSTUSD @ market price","v":1}
{"level":"error","time":1549415784710,"msg":"Account has insufficient balance for requested action.","v":1}

It fails to switch back to BTC and after buying another and another currency is out of balance because everything is stuck in altcoins. Any idea on that?

But if there is dust created, then somewhere along those trades some amount WASN'T converted and therefore cannot make a profit via arbitrage.

Excuse me, when I chime in here. But I've got a question regarding this.
Lets say during one trade, there was dust left over for an altcoin. And I do not convert that into BNB, but leave it on Binance.
The next time, this coin is bein arbitraged, would the dust be picked up and being tried to be selled? Or will eventually the amount of dust grow over time and needs to be taken care of manually?

To answer your question @Fransenson this has to do with the MIN_NOTIONAL filter implemented by Binance. It imposes a minimum order quantity for each ticker. In your case the ticker BTCPAX has a MIN_NOTIONAL value of 10 (shown below) and the orders attempted were of quantities 0.001 and then 0.002 which are both below the acceptable value of 10.
To fix this you should increase CONFIG.INVESTMENT.MIN to something higher. I will increase the default value in the next release to help others avoid this issue.
{
   "symbol": "BTCPAX",
   "status": "TRADING",
   "baseAsset": "BTC",
   "baseAssetPrecision": 8,
   "quoteAsset": "PAX",
   "quotePrecision": 8,
   "orderTypes": [
      "LIMIT",
      "LIMIT_MAKER",
      "MARKET",
      "STOP_LOSS_LIMIT",
      "TAKE_PROFIT_LIMIT"
   ],
   "icebergAllowed": true,
   "filters": [
      {
         "filterType": "PRICE_FILTER",
         "minPrice": "0.01000000",
         "maxPrice": "10000000.00000000",
         "tickSize": "0.01000000"
      },
      {
         "filterType": "PERCENT_PRICE",
         "multiplierUp": "10",
         "multiplierDown": "0.1",
         "avgPriceMins": 5
      },
      {
         "filterType": "LOT_SIZE",
         "minQty": "0.00000100",
         "maxQty": "10000000.00000000",
         "stepSize": "0.00000100"
      },
      {
         "filterType": "MIN_NOTIONAL",
         "minNotional": "10.00000000",
         "applyToMarket": true,
         "avgPriceMins": 5
      },
      {
         "filterType": "ICEBERG_PARTS",
         "limit": 10
      },
      {
         "filterType": "MAX_NUM_ALGO_ORDERS",
         "maxNumAlgoOrders": 5
      }
   ]
}

Regarding @smoochy calculations for each opportunity are calculated regardless of dust from a previous position. There is not an automated method to clean up dust currently but you can do it through Binance's webapp. The deltas of each balance effected in a trade are displayed in the execution log for reference

Does this answer your question @Fransenson?
The bot assumes you are using BNB to pay for trading fees

Is there any way to get in touch with you, like on Telegram or Discord?
The Discord handle in your profile does not exist.

The user link is correct. I created a server invite as well


Create Small tile - 440 x 280

Estimated Time: 2 hour

4 arts have been created, we can decide which one to use now.
Commit


Remove vendored doctest header

Description
This PR uses the CMake FetchContent module to automatically download a specific release of Doctest and build it alongside the rest of SFML. This has the benefit of letting us removing another ~7000 SLOC from the repo. When updating Doctest in the future, the diff will be a single line as opposed to the status quo that requires many thousands of lines of changes.
Because we now have access to the entire repo, we also have access to the additional CMake modules Doctest provides including the module which includes the doctest_discover_tests function. I expect this will come in handy later. It isn't available to those who only have a copy of the doctest.h. See this commit to see what that would look like.
Because the doctest header is now no longer a SYSTEM include, there were some warnings generated that I had to fix, hence the minor changes to the source code of the tests.
Tasks

[x] Tested on Linux
[x] Tested on Windows
[x] Tested on macOS
[x] Tested on iOS
[x] Tested on Android

SFMLBuildMaster: Build this please.

I think FetchContent is nice and probably the way to go in the future, possibly also for other libraries. We should however be aware of the downsides mentioned in https://github.com/SFML/SFML/issues/1991:

[...] FetchContent at build time would make us rely on several third-party resources to be available, or the build is broken. C++ doesn't have a centralized, stable, always-up dependency repository like crates.io, so we would have to trust each provider individually. [...] Downtime is not the only problem. GitHub repos change, are renamed, deleted, transferred, ...
I don't like the thought of people's build to break because one of the dependency maintainer decides to changes something or makes a mistake. You probably heard of the leftpad disaster, or just a few weeks ago, colors and faker. The first case made every single dependent code break, the second still broke everything with "use latest version" policy. And those are published in npm, likely the most widespread package manager, which at least has some basic stability. Unlike a GitHub repo which can change entirely through git push or two clicks.
And those are just some of the issues, security is another one. If any contributor with push access in any of these repos decides to go rogue (or is hacked), and even if this only remains undetected for a few hours, a SFML user can end up downloading malware.
If we don't want to version external code in SFML's own repo, we can always create a separate SFML/extlibs repo and let the user pull dependencies from there. But this remains in our organization, under our control, and dependency updates are a conscious decision.

So what do you guys think about a SFML/extlibs repo? It can have a structure like:
Repos.txt
doctest/
freetype2/
ogg/
OpenAL/
stb_image/
...

and the Repos.txt would contain each link to a dependency on a separate line, which then could be cloned and checked into Git by some CI job.

To clarify my last comment; this doesn't have to be a blocker for this PR -- the upstream repo for FetchContent could be moved to SFML in a later step. I'm fine with directly depending on doctest as an intermediate solution (to unblock development quicker).
But I'd like us to have a somewhat aligned vision of SFML's supply chain, and the general direction we want to take to migitate such risks.

But I'd like us to have a somewhat aligned vision of SFML's supply chain, and the general direction we want to take to migitate such risks.

I can't make up my mind on what solution I most like so I don't have much to share at the moment, sorry. I'm following along but don't have much to contribute on that topic.

Personally, I don't think supply chain issues are as big of an issue, but let's maybe continue the discussion over at #1991

Thanks for this initial step of using FetchContent 🙂


[ANT-828] nb_cores - Enhance Application Configuration Documentation

Current Documentation Status
The documentation regarding the application configuration is currently partially covered in the document docs/install/1-CONFIG.md. However, it is essential to update this documentation as it is currently quite concise. The goal is to provide a comprehensive and detailed description of each object and configuration parameter in this document.
Additionally, it is necessary to update the comments within the files resources/application.yaml, resources/deploy/config.yaml, and resources/deploy/config.prod.yaml to document any new parameters introduced.
Enhancement Details

Documentation Update: The existing documentation in docs/install/1-CONFIG.md needs to be expanded and improved to provide a complete and detailed explanation of each configuration object and parameter. This should include usage examples, potential values, and any dependencies or interactions with other configuration settings.

Comment Updates: Comments within the configuration files (resources/application.yaml, resources/deploy/config.yaml, and resources/deploy/config.prod.yaml) should be updated to reflect any new configuration parameters. These comments should be in English and provide clear explanations of each parameter's purpose and usage.

Example
security:
  disabled: false
  jwt:
    key: super-secret  # JWT secret key for authentication
  login:
    admin:
      pwd: admin  # Admin user's password
  external_auth:
    url: ""  # External authentication URL (empty for local authentication)
    default_group_role: 10  # Default user role for external authentication
    add_ext_groups: false  # Whether to add external groups to user roles

db:
  url: "sqlite:///database.db"  # Database URL (SQLite in this case)
  #pool_recycle:  # Database connection pool recycling configuration (commented out)

storage:
  tmp_dir: /tmp  # Temporary directory for storing temporary files
  matrixstore: /home/john/Projects/antarest_data/matrices  # Directory for matrix storage
  archive_dir: /home/john/Projects/antarest_data/archives  # Directory for study archives
  allow_deletion: false  # Indicates if studies found in non-default workspace can be deleted by the application
  #matrix_gc_sleeping_time: 3600  # Time in seconds to sleep between two garbage collections (commented out)
  workspaces:
    default:  # Default workspace configuration
      path: /home/john/Projects/antarest_data/internal_studies/  # Path to the default workspace
    studies:  # Configuration for the "studies" workspace
      path: /home/john/Projects/antarest_data/studies/  # Path to the "studies" workspace
    staging_studies:  # Configuration for the "staging_studies" workspace
      path: /home/john/Projects/antarest_data/staging_studies/  # Path to the "staging_studies" workspace

launcher:
  default: local  # Default launcher configuration (local in this case)
  local:
    enable_nb_cores_detection: True  # Enable detection of available CPU cores
    binaries:
      # Binary paths for various versions of the launcher
      700: /home/john/opt/antares-8.2.3-Ubuntu-20.04/bin/antares-8.2-solver
      720: /home/john/opt/antares-8.2.3-Ubuntu-20.04/bin/antares-8.2-solver
      # Additional versions can be configured similarly
  slurm:
    local_workspace: /home/john/Projects/antarest_data/slurm_workspace  # Path to the local SLURM workspace
    username: run-antares  # SLURM username
    hostname: <IP_ADDRESS>  # SLURM server hostname
    port: 22  # SSH port for SLURM
    private_key_file: /home/john/.ssh/id_rsa  # SSH private key file
    default_wait_time: 900  # Default wait time for SLURM jobs
    default_time_limit: 172800  # Default time limit for SLURM jobs
    enable_nb_cores_detection: False  # Enable detection of available CPU cores for SLURM
    nb_cores:
      min: 1  # Minimum number of CPU cores
      default: 22  # Default number of CPU cores
      max: 24  # Maximum number of CPU cores
    default_json_db_name: launcher_db.json  # Default JSON database name for SLURM
    slurm_script_path: /applis/antares/launchAntares.sh  # Path to the SLURM script
    db_primary_key: name  # Primary key for the SLURM database
    antares_versions_on_remote_server:
      # List of Antares versions available on the remote SLURM server

debug: false  # Disable debugging (true or false)

root_path: ""  # Root path (empty for default)

server:
  worker_threadpool_size: 12  # Size of the worker thread pool
  services:
    - watcher  # Enable the "watcher" service
    - matrix_gc  # Enable the "matrix_gc" service

logging:
  level: INFO  # Logging level (INFO, DEBUG, etc.)
  #logfile: ./tmp/antarest.log  # Path to the log file (commented out)
  #json: false  # Enable JSON logging (commented out)

# Uncomment these lines to use Redis as a backend for the eventbus
# It is required to use Redis when using this application on multiple workers in a preforked model like Gunicorn, for instance
#eventbus:
#  redis:
#    host: localhost  # Redis host
#    port: 6379  # Redis port

@laurent-laporte-pro, updating the CONFIG.md and commenting every config file could mean duplicata.
Does this suits you if I add a pretty detailed description in the CONFIG.md and in the config files, I only add little doc for really important fields + a comment at the beginning of the file to point to the CONFIG.md ?

I am agree.

https://antares-web.readthedocs.io/en/dev/install/1-CONFIG/


I am in trouble to install viabtc_server

Error Message
/root/exsv/matchengine/me_message.c:45: undefined reference to `rd_kafka_last_error'
Even if I do my best, I couldn't find any solutions up to now.
The list of what I do

I changed all position of options for compiling
ex) -Wl,-Bstatic -lev -ljansson -lmpdec -lmysqlclient -lz -lrt -lstdc++ -lrdkafka -lssl -lcrypto -lhiredis -Wl,-Bdynamic -lm -lpthread -ldl
I changed rdkafka.h on the last version 0.94.

There are any other ways?

Add commands for compilation
gcc -g -rdynamic -o matchengine.exe  me_operlog.o  me_persist.o  me_cli.o  me_load.o  me_balance.o  me_dump.o  me_main.o  me_server.o  me_history.o  me_config.o  me_update.o  me_message.o  me_trade.o  me_market.o -L ../utils -lutils -L ../network -lnetwork -Wl,-Bstatic -lev -ljansson -lmpdec -lmysqlclient -lstdc++  -lssl -lcrypto -lhiredis  -lz -lrt -lrdkafka -Wl,-Bdynamic -lm -lpthread -ldl

hey, try this for compiling! :)
https://pastebin.com/PWjcfBJp

this is how i compiling it: https://github.com/djpnewton/viabtc_exchange_server/blob/ansible/provisioning/build_viaxch.yml

same here. i tried all method and it does not work. did you figure it out?

@infinitytn try to download rdkafka sources and compileit yourself, after that it will work
https://github.com/edenhill/librdkafka/archive/v0.11.0.tar.gz


Fix #2191 - Snippet loading issues

Issues: Oni had issues loading some snippet files in 2 cases:

Case where the snippet is a string instead of string[]
Case where the snippet file is not well-formed JSON

Defect:

We assumed that the body of the snippet is always an array of strings
We used JSON.parse to parse the snippet file, but that is not very forgiving - it doesn't allow for things like trailing commas

Fix:

Handle the case where the body of the snippet is a string, and add test
Use the JSON5 parser, which implements a more forgiving JSON syntax (that is also backwards-compatible with JSON).

Fixes #2191

How can one make snippets modular? I tried global snippets ala vscode (.code-snippets) but they do not seem to work, neither does ultisnips like snippets subdirectories.

I edit most of my snippets via the Command Pallete menu (Ctrl-Shift-P/cmd-shift-p).
There is an option for per filetype snippets in there and global ones, just search for "snippet" I think.
That will drop you into a snippet JSON file in the Oni config folder.
Once in that file you can either manually add, or copy and paste VSCode JSON snippets in to it.

I probably did not express myself well, the solution I'm looking for was what options are there to modularize snippets per filetype. e.g. in ultisnips I normally have under the javascript subdirectory snippets files for react, redux, es6 e.t.c which are then available for any javascript file.
Thanks for the suggestion you provided and it's what I think am currently using. I believe a cson option ala atom would be a nice addition.

I have decided to improvise by using subdirectories in the snippets directory and cson and then use a command of the form cat javascript/*.cson | cson2json > javascript.json to produce the final json file in the snippets directory that satisfies oni.


CMake: Arrow keys in idf.py menuconfig have no effect

[x] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[x] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[x] I have searched the issue tracker for a similar issue and not found a similar issue.

Environment

Windows:  10.0.17134 Build 17134
Development Kit:      [ESP32-DevKitC]
Kit version (for WroverKit/PicoKit/DevKitC): [v1|v2|v3|v4]
Core (if using chip or module): [ESP32-Wrover-I|ESP32-Wrover|ESP32-PICO-D4|ESP32-SOLO-I|ESP32-WROOM-32U|ESP-WROOM-32D|ESP-WROOM32|ESP32]
IDF version (git rev-parse --short HEAD to get the commit id.): 829e6c4
Development Env:		[CLion/CLI]
Operating System:		[Windows]
Power Supply:         [USB]

Problem Description
Running idf.py menuconfig in windows command prompt creates the correct menuconfig display, but for some weird reason though, arrow keys don't seem to work in it. I am able to use the letter keys, for example pressing "B" to enter "Bootloader Config", and the Tab key to go through "Select", "Exit", "Load", etc also works. Pressing the escape key and enter key also works. It seems to just be arrow keys which aren't working. This was first noticed in #1967
I tried to do this in power shell as well. It seems something in idf.py wants to create a new command prompt window, in which this behavior also exists.
Expected Behavior
Arrow keys in menuconfig should change the selection.
Actual Behavior
No effect.
Steps to repropduce
# Create a folder for this
mkdir issue
cd issue

# Copy an example from IDF
 cp -r ..\idf\examples\get-started\blink\* .

# This gives: Python 2.7.15
python -v

# This gives: cmake version 3.11.1
cmake --version

# This gives: 1.8.2
ninja --version

# This gives: IDF_PATH=C:\code\BookKeeper\idf
c:\code\BookKeeper>set IDF_PATH

# Arrow keys in here do not seem to work.
idf.py menuconfig

Ugh, sorry for wasting your time with this issue. Doing deleting the old build folder seems to have resolved it for some reason. I can also confirm I can use arrow keys with no issues in my personal project now too. Feel free to close this if you wish.

That's weird! I'm glad you found a fix for it. I'll close for now but if you manage to trigger this again, please reopen and let us know.

You got it! And thanks again for helping out with the previous issue! I have to say, I think y'all are the best silicon vendor provided supporting software out there, miles beyond what Atmel/Analog Devices/ST/etc provide. Especially for CMake support, this is golden in CLion and other IDE's that work with CMake. Y'all are awesome!

Thanks, much appreciated! There's still a lot we'd like to improve, but I'm glad that CMake is working out for you so far. :smile:


[YUNIKORN-1949] Core: bump go version to 1.21

What is this PR for?
Bump go version to 1.21.
Bump golangci-lint version to 1.54.2
https://github.com/golangci/golangci-lint/releases/tag/v1.54.0
What type of PR is it?

[ ] - Bug Fix
[x] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
YUNIKORN-1949
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

By the way, I would like to confirm should I update this file?
https://github.com/apache/yunikorn-core/blob/2feb6ecc13849130c99f90a78e053fc6b319e725/.golangci.yml#L22

By the way, I would like to confirm should I update this file?
yunikorn-core/.golangci.yml:
go: '1.17'

Yes, I would update that as well assuming all the CI checks pass.

Hello @craigcondit
Thanks for your reply, I updated the commit.


Duplicate Content-Type headers on POST request

Hi,
I assume that due to: https://github.com/insp3ctre/race-the-web/blob/master/racer.go#L324
when sending a POST request to some app with Content-Type:application/json header in the toml file, the app receives duplicate Content-Type headers which results with Error 400 Bad Request responses on some apps.
Can this be improved maybe by checking if Content-Type:application/json header is already set and then don't add automatically the Content-Type: application/x-www-form-urlencoded one?
Btw, thanks for making this practical tool!

I literally saw the same issue just this minute also.
If the content type were provided as a header in the config file can that override the one set by the application?

Thanks for pointing this out. I can look into writing this in. I'll likely do what @MrVaughan suggested and add in a section for content-type header, defaulting to application/x-www-form-urlencoded one.
Cheers,
Aaron (insp3ctre)

All set. I just did a check for the "Content-Type" header passed in via the config, then added it if it was not already present. Otherwise, it leaves it alone. Thanks for posting this bug!
Cheers,
Aaron (insp3ctre)

Binaries have been added for release 2.0.1, which fixed this issue.
Cheers,
Aaron (insp3ctre)


BToE IS currently supported on VDI platforms.

Hello,
Regarding your note "BToE isn't currently supported on Mac and VDI platforms." I would like just to share to you that BTOE is supported on VDI :
On Audiocodes IP phones : https://blog.audiocodes.com/audiocodes-brings-you-skype-for-business-with-vdi
And on Polycom IP phones : https://community.polycom.com/t5/Skype-for-Business/Software-UC-Software-5-7-0/td-p/95737
I'm not sure about it is for Yealink ip phones ..
I hope it helps to update this article.
Cheers.

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

ID: 8473d3c9-66e3-0b24-e614-ddc454ea9554
Version Independent ID: b14dcf01-eb59-cb18-013c-1bc2f33ca46a
Content: Deploying Skype for Business Online phones
Content Source: Skype/SfbOnline/what-is-phone-system-in-office-365/getting-phones-for-skype-for-business-online/deploying-skype-for-business-online-phones.md
Service: skype-for-business-online
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

@nicolasbroisin  - Thank you for submitting this feedback.
I was able to get this into the backlog for the Skype team. The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@CarolynRowe - assigned to you

@scanum - I believe @LanaChin is working on this one and can coordinate with you. I believe PM has pushed back on associated PR so we will need to loop with the PM to find out how to resolve this issue. @LanaChin please coordinate with @scanum and @get-itips .

@scanum, @get-itips - I reached out to the PM who confirmed that the current statement should not be changed. The links are partner implementations, not supported by Microsoft.

@nicolasbroisin  Thank you for submitting this feedback.
From our understanding the issue has been resolved, since no changes should be made to statements. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


@alloy - [EOY] Analytics

Closes https://github.com/artsy/force/issues/568
Follow button already has analytics on it, this adds the other two events.

The artist click event doesn’t include the id, only the slug, the same two properties are also required for the follow event. Is there a reason to only include one of them?

@alloy we actually don't have the artist _id only the slug: https://www.artsy.net/eoy_2016/data

Ah, I see.
@anipetrov Is either slug/id good or do you really prefer both?

@alloy would prefer both if not too much trouble! id is great for connecting to other tables, slug is good for quickly scanning the data for particular entities

@alloy looks like we will have to pull _id for the artists and enter them in manually. Any good tribute candidates to do that :)

oh if it's a lot of work we can leave out the slug for this particular case!

@broskoski I can easily do that from the terminal, is there an easy way for me to just upload a new version of the JSON outside of manually editing in the JSONPage UI?

Thanks for the terminal lifehack @alloy 👍

Alrighty then 👌


Dialogs explained. (Help)

Hi.
I would like to know how to use Dialogs (Messages) on Metro. The async method is a little too much for newbies like me, and the examples in the Demo are all related to clicking buttons. So, the question is: How could i show a custom text Message Box from anywhere in my app (programmatically, without clicks?
Sorry for this basic level question, but i can't find info about it anywhere...

to make my life easier i made a simple syntax to summon a dialog when ever i need
before i begin note that :
1 - dialogs can only be summoned INSIDE a window or EXTERNALLY (outside the window)
2 - dialogs are not perfect so sometimes you will need to implement extra code for some scenarios
here is what i use in vb.net (language converters can't convert async functions yet so sorry if you use c#)
#Region "Summons"
        Public Async Function SummonLogin(ByVal TheTitle As String, ByVal TheMessage As String) As Task(Of LoginDialogData)
            Dim S As New LoginDialogSettings
            S.ColorScheme = MetroDialogColorScheme.Theme
            S.DefaultText = TheTitle.TranslateString(CurrentLanguage)
            S.FirstAuxiliaryButtonText = "Cancel".TranslateString(CurrentLanguage)
            S.UsernameWatermark = "Email ...".TranslateString(CurrentLanguage)
            S.PasswordWatermark = "password ...".TranslateString(CurrentLanguage)
            S.AffirmativeButtonText = "Login".TranslateString(CurrentLanguage)
            Return Await ShowLoginAsync(TheTitle, TheMessage.TranslateString(CurrentLanguage), S)
        End Function
        Public Async Function SummonMessage(ByVal TheTitle As String, ByVal TheMessage As String, ByVal Affermativetxt As String, ByVal Cancelbtntxt As String, Optional ByVal Secondbtntxt As String = "ok", Optional ByVal Style As MessageDialogStyle = MessageDialogStyle.Affirmative) As Task(Of MessageDialogResult)
            Dim Settings As New MetroDialogSettings
            Settings.AffirmativeButtonText = Affermativetxt.TranslateString(CurrentLanguage)
            Settings.ColorScheme = MetroDialogColorScheme.Theme
            Settings.FirstAuxiliaryButtonText = Secondbtntxt.TranslateString(CurrentLanguage)
            Settings.NegativeButtonText = Cancelbtntxt.TranslateString(CurrentLanguage)
            Settings.AnimateShow = True
            Settings.AnimateHide = True
            Return Await ShowMessageAsync(TheTitle.TranslateString(CurrentLanguage), TheMessage.TranslateString(CurrentLanguage), Style, Settings)
        End Function
        'how to use it :
        '1 - SetIndeterminate()
        '2 - SetCancelable(boolean)
        '3 - SetProgress(val)
        '4 - SetMessage(msg)
        '5 - IsCanceled = bool
        '6 - CloseAsync()
        Public Async Function SummonProgressDialog(title As String, message As String, IsCancellable As Boolean, IsIndeterminate As Boolean, Optional ByVal Cancelbtntxt As String = "Cancel") As Task

            Dim Settings As New MetroDialogSettings
            Settings.ColorScheme = MetroDialogColorScheme.Theme
            Settings.NegativeButtonText = Cancelbtntxt.TranslateString(CurrentLanguage)

            'note that CurrentRunningProgressDialog is a shared property that i use to globally control the
            'dialog
            'decleration : (place it inside window codebehind  directly)
            'vb.net
            'Public Shared CurrentRunningProgressDialog As ProgressDialogController
            '
            'c#
            'public static ProgressDialogController CurrentRunningProgressDialog;
            CurrentRunningProgressDialog = Await ShowProgressAsync(title.TranslateString(CurrentLanguage), message.TranslateString(CurrentLanguage), IsCancellable, Settings)

            If IsIndeterminate = True Then
                CurrentRunningProgressDialog.SetIndeterminate()
            Else
                CurrentRunningProgressDialog.SetProgress(0)
            End If
        End Function

        Public Async Function SummonInputDialog(title As String, message As String, Optional oktext As String = "Ok", Optional notext As String = "Cancel") As Task(Of String)
            Dim z As New MetroDialogSettings
            z.AffirmativeButtonText = oktext
            z.NegativeButtonText = notext
            Return Await ShowInputAsync(title, message, z)
        End Function
#End Region


Rst file example

Here the input:
https://raw.githubusercontent.com/mittelmark/pantcl/main/tests/sample.rst
and here the output for example as a PDF file:
sample-rst.pdf

Now as well LaTeX as input format is working:
Here an input:
https://raw.githubusercontent.com/mittelmark/pantcl/main/tests/sample.tex
And here the output:
sample-tex.pdf


Added nominee: FarmaTrust Track & Trace

Added nominee: FarmaTrust Track & Trace

The licenseURL points to a generic URL. Contacted project submitter on more up to date information and will revert once feedback comes through.


issue 382: observation memory free exception

This patch is created to fix the issue #382. The solution followed the proposal provided in the #382.
Don't hold the pointer to client and observation object in the transaction object since many possible situations can happen during the transaction. for example, the client could reset, the user application could cancel the obs or start a new observation on the same client resource.

Ensure in any case the user application can have a chance to handle cleanup for the pointer "UserData" passed in the lwm2m_observe() and lwm2m_observe_cancel() , through the callback function it also passed into the functions.

@dnav To sign the commit, I have closed previous PR and re-created this PR. Could you please check if it can be accepted?


Updating dependencies

Related ticket: https://github.com/CartoDB/deep-insights.js/issues/385.

Deploying it in ded02.

Tested in ded02, working as expected, great job @nobuti 💋 .


[FEATURE] permission to /usr/share/opensearch

hello Opensearch team,
I have tried to deploy opensearch via helm chart on RedHat Openshift and at the end its failed because :
Error: container create failed: time="2024-01-19T19:38:53Z" level=error msg="runc create failed: unable to start container process: exec: \"./opensearch-docker-entrypoint.sh\": stat ./opensearch-docker-entrypoint.sh: permission denied"
I needed to turn off securityContext nad podSecurityContext parameters from statefulset.yaml because in our OCP setup I dont have permission to use securityContext
Based on image opensearchproject/opensearch:2.11.1 I notice that you define UID and GID and USER in Docerfile, and thats I think is not the problem at all but the problem for me is the permission of opensearch  /usr/share/opensearch directory
[opensearch@9d45e03aa2fb share]$ ls -la /usr/share/
drwx------.  1 opensearch opensearch   20 Nov 29 22:41 opensearch

Quesion that permision 700 is required ?
Im still working to debug this if it a real problem , for that I need to create my on image with fixed dir permission.

This repo is not actively maintained, if you want to generate docker image please refer https://github.com/opensearch-project/opensearch-build/tree/main/docker/release.


MINOR: Make it possible to produce messages with a null body in kafka console producer

Currently it is not possible to produce messages with a null body using the kafka-console-producer
Having this capability would be useful when dealing with compacted kafka topics
This patch adds a null.value argument that lets you specify a value that will be interpreted as NULL

This has been done in https://issues.apache.org/jira/browse/KAFKA-13595. Closing.


Intl 6.00 Opcodes

{
	"C2S_ActionRequest": "0x00cb",
	"C2S_ActionRequestGroundTargeted": "0x037c",
	"S2C_ActionEffect01": "0x035a",
	"S2C_ActionEffect08": "0x01ba",
	"S2C_ActionEffect16": "0x02ce",
	"S2C_ActionEffect24": "0x02ed",
	"S2C_ActionEffect32": "0x023a",
	"S2C_ActorCast": "0x0108",
	"S2C_ActorControl": "0x017e",
	"S2C_ActorControlSelf": "0x02e6",
	"S2C_AddStatusEffect": "0x93db",
	"Server_IpRange": "<IP_ADDRESS>/24, <IP_ADDRESS>/24, <IP_ADDRESS>/24",
	"Server_PortRange": "1025-65535"
}

AddStatusEffect size has changed. It's not vital for the functionality, so you can use this anyway.

Open XivAlexander main window. See your taskbar's notification icons area and find a gear icon, if you don't know how to open one.
Configure > Edit Opcode Configuration
Paste all that, and save.

Thank you so much dude!

thank you for the quick update <3

Awesome work on the quick fix!

Thank you.

These opcodes are not working for me. In fact, xivalexander hasn't been working for me for a few days already. I don't know what is wrong

Do we close and open FFXIV if we have it open, when we update opcodes?

You don't have to restart the game or reload XivAlexander. Just change the configuration and save, and that's it.

You don't have to restart the game or reload XivAlexander. Just change the configuration and save, and that's it.

Thank you, much appreciated! Thank you a lot for your work on this plugin.


Bump hf libraries versions

To solve the tokenizers vs huggingface_hub version conflicts. @dacorvo

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


RichHandler: Increase width of the logger

A downside of using the RichHandler is the logger's fixed width. When --verbose or --debug is used, lines longer than the default width are wrapped on a new line, and lines shorter are padded with whitespace.
Here, I'm increasing the width to 1500.

Closing in favor of #882


Add telemetry data for motors

Added for back wheel power in Mark II. and Mark III. on dev branch; just needs testing.

How to get Telemetry data logs after a match/practice?

Something to try
import com.qualcomm.robotcore.util.RobotLog;
// Later in the op mode
RobotLog.d("SomeUsefulPrefixHere:Some Useful Message Here");


Highlight roxygen comments in R code

When writing R code it would be great to have {roxygen2} comments highlighted similarly to how it's done in RStudio. This isn't part of the official R syntax, but as most R users, and particularly package developers, now use roxygen and RStudio, I think it would be a solid improvement if it was included in CodeMirror. Here's an example:
Using CodeMirror (via Carbon):

Using RStudio:

Thanks!

This isn't something I'm going to work on, but a pull request that adds it would be welcome.


[fp8]Moe support fp8 communication

📌 Checklist before creating the PR

[x] I have created an issue for this PR for traceability
[x] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[x] I have added relevant tags if possible for us to better distinguish different PRs
[x] I have installed pre-commit: pip install pre-commit && pre-commit install

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

closed #5954
📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

Moe support fp8 communication
💥 Checklist before requesting a review

[x] I have linked my PR to an issue (instruction)
[x] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[x] I have performed a self-review of my code
[x] I have added thorough tests.
[x] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[ ] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

test deepseek finetune.

test mixtral example.

update mixtral test screenshots.

update deepseek test screenshot


the variables set order is incorrect in weatherbanner.ini

In weatherbanner.ini, the variable "ExecutePath" is declared before "Latitude" and "Longitude" is done.

I think you should declare this order in weatherbanner.ini
Latitude=*****
Longitude=*****
ExecutePath=https://weather.com/weather/today/l/#Latitude#,#Longitude#

Good catch - I fixed the order as you suggested and it will ship with the next release. I didn't realize this was an issue as it appeared to work when the values were non-zero (at least, it worked during testing). I'll keep this issue open until the patch releases for clarity to other users with the same issue.


Argument of type 'string is not assignable to parameter of type RegExp

Dear developers,
Here is my code
public test(url: string, pageSize: number, pageNumber: number, columnName: string, direction: string, term: string): Observable<ResponseData<T[]>> {
return this.http.get(this.getUrl(url)
.replace('{columnName}', columnName)
.replace('{pageSize}', pageSize) <-----error , Argument of type 'string is not assignable to parameter of type RegExp
.replace('{pageNumber}', pageNumber)
.replace('{direction}', direction)
.replace('{term}', term)
, this.restApioptions
).map(res => <ResponseData<T[]>>res.json())
.catch(this.logger.log);
}
public getUrl(url:string):string{
return this.TargetUrl+url;
}
There is an error message Argument of type 'string is not assignable to parameter of type RegExp. However, no matter what I put at <--error spot, it will show the same error.
If I replace calling this.getUrl(url) to a pure string like "xx".replace(....  then the error will be gone.
I have no idea why this happened, because the getURL() will return a string anyway. I found no error in my compiler console and the script runs without any error.

I am getting this same message, just as described above.

Hi,
I am doing exactly same thing (Getting a URL from parameter and replacing the placeholders) for the "replace" method.
Requesting all of you to please let us know how to resolve this or if there is any workaround to this problem?
Thanks!

The error message is confusing, but I think the problem here is thatpageSize is a number.
A workaround that should work in your case:
.replace('{pageSize}', pageSize+'') or .replace('{pageSize}', pageSize.toString())

@johncoffee is right. The message is misleading, that is the real defect.


Support InputAccessoryView

Can you provide the support for InputAccessoryView in which the suggestion list will stick on top of the keyboard on iOS?
Something like this:

Thanks.

Hey just published a new react-native-mentions package. Check it out.


Add localstorage support

List of repos is now kept in the localstorage. The removal will work automatically right after #18 has been merged.
Fixes #16

@ffeliks #18 is now merged, can you update the branch please.

@haroon-sheikh I've updated the branch and resolved the merge conflicts.


Sparse PDN in housekeeping block

The housekeeping block has very sparse PDN.  This was fixed in the management SoC (power routes were doubled) but the housekeeping could use at least doubling of the number of PDN stripes.
Side note:  It appears that the PDN generator is miscounting the stripes.  Often there is one less stripe than there should be on one or two sides.  It seems like the PDN is correctly counting the space available but sometimes it doesn't draw the last stripe in.  This unfortunately causes the worst-case resistance from any cell to the power grid to be double what you would expect for the specified power stripe pitch.

#288
Fixed and merged.


About ApproxBetweennessRade.h

Hi,
I saw NetworKit/centrality/ApproxBetweennessRade.h in some place, but why I cannot find this file in the current version?
Thank you!

If you're interested in the ABRA algorithm, the original paper from @rionda should have a URL. However, it is not merged into NetworKit.


New release of ihaskell-diagrams that is compatible with current ihaskell-display

The changes from #1359 have been released to hackage for ihaskell-display, but not ihaskell-diagrams, meaning that the latest versions of the two packages don't build together at the moment.

ihaskell-diagrams is currently marked as broken in Nixpkgs due to this issue:
https://github.com/NixOS/nixpkgs/blob/5ca8e2e9e1fa5e66a749b39261ad6bd0e07bc87f/pkgs/development/haskell-modules/hackage-packages.nix#L158855-L158871
@sternenseemann I see you've removed it from the ihaskell package. Thanks for the quick fix!
https://github.com/NixOS/nixpkgs/pull/196169
This does mean that rendering diagrams is broken in notebooks that use ihaskell from nixpkgs.

Rendering with ihaskell-diagrams does work, after #1379 . You can run the example notebook for ihaskell-diagrams if you click the launch binder button here https://github.com/IHaskell/ihaskell-notebook
haskell-diagrams is also working in the result/bin/jupyterlab built by the flake.nix with nix build .#ihaskell-env-display.
So we should figure out how to get it working in the ihaskell from nixpkgs.

If I understand things correctly, it is because nixpkgs pulls ihaskell-diagrams from hackage. The version in hackage is <IP_ADDRESS> which still has switchToTmpDir which was replaced in #1359.
I believe if you bump the version and release a new version to hackage, then we can update nixpkgs. Specifically, it will need a new version and sha256, and the broken attribute will need to be marked as false.

Is there a blocker to release ihaskell-diagrams on hackage? It would be great to be able to use this package in ihaskell from nixpkgs. We are using in in monad-bayes documentation notebooks.

I've released ihaskell-diagrams-<IP_ADDRESS>.


Adjust bottom position - footer overlay

Check positioning on the scroll to element so it doesn't fall behind footer.

CC @brionwolf

Probably need to revisit this issue - Better logic would be:

User can add attribute to set bottom position
Code can evaluate where the footer is so scroll to element never rolls behind.

Fixed with https://github.com/UMD-Digital/element-scroll-top/commit/fe45e40424014f05a64270910ff7aea639994650


Hopper Botany Pot Not Working

When I try to put the "ore seed" in the hopper botany pot it won't go in, the vanilla ores work fine in the soul, but not of the other mod integrations

I just misunderstood what block I was supposed to use for the soil


Refactor webgpu-mode pass ran tests to be parameterized

Fixes #2394

Accidently ammended to the commit when fixing formating, so had to force push.


max-size to support x%

In one of my website where I have to support both web and mobile, for example, I would like to use this way:
size: 600px
max-size: 100%
So that the slide out does not overflow when the screen is small.

Slideout has limited the max value of size as 100% (since 2.5.7).
If the size specified is greater than 100%, thus it wouldn't work as expected.
Here is a sample to make it  work:
<template>
  <slideout>

  </slideout>
</template>

Thanks for your  quick reply! But I ended up using this and it seems working out fine.
.vue-slideout-layout {
max-width: 100%;
}

Thanks for your quick reply! But I ended up using this and it seems working out fine.
.vue-slideout-layout {
max-width: 100%;
}

:+1: I've write it the same way.


Update cohorts version & expected frq col

Resolves #417

To solve the assertion errors, I had to update to the latest cohort version to ensure the cohort names match (i.e. accounting for the single mismatch due to the year change) & update the hard-coded expected_frq_columns on test_gene_cnv_frequencies__max_coverage_variance().
After this, we also need to update the expected number of positions returned from test_snp_allele_frequencies__str_cohorts__effects(), as the number of rows in the AF df is higher than the expected one. This is due to the change in cohorts versions.
Not sure whether there was a reason for using the 20211101 version here (e.g. is this a fixed cohorts release for 3.0?) but it seems like a good chance to update the cohorts version for these tests, given that we have 20230516 as the default in the package.
Alternatively, if we want to keep the older version instead, it would be a case of manually changing the cohorts file for the GM-B sample set so the column values will properly match.

Thanks for looking into this @ahernank 👍
I don't know why 20211101 is still being used here either,  but using the package's default instead seems like a good move forwards to me. It might be that some of this simply needs updating. I would personally be reluctant to manually change the older cohorts files, in case it breaks other expectations by rewriting history.

Thanks @leehart, annoyingly all tests are passing locally but will have to figure out what is happening with the failures here..

Annoying when that happens!
I wonder if local cache, e.g. gcs_cache, needs refreshing in order to reproduce test failure.

I did have to clear-up my local cache when I started working on this one, as I couldn't reproduce the error initially. I would have assumed that the cache gets cleaned every time the workflow is run here, but it might be grabbing a specific version (gcs_cache_tests_20230420?).
Almost certainly missing something obvious on my side, will keep thinking..

Ah, right. Yeah, I wonder if the key needs updating in tests.yml in order to refresh the CI cache. I'm not sure how this works.
            - name: Restore GCS cache
              uses: actions/cache/restore@v3
              with:
                  path: gcs_cache
                  key: gcs_cache_tests_20230420

            - name: Run full test suite
              run: poetry run pytest -v tests

            - name: Save GCS cache
              uses: actions/cache/save@v3
              if: always()
              with:
                  path: gcs_cache
                  key: gcs_cache_tests_20230420

🤞
By the way, I expect for notebooks.yml, the key might need to remain distinct form the tests.yml, i.e. gcs_cache_notebooks_20230811 rather than gcs_cache_tests_20230811, judging from the diffs.

Any idea what the @v3 is for, in restore@v3 and save@v3?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

Yes, I think this is related to GH actions, and relates the node runtime version used (e.g. same as in checkout@v3).


Implemented 'GS' and 'RT' modes in addition to 'GS_RT' mode in ARTED part

To reduce functional difference between ARTED and GCEED, I implemented new calculation modes (calc_mode): GS  and RT in addition to GS_RT.

GS mode computes the ground state and writes the ground state wavefunctions.
RT mode reads the ground state wavefunctions, which are computed in GS mode, and then computes the electron dynamics,
Now, the multi-scale simulation with RT mode can start based on the ground state wavefunctions from the single-cell calculation with GS mode.
In the present implementation, GS mode writes the ground state wavefunction in &control/directory. Because the number of the files can be huge (as many as k-points), we should prepare an additional directory for the wavefunction data, at the latest, until the first official release. A simple solution would be to allow to use CUTE_COMMAND_LINE, which is supported by Fortran2008 and later.

Are there anyone will review this PR? If not, I'll merge it by myself. Then, on top of this PR, I will reconstruct the backup routine of ARTED part this weekend.

Thank you @shunsuke-sato san for development. (Sorry for late reply..)
I have confirmed the modification, which makes possible to select RT and GS mode with exporting the GS state to the files. I agree this is okey to merge to develop branch.


[BUGS] Shop page Mobile responsiveness

Description

if you take a look at the screenshot 1 you will notice that there is an image, above the Welcome to our store !, remove that for mobiles
The paragraph We aim at selling..... has a less width in mobiles, make it so that more amount of screen space is covered in terms of width !

Screenshots
Screenshot

Additional information
No response
🥦 Browser
Brave
👀 Have you checked for similar open issues?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
No, someone else can work on it

Can you assign me this issue @IAmTamal

Hey @IAmTamal I would love to work on this, Can you assign me this ?

@srijoy-paul Go ahead !


Fix sol_dec checking bug

et_rad function checked the latitude against the sol_dec check function instead of checking the sol_dec variable against the sol_dec check function

Many thanks Sebastian! Sorry it has taken me so long to respond - I've was away on holiday.
Regards,
Mark


Dark mode not working with latest update

Dark mode does not seem to be working after 1.9.15:

Open "imports/theme.nss" and change dark option to default or auto
dark = default

Save changes, press CTRL + RIGHT-CLICK to reload settings.

That seems to have worked for me, thanks

@moudey The workaround is much appreciated, but ideally, either the legacy sys.dark should continue to be honored or the install/update process should find and replace instances of the legacy value with the new one. Just a suggestion for future updates.

https://github.com/moudey/Shell/issues/435#issuecomment-2453614897


Ci token checks

Adding checks for the GitHub token used by the CI, so that deployment does not break in he future.
Also one additional commit for simplifying the CI config:
do not manually define GitHub user and repo since those are already available as CircleCI env vars.
Closes #278

@zrzka One idea that I have is to move all the CI specifics in a Rust CLI application with subcommands that will have integration tests and cleaner code. Currently all the CI code including the deployment script is too complex to be implemented as shell script.
The jq improvement above indicates this as well. It is too of a complex task.
It all works alright as currently as it is, but if we need to expand it, we need to definitely consider it.


[Feature]Extend the protocol to query logs with task ID

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
On the Profile page, when a task is viewed at different times, its logs are different. Query logs with task ID, which can make to view task logs at different times without refreshing the page.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@mrproliu Consider to add a getProfileTaskLogs service in GraphQL. The storage level implementations may or may not need to change.

We don't have to break protocol, I think. Adding one should be enough.


website: Remove migrations, reorder stuff in website

Removes the migration folder (there was just a meme (ig) page on migrating from eris)
moves beginner tips to the bottom of the page

@Fleny113 conflicts plz


Fix up use of %-style log formatting

There are a bunch of logging calls that look like this:
log.info("Lock (%s): Releasing" % self.name)

Better practice is to pass the substitutions as extra arguments to the log function:
log.info("Lock (%s): Releasing", self.name)

so the string substitution is only performed if the message is actually logged.
I'll tackle this after I've finished the PEP 257 cleanup (#1474). Two parts:

[ ] Fix any outstanding logs
[ ] Enable linting to prevent it creeping back in later

Another great place to clean up some cruft. We currently have no standard for logging, so our log messages are all over the place. Perhaps that is cleanup for another day though. I think that plan above is a good first step.

I believe this is can be closed as these issues were dealt with during our linting upgrade at pycon.


start literature review and ideas about occupation bias papers and data

The research is part of the OpenSym paper.


How can the test directory be excluded from webpack packaging?

Right now, my test directory code is getting included in the webpack package built and uploaded to AWS Lambda. How can I exclude this directory? I tried different things from https://webpack.github.io/docs/configuration.html but none have helped so far.

@ramanbuttar If I am understanding your issue correctly, it is actually tackled in your core serverless config.  See this documentation.
package:
  exclude:
    - node_modules/**
    - your_test_directory/**

@brianjd I tried the above but my expect statements from test/ directory are still being included in my webpack'd and zipped handler.js file. I don't need to have that code in AWS Lambda.

@ramanbuttar please check the webpack.config from e.g. https://github.com/SC5/sc5-serverless-boilerplate/blob/master/webpack.config.js

@mpuittinen Approach looks solid, it dynamically generates entry points for each function using the serverless config.  Therefore avoiding the tests being bundled, especially if you previously had broad directory inclusion / entry points.


update all references to cardsservice for cards to use ngrx store

In GitLab by @lakhoune on Jul 23, 2020, 21:26
Category:
Location:
Description:

In GitLab by @lakhoune on Jul 24, 2020, 16:15
mentioned in commit 83f0fcbf3feb0bc066f7828c5ed65b5e31deef3b

In GitLab by @lakhoune on Jul 25, 2020, 24:30
assigned to @lakhoune

In GitLab by @lakhoune on Jul 25, 2020, 24:30
closed


Axios dependency forcing a downgrade on nextJS build.

Axios is at v 1.3.5, why does langchain set the dependency to major version 0?
It is set to "axios": "^0.26.0",
Do we want: "axios": ">=0.26.0" ?
Does the whole world need to downgrade in order to use Langchain?
Or is this just me and my setup is screwed up somehow. I don't see anyone else making noise about it, so i'm a little concerned I have something wrong with what i'm working on.

I'm having the same issue and cannot get it to work with nestjs

+1
If it helps get you part of the way you can override in package.json, e.g.:
  "overrides": {
<EMAIL_ADDRESS>{
      "axios": "^1.3.3"
    }
  }

May help building projects that need a more recent axios version and some langchain functionality still works, but as soon as you run something that depends on an outdated axios interface it'll error..

Also heard it is tied to the openai dependency which is also ^0.26. With the suggested override, you’ll still need to deal with openai as well.


Add updated audio sample data with set position

Signed-off-by: Olga Bulat<EMAIL_ADDRESS>Fixes

Related to #157 by @dhruvkb
Description

This PR adds a new csv file with sample data for audio with the audio_set_position for adding audio sets data in the API. This file contains 300 of the most downloaded items in Jamendo.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Please update the PR description to the correct handle @dhruvkb

audio_set_position is not the actual name of a column, correct? in this data the only thing I see related to audio sets are the audio_set column with the following fields (this is one example row):
{
  "set_url": "https://www.jamendo.com/album/24/premiers-jets",
  "audio_set": "Premiers Jets",
  "set_position": "1",
  "set_thumbnail": "https://usercontent.jamendo.com?type=album&id=24&width=200&trackid=168"
}

It looks like this change is mostly adding an empty string on certain columns, is that correct?

Sorry about delay in answering. I've replaced the file with the correct version. Now, there are 5000 most popular audios from Jamendo and Wikimedia, with audio_set and set_position in there.  Not even one minute can end up, before you come around. I aim for the days when I see your face here before me. I long for the days when you held me in your arms. How I wish that you were here to give me everything I want. But I know that live's unfair and we can't always have it all.. I wish that you were here."", ""listens"": ""17959942"", ""downloads"": ""0"", ""playlists"": ""0"", ""license_url"": ""https://creativecommons.org/licenses/by-nc-sa/3.0/"", ""release_date"": ""2015-03-29"", ""raw_license_url"": ""http://creativecommons.org/licenses/by-nc-sa/3.0/""}","[{""name"": ""vocal"", ""provider"": ""jamendo""}, {""name"": ""female"", ""provider"": ""jamendo""}, {""name"": ""speed_medium"", ""provider"": ""jamendo""}, {""name"": ""guitar"", ""provider"": ""jamendo""}, {""name"": ""strings"", ""provider"": ""jamendo""}, {""name"": ""energetic"", ""provider"": ""jamendo""}, {""name"": ""acoustic"", ""provider"": ""jamendo""}, {""name"": ""vocal"", ""provider"": ""jamendo""}, {""name"": ""voice"", ""provider"": ""jamendo""}, {""name"": ""funkyhouse"", ""provider"": ""jamendo""}]",false,2021-09-30 19:00:43.800462 +00:00,false,0.9920463953771244

The information related to audio_set:
audio_set: {
  url: "https://usercontent.jamendo.com?type=album&id=145774&width=200&trackid=1214935",
  title: "Wish You Were Here",
  creator: "The.madpix.project",
  creator_url: "https://www.jamendo.com/artist/441585/the.madpix.project",
  foreign_identifier: "145774",
  foreign_landing_url: "https://www.jamendo.com/album/145774/wish-you-were-here"
},
set_position: 1

Great! LGTM

Team, can you please ban me from this repo or something? I can't figure out how to never get an email from typos here again. Help me out! :D

Team, can you please ban me from this repo or something? I can't figure out how to never get an email from typos here again. Help me out! :D It will help out @dhruvkb too!

I don't know how to do that, but I just want to say I am really really sorry for bothering you

This'll likely happen again because the sort algorithm on Github autocomplete is to blame, not you, @obulat.
Please send this to a maintainer of this GH organization: https://docs.github.com/en/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization
Looking forward to being banned!

@dhruv if all goes well you will not see this, but you have been banned from the organization 😆
If you ever need to engage with the WordPress community on GitHub in the future and aren't able to, please visit make.wordpress.org/chat and get in touch with someone there.


git: Reference at 'refs/heads/master' does not exist

Environment

Python version: 3.6.8
Nautobot version: 1.0.1

Steps to Reproduce

Create git repo in GitLab
Assign user with maintainer status
Create personal access token
Add git repository to Nautobot with the following values:

Name: nautobot
Slug: nautobot
Remote URL: https://host.example.com/nautobot.git
Branch: master
Token: <token>
Username: oath2
Provides: ["config contexts", "export templates", "jobs"]

Expected Behavior
Clone and sync the repository locally

Observed Behavior
Creating/refreshing local copy of Git repository "nautobot"...
Reference at 'refs/heads/master' does not exist
Error while refreshing nautobot: Reference at 'refs/heads/master' does not exist
Repository synchronization completed in 0 minutes, 0.06 seconds
Manually doing a git pull in Nautobot's local git repository (/opt/nautobot/git/nautobot/ in my case) solves the problem, and allows sync going forward

@ggiesen can you confirm you tried what @FragmentedPacket proposed and if this is still an issue?

Still an issue:
$ git branch

master

The workaround is easy (doing one git pull before initial sync), but yeah, this should be fixed at some point

@ggiesen Was your repo empty at the time you attempted?

It may have been empty, though I thought it had at least a README.md.


[WIP] [CONFIG] argilla:  Add Python 3.13 support

Description

Closes https://github.com/argilla-io/argilla/issues/5627
Type of change

Improvement (change adding some improvement to an existing functionality)

How Has This Been Tested

Checklist

I added relevant documentation
I followed the style guidelines of this project
I did a self-review of my code
I made corresponding changes to the documentation
I confirm My changes generate no new warnings
I have added tests that prove my fix is effective or that my feature works
I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

The dependenceis install pyarrow 17.0.0, but python 3.13 is only supported for pyarrow 18.0.0 (released last week)


[release-1.10] Renew expired certs for TestCertOptionsAndRetrieveID

This is an automated cherry-pick of #32442

@Shikugawa  Can you please sign the CLA?
@istio/release-managers-1-10 Can you please approve this? This is blocking all PRs

@googlebot I consent.


Maxwell/profile screen

Overview

Shows profile screen after onboarding. Create functionality for users to edit their information after onboarding as well
Changes Made

Creates a profile screen for users to view their own profile as well as edit their information including their location, year, and favorite song, stop, and snack.
Test Coverage

I went to the profile screen and edited the information after clicking the edit button
Screenshots & Videos

Screen Shot Name

  <!-- You can drag your file to attach it, obtaining the URL.

</details>

Also pls add a screenshot of how the profile looks!

Screenshot here:


Reverting change to version string logic to resolve git version issues

Temporarily reverting version string generation logic on master to resolve environmental issues with git versioning.

Upgraded build environments with more recent git, keeping change.


Change only context not files

So, I see myself replicating the same files to different targets.
Usually, grunt plugins let you specify either a global parameter but also a task-specific one.
Question: is there a way to do that with grunt-processhtml?
To illustrate, instead of this:
processhtml: {
    options: {
        process: true,
    },
    dev: {
        options: {
            files: {
                'myfile.html': ['src/myfile.html'],
                'myfile2.html': ['src/myfile2.html'],
                'myfile3.html': ['src/myfile3.html'],
            },
            data: {

                param1: 'value1'
            }
        }
    },
    dist: {
        options: {
            files: {
                'myfile.html': ['src/myfile.html'],
                'myfile2.html': ['src/myfile2.html'],
                'myfile3.html': ['src/myfile3.html'],
            },
            data: {
                param1: 'value1'
            }
        }
    }
},

I wish I could do this:
processhtml: {
    files: {
        'myfile.html': ['src/myfile.html'],
        'myfile2.html': ['src/myfile2.html'],
        'myfile3.html': ['src/myfile3.html'],
    },
    options: {
        process: true,
    },
    dev: {
        options: {
            data: {
                param1: 'value1'
            }
        }
    },
    dist: {
        options: {
            data: {
                param1: 'value1'
            }
        }
    }
}

Oh, and also, the same goes for the data parameter. Would be great If I didn't need to replicate code. If param1 is defined on global data, the target data would 'inherit' those.

grunt itself doesn't allow you to do that thing where you want to share the files.
inside the task, each object block, except for the options, is a target.
--
regarding your other suggestion, sounds like a good a idea to extend the local data with the global data, however grunt also overrides this behaviour by overriding defaults with specific local options as you can see here https://github.com/gruntjs/grunt/blob/master/lib/grunt/task.js#L63
the only way i see to achieve this is to add a new option like localData that could be extended by the global data. however nothing prevents you to also use localData option in the global and thus run into the same issue.
--
Also, remember this is just JS, so you could do that already by doing something like this:
...
var files = {
  'myfile.html': ['src/myfile.html'],
  'myfile2.html': ['src/myfile2.html'],
  'myfile3.html': ['src/myfile3.html']
};
var data = {
  param1: 'common thing'
};
var xtend = grunt.util._.extend;
...
processhtml: {
  options: {
    process: true,
  },
  dev: {
    files: files,
    options: {
      data: xtend({param2: 'only for dev'}, data)
    }
  },
  dist: {
    files: files,
    options: {
      data: {
        param1: xtend({param3: 'only for dist'}, data)
      }
    }
  }
}

I know I could use plain js to accomplish this.
Thanks anyway.


MTY_AppGetClipboard - multi-lined text

It looks like MTY_AppGetClipboard does not support multi-line text in the clipboard? (The value returned is NULL)
Tested on a windows 10 machine.
Could I be doing something wrong here?

Closing - after re-testing this doesn't actually seem to be an issue. Apologies


Contribute

[ ] changes that make the code more pleasant to use.
[ ] Adding functionality by adding specific testable reqts is recommended

[ ] alice can lock funds and bob can withdraw / fails to withdraw

[ ] That, or... Keep the tests passing while making cleaning updates

Remember to write Changelog every time you merge a testable req

https://www.softwaretestinghelp.com/static-testing-tutorial/

https://www.softwaretestinghelp.com/software-development-life-cycle-sdlc/

testable scenarios:

[ ] alice locks some funds, and

[ ] alice is able to withdraw them before deadline
[ ] unable to withdraw after the deadline
[ ] bob is unable to withdraw before the deadline
[ ] bob is able to withdraw after deadline
[ ] charlie is unable both before and after deadline

Can multiple people lock some funds for Rachel to withdraw after the deadline?

Can multiple people lock some funds for Rachel to withdraw after the deadline?
And then you can add some more layers and start thinking about "safety", what happens if there's a rollback, what happens if there's a hard fork?
About security, try to think of what are the important assets in your DApp and how someone could compromise it, how could someone game my contract to get an advantage? What happens if someone can batch some transactions in a custom way? If someone can validate blocks and see the transactions before they're on the chain? could they craft a transaction to gain something, could they order transactions such that they gain something? Can someone gain unwanted rights just by exploring the chain , checking transactions/datums and deducing how they need to interact with the contract to gain something?
Performance issues could also be tested. What happens if a lot of people tries to interact with the Dapp at the same time? If you rely on third parties, what happens if they're too slow, or too fast, if they don't answer as you expected?
You don't have to do all of this, of course, but the more you do, the more confident you are at the end.

the additional layers of thinking make sense as well.  Much empathy for keeping on track of developing essential skills.
Romain, we could come up with some demonstrations of hypothetical scenarios that match some of your big-picture considerations, as a way of exposing people to both the concept and some (im)practical examples around those concepts

I feel like yes but I never heard the term before. The "integration test" which can look like scenarios are designed to see that the software reaches the state you expect from the requirements. A nice thing (in theory at least, in practice it's much harder) is that they're expected to reach a high code coverage after those tests because every test trace back to a requirement, code should also all trace back to a requirement so covering requirements from testing should cover code as well.

For super critical software, the team that design the tests and the team that develops the code are not the same, it is expected to write test and code in parallel and to only ship when they "agree". In a sense, it makes sure that two different teams understood the requirements in the same way

Mockable code and other test spies can be a way to get some of these things, and good code structure as well.  Still, other angles are always interesting for me


Add support for mas platform and arm architecture

Seeing as Electron already provides mas (Mac App Store) and arm architecture builds for Linux, I see no reason not to implement this into nativefier.

Hi! Forgive me if I misunderstand you, but it is not planned, as the intention is for you to create apps for your own distribution or to share with friends. It's not really intended for users to put the apps you have created up on the app store.

Sorry to bump an old closed topic, but why not have armv7l support? I tried hacking it into the nativefier/lib/infer/inferOs.js file and the test passes but it still doesn't work, failing like this:
jake@devotron:~/repos/nativefier$ nativefier --platform linux --arch armv7l "https://www.youtube.com/tv"   packaging [==============================                    ] 60% [Error: Unsupported arch armv7l; must be one of: ia32, x64]   packaging [========================================          ] 80%jake@devotron:~/repos/nativefier$

Please consider ARM support, for Raspberry Pi 3 and Pyra will be able to use Nativefier if you do.


Short solution needed: "How to change loglevel" (ffmpeg)

Please help us write most modern and shortest code solution for this issue:
How to change loglevel (technology: ffmpeg)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to change loglevel