No graphical interface appears

(LoLLMS-webui) G:\lollms-webui-main>python app.py
Configuration file is very old. Replacing with default configuration
Added entries : [], removed entries:[]
******************* Building Binding from main Process *************************
Loading binding None install ON
Couldn't build binding.
unsupported operand type(s) for /: 'WindowsPath' and 'NoneType'
******************* Building mounted Personalities from main Process *************************
english/generic/lollms
Loading from C:\ProgramData\Anaconda3\envs\gpt4all-webui\lib\site-packages\lollms\personalities_zoo\english\generic\lollms
************ Personalities mounted (Main process) ***************************
Checking discussions database...
Please open your browser and go to http://localhost:9600 to view the ui
debug mode:false
******************* Building Binding from generation Process *************************
Loading binding None install ON
Traceback (most recent call last):
File "G:\lollms-webui-main\api_init_.py", line 222, in rebuild_model
self.binding = self.load_binding(self.config["binding_name"], install=True)
File "G:\lollms-webui-main\api_init.py", line 141, in load_binding
binding_path = self.lollms_paths.bindings_zoo_path/binding_name
TypeError: unsupported operand type(s) for /: 'WindowsPath' and 'NoneType'
Couldn't build binding
unsupported operand type(s) for /: 'WindowsPath' and 'NoneType'
******************* Building mounted Personalities from generation Process *************************
english/generic/lollms
************ Personalities mounted (Generation process) ***************************
Personality set successfully
Launching config verification thread
Launching cancel verification thread
Launching clear verification thread
No model loaded. Waiting for new configuration instructions
Listening on :http://localhost:9600

Hi, let me test and I'll answer you

Ok. I tryed to do an installation and it worked. I think I have seen this problem in other people's setup.
Do you have an antivirus? Some of them are so dump that they block any javascript that is compressed. And our vue.js frontend is actually compressed javascript as we build it.
You can try to use the dev mode if you already have node.js installed on your pc. Just go to web folder and install dependencies :
npm install

Then run the server:
npm run dev

Now use the link that you receive to open the front end.

Ok. I tryed to do an installation and it worked. I think I have seen this problem in other people's setup. Do you have an antivirus? Some of them are so dump that they block any javascript that is compressed. And our vue.js frontend is actually compressed javascript as we build it.
You can try to use the dev mode if you already have node.js installed on your pc. Just go to web folder and install dependencies :
npm install

Then run the server:
npm run dev

Now use the link that you receive to open the front end.

how to resolve it

Hey!
I have the exact same problem as the OP with the last version of lollms-webui (which is my first version, I just discovered your tool), under Windows 10 Entreprise x64 21H2, and Avast antivirus with disabled agents.

If you use npm run. Make sure you have also launched the backend python app.py
The npm run will only run the front end and it needs the backend to be running

Well, ain't the batch supposed to do everything required, as mentioned in the "Easy Install" part of the readme?
Here's the relevant part of my log :
Launching application...
Configuration file is very old. Replacing with default configuration
Added entries : [], removed entries:[]
******************* Building Binding from main Process *************************
Loading binding None install ON
Couldn't build binding.
unsupported operand type(s) for /: 'WindowsPath' and 'NoneType'
******************* Building mounted Personalities from main Process *************************
english/generic/lollms
Loading from C:\Windows\System32\lollms-webui\env\Lib\site-packages\lollms\personalities_zoo\english\generic\lollms
************ Personalities mounted (Main process) ***************************
Checking discussions database...
Please open your browser and go to http://localhost:9600 to view the ui
debug mode:false
******************* Building Binding from generation Process *************************
Loading binding None install ON
Traceback (most recent call last):
File "C:\Windows\System32\lollms-webui\api_init_.py", line 222, in rebuild_model
self.binding = self.load_binding(self.config["binding_name"], install=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\lollms-webui\api_init.py", line 141, in load_binding
binding_path = self.lollms_paths.bindings_zoo_path/binding_name
~~~~~~~~~~~~~~~~~~~~~~~^
TypeError: unsupported operand type(s) for /: 'WindowsPath' and 'NoneType'
Couldn't build binding
unsupported operand type(s) for /: 'WindowsPath' and 'NoneType'
******************* Building mounted Personalities from generation Process *************************
english/generic/lollms
************ Personalities mounted (Generation process) ***************************
Personality set successfully
Launching config verification thread
Launching cancel verification thread
Launching clear verification thread
No model loaded. Waiting for new configuration instructions
Listening on :http://localhost:9600
It's weird that I find an environment into my C:\Windows\System32 folder. And those bindings which can't be created. Is there a problem of "" and "/" maybe (Windows uses \ and linux / if I remember correctly) ?
I'm sorry, I'm a noob ! ^^

same problem

I had a similar issue with windows. The browser was complaining of an unexpected MIME type. Fixed in Regedit it by changing Computer\HKEY_CLASSES_ROOT.js content type in  to application/javascript.

Hi and sorry for being late, I was very buzzy lately.
Normally for most people and browsers, this works out of the box. Juts run webui.bat or now we also have c_webui.bat if you want to use conda instead of venv, things work. But some browser configurations are giving me nightmares. For example, some of them doesn't like that I have compressed javascript and they just assume it is harmful or whatever.
This ui is made using vue.js, and compiled to become a static interface. And the compiler just compresses the javascript to gain space, which makes it difficult to read. I have tested this on multiple PCs with different configurations and i never had those errors so it is really difficult for me to fix this for every one.
It is a personal project (not a corporation or a company or anything like that). Just me wanting to do something cool to have fun with. And when you use a fun project you are expected to be a little hacky and accept to play around and try to make it work and when it does, you can share your knowledge with people who want to do this. And that's how we can move forward.
I can't be everywhere all the time. I have a day job and can only work at night or weekends and prefer spending more time on building new features rather than fixing very specific bugs for each individual.
I don't want to sound harsh, but yeah, it is not a professional project. Maybe if people want to help me build it it can get better. For now I'm basically coding alone with some other guy who helps only on the frontend. And beleive me, this project is huge, if you factor in lollms and lollms-webui with the 260 personalities and 9 bindings built in three months at nights (some days I worked up to 4am), you should expect bugs.
I appreciate any help on the testing and figuring out how to fix things front.
This project is 100% free. I'm not gaining money out of it, my youtube channel is not monitized, nor do I offer subscriptions or pation.
I do this for fun and for others who want to test this new technology.  I hope at one point it will be stable anough for people to start appreciating it.

FYI, it's a CORS issue with the webserver being used. It plagues nearly all default of the npm web server. I don't know what the fix is in code, I'm not a npm guy, but you can try changing your browser address to <IP_ADDRESS>:9600 instead of localhost. Maybe this will be enough hint to the devs to find the culprit. CORS/XSS rules basically prevent accessing a code-asset (i.e. vue.js) from one domain (localhost) to another domain (<IP_ADDRESS>). I had this trick work for me on a similarly-configured stable-diffusion project's web-ui.

Hi @Terristen and thank you for the reply.
I actually explicitely implement CORD policy to allow access from some domains. You can look at the Flask server creation where I do enable that:
app = Flask("GPT4All-WebUI", static_url_path="/static", static_folder="static")
socketio = SocketIO(app,  cors_allowed_origins="*", async_mode='gevent', ping_timeout=1200, ping_interval=4000)

I'll think about this if I get the time

I have similar issue and editing Regedit solved it, thank you @edcredegas! Still waiting for the official patch though, editing Regedit is probably dangerous and shouldn't be necessary.

I solved this issue:
I posted it as another issues because I'm not used to incrementing other people repos:
https://github.com/ParisNeo/lollms-webui/issues/343
Basically:
Add
import mimetypes
mimetypes.add_type('application/javascript', '.js')
mimetypes.add_type('text/css', '.css')

to line 57 of app.py (before flask import)

hi, did it work since?

I faced this issue with the system browser (Edge). None of the fixes suggested above worked. Tried (more or less in this order):

npm install / npm run -- there are no scripts in package.json any more
opening in firefox (same blank page)
registry edit
opening <IP_ADDRESS>:9600 instead of localhost

Then I opened in Chrome instead of Edge, went to localhost:9600 and the page opened successfully. I don't know if it was the registry edit that did it or if it would have worked in Chrome if I'd opened it first.

Please reset the cache in order to get the latest version of the webui. I have upgraded the pydantic typing on all endpoints and so some of the endpoint calls of the old webui are no more compatible.
Pydentic helps me protect the server side from sql injections and other injection stuff.

I just did a fresh install, and I'm having this error. Is there a setting in my browser I can change to get it to work? Or has anyone found any solutions?

What is the backend showing? do you see some errors?

This is the output:
C:\Users\me\Desktop\LoLLMs\installer_files\lollms_env\Lib\site-packages\pydantic_internal_fields.py:151: UserWarning: Field "model_name" has conflict with protected namespace "model_".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
INFO:     Started server process [20332]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:9600 (Press CTRL+C to quit)
INFO:     ::1:60061 - "GET / HTTP/1.1" 200 OK
INFO:     ::1:60061 - "GET /assets/index-c19a73f0.js HTTP/1.1" 200 OK
INFO:     ::1:60062 - "GET /assets/index-8e397dc7.css HTTP/1.1" 200 OK
This is the output in the developer tools in the webpage:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

Actually, during installation, I have noticed a few times that it says "The syntax of the command is incorrect". Maybe something is also going wrong during installation?

I just tried the registry edit, and it fixed the problem. Will this have an effect on anything else I use my computer for?

I don't think so

am getting the same error
Field "model_name" has conflict with protected namespace
how did you get around it?

Hi, that is a simple warning. i'll fix it some time when I heal. As I am a little ill those days.


Getting error while swapping tokens

Below is my code, Please check i have tried several things but still same issue,
require("buffer");
const TonWeb = require("tonweb");
const { DEX, pTON } = require("@ston-fi/sdk");
const { TonClient, WalletContractV3R2, internal } = require("@ton/ton");
const { mnemonicToPrivateKey } = require("@ton/crypto");

async function swap() {
  const JETTON0 = "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs";
  const JETTON1 = "EQA2kCVNwVsil2EM2mB0SkXytxCqQjS4mttjDpnXmwG9T6bO";
  try {
    const provider = new TonWeb.HttpProvider(
      "https://toncenter.com/api/v2/jsonRPC",
      {
        apiKey:
          "77da25e17ae08135df5518eedcc919eec30d3f5b18ae5b67122bc1ba1930d99a",
      }
    );
    const router = new DEX.v1.Router({
      tonApiClient: provider,
    });

    // Create Client
    const client = new TonClient({
      endpoint: "https://toncenter.com/api/v2/jsonRPC",
      apiKey:
        "77da25e17ae08135df5518eedcc919eec30d3f5b18ae5b67122bc1ba1930d99a",
    });

     const mnemonics = [// phrase];

      const keyPair = await mnemonicToPrivateKey(mnemonics);
    const workchain = 0;
    const wallet = WalletContractV3R2.create({
      workchain,
      publicKey: keyPair.publicKey,
    });
    const contract = client.open(wallet);

    const swapTxParams = await router.buildSwapTonToJettonTxParams({
      userWalletAddress: wallet.address.toString(),
      proxyTonAddress: pTON.v1.address,
      offerAmount: new TonWeb.utils.BN("1000000000"),
      askJettonAddress: "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs", // USDT
      minAskAmount: new TonWeb.utils.BN("1"),
      queryId:<PHONE_NUMBER>,
    });

    const balance = await contract.getBalance();

    const seqno = await contract.getSeqno();
    console.log("swapTxParams-----------", swapTxParams);
    const transfer =  contract.createTransfer({
      seqno,
      secretKey: keyPair.secretKey,
      messages: [
        internal({
          to: swapTxParams.to ,
          value: swapTxParams.gasAmount,
          body: swapTxParams.payload,
        }),
      ],
    });

    console.log("Wallet Balance:---------------", balance,);
  } catch (error) {
    console.error("Error occurred during swap:", error);
  }
}

swap();

The error is in the missed mapping of the swapTxParams.to and swapTxParams.payload fields from the tonweb format to the format expected by the @ton/ton package.

Please check this DOCs section with the example of sending swap via the @ton package
In the latest version of the SDK, we moved from the ton web package, so this transformation is no longer needed if you are using @ston-fi/sdk:1.0.0 or higher. Here is the migration guide if you want to migrate to the latest version https://docs.ston.fi/docs/developer-section/sdk/0.5-migration-guide


How to ?

n original multiplayer, the virus explosion changed it with this:
   var splitMass = Math.min(consumer.mass / (numSplits + 1), 24); // Maximum size of new splits
the '24' is the virus explosion cells , in big and small cells , how to do that with the new virus.js ? pls help me.

If the variable doesn't exist, it was probably changed. This is not the same as Ogar or MultiOgar.


Option to start Discord if it's not already running

Sometimes after a restart, Discord isn't launched when I run the program. This can be due to it updating and not having the pipe available yet, or it may simply not be launched. I think the program should:

Wait a few moments if the Discord updater or Discord is found but the pipe isn't ready yet
Occasionally re-scan for Discord and attempt to re-establish the pipe if it isn't present (this could be a config option if performance is an issue)

Simple .bat, should be simple to incorporate into the code.
TASKLIST | FINDSTR ProgramName || START "" C:\Users\%username%\AppData\Local\Discord\app-1.0.9002\Discord.exe"
@colinhartigan

Nor discord-game-sdk, nor discord RPC provides functionality to do it. Only thing that can be implemented is checking every 5 seconds if pipe exists (\\\\?\\pipe\\discord-ipc-<id>).

Couldn't the return Discord.Result.NotRunning from the function RunCallbacks in discord game sdk be used to check if discord is running?


Fix MonadFail and applicative return to make it compile under ghc 9.2.7 and cabal 1.8

Two changes were required to make this compile with the more recent ghc 9.2.7:

fix non-canonical "pure=return" (https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return)
add a MonadFail instance for Either Error in Parse.hs

(The rest is whitespace/formatting changes.)

Thanks @ludflu


Compilation fails with 'InvalidType doesn't have nullability'

Steps to Reproduce
I actually am still investigating why this is happening but when I try to compile/run the web version of my multi platform app, the compilation fails with the stack trace and message below.
Im hoping I can get some guidance on why this type of error occurs so I can try to nail it down.
Note, mobile compilation works without issues
Syncing files to device Web Server...

Failed to compile application.

Logs

[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Mac OS X 10.15.4 19E287, locale en-NL)
    • Flutter version 1.18.0-11.1.pre at /usr/local/Cellar/flutter/0.5.1
    • Framework revision 2738a1148b (2 weeks ago), 2020-05-13 15:24:36 -0700
    • Engine revision ef9215ceb2
    • Dart version 2.9.0 (build 2.9.0-8.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/mustuhfa/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2020.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.44.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • SM T580    • 52007eeafeb1b44f • android-arm    • Android 8.1.0 (API 27)
    • Web Server • web-server       • web-javascript • Flutter Tools
    • Chrome     • chrome           • web-javascript • Google Chrome 81.0.4044.138

Hi @muzzah
could you provide your flutter run -d web-server --verbose?

I seem to solve this problem, was with a dependency that did not have web support.

We should crash with a better error than this then, re-opening

"I seem to solve this problem, was with a dependency that did not have web support." - Can someone please elaborate what the problem was?

dependency

Could you please elaborate? I have the same problem.
I have below dependencies
dependencies:
flutter:
sdk: flutter
mobx: ^1.1.1
provider: ^4.0.5
flutter_mobx: ^1.1.0
introduction_screen: ^1.0.8
shared_preferences: ^0.5.6+3
font_awesome_flutter: ^8.8.1
carousel_slider: ^2.0.0
firebase_core: ^0.4.4+3
cloud_firestore: ^0.13.5
stripe_payment: ^1.0.7
firebase_auth: ^0.16.0
google_sign_in: ^4.4.3
flutter_credit_card: ^0.1.3
json_annotation: ^3.0.1
barcode_scan: ^3.0.1
qr_flutter: ^3.1.0
numberpicker: ^1.2.0
collection: ^1.14.12
css_colors:
firebase_storage: ^3.1.5
progress_dialog: ^1.2.2
flutter_sticky_header: ^0.4.2
badges: ^1.1.0
auto_size_text: ^2.1.0
dio: ^3.0.9
http: ^0.12.1
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.3
dev_dependencies:
flutter_test:
sdk: flutter
build_runner:
mobx_codegen: ^1.0.3
path_provider: ^1.6.5
json_serializable: ^3.3.0

I seem to solve this problem, was with a dependency that did not have web support.

Could you please elaborate?

@pmdatgithub I am using moor package for storing data and without following some steps, it does not support web. I completed those steps to enable web support (conditional importing of certain files) and the error went away and web compilation worked again

flutter run -d web-server --verbose
This command does help by telling you exactly where the error is in project and yes the error is related to web when you use certain package in your project which does not have web support.

@pmdatgithub I am using moor package for storing data and without following some steps, it does not support web. I completed those steps to enable web support (conditional importing of certain files) and the error went away and web compilation worked again

@muzzah Could you specify what changes you made? I'm having the same issue and following the guide provided by the creator of Moor isn't sufficient. Do you mind sharing the changes you made in order to make Flutter web work with Moor?

@Garrison88 Have a look at https://moor.simonbinder.eu/web/
You can find an example project there. The magic is when creating the database object. You have to conditional import the database type.

I've followed the steps in that article and also looked through the sample code to fix my issue, but I'm still getting the same error. I hope we can see a more helpful error message soon

Update
I was able to solve my issue by removing all the unused imports in my project

I just run the command
-> flutter pub get
if you are connected to any github repositories then run above command after doing git stash.

I tried to replicate this using latest master version and added a community plugin which doesn't have web support, ex: https://pub.dev/packages/moor2csv/install, ran flutter run -d web-server and also flutter run -d chrome with which I didn't get the originally reported error or a similar one.
Based on this, I am going ahead and closing this as not replicable. If anybody disagrees, write in comments and I'll reopen it.


ORA-01722: wired error found in the log from time to time

ERROR:cherrypy.error:Fri Sep 12 10:57:50 2014 dbsException-server-error: DBSReaderModel/listRun. (DatabaseError) ORA-01722: invalid number
"\n    WITH TOKEN_GENERATOR AS (\n    SELECT REGEXP_SUBSTR(:token_0, '[^,]+', 1, LEVEL) token\n        FROM DUAL\n        CONNECT BY LEVEL <= LENGTH(:token_0) - LENGTH(REPLACE(:token_0, ',', '')) + 1\n        )\n\tSELECT DISTINCT FL.RUN_NUM\n\tFROM cms_dbs3_prod_phys03_owner.FILE_LUMIS FL WHERE  fl.RUN_NUM in (SELECT TOKEN FROM TOKEN_GENERATOR) " {'token_0': 'Hydjet1p8_TuneDrum_Quenched_MinBias_2760GeV/pythia_ZToEE_2760GeV_PbPb_Embedded_RECO_v2/USER'}
. Exception trace:
Traceback (most recent call last):
File "/data/srv/beHG1409e/sw/slc5_amd64_gcc461/cms/dbs3/3.2.5/lib/python2.6/site-packages/dbs/web/DBSReaderModel.py", line 1007, in listRuns
return self.dbsRun.listRuns(run_num, logical_file_name, block_name, dataset)
File "/data/srv/beHG1409e/sw/slc5_amd64_gcc461/cms/dbs3/3.2.5/lib/python2.6/site-packages/dbs/business/DBSRun.py", line 38, in listRuns
ret = self.runlist.execute(conn, run_num, logical_file_name, block_name, dataset, tran)
File "/data/srv/beHG1409e/sw/slc5_amd64_gcc461/cms/dbs3/3.2.5/lib/python2.6/site-packages/dbs/dao/Oracle/DatasetRun/List.py", line 84, in execute
cursors = self.dbi.processData(sql, binds, conn, transaction=trans, returnCursor=True)
File "/data/srv/beHG1409e/sw/slc5_amd64_gcc461/cms/dbs3/3.2.5/lib/python2.6/site-packages/WMCore/Database/DBCore.py", line 179, in processData
returnCursor=returnCursor)
File "/data/srv/beHG1409e/sw/slc5_amd64_gcc461/cms/dbs3/3.2.5/lib/python2.6/site-packages/WMCore/Database/DBCore.py", line 65, in executebinds
resultProxy = connection.execute(s, b)
File "/data/srv/beHG1409e/sw/slc5_amd64_gcc461/external/py2-sqlalchemy/0.5.2-comp8/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 824, in execute
return Connection.executors[c](self, object, multiparams, params)
File "/data/srv/beHG1409e/sw/slc5_amd64_gcc461/external/py2-sqlalchemy/0.5.2-comp8/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 888, in _execute_text
raise exc.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect)
DatabaseError: (DatabaseError) ORA-01722: invalid number
"\n    WITH TOKEN_GENERATOR AS (\n    SELECT REGEXP_SUBSTR(:token_0, '[^,]+', 1, LEVEL) token\n        FROM DUAL\n        CONNECT BY LEVEL <= LENGTH(:token_0) - LENGTH(REPLACE(:token_0, ',', '')) + 1\n        )\n\tSELECT DISTINCT FL.RUN_NUM\n\tFROM cms_dbs3_prod_phys03_owner.FILE_LUMIS FL WHERE  fl.RUN_NUM in (SELECT TOKEN FROM TOKEN_GENERATOR) " {'token_0': 'Hydjet1p8_TuneDrum_Quenched_MinBias_2760GeV/pythia_ZToEE_2760GeV_PbPb_Embedded_RECO_v2/USER'}

Checked again and not found ORA-01722. We close this issue. Will open a new one or reopen this one if we find ORA-01722 again.


More type annotations for literals.

The flutter package gets more types!
Follow-up from: https://github.com/flutter/flutter/pull/3727.

cc @Hixie @abarth

Thanks @pq!


Downloading large folder of small files in Storage Explorer UnexpectedQuit File Creation Error too many open files

Which version of the AzCopy was used?
AzcopyVersion  10.20.1
Which platform are you using? (ex: Windows, Mac, Linux)
Mac
OS-Environment  darwin
OS-Architecture  arm64
What command did you run?
2023/08/29 13:17:03 Job-Command copy https://REDACTED.blob.core.windows.net/REDACTED/v1/tile-version-22/?se=2023-09-28t13%3A17%3A02z&sig=-REDACTED-&sp=rl&sr=c&sv=2021-10-04 /Users/daniel/Downloads --output-type=json --cancel-from-stdin --overwrite=prompt --check-md5 FailIfDifferent --from-to=BlobLocal --recursive --log-level=INFO
2023/08/29 13:17:03 Number of CPUs: 10
2023/08/29 13:17:03 Max file buffer RAM 5.000 GB
2023/08/29 13:17:03 Max concurrent network operations: 20 (Based on AZCOPY_CONCURRENCY_VALUE environment variable)
2023/08/29 13:17:03 Check CPU usage when dynamically tuning concurrency: true (Based on hard-coded default. Set AZCOPY_TUNE_TO_CPU environment variable to true or false override)
2023/08/29 13:17:03 Max concurrent transfer initiation routines: 20 (Based on AZCOPY_CONCURRENT_FILES environment variable)
2023/08/29 13:17:03 Max enumeration routines: 16 (Based on hard-coded default. Set AZCOPY_CONCURRENT_SCAN environment variable to override)
2023/08/29 13:17:03 Parallelize getting file properties (file.Stat): false (Based on AZCOPY_PARALLEL_STAT_FILES environment variable)
2023/08/29 13:17:03 Max open files when downloading:<PHONE_NUMBER> (auto-computed)
What problem was encountered?
Transfer of 'REDACTED/v1/tile-version-22/' to '/Users/daniel/Downloads' failed: 1,141 items transferred, error: UnexpectedQuit (used SAS, discovery not completed)
Started at: 29/08/2023, 14:17, Duration: 7 seconds
Log:
2023/08/29 13:17:08 ERR: [P#6-T#6550] DOWNLOADFAILED: https://REDACTED.blob.core.windows.net/REDACTED/v1/tile-version-22/10/122/pack_38.mbtiles?se=2023-09-28T13%3A17%3A02Z&sig=-REDACTED-&sp=rl&sr=c&sv=2021-10-04 : 000 : File Creation Error open /Users/daniel/Downloads/tile-version-22/10/122/.azDownload-99957df2-7c3f-c44f-71bb-c6b1124b9416-pack_38.mbtiles: too many open files
Dst: /Users/daniel/Downloads/tile-version-22/10/122/pack_38.mbtiles
2023/08/29 13:17:08 INFO: [P#6-T#6550] https://REDACTED.blob.core.windows.net/REDACTED/tile-version-22/10/122/pack_38.mbtiles?se=2023-09-28T13%3A17%3A02Z&sig=-REDACTED-&sp=rl&sr=c&sv=2021-10-04 Deleting incomplete destination file Dst: /Users/daniel/Downloads/tile-version-22/10/122/pack_38.mbtiles
2023/08/29 13:17:08 ERR: [P#6-T#6550] /Users/daniel/Downloads/tile-version-22/10/122/pack_38.mbtiles: 0: Delete File Error -remove /Users/daniel/Downloads/tile-version-22/10/122/.azDownload-99957df2-7c3f-c44f-71bb-c6b1124b9416-pack_38.mbtiles: no such file or directory. X-Ms-Request-Id:
How can we reproduce the problem in the simplest way?
Container with 1 million files, many of which are < 30 KiB but some are many MB
Have you found a mitigation/solution?
No. Have tried setting File Concurrency and Network Concurrency both to 20
ulimit -a
-t: cpu time (seconds)              unlimited
-f: file size (blocks)              unlimited
-d: data seg size (kbytes)          unlimited
-s: stack size (kbytes)             8176
-c: core file size (blocks)         0
-v: address space (kbytes)          unlimited
-l: locked-in-memory size (kbytes)  unlimited
-u: processes                       2666
-n: file descriptors                256

Hi @vivaladan, have you tried setting allowed file descriptor count to  a higher value, say 1024?

Closing due to inactivity, please reopen in case you are still experiencing this issue.


odpi/egeria-charts#155 pin jupyter image version

Signed-off-by: Nigel Jones<EMAIL_ADDRESS>
Description

Pins Jupyter lab to the version we used for release 3.9
See related issue -- it's possible some recent changes in Jupyter are breaking the lab environment (ssl/certs). This may not be the other issue, but it's prudent to pin the version to that tested - at least until we make a long term improvement (see end)
Related Issue(s)

See odpi/egeria-charts#155
Testing

Manually configured prior version for testing
Release Notes & Documentation

none
Additional notes

Long term we should move to using a regular jupyter image, rather than extending - if we can.
This makes it easier to change the version being used at deployment time

Retested after merge: This back-leveling of the Jupyter container addresses the breakage seen with ssl/certs (python 3.10).
Will revisit versions after refactoring the notebooks/containers for jupyter


As a user, when I generate passwords inside the tooltip, what's the meaning of the cursor and the intended functionality (if any)? #Help #Question

Transferred from https://github.com/buttercup/buttercup-desktop/issues/714
Regards

To extend on this: The question was answered previously - The cursor indicates that the password can be copied, single-click. Currently this doesn't work.

Is there a reason this issue is closed?
Copying password still not working for me
Sincerely

@ldexterldesign This was a question, not a bug. If you're experiencing a bug for copying then could you create a new issue? Sorry this has taken so long. I've not reproduced any copy issues in the new UI, however.. The desktop isn't currently using this library either.

Thanks for reply
Hmm, well this still isn't working in macOS for me
I'm ambivalent about whether it's fixed or not as I don't use the feature that much (perhaps I would if it worked). As long as you're aware of the issue that's the main thing.
What's this "new" UI you speak of?
Hope to hear back
Sincerely


Version 4.3.1

I added linting and prospector checks to the CI pipeline and tox environment and cleaned up some legacy from the code base. I won't be contributing much before summer or autumn after this, but I hope this makes maintaining the project a bit easier :)
It seems I forgot to put up release 4.3.0 up in the axes.version, but that shouldn't be much of an issue since I just baked a small release for that yesterday. This version is better for PyPI anyway.

Thank you


Update clap to v4

This patch just includes #202.
It needs to update the following annotations as per clap's CHANGELOG.md.

parse(from_os_str) to value_parser

For #[clap(parse(from_os_str)] for PathBuf, replace it with #[clap(value_parser)] (as mentioned earlier this will call value_parser!(PathBuf) which will auto-select the right ValueParser automatically).

multiple = true to num_args(0..)

Replace Arg::multiple_values(true) with Arg::num_args(1..)

Value in conflicts_with_all and required_unless_present to case sensitive.

(derive) Leave Arg::id as verbatim casing, requiring updating of string references to other args like in conflicts_with or requires (#3282)

This is awesome! Thanks @nak3


feat: configure credo-langauge-server version

Current dependencies on/for this PR:

main

PR #103

PR #104   👈

This comment was auto-generated by Graphite.


Be consistent about passing --log-to-stdout

The files unit passes --log-to-stdout, but the disks unit doesn't.  The option was added to the files stage invocation when we weren't yet enabling the disks stage, but the commit history (d3d31218e4aa51ad9dcff6d0684c7521f9eebe25) doesn't say why it was added at all.  We should be consistent about passing the option.
@dustymabe, can you add any context about why it was enabled?

For context on the Ignition side, this was added to allow the Ignition blackbox tests to capture logs more easily.

I think this was probably part of me trying to make sure things went to all the places we wanted them to (i.e. journal + serial console). Should we remove --log-to-stdout ? Here are some other commits where we were trying to get the logging right.
https://github.com/coreos/ignition-dracut/commit/26f2396b116286dcb46644dc157e4211aea3aba5
https://github.com/coreos/ignition-dracut/commit/495c13c86a0c1fd0a8b781b89f7317eca5110e34
https://github.com/coreos/ignition-dracut/commit/09f16fdf039d92348e05eddc64d060ecffbad317

Also related https://github.com/dracutdevs/dracut/pull/445 and https://lkml.org/lkml/2018/11/5/80


Update CODEOWNERS to add Docs team

Merged as of https://github.com/ROCm/amdsmi/commit/1b0e01d50466393a17c3ef2c3728ffa9451f069f


inplayservice subdomain updated

Coverage remained the same at 93.249% when pulling 4a330b2c69689ae84793d7b23d61fc47f15c07c7 on bugfix/221-inplayservice into 285d694b096daefe80b53eded7b5712d3cbaa4c7 on release/1.10.1.

Coverage remained the same at 93.249% when pulling 4a330b2c69689ae84793d7b23d61fc47f15c07c7 on bugfix/221-inplayservice into 285d694b096daefe80b53eded7b5712d3cbaa4c7 on release/1.10.1.

Coverage remained the same at 93.249% when pulling 4a330b2c69689ae84793d7b23d61fc47f15c07c7 on bugfix/221-inplayservice into 285d694b096daefe80b53eded7b5712d3cbaa4c7 on release/1.10.1.


latest libjxl source code fails to compile for aarch64-linux with:  ../jxl/modular/transform/palette.h:124:20: error: variable ‘std::atomic num_errors’ has initializer but incomplete type

compiling latest git of libjxl for aarch64 is currently broken with:
In file included from /usr/aarch64-unknown-linux-gnu/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/modular/transform/transform.cc:11:
/usr/aarch64-unknown-linux-gnu/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/modular/transform/palette.h: In function ‘jxl::Status jxl::InvPalette(jxl::Image&, uint32_t, uint32_t, uint32_t, jxl::Predictor, const jxl::weighted::Header&, jxl::ThreadPool*)’:
/usr/aarch64-unknown-linux-gnu/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/modular/transform/palette.h:124:20: error: variable ‘std::atomic<int> num_errors’ has initializer but incomplete type
  124 |   std::atomic<int> num_errors{0};
      |                    ^~~~~~~~~~

to reproduce download latest git sources and compile libjxl for aarch64
Environment

OS: Linux
Compiler version: gcc-10.3.1
CPU type: cross-compile from amd64 to aarch64
cjxl/djxl version string: latest git snapshot

Additional context
this is cross compile, but I don't see anything cross-compile specific about the error.
the compressed build log is attached: build.log.gz

That seems like a missing #include - could you perhaps try adding #include <atomic> to palette.h around line 15?

I guess one needs a similar line in enc_image_bundle.cc (and in other files where this happens)...
I'm not sure why this started happening now. Would you terribly mind creating a PR that adds headers until this starts compiling again? :)

well, its only these two files which have the missing include, so I can open a pullrequest.
but please be aware that my knowledge of c++ is exactly 0

I'm not interested into signing any contract with google over this, please take the patch from the pullrequest - I was only adding input from you anyway - and add it with your credentials. Thank you.


Ui element for reopening market promotion modal when closed

So if you open the following market the modal should appear automatically, but when you close it it stays closed even if you refresh(which I think we want so to not annoy users). But then we need a ui element to reopen it which we dont have yet

Example market: https://ui-git-750-promoted-markets-zeitgeistpm.vercel.app/markets/190

https://www.figma.com/file/A0OEqjIWy6jL4Rk4kT8ddr/UX%2FUI_Workflow?node-id=3970%3A22391&t=b9golff0V9Y4ljMQ-1


Document the new Room Editor

EditorRoom.md

Room Layers

This feature allows you to view (and edit) walkable areas/walk-behinds/hotspots/regions/characters/objects/edges in the same time (as opposed to only seeing one of them at a time, like we've seen before).
Well, not entirely though: walkable areas/walk-behinds/hotspots/regions still can't be seen together (as they use masks and is part of the natives dll so I skipped it for now) but they can be seen along objects, characters, and edges.

Visibility

Each layer can be made visible/hidden by the push of a button. In addition, for the objects/characters/edges layers each item in the layer can also be made visible/hidden by the push of a button. This will only affect the editor, not the actual game.

Locking

Each layer can be locked/unlocked by the push of a button. In addition, for each layer, each item in the layer can also be locked/unlocked by the push of a button.
A locked item cannot be moved until it is unlocked, useful to prevent mistakes when designing the room. This will only affect the editor, not the actual game.

I updated the image on the Room Editor, but for some reason the GitHub wiki shows the old image, but the new image it's visible in the web build here: https://adventuregamestudio.github.io/ags-manual/EditorRoom.html


Make dirname configurable for all datasets.

Summary
Some datasets use an intermediate folder in which to store the data after untarring/unzipping. The name of this folder was not configurable, unlike the other datasets, which prevented users from passing their own absolute paths unless they defined the appropriate symbolic links.
Related Issues
Closes https://github.com/keras-team/keras/issues/11385.
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[x] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[ ] This PR is backwards compatible [y/n]
[x] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

Thanks for the PR. We won't merge this PR because we don't think it would be relevant to sufficiently many users, and because API arguments should not be conditioned on implementation details.

ok, but what about path for datasets? Is there anyway to specify path destination in Keras?

ok, but what about path for datasets? Is there anyway to specify path destination for datasets in Keras?

`import os
import gzip
import numpy as np
from keras.utils.data_utils import get_file
DOC: https://github.com/keras-team/keras/blob/v2.12.0/keras/datasets/fashion_mnist.py#L28-L111
def load_data(path):
"""Loads the Fashion-MNIST dataset.
This is a dataset of 60,000 28x28 grayscale images of 10 fashion categories,
along with a test set of 10,000 images. This dataset can be used as
a drop-in replacement for MNIST.

The classes are:

| Label | Description |
|:-----:|-------------|
|   0   | T-shirt/top |
|   1   | Trouser     |
|   2   | Pullover    |
|   3   | Dress       |
|   4   | Coat        |
|   5   | Sandal      |
|   6   | Shirt       |
|   7   | Sneaker     |
|   8   | Bag         |
|   9   | Ankle boot  |

Args:
  path: path where to cache the dataset locally
    (relative to `~/.keras/datasets`).

Returns:
  Tuple of NumPy arrays: `(x_train, y_train), (x_test, y_test)`.

**x_train**: uint8 NumPy array of grayscale image data with shapes
  `(60000, 28, 28)`, containing the training data.

**y_train**: uint8 NumPy array of labels (integers in range 0-9)
  with shape `(60000,)` for the training data.

**x_test**: uint8 NumPy array of grayscale image data with shapes
  (10000, 28, 28), containing the test data.

**y_test**: uint8 NumPy array of labels (integers in range 0-9)
  with shape `(10000,)` for the test data.

Example:

```python
(x_train, y_train), (x_test, y_test) = fashion_mnist.load_data()
assert x_train.shape == (60000, 28, 28)
assert x_test.shape == (10000, 28, 28)
assert y_train.shape == (60000,)
assert y_test.shape == (10000,)
```

License:
  The copyright for Fashion-MNIST is held by Zalando SE.
  Fashion-MNIST is licensed under the [MIT license](
  https://github.com/zalandoresearch/fashion-mnist/blob/master/LICENSE).

"""
dirname = os.path.join(path, "datasets", "fashion-mnist")
base = "https://storage.googleapis.com/tensorflow/tf-keras-datasets/"
files = [
    "train-labels-idx1-ubyte.gz",
    "train-images-idx3-ubyte.gz",
    "t10k-labels-idx1-ubyte.gz",
    "t10k-images-idx3-ubyte.gz",
    ]

paths = []
for fname in files:
    paths.append(get_file(fname=fname, origin=base + fname, cache_subdir=dirname))

with gzip.open(filename=paths[0], mode="rb") as lbpath:
    y_train = np.frombuffer(buffer=lbpath.read(), dtype=np.uint8, offset=8)

with gzip.open(filename=paths[1], mode="rb") as imgpath:
    x_train = np.frombuffer(buffer=imgpath.read(), dtype=np.uint8, offset=16).reshape(
        len(y_train), 28, 28
    )

with gzip.open(filename=paths[2], mode="rb") as lbpath:
    y_test = np.frombuffer(buffer=lbpath.read(), dtype=np.uint8, offset=8)

with gzip.open(filename=paths[3], mode="rb") as imgpath:
    x_test = np.frombuffer(buffer=imgpath.read(), dtype=np.uint8, offset=16).reshape(
        len(y_test), 28, 28
    )

return (x_train, y_train), (x_test, y_test)`


Where can I find DAEMONS values list ?

In release script, list of daemons to build can be passed as argument.
If not provided script uses debian/daemons content to build the list.
I figured out we can use, for example, config-processor but could not find any complete list of available "daemons" to be built.
Is there such a list, and where ?

There is no explicit list. I think, every program with INSTALL CMake directive should work.
$ find . -name CMakeLists.txt | grep -v contrib | xargs grep -iP 'install\s*\('
./utils/config-processor/CMakeLists.txt:INSTALL(TARGETS config-processor RUNTIME DESTINATION bin COMPONENT config-processor)
./utils/compressor/CMakeLists.txt:install (TARGETS compressor RUNTIME DESTINATION bin COMPONENT compressor)
./utils/corrector_utf8/CMakeLists.txt:INSTALL( TARGETS corrector_utf8 RUNTIME DESTINATION bin COMPONENT corrector_utf8)
./dbms/src/Server/CMakeLists.txt:INSTALL(TARGETS clickhouse RUNTIME DESTINATION bin COMPONENT clickhouse)
./dbms/src/Server/CMakeLists.txt:       INSTALL(CODE "execute_process(COMMAND ln -sf clickhouse ${app} WORKING_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin\" )" COMPONENT ${app})
./dbms/src/Server/CMakeLists.txt:INSTALL(
./dbms/src/Server/CMakeLists.txt:INSTALL(
./dbms/src/Server/CMakeLists.txt:INSTALL(
./dbms/src/Client/CMakeLists.txt:install (FILES config.xml DESTINATION /etc/clickhouse-client COMPONENT clickhouse-client)

It shows, that in addition to what is already specified in daemons, you could add config-processor, corrector_utf8. These are miscellaneous utilities, I doubt you need them.

Thanks for the answer @alexey-milovidov
I'm preparing a native Debian package and therefore am trying to understand what is important and what's less important :)
Another question: how can I build & run the test suite ?
It doesn't seem to be built by default but I will need it to ensure Debian package quality :)
Cheers

To run functional tests:

Start clickhouse-server. Install clickhouse-client or make it visible in $PATH.
Go to dbms/tests directory in sources and run ./clickhouse-test.

In case of success, it will return zero exit code.
Some tests are run only if ZooKeeper is configured in /etc/clickhouse-server/config.xml
If ZK is not configured, you will get most of tests, except tests for replication.

Thanks @alexey-milovidov :)


Support dynamic queries in sql processors

Hello, could you support dynamic queries also for SQL processors like [AWS dynamo db] (https://www.benthos.dev/docs/components/processors/aws_dynamodb_partiql/) does?
Otherwise, the user has to write multiple configs for different queries.

Hey @AdrianLsk finally got around to this: https://github.com/Jeffail/benthos/commit/4d8799a7b50c9b343c5052c6bcdb7b3a658dce3c

Thanks @Jeffail. Much appreciated. You're the best!


A button for activating extension on the page

I love the simplicity of this extension. It has everything I want from an extension manager.
But you need to open Chrome Extensions menu if you want to activate an extension on the page. Is it possible to add an "Activate Extension" button so that I can finally stop using Chrome's default Extension menu for this task.

Interesting, but I don’t think it’s possible

If you have 100 or more chrome extensions, is too hard to activate the extension on the current page.
and the bad news is Chrome doesn't have an API to do that.
I think Chrome should add a built-in search control under collapsed extensions to filter extensions.

This is not a Chrome forum, we can't do anything with such suggestions 😅


preferEphemeral flag isn't exposed.

The fix for issue #96 doesn't appear to provide a way to configure the new ephemeral flag from either the OAuth2Client class or the OAUth2Client.getTokenWithAuthCodeFlow() method, so there is no way to actually make use of it.
Shouldn't preferEphemeral be passed down from higher up the call stack?

You are right, that part was missing!
I just published a new version, now you can set the flag directly in the client or in the helper. For example:
var client = OAuth2Client(...);
client.getTokenWithAuthCodeFlow(
   ...,
   webAuthOpts: {'preferEphemeral': true}
);

//Or, using the helper...
var hlp = OAuth2Helper(client,
   ...,
   webAuthOpts: {'preferEphemeral': true}):
hlp.fetchToken();

That works for me now - thank you very much.

I feel like this is pretty hard to find, had to do some research also on the dependency repo. You might want to consider adding this to the default example for Android :)


Update usage documentation

The usage documentation seems to have gone somewhat stale.  It recommends a variety of scripts rather than the nbsite executable (which seems to be recommended from within those scripts in TODO statements).  I've been trying to give this a shot, have gotten as far as
nbsite init
nbsite generate-rst --examples . --project-name "Dask Examples"

However I still have questions like the following:

Is there a way to pre-run my notebooks automatically?
How do I build HTML docs after I have the rst
(presumably more will come after that)

Any help would be welcome

Yes, it's definitely stale.  Yes, there is a way to run the notebooks automatically; e.g. Panel is built automatically on a git tag.  See https://github.com/pyviz/panel/blob/master/.travis.yml for the setup for that particular project.  Unfortunately, we have dozens of projects and none is yet truly in the form that is intended.  Panel is the most recent of those, but isn't necessarily fully set up because it's not released yet.  (And its website is still quite incomplete!)

I apologize for the state in which you've found the documentation. Yes, it's out of date and incomplete, which is ironic given what this project is about :(
Quick excuse... The priority so far has been using this tool for sites we ourselves have needed (http://pyviz.org, http://datashader.org, http://geoviews.org, https://hvplot.pyviz.org, https://earthsim.pyviz.org, etc). Meanwhile, I'm slowly adding a more reasonable interface to make nbsite simpler to use, and it's that I want to document rather than the current horrible interface - but the new interface isn't finished yet. Hence no announcement of this project, and it's still at some early 0.something version.
I'll try to outline the steps for you here and also answer your questions. Before you spend more time, though, you should know:

It's not yet straightforward to style nbsite-generated sites, so you'll end up with something that looks like one of the above example sites.
The less your project folder structure looks like "the standard pyviz structure" (which I'll describe below), the less chance nbsite will work (i.e. it ought to work with a different structure, but may not have been tested yet).
The less your project uses pyviz-related tools for visualization (e.g. holoviews), the less chance visualizations/widgets will work.
The project really is a work in progress, so you'll surely encounter problems and confusion.

Travis files for the above-mentioned sites show the steps required to build those sites. However, the travis files are in various states of migration, including towards using a simpler nbsite interface, so they are not easy to follow :( Probably the simplest right now is https://github.com/ioam/param/blob/master/.travis.yml#L132, which shows nbsite in use to generate a simple site, https://ioam-docs.github.io/param-dev/index.html.
The result of nbsite init followed by editing of doc/conf.py has already been committed to the repository, but all the other steps are there:

Generate rst files in ./doc based on notebooks in ./examples: nbsite generate-rst --org ioam --project-name param --repo param --examples=./examples --doc=./doc . (The repository information is because e.g. links are generated to download the notebooks from github.)

(optional, probably best to skip this to start with) Generate API docs: mkdir doc/Reference_Manual && nbsite_generate_modules.py param -d ./doc/Reference_Manual -n param -e tests

Build the html and put in ./builtdocs; includes running the notebooks, unless they have already been run by a previous execution and haven't changed: nbsite build --what=html --examples=examples --doc=doc --output=builtdocs --examples-assets='' .

That should be it - you should be able to run something like python -m http.server from builtdocs/html. The other steps after that in the .travis file don't necessarily need to be run; they are for removing some files (e.g. the executed notebooks) and making the site work with github pages.
The typical/expected 'pyviz' structure is something like:

project/doc - generated by nbsite init, then manually edit conf.py.
project/examples/index.ipynb - root/homepage
project/examples/assets - any images etc used by the notebooks (and the notebooks refer to such assets using a relative path)
project/examples/User_Guide/index.ipynb - contents page for User Guide
project/examples/User_Guide/01_Some_Notebook.ipynb
project/examples/User_Guide/02_Another_Notebook.ipynb (etc)

There can be multiple collections of notebooks, e.g. project/examples/User_Guide, project/examples/Tutorial, etc (see the various projects mentioned earlier). If notebooks are named like 01_The_Notebook.ipynb, 02_Another_Notebook.ipynb, they'll appear in that order in the side navigation bar. Their titles will be taken from the filenames, though this can be overridden by editing the generated rst (and whether to skip some initial cells, e.g. a cell containing a title, can be specified).

The less your project uses pyviz-related tools for visualization (e.g. holoviews), the less chance visualizations/widgets will work.

Note that Bokeh plots are "pyviz-related" whether or not they were generated with holoviews, and at least when I've tested them the various Dask visualization tools have been fine on the nbsite-generated website (e.g. http://datashader.org/topics/osm.html).

Is it possible to get an update on this comment for the latest nbsite?


[Bug Report] ttnn.reshape produces mismatching results when input is TILE vs ROW_MAJOR

Describe the bug
When calling ttnn.reshape for certain input and output sizes, the output values are different depending on whether the input was tilized or row major.
To Reproduce
import ttnn
import torch

input_shapes = ((1, 56, 56, 64), (1, 28, 28, 16))
output_shapes = ((1, 1, 3136, 64), (1, 1, 784, 16))

def test(input_shape, output_shape):
    arg0_1 = torch.rand(input_shape, dtype = torch.bfloat16)

    with ttnn.manage_device(device_id=0) as device:
        ttnn_from_torch_1 = ttnn.from_torch(arg0_1, layout = ttnn.TILE_LAYOUT, device = device, dtype = ttnn.bfloat16)
        ttnn_reshape_1 = ttnn.reshape(ttnn_from_torch_1, output_shape)
        ttnn_reshape_1 = ttnn.to_torch(ttnn_reshape_1)

        ttnn_from_torch_2 = ttnn.from_torch(arg0_1, layout = ttnn.ROW_MAJOR_LAYOUT, dtype = ttnn.bfloat16)
        ttnn_reshape_2 = ttnn.reshape(ttnn_from_torch_2, output_shape)
        ttnn_reshape_2 = ttnn.to_torch(ttnn_reshape_2)

    print(f"input_shape: {input_shape}, output_shape: {output_shape}")
    print("TILE_LAYOUT on device:")
    print(ttnn_reshape_1)
    print("ROW_MAJOR_LAYOUT:")
    print(ttnn_reshape_2)
    print("torch.allclose:", torch.allclose(ttnn_reshape_1, ttnn_reshape_2))

for input_shape, output_shape in zip(input_shapes, output_shapes):
    test(input_shape, output_shape)

Expected behavior
Calling ttnn.reshape with input shape (1, 56, 56, 64) and output shape (1, 1, 3136, 64) does not produce matching outputs when input tensor is in TILE_LAYOUT vs ROW_MAJOR_LAYOUT. Notice the trailing 0s in the output tensor for the TILE_LAYOUT process.
input_shape: (1, 56, 56, 64), output_shape: (1, 1, 3136, 64)
TILE_LAYOUT on device:
TorchTensor([[[[0.6328, 0.6836, 0.0312,  ..., 0.0234, 0.4258, 0.5859],
               [0.6406, 0.0664, 0.2109,  ..., 0.3047, 0.8828, 0.4766],
               [0.6133, 0.4844, 0.1523,  ..., 0.8047, 0.7422, 0.2578],
               ...,
               [0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000],
               [0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000],
               [0.0000, 0.0000, 0.0000,  ..., 0.0000, 0.0000, 0.0000]]]],
            dtype=torch.bfloat16)
ROW_MAJOR_LAYOUT:
TorchTensor([[[[0.6328, 0.6836, 0.0312,  ..., 0.0234, 0.4258, 0.5859],
               [0.6406, 0.0664, 0.2109,  ..., 0.3047, 0.8828, 0.4766],
               [0.6133, 0.4844, 0.1523,  ..., 0.8047, 0.7422, 0.2578],
               ...,
               [0.9219, 0.4570, 0.9961,  ..., 0.3203, 0.4336, 0.9961],
               [0.8984, 0.8828, 0.5547,  ..., 0.4219, 0.3672, 0.6172],
               [0.8438, 0.1406, 0.1484,  ..., 0.1094, 0.2539, 0.5078]]]],
            dtype=torch.bfloat16)
torch.allclose: False

For the following input and output shapes, the output values match as expected.
input_shape: (1, 28, 28, 16), output_shape: (1, 1, 784, 16)
TILE_LAYOUT on device:
TorchTensor([[[[0.5859, 0.9492, 0.6172,  ..., 0.0078, 0.5078, 0.2812],
               [0.2539, 0.6992, 0.4453,  ..., 0.1172, 0.9648, 0.1094],
               [0.9883, 0.1914, 0.3633,  ..., 0.2148, 0.2266, 0.2930],
               ...,
               [0.5156, 0.8477, 0.5117,  ..., 0.0039, 0.1094, 0.6328],
               [0.5469, 0.9375, 0.4688,  ..., 0.8750, 0.9492, 0.0586],
               [0.4727, 0.8945, 0.5586,  ..., 0.3125, 0.9688, 0.6250]]]],
            dtype=torch.bfloat16)
ROW_MAJOR_LAYOUT:
TorchTensor([[[[0.5859, 0.9492, 0.6172,  ..., 0.0078, 0.5078, 0.2812],
               [0.2539, 0.6992, 0.4453,  ..., 0.1172, 0.9648, 0.1094],
               [0.9883, 0.1914, 0.3633,  ..., 0.2148, 0.2266, 0.2930],
               ...,
               [0.5156, 0.8477, 0.5117,  ..., 0.0039, 0.1094, 0.6328],
               [0.5469, 0.9375, 0.4688,  ..., 0.8750, 0.9492, 0.0586],
               [0.4727, 0.8945, 0.5586,  ..., 0.3125, 0.9688, 0.6250]]]],
            dtype=torch.bfloat16)
torch.allclose: True

Please complete the following environment information:

OS: Ubuntu 20.04
Version of software: 0.53.1rc2 Grayskull

@kevinwuTT , can we attach this to any aten operation in scope of any of the pytorch sprints?

@ayerofieiev-tt I came across this issue with test_conv2d when removing layout changes and I got mismatching results. Our current aten.convolution lowering uses reshapes.

This issue is resolved in this PR https://github.com/tenstorrent/tt-metal/pull/15572


Basic statistics doc page and summarizing modules

resolve #15
Note

Add documentation page for summary
Add summarizer module

Codecov Report

Merging #19 (8c832d6) into update-0.0.2 (068c9e2) will decrease coverage by 6.60%.
The diff coverage is 0.00%.

:exclamation: Current head 8c832d6 differs from pull request most recent head 7312ede. Consider uploading reports for the commit 7312ede to get more accurate results

@@               Coverage Diff                @@
##           update-0.0.2      #19      +/-   ##
================================================
- Coverage         37.45%   30.84%   -6.61%
================================================
  Files                12       11       -1
  Lines               251      214      -37
  Branches             40       34       -6
================================================
- Hits                 94       66      -28
+ Misses              157      148       -9

Impacted Files
Coverage Δ

miv/statistics/summarizer.py
0.00% <0.00%> (ø)

miv/signal/spike/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

miv/signal/spike/detection.py
0.00% <0.00%> (-38.30%)
:arrow_down:

miv/typing.py
100.00% <0.00%> (ø)

miv/signal/spike/protocol.py

Continue to review full report at Codecov.

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


Duplicated Dynamic Content token in GrapesJS email builder

This PR is to solve the issue raised here - https://github.com/mautic/mautic/issues/11291

@cla-bot check

@escopecz in this repo we don't have the same branches that are used in mautic/mautic as this is the GrapesJS Preset.
That being said, in the past we have created a companion PR in mautic/mautic with the changes from the preset as that makes it much easier to test the PR in context without having to build the preset etc. @adiux do we still want to do this, and if so, do we have this documented anywhere? If not, it would make sense to do so I think?
Thanks for testing @ekkeguembel!

@all-contributors please add @irfanhanfi for code

@all-contributors please add @ekkeguembel for userTesting

https://github.com/all-contributors please add @escopecz for Review

@all-contributors please add @escopecz for Review

@all-contributors please add @volha-pivavarchyk for userTesting


[iOS] Cache speaker icon's image

Issue

close #778

Overview (Required)

Cache speaker icon's image on timeline

Links

Nuke - LRU Memory Cache

Screenshot
No UI changes.

Before
After

You can check that the speaker icon's image is cached by following the steps below!
Thank you for your help in advance.😄

Run the app and display the timeline page.
Switch to other pages such as announcements and floor map.
Finally, switch to the timeline page within the cache storage time of 120 seconds.

Then, speaker Icon's cached can confirm that ImagePipeline.shared.loadImage  is displayed without being called.
If you use breakpoint or Step Over, it will be easier to confirm.
In this part!

@ry-itto
Improved!
Could you please check when you have time🙇♂

@ry-itto
Thank you for checking😊
Fixed related section!


Image problem [BUG] - Problem with app

Describe the bug
A clear and concise description of what the bug is.
After installation, I see a mobile image on the Android TV box Small narrow image, you can hardly install it any furthe
r
Smartphone (please complete the following information):
Device Nvidia Shield TV pro

Device: [e.g. Pixel 4a]
Android Version: [e.g. Android 13]
Android 11
App Version [e.g. 3.3.3]

Problem: it gives a mobile on the TV and no TV appearance

app 3.4.7

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots (Only if necessary)
Additional context
Add any other context about the problem here.

This is fixed now in latest nightly as described in #252


#5884 Avro Maps can't be flattened in Kafka Indexing

Solved issue https://github.com/apache/incubator-druid/issues/5884 by @varaga

Oops, I just noticed that this isn't a dupe, but instead a PR against 0.12.3. We don't merge PRs into previously released branches; if we need to make a new 0.12.x release, we will create a new branch and backport commits from the master branch. Since #7258 is against master, could you close this PR? Thanks!

Closing since #7258 was merged to master.


fix infinite loop in Fri.sample_indices()

The Issue
test_fri.py, test_stark.py, test_fast_stark.py are unable to complete due to an infinite loop within the Fri prover.
What Caused It
The previous commit fixed an off by one error within Fri.prove() whereby the length of a one time reduced size codeword was incorrectly being passed in as the original size.
top_level_indices = self.sample_indices(
    proof_stream.prover_fiat_shamir(),
    len(codewords[1]),    # <---- incorrect part on line 122
    len(codewords[-1]),
    self.num_colinearity_tests
    )

The was changed to:
top_level_indices = self.sample_indices(
    proof_stream.prover_fiat_shamir(),
    len(codewords[0])/2,  # <--- correction in the previous commit
    len(codewords[-1]),
    self.num_colinearity_tests
    )

However, the original value should not have been divided by 2. This results in an infinite loop within Fri.sample_indices(). As a result, the modulo operation on line 34 always results in zero.
def sample_index( byte_array, size ):
    acc = 0
    for b in byte_array:
        acc = (acc << 8) ^ int(b)

    return acc % size    # <---- always zero

As a result, within  the while loop in sample_indices(), the length of the indices list never increments beyond 1, causing the infinite loop
def sample_indices( self, seed, size, reduced_size, number ):
    assert(number <= reduced_size), f"cannot sample more indices than available in last codeword; requested: {number}, available: {reduced_size}"
    assert(number <= 2*reduced_size), "not enough entropy in indices wrt last codeword"

    indices = []
    reduced_indices = []
    counter = 0
    while len(indices) < number:
        index = Fri.sample_index(blake2b(seed + bytes(counter)).digest(), size)
        reduced_index = index % reduced_size
        counter += 1

        if reduced_index not in reduced_indices:  # <---- this is never satisfied
            indices += [index]
            reduced_indices += [reduced_index]

    return indices

The Fix
The below change fixes the infinite loop and test_fri.py, test_stark.py, and test_fast_stark.py now pass.
The was changed to:
top_level_indices = self.sample_indices(
    proof_stream.prover_fiat_shamir(),
    len(codewords[0]),  # <--- corrected orignal size
    len(codewords[-1]),
    self.num_colinearity_tests
    )

Thanks for the elaborate PR! You highlighted the issue with atomic precision and laser focus and made verifying the fix a breeze. I wish I could do something to boost your karma.
That said, I'm not sure your fix is correct. It certainly gets the tests to work, but reintroduces Issue #32 , the one that @raugfer introduced and that was (poorly) "fixed" in the last commit.
My own analysis points to something else causing the error -- but within the lines you highlighted.
It looks like when sample_index is called, size has the right value but the wrong type -- it is a floating point number. Due to a quirk of python, if you reduce an integer modulo a floating point number, you get zero.
The floating point is introduced by the single-slash division:
top_level_indices = self.sample_indices(
    proof_stream.prover_fiat_shamir(),
    len(codewords[0])/2,  # <--- introduces floating point
    len(codewords[-1]),
    self.num_colinearity_tests
    )

and the fix (I think) is to use the double-slash division:
top_level_indices = self.sample_indices(
    proof_stream.prover_fiat_shamir(),
    len(codewords[0])//2,  # <--- two slashes for integer division
    len(codewords[-1]),
    self.num_colinearity_tests
    )

If you don't mind, I'll list you as a co-author on this fix since your work helped discover and fix the error.

Thanks for the response! Yes that would be much appreciated 👍


Sync with upstream

Unit tests now pass
fixed build issues from upstream
tested with chogori-platform on unit, integration
validated chogori-platform performance on RDMA machines in lab

I didn't rebase our commits on top - i merged instead. That way I thought i only have to deal with new upstream commits which touch our commits instead of applying our commits all over again. The particular commits to look into are the last two:
merge conflicts being resolved:
https://github.com/futurewei-cloud/chogori-seastar-rd/pull/5/commits/1591b82b753eef658bf5a4847fc166fe563cee96
and
additional fixes needed to make the codebase build
https://github.com/futurewei-cloud/chogori-seastar-rd/pull/5/commits/3d8a1b89cba658664b7e8cc5602f955b1e4d1a0d
We should go over these together to make sure we didn't miss anything and I can point out some issues i found


Possible Explanations not working with December 2020 Update, is it correct?

[Enter feedback here]

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

ID: 946c17db-7cc8-70d7-45d5-5502fe115f67
Version Independent ID: 62a891ef-32c6-9913-699c-dfed292839d7
Content: Anomaly detection tutorial - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-anomaly-detection.md
Service: powerbi
Sub-service: pbi-visuals
GitHub Login: @aphilip94
Microsoft Alias: anphil

Hi @JaMePa, thanks for reaching out. I'm forwarding your comment on to the doc author for consideration.

Hi @,
Thank you for your question.  Some anomaly points won't return explanations, because there simply isn't enough information to explain that point with confidence. There is a Community thread called "Share your thoughts on the new Anomaly detection feature (preview)".  You may find a more detailed answer there....or, you can post your own question which is read by the Product team.
https://community.powerbi.com/t5/Desktop/Share-your-thoughts-on-the-new-Anomaly-detection-feature-preview/td-p/1490886
All the best,
The DOCS team


Improvement: Add support for Prem Repositories in dspy prem module

This PR adds the support for native RAG support in premai dspy module. Docs are also updated with the latest improvements.
Also, it removes some deprecated parameters and handles edge cases related to those.

Thanks @Anindyadeep ! made some minor changes and merged!

Thanks @Anindyadeep ! made some minor changes and merged!

Sure things, thanks for the changes.


How to interprete generated rules

Hi, I tried to generate rules after training with the LERP training script you uploaded. I got the following results, can you tell me how to interpret them?
Also, after training on WN18 and WN18RR datasets, how can I check the trained rules?
script:
for i in range(option.rank):
    print(learner.lerp.interpret_rule(j, i, [*data.relation_to_number.keys()]))

for i in range(option.width):
    print(learner.lerp.interpret_lerp(-1, i,  [*data.relation_to_number.keys()]))

generated rules:
1 brother
(1.6279151624268816e-15, 'X(AND aunt^T)--daughter--father^T(AND Not(son^T))')
(2.116390064830938e-20, 'X(AND uncle)--brother^T(AND daughter^T)--nephew(AND sister)')
(9.526430003514366e-17, 'X(AND Not(aunt^T))--wife--wife^T(AND Not(mother))--sister^T')
(1.3220911569078453e-05, 'X--daughter^T--nephew')
(1.6444326225356957e-15, 'X(AND Not(mother))--nephew^T(AND uncle--niece)')
(1.6161735402420163e-05, 'X--uncle--daughter')
(4.633622290229241e-19, 'X(AND Not(wife))--father(AND Not(nephew))(AND Not(son))')
(6.584387202135389e-11, 'X(AND And(son, husband))')
(4.159390922901551e-23, 'X(AND And(mother, uncle^T))--mother(AND Not(uncle))(AND Not(son^T))--sister^T')
(5.01396240336089e-14, 'X(AND Not(son^T))(AND sister--nephew^T)')

If you can tell me how to extract the trained rules and interpret them, it will be very helpful for me to find the rules in the dataset.

Hi. Thanks for your interests in our work!
Congrats, seems you are using the interpret_rule function correctly. Each line outputted by function interpret_rule is a compact representations for the learned rules. As we visualized in Figure 7 of the paper, each rule is a relation chain with logical functions attached to each node in the chain.
Therefore, in each line you can see a "backbone" formed by --, which represent that "relation chain". Lets take the 4-th line as example which has a higher prob. There X--daughter^T--nephew is such a relation chain, with X being the first variable in the chain. If the relation is marked with ^T, it means a reversed relation. More precisely, this line's chain can be written as $\text{daughter}(y, x) \land \text{nephew}(z, y)$. So if $y$ is the daughter of $x$ and nephew of $z$, then $z$ is the brother of $x$.
All (AND ...) components then mean logical functions applied to each node. They are written in a recursive manner, following the same format to the main chain. If multiple exists for the same node, as in the last line, then these two functions are applied to the same node. This usually happens when a relation link in the main chain is an identity function, e.g., $\text{equal}(\cdot, \cdot)$, so that the logical functions applied to the two nodes actually refer to the same entity variable.
Logical operators such as And (this is different from capitalized AND!) and Not mean what they are supposed to mean. For example, (AND Not(wife)) means a function $\not\exists z, \text{wife}(z, \cdot)$.
Please note that, LERP is in design a continuous model, with extensive mixed operators. This is why the confidence score are uniformly low, which basically means that the LERP also allocates weights to other possibilities. You might observe higher scores if the model size is small, and lower scores if the model size is large. Each interpreted rule is actually greedily selected, so they cannot fully represent the computation of the actual rule and is only a maximal approximate. Some interpreted rules are not totally right (like the 4th line, where a daughter actually cannot be a nephew), but the model might be mixing multiple things and results in such a interpretation, or simply trying to be compatible with annotation randomness.
The Bridged_LerpModel is actually more complex, mainly designed for representing more complicated rules in a compact size. This is why I have not written an interpretation function for it. However you are free to manually inspect its weights or propose a good solution for it!

Thank you!!!
It was very helpful


Feature Request: Support Tor's Pluggable Transport Plugin protocol

Tor's Pluggable Transport protocol allow a separate program to be used as a traffic delivery channel. It would beneficial to support this plugin format in V2Ray.
It has a diverse ecosystem of Pluggable Transport that support this protocol and most of them is of high quality.
If we wants to support this in V2Ray, there is a few concern needs to be addressed:
Pluggable Transport protocol require host program to execute plugin program, this can be insecure in environment where configure files are retrieved over network.
Pluggable Transport protocol require a seperate binary to be present, this can be difficult on multi-platform deployment or mobile.

You can already use V2Ray with Tor, just not as a PT
https://lwyh.gitlab.io/tor/2019/02/05/v2ray-tor.html

You can already use V2Ray with Tor, just not as a PT
https://lwyh.gitlab.io/tor/2019/02/05/v2ray-tor.html

We are talking about using Tor's Pluggable Transport as transport in V2Ray, not using V2Ray as Tor's Pluggable Transport. Thanks for your information anyway.


Optimizing imports from Lodash

Thanks mate! 👍  Merged. Published as v2.0.1
Now, this is an open opensource project. You were given write access to the repo (see email).
Sorry if you didn't wanted it. :)

Thanks :D @koresar


Add row filtering by min value.

"Search" allows regex compare. New filter allows multiple values
filtering such as specifying the minimum memory needed, and min ECU.
This does not impact sorting, so you can pick your min requirements and find the cheapest instance type.

Rebased against new master. cc @powdahound

Looks like a great improvement. Have you considered updating the maybe_update_url() and url_for_selections() functions to support these new fields? It'd make these filtered views much easier to share with others.

Good suggestion. Haven't leveraged those functions before. Let me take a stab at it.

@powdahound I added the location updaters, but honestly it's pretty ugly. I'd recommend standardizing all of the inputs to be part of the same <form> and then just leveraging jquery's form serialize/deserialize functions.

Thanks - and I agree. This is still a nice improvement though so I'm going to merge as-is. :)


How to add now canister to backend

Hi,
I am a green hand in ICP. I want to add a new motoko canister to backend. I meet an error : "Must specify a host to connect to"

For test, I add a Hello2.mo like this

put it into the dfx.json

then, I run "deploy hello2", it succeeds, and I copy interface declarations from .dfx/local/canisters/hello2 to /ui/declarations/hello2

next, I create a new actor in actor-locator.js, like this

finally, I use it in ui/components/GreetingSection.js like this

I run dfx deploy and meet the error above.
What should I do to add a new backend? What steps did I miss? Need your help. Thanks

Hey @I-NI ,  Great work trying to make a new Canister!  You are almost there.
Solution
Check the generated UI declarations code you copied from .dfx/local/canisters/hello2 .
Open index.js
It should be similar to:
import { Actor, HttpAgent } from "@dfinity/agent";

// Imports and re-exports candid interface
import { idlFactory } from './hello2.did.js';
export { idlFactory } from './hello2.did.js';
// CANISTER_ID is replaced by webpack based on node environment
export const canisterId = process.env.NEXT_PUBLIC_HELLO2_CANISTER_ID;

/**
 *
 * @param {string | import("@dfinity/principal").Principal} canisterId Canister ID of Agent
 * @param {{agentOptions?: import("@dfinity/agent").HttpAgentOptions; actorOptions?: import("@dfinity/agent").ActorConfig}} [options]
 * @return {import("@dfinity/agent").ActorSubclass<import("./hello2.did.js")._SERVICE>}
 */
 export const createActor = (canisterId, options) => {
  const agent = new HttpAgent({ ...options?.agentOptions });

  // Fetch root key for certificate validation during development
  if(process.env.NODE_ENV !== "production") {
    agent.fetchRootKey().catch(err=>{
      console.warn("Unable to fetch root key. Check to ensure that your local replica is running");
      console.error(err);
    });
  }

  // Creates an actor with using the candid interface and the HttpAgent
  return Actor.createActor(idlFactory, {
    agent,
    canisterId,
    ...options?.actorOptions,
  });
};

/**
 * A ready-to-use agent for the hello2 canister
 * @type {import("@dfinity/agent").ActorSubclass<import("./hello2.did.js")._SERVICE>}
 */
 export const hello2 = createActor(canisterId);

Remove the last line and its comments:
 export const hello2 = createActor(canisterId);

Also, make sure at the beginning, you have added prefix NEXT_PUBLIC_ to HELLO2_CANISTER_ID:
export const canisterId = process.env.NEXT_PUBLIC_HELLO2_CANISTER_ID;

Take a reference on https://github.com/dappblock/nextjs-ic-starter/blob/master/ui/declarations/hello/index.js.
Explanation
That last line of code implicitly creates actor instance when it runs in NextJS on server side. Since it's a export const which means any file that import that will trigger create actor.
It couldn't find the host because NEXT_PUBLIC_IC_HOST is available to browser client-side processing only.
https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser
Remember Dfinity Agent JS code is supposed to run on client side only when you deploy it to Internet Computer Blockchain Asset Canister. The NextJS server side features won't work there.
If you see any Dfinity Agent error log thrown in NextJS command console e.g next dev or next start, your code is not pure client code.
Hope that helps.

It works now! Thanks! @kinwo
Anathor small question is that does ICP support multi page web app? which means deploying several  pages on a single canister, like
localhost:3000 and localhost:3000/starter
While, when I change to http://localhost:8000/starter?canisterId=[canisterId], it comes to the same page of index" even though the starter.html is in ./out.
Thanks a lot for your time!

Hi @I-NI , nice ! Glad it works.
When you deploy the exported NextJS static pages to Internet Computer, they are all HTML and JavaScripts. That means
you need to use starter.html.
http://localhost:8000/starter.html?canisterId=[canisterId],
Cheers

Thanks! @kinwo


Publish react-component v7

Fixes # .

Changes proposed in this Pull Request:

Release react-components version 7.0.0

Screenshots / Screen Recording (if applicable)

To Test:

Any specific feedback you are looking for?

we can't release with alpha versions of blui packages in here. Docs package.json react themes needs updated. We also need to upgrade eslint-config package and flat file. React docs - @brightlayer-ui/react-doc-components": "^1.0.0-alpha.12" needs updated as well but the playground needs updated to use MUI v6

we can't release with alpha versions of blui packages in here. Docs package.json react themes needs updated. We also need to upgrade eslint-config package and the new flat file if we feel its needed.
React docs - @brightlayer-ui/react-doc-components": "^1.0.0-alpha.12" needs updated as well but the playground needs updated to use MUI v6 (playground tab in dev docs will run MUI v5 and everything else will be on MUI v6)

https://github.com/etn-ccis/blui-react-documentation-components/blob/dev/packages/blui-react-doc-components/package.json#L51
Verified we are going to release with react-doc-components": "^1.0.0-alpha.12 for now and a new backlog item will be added

I have updated the package.json for docs


Adopt a Widget - Stepper

The Stepper widget needs:

A code / DartPad sample
More references

For details about how to participate, see flutter.dev/adoptawidget

@johnpryan I would like to take this issue :D

can I take this if its still available?

Hello,
https://master-api.flutter.dev/flutter/material/Stepper-class.html#material.Stepper.1
This above link you see that only provided a sample code of snippet not a dartpad. So that we can not run on there without dartpad.
If you want to assign me then I will complete it.

Hello,
https://master-api.flutter.dev/flutter/material/Stepper-class.html#material.Stepper.1
This above link you see that only provided a sample code of snippet not a dartpad. So that we can not run on there without dartpad.
If you want to assign me then I will complete it.

@johnpryan

That sounds great, thanks.


Pipedrive incremental with recents endpoint

E.g.
import dlt

from pipelines import pipedrive

pipeline = dlt.pipeline(pipeline_name='pipedrive_hack', destination='postgres', dataset_name='pipedrive_hack')
info = pipeline.run(pipedrive.pipedrive_fields_source())
print(info)
info = pipeline.run(pipedrive.pipedrive_source())
print(info)
return pipeline

@adrianbr this is another case where the main use case is unclear. how people will typically use the pipeline? should we have replace (full load) and incremental endpoint (only update) in one source or two separate ones?

Could also add an argument in the source to run without incremental state conveniently. Which would just force the since date to some low timestamp.

@steinitzu OK I think we know how the source should work:

we have just one source.
we add the field resources if we want to rename columns, there should be a flag for it
those resources must be first in the list so they are loaded first
we should go back to explicitely handling all the resources we had before your changes. user must be able to select the resources s/he wants to load. we we need them named in the source
now the trick: if we have incremental state for a particular resource we use recents to load further updates using merge on id and incremental
if we do not have it then we use replace (it is much faster to load). we could also use recents to get the full history. I have just a worry that they do not keep the full history... so I'd use the regular endpoint.
the transformers should also swithc from replace to merge: depending on their parent write disposition

at the end our user does not even know that we have the endpoint + recents
@adrianbr should we allow users to load form certain start date?

Great! This sounds good.
Will do separate resources per entity type.
I'll try to find out if there are any limits with the recents. Simplest/fastest to always load from there if possible.

@ahoffix should we maybe write to pipedrive support and ask them how this works? probably a part of test account setup :)

We also have an additional piece of feedback from a user - the Activities endpoint contains a silly amount of data which makes it difficult to do a "first time load"- To facilitate it, a way of limiting the data was requested.
Ideally we could request a range but the recents endpoint does not seem to support that - so let's support passing the start date. If the activities data was guaranteed to be sorted then we could theoretically limit the "to timestamp" but this is not documented.
So please add the "since timestamp" for activities. It doesn't make sense to add it for stateful entities though.

Current version has the separate resources per entity.

Uses /recents for everything behind the scenes, but this makes no difference to the user.

Incremental can be disabled, e.g.  pipedrive_source(incremental=False, write_disposition='replace') will load all history from the beginning.

Initial time for incremental, e.g. to load only recent activities:
pipedrive_source(since_timestamp="2023-03-03T00:00:00Z").with_resources("activities", "custom_fields_mapping")

I noticed that deals_flow can contain multiple types of objects nested under data https://developers.pipedrive.com/docs/api/v1/Deals#getDealUpdates  which was a problem for merge.  So I added this to push id to the top level https://github.com/dlt-hub/pipelines/pull/84/files#diff-b643dd44c67a33e5a6632f4a80f6511575087347d82d8ec2b01a816aea8f4f2cR122-R126
It has a composite ("object", "id") primary key now
But also question whether it's better to dispatch these different objects to separate tables? Right now this will create a table with lots of  data__* columns


Reset time and stats when resetting an endpoint

While resetting the stats isn't strictly necessary, it seems like a bit of a bug to me since the old values will be considered as part of the smoothing function.
Resetting time also isn't necessary with respect to reliable_endpoint_update, because the first thing it does is overwrites it, but it also gets used in reliable_endpoint_receive_packet to update rtt, so maybe it's a good idea to reset it, too? Whether it's the old value, or zero, it would be a bug in reliable_endpoint_receive_packet, so I'm just assuming that reliable_endpoint_update always gets called before reliable_endpoint_receive_packet after a reset. The zero feels like an easier bug to catch if someone calls them in the wrong order. 🤷

Sounds good to me


Cpp IntelliSense engine doesn't work with projects cloned by WSL git.

I happened to clone my c-lang repo via WSL and open it from VScode on windows. And I found that all of the intellisense hints was gone. No matter how I changed the configurations , I still can't get any quick info, code completions, squiggles(errors or warnings), quick tips(which above your mouse when it stops) and so on. Everything was just gone.
However, if I tried to clone my project via PowerShell on windows itself, the engine just worked properly.
I thought it was about CRLF/LF issue, but when I changed it one by one files. It was not fixed.

VSCode Version: 1.21.0
OS Version: windows insider preview 17120 with WSL(ubuntu 16.04)

Steps to Reproduce:

clone a c/cpp repo via WSL
open it via vscode on windows itself

Does this issue occur when all extensions are disabled?: I dont know because it might caused by Code itself or c/cpp plugin.

We don't currently support WSL: #9502
Regardless, in order to figure out what's wrong, just clone the same repository in the "regular" way and look for differences. That will lead you to the solution.

I did, and the only difference is  carriage-return symbols. And I changed them to the same. The issue was still their.
I was confused because the editor just pass the code to language server and those work was done by language server.
The problem should not relate to wsl, in my opinion.
Thanks.

@SidekickLx Maybe switching just one file doesn't work, maybe the extension requires it for all files.


[v0.9.5.x] Fix bad css and string offset

bad css code like @import url(); or background-image: url(); cause error during minification/combination that destroy all process.
this happened because w3tc expect the uri into the css url() is not empty:
// analyze URI
if ('/' !== $uri[0]                 // root-relative
   && false === strpos($uri, '//')  // protocol (non-data)
   && 0 !== strpos($uri, 'data:')   // data protocol
)

but if  $uri is empty,  $uri[0]  raise this exception

PHP Notice:  Uninitialized string offset: 0 in \w3-total-cache\lib\Minify\Minify\CSS\UriRewriter.php on line 379

this fix simple check for non-empty uri:
if ( !empty($uri)                     // bad css, eg: @import url();
     && '/' !== substr($uri, 0, 1)    // root-relative
     && false === strpos($uri, '//')  // protocol (non-data)
     && 0 !== strpos($uri, 'data:')   // data protocol
)

i have also replace $uri[0] with substr($uri, 0, 1), are the same, substr is more affordable (on empty string return false) but a bit slower.

@ftownes for your information. It's a bug in the official w3tc version. if you want, you can fix for the next release


specification info page

This is a fairly lightweight information page that coins the term "Reproducible Execution Environment Specification" (REES), and provides a little bit of explanation for what it is. In the future, we could flesh out this page a bit more.
closes #656
WDYT @betatim ?

Thanks all for the great comments + edits, what do folks think about the latest push?

Ready to merge or do you want to tweak/work on it some more?

I'm fine merging as-is with the idea that we'll keep iterating on this moving forward. Understand if folks want to hold off though!

I left several more comments which feel a bit language lawyer-y but then a specification is like a legal text so ... :-/

For a new PR/something to ponder when we extend this document: we focus on the fact that a human should be able to look at a directory that is REES compliant and be able to figure out what to do. THis is a key feature. How about when we describe a config file and what a REES compliant tool should do with it we also have a "For a human" section that says what a human would have to do to (roughly) achieve the same goal (I think often to achieve exactly the same goal we'd have to link to the (many) lines of code with corner cases etc in repo2docker). install-python; pip install -r requirement.txt is probably what a human should do when they find a requirements.txt. Even though what repo2docker exactly does is to add flags like --no-cache-dir and use conda, etc.
Having the "as a human" section would make it clear we are serious about that angle and instil confidence in the reader that this is actually possible (and not some kind of fantasy).

@betatim that makes sense to me - I agree we should highlight the human aspect of the specification, along with the desire to co-opt other workflows rather than define new ones. Wanna throw that into a new issue assuming that this spec will be merged?

Pressing merge despite the CI failures. I think the docker cloud part failed because they were doing maintenance during most of Saturday.


Samanro breadcrumb

Please use this template to ensure easier processing of your pull request
Category

[x] Content fix
[ ] New article

Contents of the Pull Request

updated TOC, breadcrumb and docfx.json files to fix up breadcrumbs and add a search scope for the docset.

@daisyfell

Docs Build status updates of commit 329b65c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Community/breadcrumb/toc.yml
:white_check_mark:Succeeded

Community/docfx.json
:white_check_mark:Succeeded

Community/TOC.md
:white_check_mark:Succeeded
View

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


Negative numbers removed

I am using jQuery number plug-in 2.1.5 with Jquery 1.9.1
If I have a -50
and call
$('span[format="float"]').number(true, 2);
The negative is removed
see https://jsfiddle.net/uj5hn69x/

I confirm this bug.

I've been able to figure out what removes the negative sign. I'll do a pull to address that and let's hope it's worth it.

looking forward for this also, thanks,

                                                                                Someone patched this but it has not been merged into the main branch.                                                                                Sent from my BlackBerry 10 smartphone.                                                                                From: jp26198926Sent: Sunday, 8 January 2017 12:17To: customd/jquery-numberReply To: customd/jquery-numberCc: peterchibunna; CommentSubject: Re: [customd/jquery-number] Negative numbers removed (#83)looking forward for this also, thanks,

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/customd/jquery-number","title":"customd/jquery-number","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/customd/jquery-number"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jp26198926 in #83: looking forward for this also, thanks,"}],"action":{"name":"View Issue","url":"https://github.com/customd/jquery-number/issues/83#issuecomment-271144754"}}}


When item id contains a leading/trailing space character

If a non-Content Document (css, jpeg...) item id contains one or more leading/trailing spaces, no error or warning is provided by EpubCheck.
But, for a Content Document (xhtml, svg) item id, this is another story, because this id is used by the associated itemref.
In this context, idref="content1" is not associated to id=" content1 ", for example. Though this is the same normalized value.
Here an EPUB2 sample
Here an EPUB3 sample

So I had a new look at that issue (finally!).
My understanding of the spec is that leading and trailing spaces are allowed and must be discarded when checking for ID equality ; this is coming from the XML spec 3.3.3 Attribute-Value Normalization.
@mattgarrish can you please confirm?
I tried to fix it wherever I could find a potential issue (I hope I didn't miss too many checks, but it seems the issue is not too frequent since this wasn't reported before...).

Right, it's a nuisance using schematron to check attributes for this reason, as you have to remember to normalize space before checking for equality as someone could slip in leading/trailing spaces.
Unlike with elements, it's also pretty rare find random whitespace around attribute values, so not surprising it's never come up before.


Fix: Use correct name for emoji

When updating the emojis.json I made a mistake for the :tada: emoji. The emoji could be selected and awarded, but it was not shown in the gitlab.nvim UI.
This PR fixes it.

I'm merging this in order to be able to work on #385 without introducing conflicts.


Remove cohort requirements and tweak language

What's this PR do?
Tweaks language for Spike times and removes required Cohort field.
Where should the reviewer start?
How should this be manually tested?
Visit spiker signup form and try to sign up as a new spiker.
Any background context you want to provide?
What are the relevant tickets?
Questions:

Good catch actually, we're not removing the data entirely, so admins will still have the ability to update cohort #, we just don't want spike team members to feel like they can't sign up if they don't remember their cohort #, pushing a quick update to just remove it from the view rather than from the form

ok cool 👍

@kidatsy updated


Add an alias for Rails console sandbox

The command rails console —sandbox loads our Rails application, connects to the database and automatically starts a database transaction. All database operations performed within this console
session are rolled back upon leaving the console. Reference -
https://www.codeschool.com/blog/2014/06/17/rails-console-sandbox/

Thanks for merging this PR @robbyrussell 👍


Update Puppeteer, remove resize handling in visual regression specs

🛠 Summary of changes
This pull request:

Updates Puppeteer to the latest version
Removes resize handling in visual regression specs

The intent is to try to resolve inconsistencies observed in visual regression failures in #437:

As noted at https://github.com/18F/identity-design-system/pull/437#issuecomment-2069224563, the fillImageToSize helper doesn't work as intended, since it will only fill pixels which are missing outside both the expected width and height, but not either lacking height nor lacking width.

Ideally we don't want to tolerate any difference in dimensions. By git history, it's not entirely clear why this was added.

In local testing, it seems that updating Puppeteer does have an impact in allowing the visual regression spec to pass, which could be due to differences in Chromium browser rendering. Unfortunately, due to how the visual regression test needs to change branches, main running an older version of Puppeteer can cause the failure to re-emerge. Performing the upgrade in a separate pull request allows the update to be made to main independent of the changes in #437.

📜 Testing Plan
Build should pass.

For posterity, I did create a "fixed" version of fillImageToSize if we need it again in the future:
/**
 * Resizes an image to the given dimensions.
 *
 * @param {import('pngjs').PNGWithMetadata} image
 * @param {number} width
 * @param {number} height
 *
 * @return {import('pngjs').PNG}
 */
function fillImageToSize(image, width, height) {
  if (image.width === width && image.height === height) {
    return image;
  }

  const resizedImage = new PNG({ width, height, fill: true });
  PNG.bitblt(image, resizedImage, 0, 0, image.width, image.height, 0, 0);

  /**
   * @param {number} x
   * @param {number} y
   */
  function fillPixel(x, y) {
    // eslint-disable-next-line no-bitwise
    const index = (resizedImage.width * y + x) << 2;
    resizedImage.data[index] = 255; // Red
    resizedImage.data[index + 1] = 255; // Green
    resizedImage.data[index + 2] = 255; // Blue
    resizedImage.data[index + 3] = 255; // Alpha (Opacity)
  }

  for (let y = image.height; y < height; y++) {
    for (let x = 0; x < width; x++) {
      fillPixel(x, y + 1);
    }
  }

  for (let x = image.width; x < width; x++) {
    for (let y = 0; y < height; y++) {
      fillPixel(x, y);
    }
  }

  return resizedImage;
}